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.



310
311
312
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 310

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

Instance Attribute Details

#statusString

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

Returns:

  • (String)


300
301
302
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 300

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)


308
309
310
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 308

def status_time
  @status_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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