Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class CreateAssessmentRequest.
The create assessment request message.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.CreateAssessmentRequest
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 assessment will be created, in the format |
↳ assessment |
Google\Cloud\RecaptchaEnterprise\V1\Assessment
Required. The assessment details. |
getParent
Required. The name of the project in which the assessment will be created,
in the format projects/{project}
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The name of the project in which the assessment will be created,
in the format projects/{project}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAssessment
Required. The assessment details.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\Assessment|null |
hasAssessment
clearAssessment
setAssessment
Required. The assessment details.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\Assessment
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The name of the project in which the assessment will be created,
in the format |
assessment |
Google\Cloud\RecaptchaEnterprise\V1\Assessment
Required. The assessment details. |
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\CreateAssessmentRequest |