Compute V1 Client - Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions (1.17.0)

Reference documentation and code samples for the Compute V1 Client class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.

Generated from protobuf message google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ action_token_site_keys array

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

↳ session_token_site_keys array

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

getActionTokenSiteKeys

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setActionTokenSiteKeys

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getSessionTokenSiteKeys

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSessionTokenSiteKeys

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

Parameter
Name Description
var string[]
Returns
Type Description
$this