Class: Google::Apis::CloudidentityV1::DynamicGroupStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1/classes.rb,
lib/google/apis/cloudidentity_v1/representations.rb,
lib/google/apis/cloudidentity_v1/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.



326
327
328
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 326

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

Instance Attribute Details

#statusString

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

Returns:

  • (String)


316
317
318
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 316

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)


324
325
326
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 324

def status_time
  @status_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



331
332
333
334
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 331

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