[][src]Struct gcp_client::google::cloud::asset::v1p4beta1::iam_policy_analysis_result::AccessControlList

pub struct AccessControlList {
    pub resources: Vec<Resource>,
    pub accesses: Vec<Access>,
    pub resource_edges: Vec<Edge>,
}

An access control list, derived from the above IAM policy binding, which contains a set of resources and accesses. May include one item from each set to compose an access control entry.

NOTICE that there could be multiple access control lists for one IAM policy binding. The access control lists are created based on resource and access combinations.

For example, assume we have the following cases in one IAM policy binding:

  • Permission P1 and P2 apply to resource R1 and R2;
  • Permission P3 applies to resource R2 and R3;

This will result in the following access control lists:

  • AccessControlList 1: [R1, R2], [P1, P2]
  • AccessControlList 2: [R2, R3], [P3]

Fields

resources: Vec<Resource>

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.
accesses: Vec<Access>

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.
resource_edges: Vec<Edge>

Resource edges of the graph starting from the policy attached resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.target_node] contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

Trait Implementations

impl Clone for AccessControlList[src]

impl Debug for AccessControlList[src]

impl Default for AccessControlList[src]

impl Message for AccessControlList[src]

impl PartialEq<AccessControlList> for AccessControlList[src]

impl StructuralPartialEq for AccessControlList[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]