Stay organized with collections
Save and categorize content based on your preferences.
public class
Uploader
extends Object
This class reads in a json file to upload all the requests to the Cloud Search Indexing API.
java
-Dpayload={your json file contains all the request} \
-Dapi.serviceAccountPrivateKeyFile={service account private key file} \
-DrootUrl=https://www.googleapis.com/ \
-jar cloudsearch-uploader-{version}.jar
payload is the json file which contains the source Id and all the requests related to it.
api.serviceAccountPrivateKeyFile is the file contains private key information. If it is not a
json file then api.serviceAccountId is compulsory.