Struct google_accessapproval1_beta1::api::ApprovalRequest
source · pub struct ApprovalRequest {
pub approve: Option<ApproveDecision>,
pub dismiss: Option<DismissDecision>,
pub name: Option<String>,
pub request_time: Option<DateTime<Utc>>,
pub requested_expiration: Option<DateTime<Utc>>,
pub requested_locations: Option<AccessLocations>,
pub requested_reason: Option<AccessReason>,
pub requested_resource_name: Option<String>,
pub requested_resource_properties: Option<ResourceProperties>,
}
Expand description
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 approve folders (response)
- approval requests dismiss folders (response)
- approval requests get folders (response)
- approval requests approve organizations (response)
- approval requests dismiss organizations (response)
- approval requests get organizations (response)
- approval requests approve projects (response)
- approval requests dismiss projects (response)
- approval requests get projects (response)
Fields§
§approve: Option<ApproveDecision>
Access was approved.
dismiss: Option<DismissDecision>
The request was dismissed.
name: Option<String>
The resource name of the request. Format is “{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}”.
request_time: Option<DateTime<Utc>>
The time at which approval was requested.
requested_expiration: Option<DateTime<Utc>>
The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
requested_locations: Option<AccessLocations>
The locations for which approval is being requested.
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.
requested_resource_properties: Option<ResourceProperties>
Properties related to the resource represented by requested_resource_name.
Trait Implementations§
source§impl Clone for ApprovalRequest
impl Clone for ApprovalRequest
source§fn clone(&self) -> ApprovalRequest
fn clone(&self) -> ApprovalRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more