public class Pubsub.Projects.Snapshots.GetIamPolicy extends PubsubRequest<Policy>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
GetIamPolicy(java.lang.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() |
java.lang.Integer |
getOptionsRequestedPolicyVersion()
Optional.
|
java.lang.String |
getResource()
REQUIRED: The resource for which the policy is being requested.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
set(java.lang.String parameterName,
java.lang.Object value) |
Pubsub.Projects.Snapshots.GetIamPolicy |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setAlt(java.lang.String alt)
Data format for response.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setCallback(java.lang.String callback)
JSONP
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setKey(java.lang.String key)
API key.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion)
Optional.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setResource(java.lang.String resource)
REQUIRED: The resource for which the policy is being requested.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Pubsub.Projects.Snapshots.GetIamPolicy |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected GetIamPolicy(java.lang.String resource)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Pubsub.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 com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Policy>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Policy>
java.io.IOException
public Pubsub.Projects.Snapshots.GetIamPolicy set$Xgafv(java.lang.String $Xgafv)
PubsubRequest
set$Xgafv
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setAccessToken(java.lang.String accessToken)
PubsubRequest
setAccessToken
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setAlt(java.lang.String alt)
PubsubRequest
setAlt
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setCallback(java.lang.String callback)
PubsubRequest
setCallback
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setFields(java.lang.String fields)
PubsubRequest
setFields
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setKey(java.lang.String key)
PubsubRequest
setKey
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setOauthToken(java.lang.String oauthToken)
PubsubRequest
setOauthToken
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint)
PubsubRequest
setPrettyPrint
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setQuotaUser(java.lang.String quotaUser)
PubsubRequest
setQuotaUser
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setUploadType(java.lang.String uploadType)
PubsubRequest
setUploadType
in class PubsubRequest<Policy>
public Pubsub.Projects.Snapshots.GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol)
PubsubRequest
setUploadProtocol
in class PubsubRequest<Policy>
public java.lang.String getResource()
public Pubsub.Projects.Snapshots.GetIamPolicy setResource(java.lang.String resource)
public java.lang.Integer getOptionsRequestedPolicyVersion()
public Pubsub.Projects.Snapshots.GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion)
public Pubsub.Projects.Snapshots.GetIamPolicy set(java.lang.String parameterName, java.lang.Object value)
set
in class PubsubRequest<Policy>