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.



7454
7455
7456
# File 'lib/google/apis/container_v1/classes.rb', line 7454

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



7452
7453
7454
# File 'lib/google/apis/container_v1/classes.rb', line 7452

def blue_green_info
  @blue_green_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7459
7460
7461
# File 'lib/google/apis/container_v1/classes.rb', line 7459

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