pub struct RowAccessPolicy {
pub creation_time: Option<DateTime<Utc>>,
pub etag: Option<String>,
pub filter_predicate: Option<String>,
pub grantees: Option<Vec<String>>,
pub last_modified_time: Option<DateTime<Utc>>,
pub row_access_policy_reference: Option<RowAccessPolicyReference>,
}Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get row access policies (response)
- insert row access policies (request|response)
- update row access policies (request|response)
Fields§
§creation_time: Option<DateTime<Utc>>Output only. The time when this row access policy was created, in milliseconds since the epoch.
etag: Option<String>Output only. A hash of this resource.
filter_predicate: Option<String>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
grantees: Option<Vec<String>>Optional. Input only. The optional list of iam_member users or groups that specifies the initial members that the row-level access policy should be created with. grantees types: - “user:alice@example.com”: An email address that represents a specific Google account. - “serviceAccount:my-other-app@appspot.gserviceaccount.com”: An email address that represents a service account. - “group:admins@example.com”: An email address that represents a Google group. - “domain:example.com”:The Google Workspace domain (primary) that represents all the users of that domain. - “allAuthenticatedUsers”: A special identifier that represents all service accounts and all users on the internet who have authenticated with a Google Account. This identifier includes accounts that aren’t connected to a Google Workspace or Cloud Identity domain, such as personal Gmail accounts. Users who aren’t authenticated, such as anonymous visitors, aren’t included. - “allUsers”:A special identifier that represents anyone who is on the internet, including authenticated and unauthenticated users. Because BigQuery requires authentication before a user can access the service, allUsers includes only authenticated users.
last_modified_time: Option<DateTime<Utc>>Output only. The time when this row access policy was last modified, in milliseconds since the epoch.
row_access_policy_reference: Option<RowAccessPolicyReference>Required. Reference describing the ID of this row access policy.
Trait Implementations§
Source§impl Clone for RowAccessPolicy
impl Clone for RowAccessPolicy
Source§fn clone(&self) -> RowAccessPolicy
fn clone(&self) -> RowAccessPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more