public class ShoppingContent.Regions.Get extends ShoppingContentRequest<Region>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Get(Long merchantId,
String regionId)
Retrieves a region defined in 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 regionId)
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 merchant for which to retrieve region definition.regionId - Required. The id of the region to retrieve.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Region>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Region>IOExceptionpublic ShoppingContent.Regions.Get set$Xgafv(String $Xgafv)
ShoppingContentRequestset$Xgafv in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setAccessToken(String accessToken)
ShoppingContentRequestsetAccessToken in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setAlt(String alt)
ShoppingContentRequestsetAlt in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setCallback(String callback)
ShoppingContentRequestsetCallback in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setFields(String fields)
ShoppingContentRequestsetFields in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setKey(String key)
ShoppingContentRequestsetKey in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setOauthToken(String oauthToken)
ShoppingContentRequestsetOauthToken in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequestsetPrettyPrint in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setQuotaUser(String quotaUser)
ShoppingContentRequestsetQuotaUser in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setUploadType(String uploadType)
ShoppingContentRequestsetUploadType in class ShoppingContentRequest<Region>public ShoppingContent.Regions.Get setUploadProtocol(String uploadProtocol)
ShoppingContentRequestsetUploadProtocol in class ShoppingContentRequest<Region>public Long getMerchantId()
public ShoppingContent.Regions.Get setMerchantId(Long merchantId)
public String getRegionId()
public ShoppingContent.Regions.Get setRegionId(String regionId)
public ShoppingContent.Regions.Get set(String parameterName, Object value)
set in class ShoppingContentRequest<Region>Copyright © 2011–2022 Google. All rights reserved.