Google Cloud Recaptcha Enterprise V1 Client - Class CreateKeyRequest (2.1.3)

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

The create key request message.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.CreateKeyRequest

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The name of the project in which the key is created, in the format projects/{project} .

↳ key
Key

Required. Information to create a reCAPTCHA Enterprise key.

getParent

Required. The name of the project in which the key is created, in the format projects/{project} .

Returns
Type
Description
string

setParent

Required. The name of the project in which the key is created, in the format projects/{project} .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getKey

Required. Information to create a reCAPTCHA Enterprise key.

Returns
Type
Description
Key |null

hasKey

clearKey

setKey

Required. Information to create a reCAPTCHA Enterprise key.

Parameter
Name
Description
var
Key
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The name of the project in which the key is created, in the format projects/{project} . Please see RecaptchaEnterpriseServiceClient::projectName() for help formatting this field.

key
Key

Required. Information to create a reCAPTCHA Enterprise key.

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