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.



7075
7076
7077
# File 'lib/google/apis/container_v1/classes.rb', line 7075

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



7073
7074
7075
# File 'lib/google/apis/container_v1/classes.rb', line 7073

def blue_green_info
  @blue_green_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7080
7081
7082
# File 'lib/google/apis/container_v1/classes.rb', line 7080

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