Class: Google::Apis::ContainerV1::CustomImageInfo

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

Contains the custom image info for a node pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomImageInfo

Returns a new instance of CustomImageInfo.



3105
3106
3107
# File 'lib/google/apis/container_v1/classes.rb', line 3105

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

Instance Attribute Details

#upgrade_messageString

Output only. The human-readable upgrade message for the custom image. Corresponds to the JSON property upgradeMessage

Returns:

  • (String)


3103
3104
3105
# File 'lib/google/apis/container_v1/classes.rb', line 3103

def upgrade_message
  @upgrade_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3110
3111
3112
# File 'lib/google/apis/container_v1/classes.rb', line 3110

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