Google Cloud reCAPTCHA Enterprise v1 API - Class AnnotateAssessmentRequest (2.10.0)

public sealed class AnnotateAssessmentRequest : IMessage<AnnotateAssessmentRequest>, IEquatable<AnnotateAssessmentRequest>, IDeepCloneable<AnnotateAssessmentRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class AnnotateAssessmentRequest.

The request message to annotate an Assessment.

Inheritance

object > AnnotateAssessmentRequest

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

AnnotateAssessmentRequest()

public AnnotateAssessmentRequest()

AnnotateAssessmentRequest(AnnotateAssessmentRequest)

public AnnotateAssessmentRequest(AnnotateAssessmentRequest other)
Parameter
NameDescription
otherAnnotateAssessmentRequest

Properties

AccountId

public string AccountId { get; set; }

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.

Property Value
TypeDescription
string

Annotation

public AnnotateAssessmentRequest.Types.Annotation Annotation { get; set; }

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.

Property Value
TypeDescription
AnnotateAssessmentRequestTypesAnnotation

AssessmentName

public AssessmentName AssessmentName { get; set; }

AssessmentName-typed view over the Name resource name property.

Property Value
TypeDescription
AssessmentName

HashedAccountId

public ByteString HashedAccountId { get; set; }

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.

Property Value
TypeDescription
ByteString

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

Reasons

public RepeatedField<AnnotateAssessmentRequest.Types.Reason> Reasons { get; }

Optional. Reasons for the annotation that are assigned to the event.

Property Value
TypeDescription
RepeatedFieldAnnotateAssessmentRequestTypesReason

TransactionEvent

public TransactionEvent TransactionEvent { get; set; }

Optional. If the assessment is part of a payment transaction, provide details on payment lifecycle events that occur in the transaction.

Property Value
TypeDescription
TransactionEvent