Class: Google::Apis::RedisV1beta1::StateInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/representations.rb

Overview

Represents additional information about the state of the cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StateInfo

Returns a new instance of StateInfo.



2296
2297
2298
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2296

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

Instance Attribute Details

#update_infoGoogle::Apis::RedisV1beta1::UpdateInfo

Represents information about an updating cluster. Corresponds to the JSON property updateInfo



2294
2295
2296
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2294

def update_info
  @update_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2301
2302
2303
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2301

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