Class: Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb

Overview

The request message to annotate an Assessment.

Defined Under Namespace

Modules: Annotation

Instance Attribute Summary collapse

Instance Attribute Details

#annotation::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest::Annotation

Returns Required. The annotation that will be assigned to the Event.

Returns:



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 45

class AnnotateAssessmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum that reprensents the types of annotations.
  module Annotation
    # Default unspecified type.
    ANNOTATION_UNSPECIFIED = 0

    # Provides information that the event turned out to be legitimate.
    LEGITIMATE = 1

    # Provides information that the event turned out to be fraudulent.
    FRAUDULENT = 2
  end
end

#name::String

Returns Required. The resource name of the Assessment, in the format "projects/{project_number}/assessments/{assessment_id}".

Returns:

  • (::String)

    Required. The resource name of the Assessment, in the format "projects/{project_number}/assessments/{assessment_id}".



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 45

class AnnotateAssessmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum that reprensents the types of annotations.
  module Annotation
    # Default unspecified type.
    ANNOTATION_UNSPECIFIED = 0

    # Provides information that the event turned out to be legitimate.
    LEGITIMATE = 1

    # Provides information that the event turned out to be fraudulent.
    FRAUDULENT = 2
  end
end