gcp_bigquery_client/model/
set_iam_policy_request.rs

1use crate::model::policy::Policy;
2use serde::{Deserialize, Serialize};
3
4/// SetIamPolicyRequest : Request message for `SetIamPolicy` method.
5
6#[derive(Debug, Default, Clone, Serialize, Deserialize)]
7#[serde(rename_all = "camelCase")]
8pub struct SetIamPolicyRequest {
9    #[serde(skip_serializing_if = "Option::is_none")]
10    pub policy: Option<Policy>,
11    /// OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`
12    #[serde(skip_serializing_if = "Option::is_none")]
13    pub update_mask: Option<String>,
14}