Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb

Overview

Assessment for Phone Fraud

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment

Returns a new instance of GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment.



1348
1349
1350
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1348

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sms_toll_fraud_verdictGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict

Information about SMS toll fraud. Corresponds to the JSON property smsTollFraudVerdict



1346
1347
1348
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1346

def sms_toll_fraud_verdict
  @sms_toll_fraud_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1353
1354
1355
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1353

def update!(**args)
  @sms_toll_fraud_verdict = args[:sms_toll_fraud_verdict] if args.key?(:sms_toll_fraud_verdict)
end