Class: Google::Apis::ContainerV1beta1::UpdateInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/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.



7819
7820
7821
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7819

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

Instance Attribute Details

#blue_green_infoGoogle::Apis::ContainerV1beta1::BlueGreenInfo

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



7817
7818
7819
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7817

def blue_green_info
  @blue_green_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7824
7825
7826
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7824

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