public class Iam.Projects.Roles.Delete extends IamRequest<Role>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Delete(String name)
Soft deletes a role.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEtag()
Used to perform a consistent read-modify-write.
|
String |
getName()
The `name` parameter's value depends on the target resource for the request, namely
[`projects`](/iam/reference/rest/v1/projects.roles) or
[`organizations`](/iam/reference/rest/v1/organizations.roles).
|
Iam.Projects.Roles.Delete |
set(String parameterName,
Object value) |
Iam.Projects.Roles.Delete |
set$Xgafv(String $Xgafv)
V1 error format.
|
Iam.Projects.Roles.Delete |
setAccessToken(String accessToken)
OAuth access token.
|
Iam.Projects.Roles.Delete |
setAlt(String alt)
Data format for response.
|
Iam.Projects.Roles.Delete |
setCallback(String callback)
JSONP
|
Iam.Projects.Roles.Delete |
setEtag(String etag)
Used to perform a consistent read-modify-write.
|
Iam.Projects.Roles.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Iam.Projects.Roles.Delete |
setKey(String key)
API key.
|
Iam.Projects.Roles.Delete |
setName(String name)
The `name` parameter's value depends on the target resource for the request, namely
[`projects`](/iam/reference/rest/v1/projects.roles) or
[`organizations`](/iam/reference/rest/v1/organizations.roles).
|
Iam.Projects.Roles.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Iam.Projects.Roles.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Iam.Projects.Roles.Delete |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Iam.Projects.Roles.Delete |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Iam.Projects.Roles.Delete |
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Delete(String name)
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`](/iam/reference/rest/v1/projects.roles) or
[`organizations`](/iam/reference/rest/v1/organizations.roles). Each
resource type's `name`
value format is described below:
[`projects.roles.delete()`](/iam/reference/rest/v1/projects.roles/delete):
`projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only
[custom
roles](/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}`
[`organizations.roles.delete()`](/iam/reference/rest/v1/organizations.roles/delete):
`organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
deletes only
[custom roles](/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.public Iam.Projects.Roles.Delete set$Xgafv(String $Xgafv)
IamRequestset$Xgafv in class IamRequest<Role>public Iam.Projects.Roles.Delete setAccessToken(String accessToken)
IamRequestsetAccessToken in class IamRequest<Role>public Iam.Projects.Roles.Delete setAlt(String alt)
IamRequestsetAlt in class IamRequest<Role>public Iam.Projects.Roles.Delete setCallback(String callback)
IamRequestsetCallback in class IamRequest<Role>public Iam.Projects.Roles.Delete setFields(String fields)
IamRequestsetFields in class IamRequest<Role>public Iam.Projects.Roles.Delete setKey(String key)
IamRequestsetKey in class IamRequest<Role>public Iam.Projects.Roles.Delete setOauthToken(String oauthToken)
IamRequestsetOauthToken in class IamRequest<Role>public Iam.Projects.Roles.Delete setPrettyPrint(Boolean prettyPrint)
IamRequestsetPrettyPrint in class IamRequest<Role>public Iam.Projects.Roles.Delete setQuotaUser(String quotaUser)
IamRequestsetQuotaUser in class IamRequest<Role>public Iam.Projects.Roles.Delete setUploadType(String uploadType)
IamRequestsetUploadType in class IamRequest<Role>public Iam.Projects.Roles.Delete setUploadProtocol(String uploadProtocol)
IamRequestsetUploadProtocol in class IamRequest<Role>public String getName()
public Iam.Projects.Roles.Delete setName(String name)
public String getEtag()
public Iam.Projects.Roles.Delete setEtag(String etag)
public Iam.Projects.Roles.Delete set(String parameterName, Object value)
set in class IamRequest<Role>Copyright © 2011–2019 Google. All rights reserved.