Method: Google::Cloud::RecaptchaEnterprise::V1::SmsTollFraudVerdict#risk

Defined in:
proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb

#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).



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

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