Class: Google::Apis::ContainerV1beta1::ClusterUpgradeInfo

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

ClusterUpgradeInfo contains the upgrade information of a cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClusterUpgradeInfo

Returns a new instance of ClusterUpgradeInfo.



2708
2709
2710
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2708

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>)


2670
2671
2672
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2670

def auto_upgrade_status
  @auto_upgrade_status
end

#end_of_extended_support_timestampString

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

Returns:

  • (String)


2675
2676
2677
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2675

def end_of_extended_support_timestamp
  @end_of_extended_support_timestamp
end

#end_of_standard_support_timestampString

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

Returns:

  • (String)


2680
2681
2682
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2680

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)


2685
2686
2687
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2685

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)


2690
2691
2692
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2690

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>)


2695
2696
2697
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2695

def paused_reason
  @paused_reason
end

#rollback_safe_upgrade_statusGoogle::Apis::ContainerV1beta1::RollbackSafeUpgradeStatus

RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a cluster. Corresponds to the JSON property rollbackSafeUpgradeStatus



2701
2702
2703
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2701

def rollback_safe_upgrade_status
  @rollback_safe_upgrade_status
end

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

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



2706
2707
2708
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2706

def upgrade_details
  @upgrade_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2713

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)
  @rollback_safe_upgrade_status = args[:rollback_safe_upgrade_status] if args.key?(:rollback_safe_upgrade_status)
  @upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
end