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.



7504
7505
7506
# File 'lib/google/apis/container_v1/classes.rb', line 7504

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



7502
7503
7504
# File 'lib/google/apis/container_v1/classes.rb', line 7502

def blue_green_info
  @blue_green_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7509
7510
7511
# File 'lib/google/apis/container_v1/classes.rb', line 7509

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