DynamicGroupQuery
import type { DynamicGroupQuery } from "https://googleapis.deno.dev/v1/cloudidentity:v1.ts";
Defines a query on a resource.
interface DynamicGroupQuery {
query?: string;
resourceType?: "RESOURCE_TYPE_UNSPECIFIED" | "USER";
}§Properties
§
query?: string
[src]Query that determines the memberships of the dynamic group. Examples: All
users with at least one organizations.department
of engineering.
user.organizations.exists(org, org.department=='engineering')
All users
with at least one location that has area
of foo
and building_id
of
bar
. user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')
All users with any variation of the name John Doe
(case-insensitive queries add equalsIgnoreCase()
to the value being
queried). user.name.value.equalsIgnoreCase('jOhn DoE')