Class: Google::Cloud::Deploy::V1::Retry

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/deploy/v1/cloud_deploy.rb

Overview

Retries the failed job.

Instance Attribute Summary collapse

Instance Attribute Details

#attempts::Integer

Returns Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.

Returns:

  • (::Integer)

    Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.



3317
3318
3319
3320
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3317

class Retry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#backoff_mode::Google::Cloud::Deploy::V1::BackoffMode

Returns Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if wait is 0.

Returns:



3317
3318
3319
3320
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3317

class Retry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#wait::Google::Protobuf::Duration

Returns Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.

Returns:



3317
3318
3319
3320
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3317

class Retry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end