Class: Google::Apis::ContainerV1beta1::RollbackSafeUpgrade
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::RollbackSafeUpgrade
- 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
RollbackSafeUpgrade is the configuration for the rollback safe upgrade.
Instance Attribute Summary collapse
-
#control_plane_soak_duration ⇒ String
A user-defined period for the cluster remains in the rollbackable state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RollbackSafeUpgrade
constructor
A new instance of RollbackSafeUpgrade.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RollbackSafeUpgrade
Returns a new instance of RollbackSafeUpgrade.
8504 8505 8506 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8504 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control_plane_soak_duration ⇒ String
A user-defined period for the cluster remains in the rollbackable state. ex:
seconds: 21600.
Corresponds to the JSON property controlPlaneSoakDuration
8502 8503 8504 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8502 def control_plane_soak_duration @control_plane_soak_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8509 8510 8511 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8509 def update!(**args) @control_plane_soak_duration = args[:control_plane_soak_duration] if args.key?(:control_plane_soak_duration) end |