class ProjectsAssessments extends Resource (View source)

The "assessments" collection of methods.

Typical usage is:

 $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
 $assessments = $recaptchaenterpriseService->projects_assessments;

Methods

annotate(string $name, GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest $postBody, array $optParams = [])

Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent.

create(string $parent, GoogleCloudRecaptchaenterpriseV1Assessment $postBody, array $optParams = [])

Creates an Assessment of the likelihood an event is legitimate.

Details

GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse annotate(string $name, GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest $postBody, array $optParams = [])

Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent.

(assessments.annotate)

Parameters

string $name

Required. The resource name of the Assessment, in the format projects/{project}/assessments/{assessment}.

GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse

Exceptions

Exception

GoogleCloudRecaptchaenterpriseV1Assessment create(string $parent, GoogleCloudRecaptchaenterpriseV1Assessment $postBody, array $optParams = [])

Creates an Assessment of the likelihood an event is legitimate.

(assessments.create)

Parameters

string $parent

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

GoogleCloudRecaptchaenterpriseV1Assessment $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudRecaptchaenterpriseV1Assessment

Exceptions

Exception