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 |
---|---|---|
Google.Apis.Services.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. |
System.String | resource | REQUIRED: The resource for which the policy is being requested. See the operation documentation 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 |
---|---|---|
System.String | projectId | Required. Project ID of the row access policies to list. |
System.String | datasetId | Required. Dataset ID of row access policies to list. |
System.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. |
System.String | resource | REQUIRED: The resource for which the policy is being specified. See the operation documentation 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. |
System.String | resource | REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. |
Returns
Type | Description |
---|---|
RowAccessPoliciesResource.TestIamPermissionsRequest |