1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.0 1.16.2 1.15.0 1.14.1 1.13.5 1.12.0 1.11.3 1.10.1 1.9.1 1.8.0 1.7.5 1.6.1 1.5.1 1.4.1 1.3.5 1.2.0 1.1.1 1.0.0 0.2.2 0.1.0

    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` | `https://docs.cloud.google.com/python/docs/reference/accessapproval/latest/google.cloud.accessapproval_v1.types.ResourceProperties` Properties related to the resource represented by requested_resource_name. |
| `requested_reason` | `https://docs.cloud.google.com/python/docs/reference/accessapproval/latest/google.cloud.accessapproval_v1.types.AccessReason` The justification for which approval is being requested. |
| `requested_locations` | `https://docs.cloud.google.com/python/docs/reference/accessapproval/latest/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` | `https://docs.cloud.google.com/python/docs/reference/accessapproval/latest/google.cloud.accessapproval_v1.types.ApproveDecision` Access was approved. This field is a member of `oneof`_ `decision`. |
| `dismiss` | `https://docs.cloud.google.com/python/docs/reference/accessapproval/latest/google.cloud.accessapproval_v1.types.DismissDecision` The request was dismissed. This field is a member of `oneof`_ `decision`. |