public class Compute.RegionBackendServices.SetIamPolicy extends ComputeRequest<Policy>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
SetIamPolicy(String project,
String region,
String resource,
RegionSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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 SetIamPolicy(String project, String region, String resource, RegionSetPolicyRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Compute.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the RegionSetPolicyRequestpublic Compute.RegionBackendServices.SetIamPolicy setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Policy>public Compute.RegionBackendServices.SetIamPolicy setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Policy>public Compute.RegionBackendServices.SetIamPolicy setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Policy>public Compute.RegionBackendServices.SetIamPolicy setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Policy>public Compute.RegionBackendServices.SetIamPolicy setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Policy>public Compute.RegionBackendServices.SetIamPolicy setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Policy>public Compute.RegionBackendServices.SetIamPolicy setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Policy>public String getProject()
public Compute.RegionBackendServices.SetIamPolicy setProject(String project)
public String getRegion()
public Compute.RegionBackendServices.SetIamPolicy setRegion(String region)
public String getResource()
public Compute.RegionBackendServices.SetIamPolicy setResource(String resource)
public Compute.RegionBackendServices.SetIamPolicy set(String parameterName, Object value)
set in class ComputeRequest<Policy>Copyright © 2011–2021 Google. All rights reserved.