Class: Google::Apis::ClouddeployV1::RepairRolloutOperation
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RepairRolloutOperation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Contains the information for an automated repair rollout operation.
Instance Attribute Summary collapse
-
#current_repair_mode_index ⇒ Fixnum
Output only.
-
#repair_phases ⇒ Array<Google::Apis::ClouddeployV1::RepairPhase>
Output only.
-
#rollout ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RepairRolloutOperation
constructor
A new instance of RepairRolloutOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RepairRolloutOperation
Returns a new instance of RepairRolloutOperation.
3522 3523 3524 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_repair_mode_index ⇒ Fixnum
Output only. The index of the current repair action in the repair sequence.
Corresponds to the JSON property currentRepairModeIndex
3509 3510 3511 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3509 def current_repair_mode_index @current_repair_mode_index end |
#repair_phases ⇒ Array<Google::Apis::ClouddeployV1::RepairPhase>
Output only. Records of the repair attempts. Each repair phase may have
multiple retry attempts or single rollback attempt.
Corresponds to the JSON property repairPhases
3515 3516 3517 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3515 def repair_phases @repair_phases end |
#rollout ⇒ String
Output only. The name of the rollout that initiates the AutomationRun.
Corresponds to the JSON property rollout
3520 3521 3522 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3520 def rollout @rollout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3527 3528 3529 3530 3531 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3527 def update!(**args) @current_repair_mode_index = args[:current_repair_mode_index] if args.key?(:current_repair_mode_index) @repair_phases = args[:repair_phases] if args.key?(:repair_phases) @rollout = args[:rollout] if args.key?(:rollout) end |