Skip to main content

policies

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

Overview

Namepolicies
TypeResource
Idgoogle.cloudidentity.policies

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. Identifier. The resource name of the Policy. Format: policies/{policy}.
customerstringImmutable. Customer that the Policy belongs to. The value is in the format 'customers/{customerId}'. The customerId must begin with "C" To find your customer ID in Admin Console see https://support.google.com/a/answer/10070793.
policyQueryobjectRequired. The PolicyQuery the Setting applies to. (id: PolicyQuery)
settingobjectRequired. The Setting configured by this Policy. (id: Setting)
typestringOutput only. The type of the policy.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectpoliciesIdGet a Policy
listselectpageSize, pageToken, filterList Policies

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

SELECT examples

Get a Policy

SELECT
name,
customer,
policyQuery,
setting,
type
FROM google.cloudidentity.policies
WHERE policiesId = '{{ policiesId }}' -- required;