Skip to main content

allowlisted_domains

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

Overview​

Nameallowlisted_domains
TypeResource
Idgoogle.cloudidentity.allowlisted_domains

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringOutput only. Identifier. Resource name of the domain in the allowlist e.g. "allowlistedDomains/0184mhaj1smlusv"
domainstringRequired. Immutable. Name of the domain that is in the allowlist. e.g. "google.com"

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectallowlistedDomainsIdRetrieves a specific domain from the allowlist.
listselectfilter, pageSize, pageTokenLists the domains in the allowlist.
createinsertAdds a domain to the allowlist.
deletedeleteallowlistedDomainsIdRemoves a domain from the allowlist.

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
allowlistedDomainsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

Retrieves a specific domain from the allowlist.

SELECT
name,
domain
FROM google.cloudidentity.allowlisted_domains
WHERE allowlistedDomainsId = '{{ allowlistedDomainsId }}' -- required
;

INSERT examples​

Adds a domain to the allowlist.

INSERT INTO google.cloudidentity.allowlisted_domains (
data__domain
)
SELECT
'{{ domain }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples​

Removes a domain from the allowlist.

DELETE FROM google.cloudidentity.allowlisted_domains
WHERE allowlistedDomainsId = '{{ allowlistedDomainsId }}' --required
;