
target.apidocs.com.google.api.services.bigquery.Bigquery.RowAccessPolicies.html Maven / Gradle / Ivy
Bigquery.RowAccessPolicies (BigQuery API v2-rev20220422-1.32.1)
com.google.api.services.bigquery
Class Bigquery.RowAccessPolicies
- java.lang.Object
-
- com.google.api.services.bigquery.Bigquery.RowAccessPolicies
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Bigquery.RowAccessPolicies.GetIamPolicy
class
Bigquery.RowAccessPolicies.List
class
Bigquery.RowAccessPolicies.SetIamPolicy
class
Bigquery.RowAccessPolicies.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
RowAccessPolicies()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Bigquery.RowAccessPolicies.GetIamPolicy
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the access control policy for a resource.
Bigquery.RowAccessPolicies.List
list(String projectId,
String datasetId,
String tableId)
Lists all row access policies on the specified table.
Bigquery.RowAccessPolicies.SetIamPolicy
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
Bigquery.RowAccessPolicies.TestIamPermissions
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
getIamPolicy
public Bigquery.RowAccessPolicies.GetIamPolicy getIamPolicy(String resource,
GetIamPolicyRequest content)
throws IOException
Gets the access control policy for a resource. Returns an empty policy if the resource exists and
does not have a policy set.
Create a request for the method "rowAccessPolicies.getIamPolicy".
This request holds the parameters needed by the bigquery server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy is being requested. See the operation documentation for
the appropriate value for this field.
content
- the GetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
list
public Bigquery.RowAccessPolicies.List list(String projectId,
String datasetId,
String tableId)
throws IOException
Lists all row access policies on the specified table.
Create a request for the method "rowAccessPolicies.list".
This request holds the parameters needed by the bigquery server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
projectId
- Required. Project ID of the row access policies to list.
datasetId
- Required. Dataset ID of row access policies to list.
tableId
- Required. Table ID of the table to list row access policies.
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public Bigquery.RowAccessPolicies.SetIamPolicy setIamPolicy(String resource,
SetIamPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy. Can
return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
Create a request for the method "rowAccessPolicies.setIamPolicy".
This request holds the parameters needed by the bigquery server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy is being specified. See the operation documentation for
the appropriate value for this field.
content
- the SetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Bigquery.RowAccessPolicies.TestIamPermissions testIamPermissions(String resource,
TestIamPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource. If the resource does not exist,
this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
designed to be used for building permission-aware UIs and command-line tools, not for
authorization checking. This operation may "fail open" without warning.
Create a request for the method "rowAccessPolicies.testIamPermissions".
This request holds the parameters needed by the bigquery server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy detail is being requested. See the operation
documentation for the appropriate value for this field.
content
- the TestIamPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy