Class: Google::Apis::ClouddeployV1::RepairPhaseConfig
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RepairPhaseConfig
- 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
Configuration of the repair phase.
Instance Attribute Summary collapse
-
#retry ⇒ Google::Apis::ClouddeployV1::Retry
Retries the failed job.
-
#rollback ⇒ Google::Apis::ClouddeployV1::Rollback
Rolls back a
Rollout
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RepairPhaseConfig
constructor
A new instance of RepairPhaseConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RepairPhaseConfig
Returns a new instance of RepairPhaseConfig.
4447 4448 4449 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4447 def initialize(**args) update!(**args) end |
Instance Attribute Details
#retry ⇒ Google::Apis::ClouddeployV1::Retry
Retries the failed job.
Corresponds to the JSON property retry
4440 4441 4442 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4440 def retry @retry end |
#rollback ⇒ Google::Apis::ClouddeployV1::Rollback
Rolls back a Rollout
.
Corresponds to the JSON property rollback
4445 4446 4447 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4445 def rollback @rollback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4452 4453 4454 4455 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4452 def update!(**args) @retry = args[:retry] if args.key?(:retry) @rollback = args[:rollback] if args.key?(:rollback) end |