public class Iam.Policies.Update extends IamRequest<GoogleLongrunningOperation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Update(String name,
GoogleIamV2betaPolicy content)
Updates the specified policy.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Immutable.
|
Iam.Policies.Update |
set(String parameterName,
Object value) |
Iam.Policies.Update |
set$Xgafv(String $Xgafv)
V1 error format.
|
Iam.Policies.Update |
setAccessToken(String accessToken)
OAuth access token.
|
Iam.Policies.Update |
setAlt(String alt)
Data format for response.
|
Iam.Policies.Update |
setCallback(String callback)
JSONP
|
Iam.Policies.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Iam.Policies.Update |
setKey(String key)
API key.
|
Iam.Policies.Update |
setName(String name)
Immutable.
|
Iam.Policies.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Iam.Policies.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Iam.Policies.Update |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Iam.Policies.Update |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Iam.Policies.Update |
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 Update(String name, GoogleIamV2betaPolicy 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 - Immutable. The resource name of the `Policy`, which must be unique. Format:
`policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified
by its URL-encoded full resource name, which means that the forward-slash character, `/`,
must be written as `%2F`. For example,
`policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-
deny-policy`. For organizations and folders, use the numeric ID in the full resource name.
For projects, requests can use the alphanumeric or the numeric ID. Responses always
contain the numeric ID.content - the GoogleIamV2betaPolicypublic Iam.Policies.Update set$Xgafv(String $Xgafv)
IamRequestset$Xgafv in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setAccessToken(String accessToken)
IamRequestsetAccessToken in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setAlt(String alt)
IamRequestsetAlt in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setCallback(String callback)
IamRequestsetCallback in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setFields(String fields)
IamRequestsetFields in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setKey(String key)
IamRequestsetKey in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setOauthToken(String oauthToken)
IamRequestsetOauthToken in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setPrettyPrint(Boolean prettyPrint)
IamRequestsetPrettyPrint in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setQuotaUser(String quotaUser)
IamRequestsetQuotaUser in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setUploadType(String uploadType)
IamRequestsetUploadType in class IamRequest<GoogleLongrunningOperation>public Iam.Policies.Update setUploadProtocol(String uploadProtocol)
IamRequestsetUploadProtocol in class IamRequest<GoogleLongrunningOperation>public String getName()
public Iam.Policies.Update setName(String name)
public Iam.Policies.Update set(String parameterName, Object value)
set in class IamRequest<GoogleLongrunningOperation>Copyright © 2011–2022 Google. All rights reserved.