public class Directory.Roles.Get extends DirectoryRequest<Role>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Get(String customer,
String roleId)
Retrieves a role.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getCustomer()
Immutable ID of the Google Workspace account.
|
String |
getRoleId()
Immutable ID of the role.
|
Directory.Roles.Get |
set(String parameterName,
Object value) |
Directory.Roles.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.Roles.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.Roles.Get |
setAlt(String alt)
Data format for response.
|
Directory.Roles.Get |
setCallback(String callback)
JSONP
|
Directory.Roles.Get |
setCustomer(String customer)
Immutable ID of the Google Workspace account.
|
Directory.Roles.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Roles.Get |
setKey(String key)
API key.
|
Directory.Roles.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Roles.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Roles.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Roles.Get |
setRoleId(String roleId)
Immutable ID of the role.
|
Directory.Roles.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.Roles.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 customer, String roleId)
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.
customer
- Immutable ID of the Google Workspace account.roleId
- Immutable ID of the role.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Role>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Role>
IOException
public Directory.Roles.Get set$Xgafv(String $Xgafv)
DirectoryRequest
set$Xgafv
in class DirectoryRequest<Role>
public Directory.Roles.Get setAccessToken(String accessToken)
DirectoryRequest
setAccessToken
in class DirectoryRequest<Role>
public Directory.Roles.Get setAlt(String alt)
DirectoryRequest
setAlt
in class DirectoryRequest<Role>
public Directory.Roles.Get setCallback(String callback)
DirectoryRequest
setCallback
in class DirectoryRequest<Role>
public Directory.Roles.Get setFields(String fields)
DirectoryRequest
setFields
in class DirectoryRequest<Role>
public Directory.Roles.Get setKey(String key)
DirectoryRequest
setKey
in class DirectoryRequest<Role>
public Directory.Roles.Get setOauthToken(String oauthToken)
DirectoryRequest
setOauthToken
in class DirectoryRequest<Role>
public Directory.Roles.Get setPrettyPrint(Boolean prettyPrint)
DirectoryRequest
setPrettyPrint
in class DirectoryRequest<Role>
public Directory.Roles.Get setQuotaUser(String quotaUser)
DirectoryRequest
setQuotaUser
in class DirectoryRequest<Role>
public Directory.Roles.Get setUploadType(String uploadType)
DirectoryRequest
setUploadType
in class DirectoryRequest<Role>
public Directory.Roles.Get setUploadProtocol(String uploadProtocol)
DirectoryRequest
setUploadProtocol
in class DirectoryRequest<Role>
public String getCustomer()
public Directory.Roles.Get setCustomer(String customer)
public String getRoleId()
public Directory.Roles.Get setRoleId(String roleId)
public Directory.Roles.Get set(String parameterName, Object value)
set
in class DirectoryRequest<Role>
Copyright © 2011–2021 Google. All rights reserved.