public class Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy extends DataprocRequest<Policy>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
GetIamPolicy(String resource)
Gets the access control policy for a resource.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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 resource)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. Dataproc.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 requested. See the operation documentation for
the appropriate value for this field.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Policy>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Policy>
IOException
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy set$Xgafv(String $Xgafv)
DataprocRequest
set$Xgafv
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setAccessToken(String accessToken)
DataprocRequest
setAccessToken
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setAlt(String alt)
DataprocRequest
setAlt
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setCallback(String callback)
DataprocRequest
setCallback
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setFields(String fields)
DataprocRequest
setFields
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setKey(String key)
DataprocRequest
setKey
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setOauthToken(String oauthToken)
DataprocRequest
setOauthToken
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setPrettyPrint(Boolean prettyPrint)
DataprocRequest
setPrettyPrint
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setQuotaUser(String quotaUser)
DataprocRequest
setQuotaUser
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setUploadType(String uploadType)
DataprocRequest
setUploadType
in class DataprocRequest<Policy>
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setUploadProtocol(String uploadProtocol)
DataprocRequest
setUploadProtocol
in class DataprocRequest<Policy>
public String getResource()
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setResource(String resource)
public Integer getOptionsRequestedPolicyVersion()
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy setOptionsRequestedPolicyVersion(Integer optionsRequestedPolicyVersion)
public Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy set(String parameterName, Object value)
set
in class DataprocRequest<Policy>
Copyright © 2011–2021 Google. All rights reserved.