public sealed class AnnotateAssessmentRequest : IMessage<AnnotateAssessmentRequest>, IEquatable<AnnotateAssessmentRequest>, IDeepCloneable<AnnotateAssessmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1beta1 API class AnnotateAssessmentRequest.
The request message to annotate an Assessment.
Implements
IMessage<AnnotateAssessmentRequest>, IEquatable<AnnotateAssessmentRequest>, IDeepCloneable<AnnotateAssessmentRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Beta1Assembly
Google.Cloud.RecaptchaEnterprise.V1Beta1.dll
Constructors
AnnotateAssessmentRequest()
public AnnotateAssessmentRequest()
AnnotateAssessmentRequest(AnnotateAssessmentRequest)
public AnnotateAssessmentRequest(AnnotateAssessmentRequest other)
Parameter | |
---|---|
Name | Description |
other | AnnotateAssessmentRequest |
Properties
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 | |
---|---|
Type | Description |
AnnotateAssessmentRequest.Types.Annotation |
AssessmentName
public AssessmentName AssessmentName { get; set; }
AssessmentName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
AssessmentName |
HashedAccountId
public ByteString HashedAccountId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
ByteString |
Name
public string Name { get; set; }
Required. The resource name of the Assessment, in the format "projects/{project_number}/assessments/{assessment_id}".
Property Value | |
---|---|
Type | Description |
String |
Reasons
public RepeatedField<AnnotateAssessmentRequest.Types.Reason> Reasons { get; }
Optional. Optional reasons for the annotation that will be assigned to the Event.
Property Value | |
---|---|
Type | Description |
RepeatedField<AnnotateAssessmentRequest.Types.Reason> |