public class Iam.Organizations.Roles.Patch extends IamRequest<Role>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Patch(String name,
Role content)
Updates the definition of a custom Role.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The `name` parameter's value depends on the target resource for the request, namely
[`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
[`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
|
String |
getUpdateMask()
A mask describing which fields in the Role have changed.
|
Iam.Organizations.Roles.Patch |
set(String parameterName,
Object value) |
Iam.Organizations.Roles.Patch |
set$Xgafv(String $Xgafv)
V1 error format.
|
Iam.Organizations.Roles.Patch |
setAccessToken(String accessToken)
OAuth access token.
|
Iam.Organizations.Roles.Patch |
setAlt(String alt)
Data format for response.
|
Iam.Organizations.Roles.Patch |
setCallback(String callback)
JSONP
|
Iam.Organizations.Roles.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Iam.Organizations.Roles.Patch |
setKey(String key)
API key.
|
Iam.Organizations.Roles.Patch |
setName(String name)
The `name` parameter's value depends on the target resource for the request, namely
[`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
[`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
|
Iam.Organizations.Roles.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Iam.Organizations.Roles.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Iam.Organizations.Roles.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Iam.Organizations.Roles.Patch |
setUpdateMask(String updateMask)
A mask describing which fields in the Role have changed.
|
Iam.Organizations.Roles.Patch |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Iam.Organizations.Roles.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, Role content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Iam.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
name - The `name` parameter's value depends on the target resource for the request, namely
[`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
[`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
Each resource type's `name` value format is described below: * [`projects.roles.patch()`](
https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch):
`projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom
roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been
created at the project level. Example request URL:
`https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizat
ions.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/pa
tch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only
[custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
been created at the organization level. Example request URL:
`https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
Note: Wildcard (*) values are invalid; you must specify a complete project ID or
organization ID.content - the Rolepublic Iam.Organizations.Roles.Patch set$Xgafv(String $Xgafv)
IamRequestset$Xgafv in class IamRequest<Role>public Iam.Organizations.Roles.Patch setAccessToken(String accessToken)
IamRequestsetAccessToken in class IamRequest<Role>public Iam.Organizations.Roles.Patch setAlt(String alt)
IamRequestsetAlt in class IamRequest<Role>public Iam.Organizations.Roles.Patch setCallback(String callback)
IamRequestsetCallback in class IamRequest<Role>public Iam.Organizations.Roles.Patch setFields(String fields)
IamRequestsetFields in class IamRequest<Role>public Iam.Organizations.Roles.Patch setKey(String key)
IamRequestsetKey in class IamRequest<Role>public Iam.Organizations.Roles.Patch setOauthToken(String oauthToken)
IamRequestsetOauthToken in class IamRequest<Role>public Iam.Organizations.Roles.Patch setPrettyPrint(Boolean prettyPrint)
IamRequestsetPrettyPrint in class IamRequest<Role>public Iam.Organizations.Roles.Patch setQuotaUser(String quotaUser)
IamRequestsetQuotaUser in class IamRequest<Role>public Iam.Organizations.Roles.Patch setUploadType(String uploadType)
IamRequestsetUploadType in class IamRequest<Role>public Iam.Organizations.Roles.Patch setUploadProtocol(String uploadProtocol)
IamRequestsetUploadProtocol in class IamRequest<Role>public String getName()
public Iam.Organizations.Roles.Patch setName(String name)
public String getUpdateMask()
public Iam.Organizations.Roles.Patch setUpdateMask(String updateMask)
public Iam.Organizations.Roles.Patch set(String parameterName, Object value)
set in class IamRequest<Role>Copyright © 2011–2023 Google. All rights reserved.