[][src]Struct google_accessapproval1::ApprovalRequest

pub struct ApprovalRequest {
    pub requested_resource_properties: Option<ResourceProperties>,
    pub request_time: Option<String>,
    pub requested_expiration: Option<String>,
    pub name: Option<String>,
    pub dismiss: Option<DismissDecision>,
    pub requested_reason: Option<AccessReason>,
    pub requested_resource_name: Option<String>,
    pub approve: Option<ApproveDecision>,
    pub requested_locations: Option<AccessLocations>,
}

A request for the customer to approve access to a resource.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

requested_resource_properties: Option<ResourceProperties>

Properties related to the resource represented by requested_resource_name.

request_time: Option<String>

The time at which approval was requested.

requested_expiration: Option<String>

The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.

name: Option<String>

The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".

dismiss: Option<DismissDecision>

The request was dismissed.

requested_reason: Option<AccessReason>

The justification for which approval is being requested.

requested_resource_name: Option<String>

The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a "full" resource name (e.g. "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" resource name (e.g. "shelves/shelf1/books/book2") as described in the resource name specification.

approve: Option<ApproveDecision>

Access was approved.

requested_locations: Option<AccessLocations>

The locations for which approval is being requested.

Trait Implementations

impl Clone for ApprovalRequest[src]

impl Debug for ApprovalRequest[src]

impl Default for ApprovalRequest[src]

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

impl ResponseResult for ApprovalRequest[src]

impl Serialize for ApprovalRequest[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