public class Directory.Customers.Get extends DirectoryRequest<Customer>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Get(String customerKey)
Retrieves a customer.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getCustomerKey()
Id of the customer to be retrieved
|
Directory.Customers.Get |
set(String parameterName,
Object value) |
Directory.Customers.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.Customers.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.Customers.Get |
setAlt(String alt)
Data format for response.
|
Directory.Customers.Get |
setCallback(String callback)
JSONP
|
Directory.Customers.Get |
setCustomerKey(String customerKey)
Id of the customer to be retrieved
|
Directory.Customers.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Customers.Get |
setKey(String key)
API key.
|
Directory.Customers.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Customers.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Customers.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Customers.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.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, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String customerKey)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Directory.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
customerKey
- Id of the customer to be retrievedpublic HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Customer>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Customer>
IOException
public Directory.Customers.Get set$Xgafv(String $Xgafv)
DirectoryRequest
set$Xgafv
in class DirectoryRequest<Customer>
public Directory.Customers.Get setAccessToken(String accessToken)
DirectoryRequest
setAccessToken
in class DirectoryRequest<Customer>
public Directory.Customers.Get setAlt(String alt)
DirectoryRequest
setAlt
in class DirectoryRequest<Customer>
public Directory.Customers.Get setCallback(String callback)
DirectoryRequest
setCallback
in class DirectoryRequest<Customer>
public Directory.Customers.Get setFields(String fields)
DirectoryRequest
setFields
in class DirectoryRequest<Customer>
public Directory.Customers.Get setKey(String key)
DirectoryRequest
setKey
in class DirectoryRequest<Customer>
public Directory.Customers.Get setOauthToken(String oauthToken)
DirectoryRequest
setOauthToken
in class DirectoryRequest<Customer>
public Directory.Customers.Get setPrettyPrint(Boolean prettyPrint)
DirectoryRequest
setPrettyPrint
in class DirectoryRequest<Customer>
public Directory.Customers.Get setQuotaUser(String quotaUser)
DirectoryRequest
setQuotaUser
in class DirectoryRequest<Customer>
public Directory.Customers.Get setUploadType(String uploadType)
DirectoryRequest
setUploadType
in class DirectoryRequest<Customer>
public Directory.Customers.Get setUploadProtocol(String uploadProtocol)
DirectoryRequest
setUploadProtocol
in class DirectoryRequest<Customer>
public String getCustomerKey()
public Directory.Customers.Get setCustomerKey(String customerKey)
public Directory.Customers.Get set(String parameterName, Object value)
set
in class DirectoryRequest<Customer>
Copyright © 2011–2021 Google. All rights reserved.