Class: Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/recaptchaenterprise/v1/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::V1::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
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/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

    # Provides information that the event was related to a login event in which
    # the user typed the correct password.
    PASSWORD_CORRECT = 3

    # Provides information that the event was related to a login event in which
    # the user typed the incorrect password.
    PASSWORD_INCORRECT = 4
  end
end

#name::String

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

Returns:

  • (::String)

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



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/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

    # Provides information that the event was related to a login event in which
    # the user typed the correct password.
    PASSWORD_CORRECT = 3

    # Provides information that the event was related to a login event in which
    # the user typed the incorrect password.
    PASSWORD_INCORRECT = 4
  end
end