Google Cloud Functions V1 Client - Class FailurePolicy (1.3.1)

Reference documentation and code samples for the Google Cloud Functions V1 Client class FailurePolicy.

Describes the policy in case of function's execution failure.

If empty, then defaults to ignoring failures (i.e., not retrying them).

Generated from protobuf message google.cloud.functions.v1.FailurePolicy

Namespace

Google \ Cloud \ Functions \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ retry
Google\Cloud\Functions\V1\FailurePolicy\Retry

If specified, the function is retried in case of a failure.

getRetry

If specified, the function is retried in case of a failure.

Returns
Type
Description

hasRetry

setRetry

If specified, the function is retried in case of a failure.

Parameter
Name
Description
Returns
Type
Description
$this

getAction

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: