Class: Google::Apis::CloudidentityV1beta1::DynamicGroupStatus

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

The current status of a dynamic group along with timestamp.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DynamicGroupStatus

Returns a new instance of DynamicGroupStatus.



1233
1234
1235
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1233

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

Instance Attribute Details

#statusString

Status of the dynamic group. Corresponds to the JSON property status

Returns:

  • (String)


1223
1224
1225
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1223

def status
  @status
end

#status_timeString

The latest time at which the dynamic group is guaranteed to be in the given status. If status is UP_TO_DATE, the latest time at which the dynamic group was confirmed to be up-to-date. If status is UPDATING_MEMBERSHIPS, the time at which dynamic group was created. Corresponds to the JSON property statusTime

Returns:

  • (String)


1231
1232
1233
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1231

def status_time
  @status_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1238
1239
1240
1241
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1238

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