ApprovalRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A request for the customer to approve access to a resource.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
name |
str
The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}". |
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. This field is a member of oneof _ decision .
|
dismiss |
google.cloud.accessapproval_v1.types.DismissDecision
The request was dismissed. This field is a member of oneof _ decision .
|