public class Directory.Customers.Patch extends DirectoryRequest<Customer>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Patch(java.lang.String customerKey,
Customer content)
Updates a customer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomerKey()
Id of the customer to be updated
|
Directory.Customers.Patch |
set(java.lang.String parameterName,
java.lang.Object value) |
Directory.Customers.Patch |
setAlt(java.lang.String alt)
Data format for the response.
|
Directory.Customers.Patch |
setCustomerKey(java.lang.String customerKey)
Id of the customer to be updated
|
Directory.Customers.Patch |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Customers.Patch |
setKey(java.lang.String key)
API key.
|
Directory.Customers.Patch |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Customers.Patch |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Customers.Patch |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Directory.Customers.Patch |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Patch(java.lang.String customerKey, Customer content)
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 updatedcontent
- the Customer
public Directory.Customers.Patch setAlt(java.lang.String alt)
DirectoryRequest
setAlt
in class DirectoryRequest<Customer>
public Directory.Customers.Patch setFields(java.lang.String fields)
DirectoryRequest
setFields
in class DirectoryRequest<Customer>
public Directory.Customers.Patch setKey(java.lang.String key)
DirectoryRequest
setKey
in class DirectoryRequest<Customer>
public Directory.Customers.Patch setOauthToken(java.lang.String oauthToken)
DirectoryRequest
setOauthToken
in class DirectoryRequest<Customer>
public Directory.Customers.Patch setPrettyPrint(java.lang.Boolean prettyPrint)
DirectoryRequest
setPrettyPrint
in class DirectoryRequest<Customer>
public Directory.Customers.Patch setQuotaUser(java.lang.String quotaUser)
DirectoryRequest
setQuotaUser
in class DirectoryRequest<Customer>
public Directory.Customers.Patch setUserIp(java.lang.String userIp)
DirectoryRequest
setUserIp
in class DirectoryRequest<Customer>
public java.lang.String getCustomerKey()
public Directory.Customers.Patch setCustomerKey(java.lang.String customerKey)
public Directory.Customers.Patch set(java.lang.String parameterName, java.lang.Object value)
set
in class DirectoryRequest<Customer>