public class Compute.StoragePools.GetIamPolicy extends ComputeRequest<Policy>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GetIamPolicy(String project,
String zone,
String resource)
Gets the access control policy for a resource.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
Integer |
getOptionsRequestedPolicyVersion()
Requested IAM Policy version.
|
String |
getProject()
Project ID for this request.
|
String |
getResource()
Name or id of the resource for this request.
|
String |
getZone()
The name of the zone for this request.
|
Compute.StoragePools.GetIamPolicy |
set(String parameterName,
Object value) |
Compute.StoragePools.GetIamPolicy |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.StoragePools.GetIamPolicy |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.StoragePools.GetIamPolicy |
setAlt(String alt)
Data format for response.
|
Compute.StoragePools.GetIamPolicy |
setCallback(String callback)
JSONP
|
Compute.StoragePools.GetIamPolicy |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.StoragePools.GetIamPolicy |
setKey(String key)
API key.
|
Compute.StoragePools.GetIamPolicy |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.StoragePools.GetIamPolicy |
setOptionsRequestedPolicyVersion(Integer optionsRequestedPolicyVersion)
Requested IAM Policy version.
|
Compute.StoragePools.GetIamPolicy |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.StoragePools.GetIamPolicy |
setProject(String project)
Project ID for this request.
|
Compute.StoragePools.GetIamPolicy |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.StoragePools.GetIamPolicy |
setResource(String resource)
Name or id of the resource for this request.
|
Compute.StoragePools.GetIamPolicy |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.StoragePools.GetIamPolicy |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.StoragePools.GetIamPolicy |
setUserIp(String userIp)
Legacy name for parameter that has been superseded by `quotaUser`.
|
Compute.StoragePools.GetIamPolicy |
setZone(String zone)
The name of the zone for this request.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 GetIamPolicy(String project, String zone, String resource)
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.zone
- The name of the zone for this request.resource
- Name or id of the resource for this request.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Policy>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Policy>
IOException
public Compute.StoragePools.GetIamPolicy set$Xgafv(String $Xgafv)
ComputeRequest
set$Xgafv
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setAccessToken(String accessToken)
ComputeRequest
setAccessToken
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setCallback(String callback)
ComputeRequest
setCallback
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setUploadType(String uploadType)
ComputeRequest
setUploadType
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setUploadProtocol(String uploadProtocol)
ComputeRequest
setUploadProtocol
in class ComputeRequest<Policy>
public Compute.StoragePools.GetIamPolicy setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<Policy>
public String getProject()
public Compute.StoragePools.GetIamPolicy setProject(String project)
public String getZone()
public Compute.StoragePools.GetIamPolicy setZone(String zone)
public String getResource()
public Compute.StoragePools.GetIamPolicy setResource(String resource)
public Integer getOptionsRequestedPolicyVersion()
public Compute.StoragePools.GetIamPolicy setOptionsRequestedPolicyVersion(Integer optionsRequestedPolicyVersion)
public Compute.StoragePools.GetIamPolicy set(String parameterName, Object value)
set
in class ComputeRequest<Policy>
Copyright © 2011–2024 Google. All rights reserved.