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.
3826 3827 3828 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3826 def initialize(**args) update!(**args) end |
Instance Attribute Details
#retry ⇒ Google::Apis::ClouddeployV1::Retry
Retries the failed job.
Corresponds to the JSON property retry
3819 3820 3821 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3819 def retry @retry end |
#rollback ⇒ Google::Apis::ClouddeployV1::Rollback
Rolls back a Rollout.
Corresponds to the JSON property rollback
3824 3825 3826 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3824 def rollback @rollback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3831 3832 3833 3834 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3831 def update!(**args) @retry = args[:retry] if args.key?(:retry) @rollback = args[:rollback] if args.key?(:rollback) end |