Resource: ApprovalRequest
A request for the customer to approve access to a resource.
JSON representation |
---|
{ "name": string, "requestedResourceName": string, "requestedResourceProperties": { 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. |
requestedResourceProperties |
Properties related to the resource represented by requestedResourceName. |
requestedReason |
The justification for which approval is being requested. |
requestedLocations |
The locations for which approval is being requested. |
requestTime |
The time at which approval was requested. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
requestedExpiration |
The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
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. |