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.



1224
1225
1226
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1224

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



1222
1223
1224
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1222

def sms_toll_fraud_verdict
  @sms_toll_fraud_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1229
1230
1231
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1229

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