[][src]Struct gcp_client::google::cloud::accessapproval::v1::ApprovalRequest

pub struct ApprovalRequest {
    pub name: String,
    pub requested_resource_name: String,
    pub requested_resource_properties: Option<ResourceProperties>,
    pub requested_reason: Option<AccessReason>,
    pub requested_locations: Option<AccessLocations>,
    pub request_time: Option<Timestamp>,
    pub requested_expiration: Option<Timestamp>,
    pub decision: Option<Decision>,
}

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

Fields

name: String

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

requested_resource_name: 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.

requested_resource_properties: Option<ResourceProperties>

Properties related to the resource represented by requested_resource_name.

requested_reason: Option<AccessReason>

The justification for which approval is being requested.

requested_locations: Option<AccessLocations>

The locations for which approval is being requested.

request_time: Option<Timestamp>

The time at which approval was requested.

requested_expiration: Option<Timestamp>

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

decision: Option<Decision>

The current decision on the approval request.

Trait Implementations

impl Clone for ApprovalRequest[src]

impl Debug for ApprovalRequest[src]

impl Default for ApprovalRequest[src]

impl Message for ApprovalRequest[src]

impl PartialEq<ApprovalRequest> for ApprovalRequest[src]

impl StructuralPartialEq 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> 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]