Skip to main content

allowed_locations

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

Overview

Nameallowed_locations
TypeResource
Idgoogle.iamcredentials.allowed_locations

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
encodedLocationsstringOutput only. The hex encoded bitmap of the trust boundary locations
locationsarrayOutput only. The human readable trust boundary locations. For example, ["us-central1", "europe-west1"]

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_allowed_locationsselectlocationsId, workforcePoolsIdReturns the trust boundary info for a given workforce pool.

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
locationsIdstring
workforcePoolsIdstring

SELECT examples

Returns the trust boundary info for a given workforce pool.

SELECT
encodedLocations,
locations
FROM google.iamcredentials.allowed_locations
WHERE locationsId = '{{ locationsId }}' -- required
AND workforcePoolsId = '{{ workforcePoolsId }}' -- required;