public class CloudSearch
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
Cloud Search provides cloud-based search capabilities over G Suite data. The Cloud Search API allows indexing of non-G Suite data into Cloud Search.
For more information about this service, see the API Documentation
This service uses CloudSearchRequestInitializer to initialize global parameters via its
CloudSearch.Builder.
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudSearch.Builder
Builder for
CloudSearch. |
class |
CloudSearch.Debug
The "debug" collection of methods.
|
class |
CloudSearch.Indexing
The "indexing" collection of methods.
|
class |
CloudSearch.Media
The "media" collection of methods.
|
class |
CloudSearch.Operations
The "operations" collection of methods.
|
class |
CloudSearch.Query
The "query" collection of methods.
|
class |
CloudSearch.Settings
The "settings" collection of methods.
|
class |
CloudSearch.Stats
The "stats" collection of methods.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_BASE_URL
The default encoded base URL of the service.
|
static java.lang.String |
DEFAULT_BATCH_PATH
The default encoded batch path of the service.
|
static java.lang.String |
DEFAULT_ROOT_URL
The default encoded root URL of the service.
|
static java.lang.String |
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
|
| Constructor and Description |
|---|
CloudSearch(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CloudSearch.Debug |
debug()
An accessor for creating requests from the Debug collection.
|
CloudSearch.Indexing |
indexing()
An accessor for creating requests from the Indexing collection.
|
protected void |
initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest) |
CloudSearch.Media |
media()
An accessor for creating requests from the Media collection.
|
CloudSearch.Operations |
operations()
An accessor for creating requests from the Operations collection.
|
CloudSearch.Query |
query()
An accessor for creating requests from the Query collection.
|
CloudSearch.Settings |
settings()
An accessor for creating requests from the Settings collection.
|
CloudSearch.Stats |
stats()
An accessor for creating requests from the Stats collection.
|
getJsonFactory, getObjectParserpublic static final java.lang.String DEFAULT_ROOT_URL
public static final java.lang.String DEFAULT_SERVICE_PATH
public static final java.lang.String DEFAULT_BATCH_PATH
public static final java.lang.String DEFAULT_BASE_URL
public CloudSearch(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Use CloudSearch.Builder if you need to specify any of the optional parameters.
transport - HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransportnewCompatibleTransport from
com.google.api.client.extensions.android.http.AndroidHttpcom.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory - JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactorycom.google.api.client.json.gson.GsonFactorycom.google.api.client.extensions.android.json.AndroidJsonFactoryhttpRequestInitializer - HTTP request initializer or null for noneprotected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
throws java.io.IOException
initialize in class com.google.api.client.googleapis.services.AbstractGoogleClientjava.io.IOExceptionpublic CloudSearch.Debug debug()
The typical use is:
CloudSearch cloudsearch = new CloudSearch(...);CloudSearch.Debug.List request = cloudsearch.debug().list(parameters ...)
public CloudSearch.Indexing indexing()
The typical use is:
CloudSearch cloudsearch = new CloudSearch(...);CloudSearch.Indexing.List request = cloudsearch.indexing().list(parameters ...)
public CloudSearch.Media media()
The typical use is:
CloudSearch cloudsearch = new CloudSearch(...);CloudSearch.Media.List request = cloudsearch.media().list(parameters ...)
public CloudSearch.Operations operations()
The typical use is:
CloudSearch cloudsearch = new CloudSearch(...);CloudSearch.Operations.List request = cloudsearch.operations().list(parameters ...)
public CloudSearch.Query query()
The typical use is:
CloudSearch cloudsearch = new CloudSearch(...);CloudSearch.Query.List request = cloudsearch.query().list(parameters ...)
public CloudSearch.Settings settings()
The typical use is:
CloudSearch cloudsearch = new CloudSearch(...);CloudSearch.Settings.List request = cloudsearch.settings().list(parameters ...)
public CloudSearch.Stats stats()
The typical use is:
CloudSearch cloudsearch = new CloudSearch(...);CloudSearch.Stats.List request = cloudsearch.stats().list(parameters ...)