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 \ V1Methods
__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 |
↳ 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 |
key |
Key
Required. Information to create a reCAPTCHA Enterprise key. |
| Returns | |
|---|---|
| Type | Description |
CreateKeyRequest |
|