Class: Google::Apis::ContainerV1::UpdateInfo

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

Overview

UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateInfo

Returns a new instance of UpdateInfo.



7223
7224
7225
# File 'lib/google/apis/container_v1/classes.rb', line 7223

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

Instance Attribute Details

#blue_green_infoGoogle::Apis::ContainerV1::BlueGreenInfo

Information relevant to blue-green upgrade. Corresponds to the JSON property blueGreenInfo



7221
7222
7223
# File 'lib/google/apis/container_v1/classes.rb', line 7221

def blue_green_info
  @blue_green_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7228
7229
7230
# File 'lib/google/apis/container_v1/classes.rb', line 7228

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