Class: Google::Apis::CloudidentityV1beta1::DynamicGroupMetadata

Inherits:
Object
  • Object
show all
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

Dynamic group metadata like queries and status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DynamicGroupMetadata

Returns a new instance of DynamicGroupMetadata.



1173
1174
1175
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1173

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#queriesArray<Google::Apis::CloudidentityV1beta1::DynamicGroupQuery>

Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 500 dynamic groups. Corresponds to the JSON property queries



1166
1167
1168
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1166

def queries
  @queries
end

#statusGoogle::Apis::CloudidentityV1beta1::DynamicGroupStatus

The current status of a dynamic group along with timestamp. Corresponds to the JSON property status



1171
1172
1173
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1171

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1178
1179
1180
1181
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1178

def update!(**args)
  @queries = args[:queries] if args.key?(:queries)
  @status = args[:status] if args.key?(:status)
end