pub struct PolicyName {
pub id: Option<String>,
pub region: Option<String>,
pub type_: Option<String>,
}Expand description
An internal name for an IAM policy, based on the resource to which the policy applies. Not to be confused with a resource’s external full resource name. For more information on this distinction, see go/iam-full-resource-names.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<String>Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service file that defines the type, either in path_mapping or in a comment.
region: Option<String>For Cloud IAM: The location of the Policy. Must be empty or “global” for Policies owned by global IAM. Must name a region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should be set to “local”.
type_: Option<String>Resource type. Types are defined in IAM’s .service files. Valid values for type might be ‘storage_buckets’, ‘compute_instances’, ‘resourcemanager_customers’, ‘billing_accounts’, etc.
Trait Implementations§
Source§impl Clone for PolicyName
impl Clone for PolicyName
Source§fn clone(&self) -> PolicyName
fn clone(&self) -> PolicyName
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more