Reference documentation and code samples for the Cloud Functions V1 API class Google::Cloud::Functions::V1::FailurePolicy.
Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#retry
def retry() -> ::Google::Cloud::Functions::V1::FailurePolicy::Retry
Returns
- (::Google::Cloud::Functions::V1::FailurePolicy::Retry) — If specified, then the function will be retried in case of a failure.
#retry=
def retry=(value) -> ::Google::Cloud::Functions::V1::FailurePolicy::Retry
Parameter
- value (::Google::Cloud::Functions::V1::FailurePolicy::Retry) — If specified, then the function will be retried in case of a failure.
Returns
- (::Google::Cloud::Functions::V1::FailurePolicy::Retry) — If specified, then the function will be retried in case of a failure.