Skip to main content

access_approval_requests

Creates, updates, deletes, gets or lists a access_approval_requests resource.

Overview

Nameaccess_approval_requests
TypeResource
Idgoogle.cloudcontrolspartner.access_approval_requests

Fields

NameDatatypeDescription
namestringIdentifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}
requestTimestringThe time at which approval was requested.
requestedExpirationTimestringThe requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
requestedReasonobjectReason for the access.

Methods

NameAccessible byRequired ParamsDescription
listSELECTcustomersId, locationsId, organizationsId, workloadsIdDeprecated: 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 }}';