class Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest

The request message to annotate an Assessment.

Attributes

annotation[RW]

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. Corresponds to the JSON property `annotation` @return [String]

reasons[RW]

Optional. Optional reasons for the annotation that will be assigned to the Event. Corresponds to the JSON property `reasons` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 69
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 74
def update!(**args)
  @annotation = args[:annotation] if args.key?(:annotation)
  @reasons = args[:reasons] if args.key?(:reasons)
end