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

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

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 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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAssessment

Required. The assessment details.

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

hasAssessment

clearAssessment

setAssessment

Required. The assessment details.

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