Resource: ApprovalRequest
A request for the customer to approve access to a resource.
JSON representation |
---|
{ "name": string, "requestedResourceName": string, "requestedAugmentedInfo": { object ( |
Fields | |
---|---|
name |
The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}". |
requestedResourceName |
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. |
requestedAugmentedInfo |
This field contains the augmented information of the request. |
requestedResourceProperties |
Properties related to the resource represented by requestedResourceName. |
requestedReason |
The access reason for which approval is being requested. |
requestedLocations |
The locations for which approval is being requested. |
requestTime |
The time at which approval was requested. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
requestedExpiration |
The original requested expiration for the approval. Calculated by adding the requestedDuration to the requestTime. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
requestedDuration |
The requested access duration. A duration in seconds with up to nine fractional digits, ending with ' |
Union field decision . The current decision on the approval request. decision can be only one of the following: |
|
approve |
Access was approved. |
dismiss |
The request was dismissed. |
Methods |
|
---|---|
|
Approves a request and returns the updated ApprovalRequest. |
|
Dismisses a request. |
|
Gets an approval request. |
|
Invalidates an existing ApprovalRequest. |
|
Lists approval requests associated with a project, folder, or organization. |