Class: Google::Apis::ContainerV1::NodePoolUpgradeInfo

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

NodePoolUpgradeInfo contains the upgrade information of a nodepool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodePoolUpgradeInfo

Returns a new instance of NodePoolUpgradeInfo.



6579
6580
6581
# File 'lib/google/apis/container_v1/classes.rb', line 6579

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

Instance Attribute Details

#auto_upgrade_statusArray<String>

The auto upgrade status. Corresponds to the JSON property autoUpgradeStatus

Returns:

  • (Array<String>)


6547
6548
6549
# File 'lib/google/apis/container_v1/classes.rb', line 6547

def auto_upgrade_status
  @auto_upgrade_status
end

#end_of_extended_support_timestampString

The nodepool's current minor version's end of extended support timestamp. Corresponds to the JSON property endOfExtendedSupportTimestamp

Returns:

  • (String)


6552
6553
6554
# File 'lib/google/apis/container_v1/classes.rb', line 6552

def end_of_extended_support_timestamp
  @end_of_extended_support_timestamp
end

#end_of_standard_support_timestampString

The nodepool's current minor version's end of standard support timestamp. Corresponds to the JSON property endOfStandardSupportTimestamp

Returns:

  • (String)


6557
6558
6559
# File 'lib/google/apis/container_v1/classes.rb', line 6557

def end_of_standard_support_timestamp
  @end_of_standard_support_timestamp
end

#minor_target_versionString

minor_target_version indicates the target version for minor upgrade. Corresponds to the JSON property minorTargetVersion

Returns:

  • (String)


6562
6563
6564
# File 'lib/google/apis/container_v1/classes.rb', line 6562

def minor_target_version
  @minor_target_version
end

#patch_target_versionString

patch_target_version indicates the target version for patch upgrade. Corresponds to the JSON property patchTargetVersion

Returns:

  • (String)


6567
6568
6569
# File 'lib/google/apis/container_v1/classes.rb', line 6567

def patch_target_version
  @patch_target_version
end

#paused_reasonArray<String>

The auto upgrade paused reason. Corresponds to the JSON property pausedReason

Returns:

  • (Array<String>)


6572
6573
6574
# File 'lib/google/apis/container_v1/classes.rb', line 6572

def paused_reason
  @paused_reason
end

#upgrade_detailsArray<Google::Apis::ContainerV1::UpgradeDetails>

The list of past auto upgrades. Corresponds to the JSON property upgradeDetails



6577
6578
6579
# File 'lib/google/apis/container_v1/classes.rb', line 6577

def upgrade_details
  @upgrade_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6584
6585
6586
6587
6588
6589
6590
6591
6592
# File 'lib/google/apis/container_v1/classes.rb', line 6584

def update!(**args)
  @auto_upgrade_status = args[:auto_upgrade_status] if args.key?(:auto_upgrade_status)
  @end_of_extended_support_timestamp = args[:end_of_extended_support_timestamp] if args.key?(:end_of_extended_support_timestamp)
  @end_of_standard_support_timestamp = args[:end_of_standard_support_timestamp] if args.key?(:end_of_standard_support_timestamp)
  @minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
  @patch_target_version = args[:patch_target_version] if args.key?(:patch_target_version)
  @paused_reason = args[:paused_reason] if args.key?(:paused_reason)
  @upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
end