Google Cloud Recaptcha Enterprise V1 Client - Class SubstituteAction (1.16.0)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class SubstituteAction.

A substitute action transparently serves a different page than the one requested.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.FirewallAction.SubstituteAction

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1 \ FirewallAction

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ path string

Optional. The address to redirect to. The target is a relative path in the current host. Example: "/blog/404.html".

getPath

Optional. The address to redirect to. The target is a relative path in the current host. Example: "/blog/404.html".

Returns
Type Description
string

setPath

Optional. The address to redirect to. The target is a relative path in the current host. Example: "/blog/404.html".

Parameter
Name Description
var string
Returns
Type Description
$this