Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment

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

A reCAPTCHA Enterprise assessment resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1Assessment

Returns a new instance of GoogleCloudRecaptchaenterpriseV1Assessment.



276
277
278
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 276

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

Instance Attribute Details

#account_defender_assessmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment

Account defender risk assessment. Corresponds to the JSON property accountDefenderAssessment



223
224
225
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 223

def 
  @account_defender_assessment
end

#account_verificationGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo

Information about account verification, used for identity verification. Corresponds to the JSON property accountVerification



228
229
230
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 228

def 
  @account_verification
end

#eventGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event

The event being assessed. Corresponds to the JSON property event



233
234
235
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 233

def event
  @event
end

#firewall_policy_assessmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment

Policy config assessment. Corresponds to the JSON property firewallPolicyAssessment



238
239
240
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 238

def firewall_policy_assessment
  @firewall_policy_assessment
end

#fraud_prevention_assessmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment

Assessment for Fraud Prevention. Corresponds to the JSON property fraudPreventionAssessment



243
244
245
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 243

def fraud_prevention_assessment
  @fraud_prevention_assessment
end

#fraud_signalsGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals

Fraud signals describing users and cards involved in the transaction. Corresponds to the JSON property fraudSignals



248
249
250
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 248

def fraud_signals
  @fraud_signals
end

#nameString

Output only. Identifier. The resource name for the Assessment in the format projects/project/assessments/assessment`. Corresponds to the JSON propertyname`

Returns:

  • (String)


254
255
256
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 254

def name
  @name
end

#phone_fraud_assessmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment

Assessment for Phone Fraud Corresponds to the JSON property phoneFraudAssessment



259
260
261
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 259

def phone_fraud_assessment
  @phone_fraud_assessment
end

#private_password_leak_verificationGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification

Private password leak verification info. Corresponds to the JSON property privatePasswordLeakVerification



264
265
266
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 264

def private_password_leak_verification
  @private_password_leak_verification
end

#risk_analysisGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis

Risk analysis result for an event. Corresponds to the JSON property riskAnalysis



269
270
271
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 269

def risk_analysis
  @risk_analysis
end

#token_propertiesGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties

Properties of the provided event token. Corresponds to the JSON property tokenProperties



274
275
276
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 274

def token_properties
  @token_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



281
282
283
284
285
286
287
288
289
290
291
292
293
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 281

def update!(**args)
  @account_defender_assessment = args[:account_defender_assessment] if args.key?(:account_defender_assessment)
  @account_verification = args[:account_verification] if args.key?(:account_verification)
  @event = args[:event] if args.key?(:event)
  @firewall_policy_assessment = args[:firewall_policy_assessment] if args.key?(:firewall_policy_assessment)
  @fraud_prevention_assessment = args[:fraud_prevention_assessment] if args.key?(:fraud_prevention_assessment)
  @fraud_signals = args[:fraud_signals] if args.key?(:fraud_signals)
  @name = args[:name] if args.key?(:name)
  @phone_fraud_assessment = args[:phone_fraud_assessment] if args.key?(:phone_fraud_assessment)
  @private_password_leak_verification = args[:private_password_leak_verification] if args.key?(:private_password_leak_verification)
  @risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis)
  @token_properties = args[:token_properties] if args.key?(:token_properties)
end