public class Reseller.Customers.Get extends ResellerRequest<Customer>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Get(String customerId)
Gets a customer account.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getCustomerId()
This can be either the customer's primary domain name or the customer's unique identifier.
|
Reseller.Customers.Get |
set(String parameterName,
Object value) |
Reseller.Customers.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Reseller.Customers.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Reseller.Customers.Get |
setAlt(String alt)
Data format for response.
|
Reseller.Customers.Get |
setCallback(String callback)
JSONP
|
Reseller.Customers.Get |
setCustomerId(String customerId)
This can be either the customer's primary domain name or the customer's unique identifier.
|
Reseller.Customers.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Reseller.Customers.Get |
setKey(String key)
API key.
|
Reseller.Customers.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Reseller.Customers.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Reseller.Customers.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Reseller.Customers.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Reseller.Customers.Get |
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, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String customerId)
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.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Customer>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Customer>IOExceptionpublic Reseller.Customers.Get set$Xgafv(String $Xgafv)
ResellerRequestset$Xgafv in class ResellerRequest<Customer>public Reseller.Customers.Get setAccessToken(String accessToken)
ResellerRequestsetAccessToken in class ResellerRequest<Customer>public Reseller.Customers.Get setAlt(String alt)
ResellerRequestsetAlt in class ResellerRequest<Customer>public Reseller.Customers.Get setCallback(String callback)
ResellerRequestsetCallback in class ResellerRequest<Customer>public Reseller.Customers.Get setFields(String fields)
ResellerRequestsetFields in class ResellerRequest<Customer>public Reseller.Customers.Get setKey(String key)
ResellerRequestsetKey in class ResellerRequest<Customer>public Reseller.Customers.Get setOauthToken(String oauthToken)
ResellerRequestsetOauthToken in class ResellerRequest<Customer>public Reseller.Customers.Get setPrettyPrint(Boolean prettyPrint)
ResellerRequestsetPrettyPrint in class ResellerRequest<Customer>public Reseller.Customers.Get setQuotaUser(String quotaUser)
ResellerRequestsetQuotaUser in class ResellerRequest<Customer>public Reseller.Customers.Get setUploadType(String uploadType)
ResellerRequestsetUploadType in class ResellerRequest<Customer>public Reseller.Customers.Get setUploadProtocol(String uploadProtocol)
ResellerRequestsetUploadProtocol in class ResellerRequest<Customer>public String getCustomerId()
public Reseller.Customers.Get setCustomerId(String customerId)
public Reseller.Customers.Get set(String parameterName, Object value)
set in class ResellerRequest<Customer>Copyright © 2011–2021 Google. All rights reserved.