Class: Google::Apis::CloudidentityV1beta1::DynamicGroupQuery
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::DynamicGroupQuery
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Defines a query on a resource.
Instance Attribute Summary collapse
-
#query ⇒ String
Query that determines the memberships of the dynamic group.
-
#resource_type ⇒ String
Corresponds to the JSON property
resourceType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DynamicGroupQuery
constructor
A new instance of DynamicGroupQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DynamicGroupQuery
Returns a new instance of DynamicGroupQuery.
697 698 699 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 697 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query ⇒ String
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
690 691 692 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 690 def query @query end |
#resource_type ⇒ String
Corresponds to the JSON property resourceType
695 696 697 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 695 def resource_type @resource_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
702 703 704 705 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 702 def update!(**args) @query = args[:query] if args.key?(:query) @resource_type = args[:resource_type] if args.key?(:resource_type) end |