Class: Google::Cloud::RecaptchaEnterprise::V1::Event

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 event being assessed.

Defined Under Namespace

Modules: FraudPrevention

Instance Attribute Summary collapse

Instance Attribute Details

#expected_action::String



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#express::Boolean



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#firewall_policy_evaluation::Boolean



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#fraud_prevention::Google::Cloud::RecaptchaEnterprise::V1::Event::FraudPrevention



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#hashed_account_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Optional. Deprecated: use user_info.account_id instead. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#headers::Array<::String>



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#ja3::String



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#requested_uri::String



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#site_key::String



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#token::String



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#transaction_data::Google::Cloud::RecaptchaEnterprise::V1::TransactionData



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#user_agent::String



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#user_info::Google::Cloud::RecaptchaEnterprise::V1::UserInfo



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#user_ip_address::String



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end

#waf_token_assessment::Boolean



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 514

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

  # Setting that controls Fraud Prevention assessments.
  module FraudPrevention
    # Default, unspecified setting. If opted in for automatic detection,
    # `fraud_prevention_assessment` is returned based on the request.
    # Otherwise, `fraud_prevention_assessment` is returned if
    # `transaction_data` is present in the `Event` and Fraud Prevention is
    # enabled in the Google Cloud console.
    FRAUD_PREVENTION_UNSPECIFIED = 0

    # Enable Fraud Prevention for this assessment, if Fraud Prevention is
    # enabled in the Google Cloud console.
    ENABLED = 1

    # Disable Fraud Prevention for this assessment, regardless of opt-in
    # status or Google Cloud console settings.
    DISABLED = 2
  end
end