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).
Implements
IMessage<FailurePolicy>, IEquatable<FailurePolicy>, IDeepCloneable<FailurePolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Functions.V1Assembly
Google.Cloud.Functions.V1.dll
Constructors
FailurePolicy()
public FailurePolicy()
FailurePolicy(FailurePolicy)
public FailurePolicy(FailurePolicy other)
Parameter | |
---|---|
Name | Description |
other | FailurePolicy |
Properties
ActionCase
public FailurePolicy.ActionOneofCase ActionCase { get; }
Property Value | |
---|---|
Type | Description |
FailurePolicy.ActionOneofCase |
Retry
public FailurePolicy.Types.Retry Retry { get; set; }
If specified, then the function will be retried in case of a failure.
Property Value | |
---|---|
Type | Description |
FailurePolicy.Types.Retry |