pub struct EffectiveIamPolicy {
pub full_resource_name: Option<String>,
pub policies: Option<Vec<PolicyInfo>>,
}Expand description
The effective IAM policies on one resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§full_resource_name: Option<String>The [full_resource_name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.
policies: Option<Vec<PolicyInfo>>The effective policies for the full_resource_name. These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name. These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]’s PolicyInfo.attached_resource is the child of policies[i+1]’s PolicyInfo.attached_resource, if policies[i+1] exists.
Trait Implementations§
Source§impl Clone for EffectiveIamPolicy
impl Clone for EffectiveIamPolicy
Source§fn clone(&self) -> EffectiveIamPolicy
fn clone(&self) -> EffectiveIamPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more