#[non_exhaustive]pub struct ResourcePolicyMember {
pub iam_policy_name_principal: String,
pub iam_policy_uid_principal: String,
}Expand description
Output-only policy member strings of a Google Cloud resource’s built-in identity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.iam_policy_name_principal: StringIAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource.
Example:
principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter
iam_policy_uid_principal: StringIAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource
Example:
principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5
Implementations§
Source§impl ResourcePolicyMember
impl ResourcePolicyMember
Sourcepub fn set_iam_policy_name_principal<T: Into<String>>(self, v: T) -> Self
pub fn set_iam_policy_name_principal<T: Into<String>>(self, v: T) -> Self
Sets the value of iam_policy_name_principal.
Sourcepub fn set_iam_policy_uid_principal<T: Into<String>>(self, v: T) -> Self
pub fn set_iam_policy_uid_principal<T: Into<String>>(self, v: T) -> Self
Sets the value of iam_policy_uid_principal.
Trait Implementations§
Source§impl Clone for ResourcePolicyMember
impl Clone for ResourcePolicyMember
Source§fn clone(&self) -> ResourcePolicyMember
fn clone(&self) -> ResourcePolicyMember
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more