Class RowAccessPoliciesResource
The "rowAccessPolicies" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class RowAccessPoliciesResource
Constructors
RowAccessPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public RowAccessPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
GetIamPolicy(GetIamPolicyRequest, string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual RowAccessPoliciesResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
GetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
RowAccessPoliciesResource.GetIamPolicyRequest |
List(string, string, string)
Lists all row access policies on the specified table.
Declaration
public virtual RowAccessPoliciesResource.ListRequest List(string projectId, string datasetId, string tableId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Required. Project ID of the row access policies to list. |
string | datasetId | Required. Dataset ID of row access policies to list. |
string | tableId | Required. Table ID of the table to list row access policies. |
Returns
Type | Description |
---|---|
RowAccessPoliciesResource.ListRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return
NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
Declaration
public virtual RowAccessPoliciesResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
RowAccessPoliciesResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
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.
Declaration
public virtual RowAccessPoliciesResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
RowAccessPoliciesResource.TestIamPermissionsRequest |