Skip to main content

access_approval_requests

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

Overview

Nameaccess_approval_requests
TypeResource
Idgoogle.cloudcontrolspartner.access_approval_requests

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}
requestTimestring (google-datetime)The time at which approval was requested.
requestedExpirationTimestring (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.
requestedReasonobjectThe justification for which approval is being requested. (id: AccessReason)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectorganizationsId, locationsId, customersId, workloadsIdpageSize, pageToken, filter, orderByDeprecated: 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.

NameDatatypeDescription
customersIdstring
locationsIdstring
organizationsIdstring
workloadsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

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 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 }}';