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.



314
315
316
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 314

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



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

def 
  @account_defender_assessment
end

#account_verificationGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo

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



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

def 
  @account_verification
end

#assessment_environmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment

The environment creating the assessment. This describes your environment (the system invoking CreateAssessment), NOT the environment of your user. Corresponds to the JSON property assessmentEnvironment



266
267
268
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 266

def assessment_environment
  @assessment_environment
end

#eventGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event

The event being assessed. Corresponds to the JSON property event



271
272
273
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 271

def event
  @event
end

#firewall_policy_assessmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment

Policy config assessment. Corresponds to the JSON property firewallPolicyAssessment



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

def firewall_policy_assessment
  @firewall_policy_assessment
end

#fraud_prevention_assessmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment

Assessment for Fraud Prevention. Corresponds to the JSON property fraudPreventionAssessment



281
282
283
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 281

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



286
287
288
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 286

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)


292
293
294
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 292

def name
  @name
end

#phone_fraud_assessmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment

Assessment for Phone Fraud Corresponds to the JSON property phoneFraudAssessment



297
298
299
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 297

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



302
303
304
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 302

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



307
308
309
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 307

def risk_analysis
  @risk_analysis
end

#token_propertiesGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties

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



312
313
314
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 312

def token_properties
  @token_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



319
320
321
322
323
324
325
326
327
328
329
330
331
332
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 319

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)
  @assessment_environment = args[:assessment_environment] if args.key?(:assessment_environment)
  @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