public class Directory.RoleAssignments.Get extends DirectoryRequest<RoleAssignment>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String customer,
String roleAssignmentId)
Retrieves a role assignment.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getCustomer()
The unique ID for the customer's Google Workspace account.
|
String |
getRoleAssignmentId()
Immutable ID of the role assignment.
|
Directory.RoleAssignments.Get |
set(String parameterName,
Object value) |
Directory.RoleAssignments.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.RoleAssignments.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.RoleAssignments.Get |
setAlt(String alt)
Data format for response.
|
Directory.RoleAssignments.Get |
setCallback(String callback)
JSONP
|
Directory.RoleAssignments.Get |
setCustomer(String customer)
The unique ID for the customer's Google Workspace account.
|
Directory.RoleAssignments.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.RoleAssignments.Get |
setKey(String key)
API key.
|
Directory.RoleAssignments.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.RoleAssignments.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.RoleAssignments.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.RoleAssignments.Get |
setRoleAssignmentId(String roleAssignmentId)
Immutable ID of the role assignment.
|
Directory.RoleAssignments.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.RoleAssignments.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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String customer, String roleAssignmentId)
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 - The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to
fetch all groups for a customer, use this field instead of `domain`. You can also use the
`my_customer` alias to represent your account's `customerId`. The `customerId` is also
returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You
must provide either the `customer` or the `domain` parameter.roleAssignmentId - Immutable ID of the role assignment.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<RoleAssignment>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<RoleAssignment>IOExceptionpublic Directory.RoleAssignments.Get set$Xgafv(String $Xgafv)
DirectoryRequestset$Xgafv in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setAccessToken(String accessToken)
DirectoryRequestsetAccessToken in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setCallback(String callback)
DirectoryRequestsetCallback in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setUploadType(String uploadType)
DirectoryRequestsetUploadType in class DirectoryRequest<RoleAssignment>public Directory.RoleAssignments.Get setUploadProtocol(String uploadProtocol)
DirectoryRequestsetUploadProtocol in class DirectoryRequest<RoleAssignment>public String getCustomer()
public Directory.RoleAssignments.Get setCustomer(String customer)
public String getRoleAssignmentId()
public Directory.RoleAssignments.Get setRoleAssignmentId(String roleAssignmentId)
public Directory.RoleAssignments.Get set(String parameterName, Object value)
set in class DirectoryRequest<RoleAssignment>Copyright © 2011–2023 Google. All rights reserved.