class Google::Apis::CloudidentityV1::DynamicGroupQuery

Defines a query on a resource.

Attributes

query[RW]

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')` Corresponds to the JSON property `query` @return [String]

resource_type[RW]

Resource type for the Dynamic Group Query Corresponds to the JSON property `resourceType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudidentity_v1/classes.rb, line 144
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudidentity_v1/classes.rb, line 149
def update!(**args)
  @query = args[:query] if args.key?(:query)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
end