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.



175
176
177
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 175

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

Instance Attribute Details

#statusString

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

Returns:

  • (String)


165
166
167
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 165

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)


173
174
175
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 173

def status_time
  @status_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



180
181
182
183
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 180

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