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.
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.
public AnnotateAssessmentRequest.Types.Annotation Annotation { get; set; }
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eAnnotateAssessmentRequest\u003c/code\u003e class in the Google Cloud reCAPTCHA Enterprise v1 API is 2.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eAnnotateAssessmentRequest\u003c/code\u003e class, which is used to annotate an assessment for a given event.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eAnnotateAssessmentRequest\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to manage messages and their interactions.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAnnotateAssessmentRequest\u003c/code\u003e include \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eAnnotation\u003c/code\u003e, \u003ccode\u003eReasons\u003c/code\u003e, and optional account identifiers like \u003ccode\u003eAccountId\u003c/code\u003e and \u003ccode\u003eHashedAccountId\u003c/code\u003e, as well as a transaction property.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available for this class, ranging from 1.2.0 to 2.17.0.\u003c/p\u003e\n"]]],[],null,["# Google Cloud reCAPTCHA Enterprise v1 API - Class AnnotateAssessmentRequest (2.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.18.0 (latest)](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.17.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.16.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.15.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.14.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.13.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.12.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.11.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.10.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.9.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.8.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.7.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.6.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.5.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.4.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.3.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.2.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.1.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.0.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.6.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.5.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.4.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.3.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.2.0/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest) \n\n public sealed class AnnotateAssessmentRequest : IMessage\u003cAnnotateAssessmentRequest\u003e, IEquatable\u003cAnnotateAssessmentRequest\u003e, IDeepCloneable\u003cAnnotateAssessmentRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class AnnotateAssessmentRequest.\n\nThe request message to annotate an Assessment. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AnnotateAssessmentRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AnnotateAssessmentRequest](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AnnotateAssessmentRequest](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AnnotateAssessmentRequest](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.RecaptchaEnterprise.V1](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.RecaptchaEnterprise.V1.dll\n\nConstructors\n------------\n\n### AnnotateAssessmentRequest()\n\n public AnnotateAssessmentRequest()\n\n### AnnotateAssessmentRequest(AnnotateAssessmentRequest)\n\n public AnnotateAssessmentRequest(AnnotateAssessmentRequest other)\n\nProperties\n----------\n\n### AccountId\n\n public string AccountId { get; set; }\n\nOptional. A stable account identifier to apply to the assessment. This is\nan alternative to setting `account_id` in `CreateAssessment`, for example\nwhen a stable account identifier is not yet known in the initial request.\n\n### Annotation\n\n public AnnotateAssessmentRequest.Types.Annotation Annotation { get; set; }\n\nOptional. The annotation that is assigned to the Event. This field can be\nleft empty to provide reasons that apply to an event without concluding\nwhether the event is legitimate or fraudulent.\n\n### AssessmentName\n\n public AssessmentName AssessmentName { get; set; }\n\n[AssessmentName](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.AssessmentName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.AnnotateAssessmentRequest#Google_Cloud_RecaptchaEnterprise_V1_AnnotateAssessmentRequest_Name) resource name property.\n\n### HashedAccountId\n\n public ByteString HashedAccountId { get; set; }\n\nOptional. A stable hashed account identifier to apply to the assessment.\nThis is an alternative to setting `hashed_account_id` in\n`CreateAssessment`, for example when a stable account identifier is not yet\nknown in the initial request.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the Assessment, in the format\n`projects/{project}/assessments/{assessment}`.\n\n### Reasons\n\n public RepeatedField\u003cAnnotateAssessmentRequest.Types.Reason\u003e Reasons { get; }\n\nOptional. Reasons for the annotation that are assigned to the event.\n\n### TransactionEvent\n\n public TransactionEvent TransactionEvent { get; set; }\n\nOptional. If the assessment is part of a payment transaction, provide\ndetails on payment lifecycle events that occur in the transaction."]]