[][src]Struct google_policytroubleshooter1::GoogleCloudPolicytroubleshooterV1AccessTuple

pub struct GoogleCloudPolicytroubleshooterV1AccessTuple {
    pub full_resource_name: Option<String>,
    pub permission: Option<String>,
    pub principal: Option<String>,
}

Information about the member, resource, and permission to check.

This type is not used in any activity, and only used as part of another schema.

Fields

full_resource_name: Option<String>

Required. The full resource name that identifies the resource. For example, //compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance.

For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.

permission: Option<String>

Required. The IAM permission to check for the specified member and resource.

For a complete list of IAM permissions, see https://cloud.google.com/iam/help/permissions/reference.

For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.

principal: Option<String>

Required. The member, or principal, whose access you want to check, in the form of the email address that represents that member. For example, alice@example.com or my-service-account@my-project.iam.gserviceaccount.com.

The member must be a Google Account or a service account. Other types of members are not supported.

Trait Implementations

impl Clone for GoogleCloudPolicytroubleshooterV1AccessTuple[src]

impl Debug for GoogleCloudPolicytroubleshooterV1AccessTuple[src]

impl Default for GoogleCloudPolicytroubleshooterV1AccessTuple[src]

impl<'de> Deserialize<'de> for GoogleCloudPolicytroubleshooterV1AccessTuple[src]

impl Part for GoogleCloudPolicytroubleshooterV1AccessTuple[src]

impl Serialize for GoogleCloudPolicytroubleshooterV1AccessTuple[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any