Show / Hide Table of Contents

Class RowAccessPoliciesResource

The "rowAccessPolicies" collection of methods.

Inheritance
object
RowAccessPoliciesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

BatchDelete(BatchDeleteRowAccessPoliciesRequest, string, string, string)

Deletes provided row access policies.

Declaration
public virtual RowAccessPoliciesResource.BatchDeleteRequest BatchDelete(BatchDeleteRowAccessPoliciesRequest body, string projectId, string datasetId, string tableId)
Parameters
Type Name Description
BatchDeleteRowAccessPoliciesRequest body

The body of the request.

string projectId

Required. Project ID of the table to delete the row access policies.

string datasetId

Required. Dataset ID of the table to delete the row access policies.

string tableId

Required. Table ID of the table to delete the row access policies.

Returns
Type Description
RowAccessPoliciesResource.BatchDeleteRequest

Delete(string, string, string, string)

Deletes a row access policy.

Declaration
public virtual RowAccessPoliciesResource.DeleteRequest Delete(string projectId, string datasetId, string tableId, string policyId)
Parameters
Type Name Description
string projectId

Required. Project ID of the table to delete the row access policy.

string datasetId

Required. Dataset ID of the table to delete the row access policy.

string tableId

Required. Table ID of the table to delete the row access policy.

string policyId

Required. Policy ID of the row access policy.

Returns
Type Description
RowAccessPoliciesResource.DeleteRequest

Get(string, string, string, string)

Gets the specified row access policy by policy ID.

Declaration
public virtual RowAccessPoliciesResource.GetRequest Get(string projectId, string datasetId, string tableId, string policyId)
Parameters
Type Name Description
string projectId

Required. Project ID of the table to get the row access policy.

string datasetId

Required. Dataset ID of the table to get the row access policy.

string tableId

Required. Table ID of the table to get the row access policy.

string policyId

Required. Policy ID of the row access policy.

Returns
Type Description
RowAccessPoliciesResource.GetRequest

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

Insert(RowAccessPolicy, string, string, string)

Creates a row access policy.

Declaration
public virtual RowAccessPoliciesResource.InsertRequest Insert(RowAccessPolicy body, string projectId, string datasetId, string tableId)
Parameters
Type Name Description
RowAccessPolicy body

The body of the request.

string projectId

Required. Project ID of the table to get the row access policy.

string datasetId

Required. Dataset ID of the table to get the row access policy.

string tableId

Required. Table ID of the table to get the row access policy.

Returns
Type Description
RowAccessPoliciesResource.InsertRequest

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

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

Update(RowAccessPolicy, string, string, string, string)

Updates a row access policy.

Declaration
public virtual RowAccessPoliciesResource.UpdateRequest Update(RowAccessPolicy body, string projectId, string datasetId, string tableId, string policyId)
Parameters
Type Name Description
RowAccessPolicy body

The body of the request.

string projectId

Required. Project ID of the table to get the row access policy.

string datasetId

Required. Dataset ID of the table to get the row access policy.

string tableId

Required. Table ID of the table to get the row access policy.

string policyId

Required. Policy ID of the row access policy.

Returns
Type Description
RowAccessPoliciesResource.UpdateRequest
In this article
Back to top Generated by DocFX