policies
Creates, updates, deletes, gets or lists a policies
resource.
Overview
Name | policies |
Type | Resource |
Id | google.cloudidentity.policies |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. Identifier. The resource name of the Policy. Format: policies/{policy}. |
customer | string | Immutable. 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. |
policyQuery | object | Required. The PolicyQuery the Setting applies to. (id: PolicyQuery) |
setting | object | Required. The Setting configured by this Policy. (id: Setting) |
type | string | Output only. The type of the policy. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. Identifier. The resource name of the Policy. Format: policies/{policy}. |
customer | string | Immutable. 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. |
policyQuery | object | Required. The PolicyQuery the Setting applies to. (id: PolicyQuery) |
setting | object | Required. The Setting configured by this Policy. (id: Setting) |
type | string | Output only. The type of the policy. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | policiesId | Get a Policy | |
list | select | pageSize , pageToken , filter | List 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.
Name | Datatype | Description |
---|---|---|
policiesId | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- get
- list
Get a Policy
SELECT
name,
customer,
policyQuery,
setting,
type
FROM google.cloudidentity.policies
WHERE policiesId = '{{ policiesId }}' -- required;
List Policies
SELECT
name,
customer,
policyQuery,
setting,
type
FROM google.cloudidentity.policies
WHERE pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}';