[−][src]Struct google_accessapproval1_beta1::ApprovalRequest
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).
- approval requests get projects (response)
- approval requests approve organizations (response)
- approval requests approve projects (response)
- approval requests approve folders (response)
- approval requests get folders (response)
- approval requests get organizations (response)
- approval requests dismiss projects (response)
- approval requests dismiss organizations (response)
- approval requests dismiss folders (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 ResponseResult for ApprovalRequest
[src]
impl Default for ApprovalRequest
[src]
fn default() -> ApprovalRequest
[src]
impl Clone for ApprovalRequest
[src]
fn clone(&self) -> ApprovalRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ApprovalRequest
[src]
impl Serialize for ApprovalRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ApprovalRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ApprovalRequest
impl Unpin for ApprovalRequest
impl Sync for ApprovalRequest
impl UnwindSafe for ApprovalRequest
impl RefUnwindSafe for ApprovalRequest
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,