public class Reseller.Subscriptions.ChangePlan extends ResellerRequest<Subscription>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
ChangePlan(String customerId,
String subscriptionId,
ChangePlanRequest content)
Updates a subscription plan.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomerId()
This can be either the customer's primary domain name or the customer's unique identifier.
|
String |
getSubscriptionId()
This is a required property.
|
Reseller.Subscriptions.ChangePlan |
set(String parameterName,
Object value) |
Reseller.Subscriptions.ChangePlan |
set$Xgafv(String $Xgafv)
V1 error format.
|
Reseller.Subscriptions.ChangePlan |
setAccessToken(String accessToken)
OAuth access token.
|
Reseller.Subscriptions.ChangePlan |
setAlt(String alt)
Data format for response.
|
Reseller.Subscriptions.ChangePlan |
setCallback(String callback)
JSONP
|
Reseller.Subscriptions.ChangePlan |
setCustomerId(String customerId)
This can be either the customer's primary domain name or the customer's unique identifier.
|
Reseller.Subscriptions.ChangePlan |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Reseller.Subscriptions.ChangePlan |
setKey(String key)
API key.
|
Reseller.Subscriptions.ChangePlan |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Reseller.Subscriptions.ChangePlan |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Reseller.Subscriptions.ChangePlan |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Reseller.Subscriptions.ChangePlan |
setSubscriptionId(String subscriptionId)
This is a required property.
|
Reseller.Subscriptions.ChangePlan |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Reseller.Subscriptions.ChangePlan |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, 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, 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 ChangePlan(String customerId, String subscriptionId, ChangePlanRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. Reseller.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - This is a required property. The `subscriptionId` is the subscription identifier and is unique for
each customer. Since a `subscriptionId` changes when a subscription is updated, we
recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be
found using the retrieve all reseller subscriptions method.content - the ChangePlanRequestpublic Reseller.Subscriptions.ChangePlan set$Xgafv(String $Xgafv)
ResellerRequestset$Xgafv in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setAccessToken(String accessToken)
ResellerRequestsetAccessToken in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setAlt(String alt)
ResellerRequestsetAlt in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setCallback(String callback)
ResellerRequestsetCallback in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setFields(String fields)
ResellerRequestsetFields in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setKey(String key)
ResellerRequestsetKey in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setOauthToken(String oauthToken)
ResellerRequestsetOauthToken in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setPrettyPrint(Boolean prettyPrint)
ResellerRequestsetPrettyPrint in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setQuotaUser(String quotaUser)
ResellerRequestsetQuotaUser in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setUploadType(String uploadType)
ResellerRequestsetUploadType in class ResellerRequest<Subscription>public Reseller.Subscriptions.ChangePlan setUploadProtocol(String uploadProtocol)
ResellerRequestsetUploadProtocol in class ResellerRequest<Subscription>public String getCustomerId()
public Reseller.Subscriptions.ChangePlan setCustomerId(String customerId)
public String getSubscriptionId()
public Reseller.Subscriptions.ChangePlan setSubscriptionId(String subscriptionId)
public Reseller.Subscriptions.ChangePlan set(String parameterName, Object value)
set in class ResellerRequest<Subscription>Copyright © 2011–2021 Google. All rights reserved.