Resource: RowAccessPolicy
Represents access on a subset of rows on the specified table, defined by its filter predicate. Access to the subset of rows is controlled by its IAM policy.
| JSON representation |
|---|
{
"etag": string,
"rowAccessPolicyReference": {
object ( |
| Fields | |
|---|---|
etag |
Output only. A hash of this resource. |
rowAccessPolicyReference |
Required. Reference describing the ID of this row access policy. |
filterPredicate |
Required. A SQL boolean expression that represents the rows defined by this row access policy, similar to the boolean expression in a WHERE clause of a SELECT query on a table. References to other tables, routines, and temporary functions are not supported. Examples: region="EU" date_field = CAST('2019-9-27' as DATE) nullable_field is not NULL numeric_field BETWEEN 1.0 AND 5.0 |
creationTime |
Output only. The time when this row access policy was created, in milliseconds since the epoch. |
lastModifiedTime |
Output only. The time when this row access policy was last modified, in milliseconds since the epoch. |
grantees[] |
Optional. Input only. The optional list of iamMember users or groups that specifies the initial members that the row-level access policy should be created with. grantees types:
|
RowAccessPolicyReference
Id path of a row access policy.
| JSON representation |
|---|
{ "projectId": string, "datasetId": string, "tableId": string, "policyId": string } |
| Fields | |
|---|---|
projectId |
Required. The ID of the project containing this row access policy. |
datasetId |
Required. The ID of the dataset containing this row access policy. |
tableId |
Required. The ID of the table containing this row access policy. |
policyId |
Required. The ID of the row access policy. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters. |
Methods |
|
|---|---|
|
Deletes provided row access policies. |
|
Deletes a row access policy. |
|
Gets the specified row access policy by policy ID. |
|
Gets the access control policy for a resource. |
|
Creates a row access policy. |
|
Lists all row access policies on the specified table. |
|
Returns permissions that a caller has on the specified resource. |
|
Updates a row access policy. |