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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ key Google\Cloud\RecaptchaEnterprise\V1\Key

Required. Information to create a reCAPTCHA Enterprise key.

getParent

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

Returns
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKey

Required. Information to create a reCAPTCHA Enterprise key.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\Key|null

hasKey

clearKey

setKey

Required. Information to create a reCAPTCHA Enterprise key.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\Key
Returns
TypeDescription
$this