public class ShoppingContent.Accounts.Labels.Patch extends ShoppingContentRequest<AccountLabel>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Patch(Long accountId,
Long labelId,
AccountLabel content)
Updates a label.
|
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 accountId, Long labelId, AccountLabel 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.
accountId
- Required. The id of the account this label belongs to.labelId
- Required. The id of the label to update.content
- the AccountLabel
public ShoppingContent.Accounts.Labels.Patch set$Xgafv(String $Xgafv)
ShoppingContentRequest
set$Xgafv
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setAccessToken(String accessToken)
ShoppingContentRequest
setAccessToken
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setAlt(String alt)
ShoppingContentRequest
setAlt
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setCallback(String callback)
ShoppingContentRequest
setCallback
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setFields(String fields)
ShoppingContentRequest
setFields
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setKey(String key)
ShoppingContentRequest
setKey
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setOauthToken(String oauthToken)
ShoppingContentRequest
setOauthToken
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequest
setPrettyPrint
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setQuotaUser(String quotaUser)
ShoppingContentRequest
setQuotaUser
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setUploadType(String uploadType)
ShoppingContentRequest
setUploadType
in class ShoppingContentRequest<AccountLabel>
public ShoppingContent.Accounts.Labels.Patch setUploadProtocol(String uploadProtocol)
ShoppingContentRequest
setUploadProtocol
in class ShoppingContentRequest<AccountLabel>
public Long getAccountId()
public ShoppingContent.Accounts.Labels.Patch setAccountId(Long accountId)
public Long getLabelId()
public ShoppingContent.Accounts.Labels.Patch setLabelId(Long labelId)
public ShoppingContent.Accounts.Labels.Patch set(String parameterName, Object value)
set
in class ShoppingContentRequest<AccountLabel>
Copyright © 2011–2024 Google. All rights reserved.