Cloud Functions v1 API - Class FailurePolicy (2.3.0)

public sealed class FailurePolicy : IMessage<FailurePolicy>, IEquatable<FailurePolicy>, IDeepCloneable<FailurePolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Functions v1 API class FailurePolicy.

Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).

Inheritance

object > FailurePolicy

Namespace

Google.Cloud.Functions.V1

Assembly

Google.Cloud.Functions.V1.dll

Constructors

FailurePolicy()

public FailurePolicy()

FailurePolicy(FailurePolicy)

public FailurePolicy(FailurePolicy other)
Parameter
NameDescription
otherFailurePolicy

Properties

ActionCase

public FailurePolicy.ActionOneofCase ActionCase { get; }
Property Value
TypeDescription
FailurePolicyActionOneofCase

Retry

public FailurePolicy.Types.Retry Retry { get; set; }

If specified, then the function will be retried in case of a failure.

Property Value
TypeDescription
FailurePolicyTypesRetry