public class CloudResourceManager.Folders.SetIamPolicy extends CloudResourceManagerRequest<Policy>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
SetIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on a folder, replacing any existing policy.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, 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, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected SetIamPolicy(String resource, SetIamPolicyRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. CloudResourceManager.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
resource
- REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the SetIamPolicyRequest
public CloudResourceManager.Folders.SetIamPolicy set$Xgafv(String $Xgafv)
CloudResourceManagerRequest
set$Xgafv
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setAccessToken(String accessToken)
CloudResourceManagerRequest
setAccessToken
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setAlt(String alt)
CloudResourceManagerRequest
setAlt
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setCallback(String callback)
CloudResourceManagerRequest
setCallback
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setFields(String fields)
CloudResourceManagerRequest
setFields
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setKey(String key)
CloudResourceManagerRequest
setKey
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setOauthToken(String oauthToken)
CloudResourceManagerRequest
setOauthToken
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setPrettyPrint(Boolean prettyPrint)
CloudResourceManagerRequest
setPrettyPrint
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setQuotaUser(String quotaUser)
CloudResourceManagerRequest
setQuotaUser
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setUploadType(String uploadType)
CloudResourceManagerRequest
setUploadType
in class CloudResourceManagerRequest<Policy>
public CloudResourceManager.Folders.SetIamPolicy setUploadProtocol(String uploadProtocol)
CloudResourceManagerRequest
setUploadProtocol
in class CloudResourceManagerRequest<Policy>
public String getResource()
public CloudResourceManager.Folders.SetIamPolicy setResource(String resource)
public CloudResourceManager.Folders.SetIamPolicy set(String parameterName, Object value)
set
in class CloudResourceManagerRequest<Policy>
Copyright © 2011–2024 Google. All rights reserved.