Class: Google::Apis::ClouddeployV1::RepairPhase
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RepairPhase
- 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
RepairPhase tracks the repair attempts that have been made for each
RepairPhaseConfig
specified in the Automation
resource.
Instance Attribute Summary collapse
-
#retry ⇒ Google::Apis::ClouddeployV1::RetryPhase
RetryPhase contains the retry attempts and the metadata for initiating a new attempt.
-
#rollback ⇒ Google::Apis::ClouddeployV1::RollbackAttempt
RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RepairPhase
constructor
A new instance of RepairPhase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RepairPhase
Returns a new instance of RepairPhase.
3831 3832 3833 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#retry ⇒ Google::Apis::ClouddeployV1::RetryPhase
RetryPhase contains the retry attempts and the metadata for initiating a new
attempt.
Corresponds to the JSON property retry
3824 3825 3826 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3824 def retry @retry end |
#rollback ⇒ Google::Apis::ClouddeployV1::RollbackAttempt
RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
Corresponds to the JSON property rollback
3829 3830 3831 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3829 def rollback @rollback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3836 3837 3838 3839 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3836 def update!(**args) @retry = args[:retry] if args.key?(:retry) @rollback = args[:rollback] if args.key?(:rollback) end |