allowed_locations
Creates, updates, deletes, gets or lists an allowed_locations
resource.
Overview
Name | allowed_locations |
Type | Resource |
Id | google.iamcredentials.allowed_locations |
Fields
The following fields are returned by SELECT
queries:
- get_allowed_locations
Successful response
Name | Datatype | Description |
---|---|---|
encodedLocations | string | Output only. The hex encoded bitmap of the trust boundary locations |
locations | array | Output only. The human readable trust boundary locations. For example, ["us-central1", "europe-west1"] |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_allowed_locations | select | locationsId , workforcePoolsId | Returns 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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
workforcePoolsId | string |
SELECT
examples
- get_allowed_locations
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;