public class Reseller.Subscriptions.Delete extends ResellerRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Delete(String customerId,
String subscriptionId,
String deletionType)
Cancels, suspends, or transfers a subscription to direct.
|
| 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 |
getDeletionType()
The `deletionType` query string enables the cancellation, downgrade, or suspension of a
subscription.
|
String |
getSubscriptionId()
This is a required property.
|
Reseller.Subscriptions.Delete |
set(String parameterName,
Object value) |
Reseller.Subscriptions.Delete |
set$Xgafv(String $Xgafv)
V1 error format.
|
Reseller.Subscriptions.Delete |
setAccessToken(String accessToken)
OAuth access token.
|
Reseller.Subscriptions.Delete |
setAlt(String alt)
Data format for response.
|
Reseller.Subscriptions.Delete |
setCallback(String callback)
JSONP
|
Reseller.Subscriptions.Delete |
setCustomerId(String customerId)
This can be either the customer's primary domain name or the customer's unique identifier.
|
Reseller.Subscriptions.Delete |
setDeletionType(String deletionType)
The `deletionType` query string enables the cancellation, downgrade, or suspension of a
subscription.
|
Reseller.Subscriptions.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Reseller.Subscriptions.Delete |
setKey(String key)
API key.
|
Reseller.Subscriptions.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Reseller.Subscriptions.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Reseller.Subscriptions.Delete |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Reseller.Subscriptions.Delete |
setSubscriptionId(String subscriptionId)
This is a required property.
|
Reseller.Subscriptions.Delete |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Reseller.Subscriptions.Delete |
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 Delete(String customerId, String subscriptionId, String deletionType)
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.deletionType - The `deletionType` query string enables the cancellation, downgrade, or suspension of a
subscription.public Reseller.Subscriptions.Delete set$Xgafv(String $Xgafv)
ResellerRequestset$Xgafv in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setAccessToken(String accessToken)
ResellerRequestsetAccessToken in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setAlt(String alt)
ResellerRequestsetAlt in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setCallback(String callback)
ResellerRequestsetCallback in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setFields(String fields)
ResellerRequestsetFields in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setKey(String key)
ResellerRequestsetKey in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setOauthToken(String oauthToken)
ResellerRequestsetOauthToken in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setPrettyPrint(Boolean prettyPrint)
ResellerRequestsetPrettyPrint in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setQuotaUser(String quotaUser)
ResellerRequestsetQuotaUser in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setUploadType(String uploadType)
ResellerRequestsetUploadType in class ResellerRequest<Void>public Reseller.Subscriptions.Delete setUploadProtocol(String uploadProtocol)
ResellerRequestsetUploadProtocol in class ResellerRequest<Void>public String getCustomerId()
public Reseller.Subscriptions.Delete setCustomerId(String customerId)
public String getSubscriptionId()
public Reseller.Subscriptions.Delete setSubscriptionId(String subscriptionId)
public String getDeletionType()
public Reseller.Subscriptions.Delete setDeletionType(String deletionType)
public Reseller.Subscriptions.Delete set(String parameterName, Object value)
set in class ResellerRequest<Void>Copyright © 2011–2021 Google. All rights reserved.