public class Directory.Customers.Chrome.Printers.Get extends DirectoryRequest<Printer>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Get(String name)
Returns a `Printer` resource (printer's config).
|
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 name)
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
- Required. The name of the printer to retrieve. Format:
customers/{customer_id}/chrome/printers/{printer_id}public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Printer>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Printer>
IOException
public Directory.Customers.Chrome.Printers.Get set$Xgafv(String $Xgafv)
DirectoryRequest
set$Xgafv
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setAccessToken(String accessToken)
DirectoryRequest
setAccessToken
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setAlt(String alt)
DirectoryRequest
setAlt
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setCallback(String callback)
DirectoryRequest
setCallback
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setFields(String fields)
DirectoryRequest
setFields
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setKey(String key)
DirectoryRequest
setKey
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setOauthToken(String oauthToken)
DirectoryRequest
setOauthToken
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setPrettyPrint(Boolean prettyPrint)
DirectoryRequest
setPrettyPrint
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setQuotaUser(String quotaUser)
DirectoryRequest
setQuotaUser
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setUploadType(String uploadType)
DirectoryRequest
setUploadType
in class DirectoryRequest<Printer>
public Directory.Customers.Chrome.Printers.Get setUploadProtocol(String uploadProtocol)
DirectoryRequest
setUploadProtocol
in class DirectoryRequest<Printer>
public String getName()
public Directory.Customers.Chrome.Printers.Get setName(String name)
public Directory.Customers.Chrome.Printers.Get set(String parameterName, Object value)
set
in class DirectoryRequest<Printer>
Copyright © 2011–2021 Google. All rights reserved.