Google Cloud Recaptcha Enterprise V1 Client - Class CreateAssessmentRequest (1.13.0)

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 \ 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 assessment will be created, in the format projects/{project}.

↳ 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 projects/{project}. Please see Google\Cloud\RecaptchaEnterprise\V1\RecaptchaEnterpriseServiceClient::projectName() for help formatting this field.

assessment Google\Cloud\RecaptchaEnterprise\V1\Assessment

Required. The assessment details.

Returns
Type Description
Google\Cloud\RecaptchaEnterprise\V1\CreateAssessmentRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.