Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PolicyQuery

import type { PolicyQuery } from "https://googleapis.deno.dev/v1/cloudidentity:v1.ts";

PolicyQuery

interface PolicyQuery {
group?: string;
orgUnit?: string;
query?: string;
readonly sortOrder?: number;
}

§Properties

§
group?: string
[src]

Immutable. The group that the query applies to. This field is only set if there is a single value for group that satisfies all clauses of the query. If no group applies, this will be the empty string.

§
orgUnit?: string
[src]

Required. Immutable. Non-empty default. The OrgUnit the query applies to. This field is only set if there is a single value for org_unit that satisfies all clauses of the query.

§
query?: string
[src]

Immutable. The CEL query that defines which entities the Policy applies to (ex. a User entity). For details about CEL see https://opensource.google.com/projects/cel. The OrgUnits the Policy applies to are represented by a clause like so: entity.org_units.exists(org_unit, org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy applies to are represented by a clause like so: entity.groups.exists(group, group.group_id == groupId('{groupId}')) The Licenses the Policy applies to are represented by a clause like so: entity.licenses.exists(license, license in ['/product/{productId}/sku/{skuId}']) The above clauses can be present in any combination, and used in conjunction with the &&, || and ! operators. The org_unit and group fields below are helper fields that contain the corresponding value(s) as the query to make the query easier to use.

§
readonly sortOrder?: number
[src]

Output only. The decimal sort order of this PolicyQuery. The value is relative to all other policies with the same setting type for the customer. (There are no duplicates within this set).