Class ApprovalRequest (1.2.0)

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

A request for the customer to approve access to a resource. .. attribute:: name

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

:type: str

Attributes

NameDescription
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 google.cloud.accessapproval_v1.types.ResourceProperties
Properties related to the resource represented by requested_resource_name.
requested_reason google.cloud.accessapproval_v1.types.AccessReason
The justification for which approval is being requested.
requested_locations google.cloud.accessapproval_v1.types.AccessLocations
The locations for which approval is being requested.
request_time google.protobuf.timestamp_pb2.Timestamp
The time at which approval was requested.
requested_expiration google.protobuf.timestamp_pb2.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 google.cloud.accessapproval_v1.types.ApproveDecision
Access was approved.
dismiss google.cloud.accessapproval_v1.types.DismissDecision
The request was dismissed.