access_approval_requests
Creates, updates, deletes, gets or lists a access_approval_requests
resource.
Overview
Name | access_approval_requests |
Type | Resource |
Id | google.cloudcontrolspartner.access_approval_requests |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request} |
requestTime | string | The time at which approval was requested. |
requestedExpirationTime | string | 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 | Reason for the access. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | customersId, locationsId, organizationsId, workloadsId | Deprecated: Only returns access approval requests directly associated with an assured workload folder. |
SELECT
examples
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 customersId = '{{ customersId }}'
AND locationsId = '{{ locationsId }}'
AND organizationsId = '{{ organizationsId }}'
AND workloadsId = '{{ workloadsId }}';