public class Bigquery.Tables.SetIamPolicy extends BigqueryRequest<Policy>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
SetIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
Modifier and Type | Method and Description |
---|---|
String |
getResource()
REQUIRED: The resource for which the policy is being specified.
|
Bigquery.Tables.SetIamPolicy |
set(String parameterName,
Object value) |
Bigquery.Tables.SetIamPolicy |
setAlt(String alt)
Data format for the response.
|
Bigquery.Tables.SetIamPolicy |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Tables.SetIamPolicy |
setKey(String key)
API key.
|
Bigquery.Tables.SetIamPolicy |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Tables.SetIamPolicy |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Tables.SetIamPolicy |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Bigquery.Tables.SetIamPolicy |
setResource(String resource)
REQUIRED: The resource for which the policy is being specified.
|
Bigquery.Tables.SetIamPolicy |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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. Bigquery.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 Bigquery.Tables.SetIamPolicy setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<Policy>
public Bigquery.Tables.SetIamPolicy setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<Policy>
public Bigquery.Tables.SetIamPolicy setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<Policy>
public Bigquery.Tables.SetIamPolicy setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<Policy>
public Bigquery.Tables.SetIamPolicy setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<Policy>
public Bigquery.Tables.SetIamPolicy setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<Policy>
public Bigquery.Tables.SetIamPolicy setUserIp(String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<Policy>
public String getResource()
public Bigquery.Tables.SetIamPolicy setResource(String resource)
public Bigquery.Tables.SetIamPolicy set(String parameterName, Object value)
set
in class BigqueryRequest<Policy>
Copyright © 2011–2022 Google. All rights reserved.