public class ShoppingContent.Regions.Get extends ShoppingContentRequest<Region>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Get(Long merchantId,
String regionId)
Retrieves a region defined 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.
|
String |
getRegionId()
Required.
|
ShoppingContent.Regions.Get |
set(String parameterName,
Object value) |
ShoppingContent.Regions.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
ShoppingContent.Regions.Get |
setAccessToken(String accessToken)
OAuth access token.
|
ShoppingContent.Regions.Get |
setAlt(String alt)
Data format for response.
|
ShoppingContent.Regions.Get |
setCallback(String callback)
JSONP
|
ShoppingContent.Regions.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
ShoppingContent.Regions.Get |
setKey(String key)
API key.
|
ShoppingContent.Regions.Get |
setMerchantId(Long merchantId)
Required.
|
ShoppingContent.Regions.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
ShoppingContent.Regions.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
ShoppingContent.Regions.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
ShoppingContent.Regions.Get |
setRegionId(String regionId)
Required.
|
ShoppingContent.Regions.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
ShoppingContent.Regions.Get |
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 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 com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Region>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Region>
IOException
public ShoppingContent.Regions.Get set$Xgafv(String $Xgafv)
ShoppingContentRequest
set$Xgafv
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setAccessToken(String accessToken)
ShoppingContentRequest
setAccessToken
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setAlt(String alt)
ShoppingContentRequest
setAlt
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setCallback(String callback)
ShoppingContentRequest
setCallback
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setFields(String fields)
ShoppingContentRequest
setFields
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setKey(String key)
ShoppingContentRequest
setKey
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setOauthToken(String oauthToken)
ShoppingContentRequest
setOauthToken
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequest
setPrettyPrint
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setQuotaUser(String quotaUser)
ShoppingContentRequest
setQuotaUser
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setUploadType(String uploadType)
ShoppingContentRequest
setUploadType
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Get setUploadProtocol(String uploadProtocol)
ShoppingContentRequest
setUploadProtocol
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–2024 Google. All rights reserved.