public class AndroidEnterprise.Products.List extends AndroidEnterpriseRequest<ProductsListResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
List(java.lang.String enterpriseId)
Finds approved products that match a query, or all approved products if there is no query.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.Boolean |
getApproved()
Specifies whether to search among all products (false) or among only products that have been
approved (true).
|
java.lang.String |
getEnterpriseId()
The ID of the enterprise.
|
java.lang.String |
getLanguage()
The BCP47 tag for the user's preferred language (e.g.
|
java.lang.Long |
getMaxResults()
Specifies the maximum number of products that can be returned per request.
|
java.lang.String |
getQuery()
The search query as typed in the Google Play store search box.
|
java.lang.String |
getToken()
A pagination token is contained in a request's response when there are more products.
|
AndroidEnterprise.Products.List |
set(java.lang.String parameterName,
java.lang.Object value) |
AndroidEnterprise.Products.List |
setAlt(java.lang.String alt)
Data format for the response.
|
AndroidEnterprise.Products.List |
setApproved(java.lang.Boolean approved)
Specifies whether to search among all products (false) or among only products that have
been approved (true).
|
AndroidEnterprise.Products.List |
setEnterpriseId(java.lang.String enterpriseId)
The ID of the enterprise.
|
AndroidEnterprise.Products.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
AndroidEnterprise.Products.List |
setKey(java.lang.String key)
API key.
|
AndroidEnterprise.Products.List |
setLanguage(java.lang.String language)
The BCP47 tag for the user's preferred language (e.g.
|
AndroidEnterprise.Products.List |
setMaxResults(java.lang.Long maxResults)
Specifies the maximum number of products that can be returned per request.
|
AndroidEnterprise.Products.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidEnterprise.Products.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidEnterprise.Products.List |
setQuery(java.lang.String query)
The search query as typed in the Google Play store search box.
|
AndroidEnterprise.Products.List |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidEnterprise.Products.List |
setToken(java.lang.String token)
A pagination token is contained in a request's response when there are more products.
|
AndroidEnterprise.Products.List |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected List(java.lang.String enterpriseId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
AndroidEnterprise.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
enterpriseId
- The ID of the enterprise.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ProductsListResponse>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ProductsListResponse>
java.io.IOException
public AndroidEnterprise.Products.List setAlt(java.lang.String alt)
AndroidEnterpriseRequest
setAlt
in class AndroidEnterpriseRequest<ProductsListResponse>
public AndroidEnterprise.Products.List setFields(java.lang.String fields)
AndroidEnterpriseRequest
setFields
in class AndroidEnterpriseRequest<ProductsListResponse>
public AndroidEnterprise.Products.List setKey(java.lang.String key)
AndroidEnterpriseRequest
setKey
in class AndroidEnterpriseRequest<ProductsListResponse>
public AndroidEnterprise.Products.List setOauthToken(java.lang.String oauthToken)
AndroidEnterpriseRequest
setOauthToken
in class AndroidEnterpriseRequest<ProductsListResponse>
public AndroidEnterprise.Products.List setPrettyPrint(java.lang.Boolean prettyPrint)
AndroidEnterpriseRequest
setPrettyPrint
in class AndroidEnterpriseRequest<ProductsListResponse>
public AndroidEnterprise.Products.List setQuotaUser(java.lang.String quotaUser)
AndroidEnterpriseRequest
setQuotaUser
in class AndroidEnterpriseRequest<ProductsListResponse>
public AndroidEnterprise.Products.List setUserIp(java.lang.String userIp)
AndroidEnterpriseRequest
setUserIp
in class AndroidEnterpriseRequest<ProductsListResponse>
public java.lang.String getEnterpriseId()
public AndroidEnterprise.Products.List setEnterpriseId(java.lang.String enterpriseId)
public java.lang.Boolean getApproved()
public AndroidEnterprise.Products.List setApproved(java.lang.Boolean approved)
public java.lang.String getLanguage()
public AndroidEnterprise.Products.List setLanguage(java.lang.String language)
public java.lang.Long getMaxResults()
public AndroidEnterprise.Products.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getQuery()
public AndroidEnterprise.Products.List setQuery(java.lang.String query)
public java.lang.String getToken()
public AndroidEnterprise.Products.List setToken(java.lang.String token)
public AndroidEnterprise.Products.List set(java.lang.String parameterName, java.lang.Object value)
set
in class AndroidEnterpriseRequest<ProductsListResponse>