public class ServiceManagement.Services.Consumers.SetIamPolicy extends ServiceManagementRequest<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 the specified resource.
|
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. ServiceManagement.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 ServiceManagement.Services.Consumers.SetIamPolicy set$Xgafv(String $Xgafv)
ServiceManagementRequest
set$Xgafv
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setAccessToken(String accessToken)
ServiceManagementRequest
setAccessToken
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setAlt(String alt)
ServiceManagementRequest
setAlt
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setCallback(String callback)
ServiceManagementRequest
setCallback
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setFields(String fields)
ServiceManagementRequest
setFields
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setKey(String key)
ServiceManagementRequest
setKey
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setOauthToken(String oauthToken)
ServiceManagementRequest
setOauthToken
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setPrettyPrint(Boolean prettyPrint)
ServiceManagementRequest
setPrettyPrint
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setQuotaUser(String quotaUser)
ServiceManagementRequest
setQuotaUser
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setUploadType(String uploadType)
ServiceManagementRequest
setUploadType
in class ServiceManagementRequest<Policy>
public ServiceManagement.Services.Consumers.SetIamPolicy setUploadProtocol(String uploadProtocol)
ServiceManagementRequest
setUploadProtocol
in class ServiceManagementRequest<Policy>
public String getResource()
public ServiceManagement.Services.Consumers.SetIamPolicy setResource(String resource)
public ServiceManagement.Services.Consumers.SetIamPolicy set(String parameterName, Object value)
set
in class ServiceManagementRequest<Policy>
Copyright © 2011–2024 Google. All rights reserved.