public class ShoppingContent.Collections.Get extends ShoppingContentRequest<Collection>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(Long merchantId,
String collectionId)
Retrieves a collection from your Merchant Center account.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(Long merchantId, String collectionId)
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.collectionId - Required. The REST ID of the collection.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Collection>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Collection>IOExceptionpublic ShoppingContent.Collections.Get set$Xgafv(String $Xgafv)
ShoppingContentRequestset$Xgafv in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setAccessToken(String accessToken)
ShoppingContentRequestsetAccessToken in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setAlt(String alt)
ShoppingContentRequestsetAlt in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setCallback(String callback)
ShoppingContentRequestsetCallback in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setFields(String fields)
ShoppingContentRequestsetFields in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setKey(String key)
ShoppingContentRequestsetKey in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setOauthToken(String oauthToken)
ShoppingContentRequestsetOauthToken in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequestsetPrettyPrint in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setQuotaUser(String quotaUser)
ShoppingContentRequestsetQuotaUser in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setUploadType(String uploadType)
ShoppingContentRequestsetUploadType in class ShoppingContentRequest<Collection>public ShoppingContent.Collections.Get setUploadProtocol(String uploadProtocol)
ShoppingContentRequestsetUploadProtocol in class ShoppingContentRequest<Collection>public Long getMerchantId()
public ShoppingContent.Collections.Get setMerchantId(Long merchantId)
public String getCollectionId()
public ShoppingContent.Collections.Get setCollectionId(String collectionId)
public ShoppingContent.Collections.Get set(String parameterName, Object value)
set in class ShoppingContentRequest<Collection>Copyright © 2011–2024 Google. All rights reserved.