Class AnnotateAssessmentRequest (1.23.0)

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

The request message to annotate an Assessment.

Attributes

Name Description
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 is 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 MutableSequence[google.cloud.recaptchaenterprise_v1.types.AnnotateAssessmentRequest.Reason]
Optional. Reasons for the annotation that are assigned to the event.
account_id str
Optional. A stable account identifier to apply to the assessment. This is an alternative to setting account_id in CreateAssessment, for example when a stable account identifier is not yet known in the initial request.
hashed_account_id bytes
Optional. A stable hashed account identifier to apply to the assessment. This is an alternative to setting hashed_account_id in CreateAssessment, for example when a stable account identifier is not yet known in the initial request.
transaction_event google.cloud.recaptchaenterprise_v1.types.TransactionEvent
Optional. If the assessment is part of a payment transaction, provide details on payment lifecycle events that occur in the transaction.

Classes

Annotation

Annotation(value)

Enum that represents the types of annotations.

Reason

Reason(value)

Enum that represents potential reasons for annotating an assessment.