Class ApprovalRequest (1.0.0)

ApprovalRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
name str
The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
requested_resource_name str
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 .accessapproval.ResourceProperties
Properties related to the resource represented by requested_resource_name.
requested_reason .accessapproval.AccessReason
The justification for which approval is being requested.
requested_locations .accessapproval.AccessLocations
The locations for which approval is being requested.
request_time .timestamp.Timestamp
The time at which approval was requested.
requested_expiration .timestamp.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.
approve .accessapproval.ApproveDecision
Access was approved.
dismiss .accessapproval.DismissDecision
The request was dismissed.