Class: Google::Apis::ClouddeployV1::RepairMode
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RepairMode
- 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 action.
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) ⇒ RepairMode
constructor
A new instance of RepairMode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RepairMode
Returns a new instance of RepairMode.
3732 3733 3734 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#retry ⇒ Google::Apis::ClouddeployV1::Retry
Retries the failed job.
Corresponds to the JSON property retry
3725 3726 3727 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3725 def retry @retry end |
#rollback ⇒ Google::Apis::ClouddeployV1::Rollback
Rolls back a Rollout.
Corresponds to the JSON property rollback
3730 3731 3732 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3730 def rollback @rollback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3737 3738 3739 3740 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3737 def update!(**args) @retry = args[:retry] if args.key?(:retry) @rollback = args[:rollback] if args.key?(:rollback) end |