gcp_bigquery_client/model/
set_iam_policy_request.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::model::policy::Policy;
use serde::{Deserialize, Serialize};

/// SetIamPolicyRequest : Request message for `SetIamPolicy` method.

#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct SetIamPolicyRequest {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub policy: Option<Policy>,
    /// 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\"`
    #[serde(skip_serializing_if = "Option::is_none")]
    pub update_mask: Option<String>,
}