# Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::RepairPhase (v2.5.0)

2.5.0 (latest) 2.4.1 2.3.0 2.2.0 2.1.1 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.0 1.0.0 0.20.0 0.19.1 0.18.0 0.17.2 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::RepairPhase.

RepairPhase tracks the repair attempts that have been made for
each `RepairPhaseConfig` specified in the `Automation` resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #retry

    def retry() -> ::Google::Cloud::Deploy::V1::RetryPhase

**Returns**

- ([::Google::Cloud::Deploy::V1::RetryPhase](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-RetryPhase)) --- Output only. Records of the retry attempts for retry repair mode.


  Note: The following fields are mutually exclusive: `retry`, `rollback`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #rollback

    def rollback() -> ::Google::Cloud::Deploy::V1::RollbackAttempt

**Returns**

- ([::Google::Cloud::Deploy::V1::RollbackAttempt](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-RollbackAttempt)) --- Output only. Rollback attempt for rollback repair mode .


  Note: The following fields are mutually exclusive: `rollback`, `retry`. If a field in that set is populated, all other fields in the set will automatically be cleared.