public class Pubsub.Projects.Topics.GetIamPolicy extends PubsubRequest<Policy>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
GetIamPolicy(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()
Optional.
|
String |
getResource()
REQUIRED: The resource for which the policy is being requested.
|
Pubsub.Projects.Topics.GetIamPolicy |
set(String parameterName,
Object value) |
Pubsub.Projects.Topics.GetIamPolicy |
set$Xgafv(String $Xgafv)
V1 error format.
|
Pubsub.Projects.Topics.GetIamPolicy |
setAccessToken(String accessToken)
OAuth access token.
|
Pubsub.Projects.Topics.GetIamPolicy |
setAlt(String alt)
Data format for response.
|
Pubsub.Projects.Topics.GetIamPolicy |
setCallback(String callback)
JSONP
|
Pubsub.Projects.Topics.GetIamPolicy |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Pubsub.Projects.Topics.GetIamPolicy |
setKey(String key)
API key.
|
Pubsub.Projects.Topics.GetIamPolicy |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Pubsub.Projects.Topics.GetIamPolicy |
setOptionsRequestedPolicyVersion(Integer optionsRequestedPolicyVersion)
Optional.
|
Pubsub.Projects.Topics.GetIamPolicy |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Pubsub.Projects.Topics.GetIamPolicy |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Pubsub.Projects.Topics.GetIamPolicy |
setResource(String resource)
REQUIRED: The resource for which the policy is being requested.
|
Pubsub.Projects.Topics.GetIamPolicy |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Pubsub.Projects.Topics.GetIamPolicy |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected GetIamPolicy(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 [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Policy>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Policy>IOExceptionpublic Pubsub.Projects.Topics.GetIamPolicy set$Xgafv(String $Xgafv)
PubsubRequestset$Xgafv in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setAccessToken(String accessToken)
PubsubRequestsetAccessToken in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setAlt(String alt)
PubsubRequestsetAlt in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setCallback(String callback)
PubsubRequestsetCallback in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setFields(String fields)
PubsubRequestsetFields in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setKey(String key)
PubsubRequestsetKey in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setOauthToken(String oauthToken)
PubsubRequestsetOauthToken in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setPrettyPrint(Boolean prettyPrint)
PubsubRequestsetPrettyPrint in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setQuotaUser(String quotaUser)
PubsubRequestsetQuotaUser in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setUploadType(String uploadType)
PubsubRequestsetUploadType in class PubsubRequest<Policy>public Pubsub.Projects.Topics.GetIamPolicy setUploadProtocol(String uploadProtocol)
PubsubRequestsetUploadProtocol in class PubsubRequest<Policy>public String getResource()
public Pubsub.Projects.Topics.GetIamPolicy setResource(String resource)
public Integer getOptionsRequestedPolicyVersion()
public Pubsub.Projects.Topics.GetIamPolicy setOptionsRequestedPolicyVersion(Integer optionsRequestedPolicyVersion)
public Pubsub.Projects.Topics.GetIamPolicy set(String parameterName, Object value)
set in class PubsubRequest<Policy>Copyright © 2011–2023 Google. All rights reserved.