Class: Google::Cloud::RecaptchaEnterprise::V1::SmsTollFraudVerdict

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

Overview

Information about SMS toll fraud.

Defined Under Namespace

Modules: SmsTollFraudReason

Instance Attribute Summary collapse

Instance Attribute Details

#reasons::Array<::Google::Cloud::RecaptchaEnterprise::V1::SmsTollFraudVerdict::SmsTollFraudReason> (readonly)

Returns Output only. Reasons contributing to the SMS toll fraud verdict.

Returns:



976
977
978
979
980
981
982
983
984
985
986
987
988
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 976

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

  # Reasons contributing to the SMS toll fraud verdict.
  module SmsTollFraudReason
    # Default unspecified reason
    SMS_TOLL_FRAUD_REASON_UNSPECIFIED = 0

    # The provided phone number was invalid
    INVALID_PHONE_NUMBER = 1
  end
end

#risk::Float (readonly)

Returns Output only. Probability of an SMS event being fraudulent. Values are from 0.0 (lowest) to 1.0 (highest).

Returns:

  • (::Float)

    Output only. Probability of an SMS event being fraudulent. Values are from 0.0 (lowest) to 1.0 (highest).



976
977
978
979
980
981
982
983
984
985
986
987
988
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 976

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

  # Reasons contributing to the SMS toll fraud verdict.
  module SmsTollFraudReason
    # Default unspecified reason
    SMS_TOLL_FRAUD_REASON_UNSPECIFIED = 0

    # The provided phone number was invalid
    INVALID_PHONE_NUMBER = 1
  end
end