access_approval_requests
Creates, updates, deletes, gets or lists an access_approval_requests
resource.
Overview
Name | access_approval_requests |
Type | Resource |
Id | google.cloudcontrolspartner.access_approval_requests |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request} |
requestTime | string (google-datetime) | The time at which approval was requested. |
requestedExpirationTime | string (google-datetime) | The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time. |
requestedReason | object | The justification for which approval is being requested. (id: AccessReason) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | organizationsId , locationsId , customersId , workloadsId | pageSize , pageToken , filter , orderBy | Deprecated: Only returns access approval requests directly associated with an assured workload folder. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
customersId | string | |
locationsId | string | |
organizationsId | string | |
workloadsId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- list
Deprecated: Only returns access approval requests directly associated with an assured workload folder.
SELECT
name,
requestTime,
requestedExpirationTime,
requestedReason
FROM google.cloudcontrolspartner.access_approval_requests
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND customersId = '{{ customersId }}' -- required
AND workloadsId = '{{ workloadsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';