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

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
NameDescription
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
TypeDescription
string

setPath

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this