google_cloud_bigquery/http/row_access_policy/
mod.rs

1pub mod get_iam_policy;
2pub mod list;
3pub mod test_iam_permissions;
4
5#[derive(Clone, PartialEq, Eq, serde::Deserialize, serde::Serialize, Debug, Default)]
6#[serde(rename_all = "camelCase")]
7pub struct RowAccessPolicyReference {
8    /// Required. The ID of the project containing this table.
9    pub project_id: String,
10    /// Required. The ID of the dataset containing this table.
11    pub dataset_id: String,
12    /// Required. The ID of the table containing this row access policy.
13    pub table_id: String,
14    /// Required. The ID of the row access policy.
15    /// The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
16    pub policy_id: String,
17}
18
19#[derive(Clone, PartialEq, Eq, serde::Deserialize, serde::Serialize, Debug, Default)]
20#[serde(rename_all = "camelCase")]
21pub struct RowAccessPolicy {
22    /// Required. The ID of the project containing this table.
23    pub project_id: String,
24    /// Required. The ID of the dataset containing this table.
25    pub dataset_id: String,
26    /// Required. The ID of the table containing this row access policy.
27    pub table_id: String,
28    /// Required. The ID of the row access policy.
29    /// The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
30    pub policy_id: String,
31}