public class Directory.Customers.Chrome.Printers.Patch extends DirectoryRequest<Printer>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Patch(String name,
Printer content)
Updates a `Printer` resource.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClearMask()
The list of fields to be cleared.
|
String |
getName()
The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-
id} (During printer creation leave empty)
|
String |
getUpdateMask()
The list of fields to be updated.
|
Directory.Customers.Chrome.Printers.Patch |
set(String parameterName,
Object value) |
Directory.Customers.Chrome.Printers.Patch |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.Customers.Chrome.Printers.Patch |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.Customers.Chrome.Printers.Patch |
setAlt(String alt)
Data format for response.
|
Directory.Customers.Chrome.Printers.Patch |
setCallback(String callback)
JSONP
|
Directory.Customers.Chrome.Printers.Patch |
setClearMask(String clearMask)
The list of fields to be cleared.
|
Directory.Customers.Chrome.Printers.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Customers.Chrome.Printers.Patch |
setKey(String key)
API key.
|
Directory.Customers.Chrome.Printers.Patch |
setName(String name)
The resource name of the Printer object, in the format customers/{customer-id}/printers
/{printer-id} (During printer creation leave empty)
|
Directory.Customers.Chrome.Printers.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Customers.Chrome.Printers.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Customers.Chrome.Printers.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Customers.Chrome.Printers.Patch |
setUpdateMask(String updateMask)
The list of fields to be updated.
|
Directory.Customers.Chrome.Printers.Patch |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.Customers.Chrome.Printers.Patch |
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 Patch(String name, Printer 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.
name - The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id}
(During printer creation leave empty)content - the Printerpublic Directory.Customers.Chrome.Printers.Patch set$Xgafv(String $Xgafv)
DirectoryRequestset$Xgafv in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setAccessToken(String accessToken)
DirectoryRequestsetAccessToken in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setCallback(String callback)
DirectoryRequestsetCallback in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setUploadType(String uploadType)
DirectoryRequestsetUploadType in class DirectoryRequest<Printer>public Directory.Customers.Chrome.Printers.Patch setUploadProtocol(String uploadProtocol)
DirectoryRequestsetUploadProtocol in class DirectoryRequest<Printer>public String getName()
public Directory.Customers.Chrome.Printers.Patch setName(String name)
public String getClearMask()
public Directory.Customers.Chrome.Printers.Patch setClearMask(String clearMask)
public String getUpdateMask()
public Directory.Customers.Chrome.Printers.Patch setUpdateMask(String updateMask)
public Directory.Customers.Chrome.Printers.Patch set(String parameterName, Object value)
set in class DirectoryRequest<Printer>Copyright © 2011–2021 Google. All rights reserved.