public class ShoppingContent.Collections.List extends ShoppingContentRequest<ListCollectionsResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
List(Long merchantId)
Lists the collections in your Merchant Center account.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
Long |
getMerchantId()
Required.
|
Integer |
getPageSize()
The maximum number of collections to return in the response, used for paging.
|
String |
getPageToken()
Token (if provided) to retrieve the subsequent page.
|
ShoppingContent.Collections.List |
set(String parameterName,
Object value) |
ShoppingContent.Collections.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
ShoppingContent.Collections.List |
setAccessToken(String accessToken)
OAuth access token.
|
ShoppingContent.Collections.List |
setAlt(String alt)
Data format for response.
|
ShoppingContent.Collections.List |
setCallback(String callback)
JSONP
|
ShoppingContent.Collections.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
ShoppingContent.Collections.List |
setKey(String key)
API key.
|
ShoppingContent.Collections.List |
setMerchantId(Long merchantId)
Required.
|
ShoppingContent.Collections.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
ShoppingContent.Collections.List |
setPageSize(Integer pageSize)
The maximum number of collections to return in the response, used for paging.
|
ShoppingContent.Collections.List |
setPageToken(String pageToken)
Token (if provided) to retrieve the subsequent page.
|
ShoppingContent.Collections.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
ShoppingContent.Collections.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
ShoppingContent.Collections.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
ShoppingContent.Collections.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected List(Long merchantId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. ShoppingContent.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
merchantId
- Required. The ID of the account that contains the collection. This account cannot be a multi-client
account.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListCollectionsResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListCollectionsResponse>
IOException
public ShoppingContent.Collections.List set$Xgafv(String $Xgafv)
ShoppingContentRequest
set$Xgafv
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setAccessToken(String accessToken)
ShoppingContentRequest
setAccessToken
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setAlt(String alt)
ShoppingContentRequest
setAlt
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setCallback(String callback)
ShoppingContentRequest
setCallback
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setFields(String fields)
ShoppingContentRequest
setFields
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setKey(String key)
ShoppingContentRequest
setKey
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setOauthToken(String oauthToken)
ShoppingContentRequest
setOauthToken
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequest
setPrettyPrint
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setQuotaUser(String quotaUser)
ShoppingContentRequest
setQuotaUser
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setUploadType(String uploadType)
ShoppingContentRequest
setUploadType
in class ShoppingContentRequest<ListCollectionsResponse>
public ShoppingContent.Collections.List setUploadProtocol(String uploadProtocol)
ShoppingContentRequest
setUploadProtocol
in class ShoppingContentRequest<ListCollectionsResponse>
public Long getMerchantId()
public ShoppingContent.Collections.List setMerchantId(Long merchantId)
public Integer getPageSize()
public ShoppingContent.Collections.List setPageSize(Integer pageSize)
public String getPageToken()
public ShoppingContent.Collections.List setPageToken(String pageToken)
public ShoppingContent.Collections.List set(String parameterName, Object value)
set
in class ShoppingContentRequest<ListCollectionsResponse>
Copyright © 2011–2024 Google. All rights reserved.