Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::RetryPhase.
RetryPhase contains the retry attempts and the metadata for initiating a new attempt.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attempts
def attempts() -> ::Array<::Google::Cloud::Deploy::V1::RetryAttempt>
Returns
- (::Array<::Google::Cloud::Deploy::V1::RetryAttempt>) — Output only. Detail of a retry action.
#backoff_mode
def backoff_mode() -> ::Google::Cloud::Deploy::V1::BackoffMode
Returns
- (::Google::Cloud::Deploy::V1::BackoffMode) — Output only. The pattern of how the wait time of the retry attempt is calculated.
#job_id
def job_id() -> ::String
Returns
- (::String) — Output only. The job ID for the Job to retry.
#phase_id
def phase_id() -> ::String
Returns
- (::String) — Output only. The phase ID of the phase that includes the job being retried.
#total_attempts
def total_attempts() -> ::Integer
Returns
- (::Integer) — Output only. The number of attempts that have been made.