public class ShoppingContent.Regions.Patch extends ShoppingContentRequest<Region>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Patch(Long merchantId,
String regionId,
Region content)
Updates a region definition in your Merchant Center account.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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 Patch(Long merchantId, String regionId, Region content)
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 update region definition.regionId
- Required. The id of the region to update.content
- the Region
public ShoppingContent.Regions.Patch set$Xgafv(String $Xgafv)
ShoppingContentRequest
set$Xgafv
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setAccessToken(String accessToken)
ShoppingContentRequest
setAccessToken
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setAlt(String alt)
ShoppingContentRequest
setAlt
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setCallback(String callback)
ShoppingContentRequest
setCallback
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setFields(String fields)
ShoppingContentRequest
setFields
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setKey(String key)
ShoppingContentRequest
setKey
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setOauthToken(String oauthToken)
ShoppingContentRequest
setOauthToken
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequest
setPrettyPrint
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setQuotaUser(String quotaUser)
ShoppingContentRequest
setQuotaUser
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setUploadType(String uploadType)
ShoppingContentRequest
setUploadType
in class ShoppingContentRequest<Region>
public ShoppingContent.Regions.Patch setUploadProtocol(String uploadProtocol)
ShoppingContentRequest
setUploadProtocol
in class ShoppingContentRequest<Region>
public Long getMerchantId()
public ShoppingContent.Regions.Patch setMerchantId(Long merchantId)
public String getRegionId()
public ShoppingContent.Regions.Patch setRegionId(String regionId)
public String getUpdateMask()
public ShoppingContent.Regions.Patch setUpdateMask(String updateMask)
public ShoppingContent.Regions.Patch set(String parameterName, Object value)
set
in class ShoppingContentRequest<Region>
Copyright © 2011–2024 Google. All rights reserved.