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