Class: Google::Apis::ContainerV1beta1::RollbackSafeUpgradeStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::RollbackSafeUpgradeStatus
- 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
RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a cluster.
Instance Attribute Summary collapse
-
#control_plane_upgrade_rollback_end_time ⇒ String
The rollback-safe mode expiration time.
-
#mode ⇒ String
The mode of the rollback-safe upgrade.
-
#previous_version ⇒ String
The GKE version that the cluster previously used before step-one upgrade.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RollbackSafeUpgradeStatus
constructor
A new instance of RollbackSafeUpgradeStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RollbackSafeUpgradeStatus
Returns a new instance of RollbackSafeUpgradeStatus.
8534 8535 8536 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8534 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control_plane_upgrade_rollback_end_time ⇒ String
The rollback-safe mode expiration time.
Corresponds to the JSON property controlPlaneUpgradeRollbackEndTime
8522 8523 8524 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8522 def control_plane_upgrade_rollback_end_time @control_plane_upgrade_rollback_end_time end |
#mode ⇒ String
The mode of the rollback-safe upgrade.
Corresponds to the JSON property mode
8527 8528 8529 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8527 def mode @mode end |
#previous_version ⇒ String
The GKE version that the cluster previously used before step-one upgrade.
Corresponds to the JSON property previousVersion
8532 8533 8534 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8532 def previous_version @previous_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8539 8540 8541 8542 8543 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8539 def update!(**args) @control_plane_upgrade_rollback_end_time = args[:control_plane_upgrade_rollback_end_time] if args.key?(:control_plane_upgrade_rollback_end_time) @mode = args[:mode] if args.key?(:mode) @previous_version = args[:previous_version] if args.key?(:previous_version) end |