Class AnnotateAssessmentRequest (1.8.3)

AnnotateAssessmentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message to annotate an Assessment.

Attributes

NameDescription
name str
Required. The resource name of the Assessment, in the format "projects/{project}/assessments/{assessment}".
annotation google.cloud.recaptchaenterprise_v1.types.AnnotateAssessmentRequest.Annotation
Optional. The annotation that will be assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent.
reasons Sequence[google.cloud.recaptchaenterprise_v1.types.AnnotateAssessmentRequest.Reason]
Optional. Optional reasons for the annotation that will be assigned to the Event.
hashed_account_id bytes
Optional. Optional unique stable hashed user identifier to apply to the assessment. This is an alternative to setting the hashed_account_id in CreateAssessment, for example when the account identifier is not yet known in the initial request. It is recommended that the identifier is hashed using hmac-sha256 with stable secret.

Classes

Annotation

Annotation(value)

Enum that represents the types of annotations.

Reason

Reason(value)

Enum that represents potential reasons for annotating an assessment.