Struct gapi_grpc::google::cloud::audit::AuthorizationInfo[][src]

pub struct AuthorizationInfo {
    pub resource: String,
    pub permission: String,
    pub granted: bool,
    pub resource_attributes: Option<Resource>,
}

Authorization information for the operation.

Fields

resource: String

The resource being accessed, as a REST-style string. For example:

bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
permission: String

The required IAM permission.

granted: bool

Whether or not authorization for resource and permission was granted.

resource_attributes: Option<Resource>

Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name.

To get the whole view of the attributes used in IAM condition evaluation, the user must also look into AuditLog.request_metadata.request_attributes.

Trait Implementations

impl Clone for AuthorizationInfo[src]

impl Debug for AuthorizationInfo[src]

impl Default for AuthorizationInfo[src]

impl Message for AuthorizationInfo[src]

impl PartialEq<AuthorizationInfo> for AuthorizationInfo[src]

impl StructuralPartialEq for AuthorizationInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for AuthorizationInfo

impl Send for AuthorizationInfo

impl Sync for AuthorizationInfo

impl Unpin for AuthorizationInfo

impl UnwindSafe for AuthorizationInfo

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]