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.



1331
1332
1333
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1331

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



1329
1330
1331
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1329

def sms_toll_fraud_verdict
  @sms_toll_fraud_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1336
1337
1338
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1336

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