Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment
- 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
-
#account_defender_assessment ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
Account defender risk assessment.
-
#account_verification ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
Information about account verification, used for identity verification.
-
#event ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event
The event being assessed.
-
#firewall_policy_assessment ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment
Policy config assessment.
-
#fraud_prevention_assessment ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
Assessment for Fraud Prevention.
-
#name ⇒ String
Output only.
-
#private_password_leak_verification ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
Private password leak verification info.
-
#risk_analysis ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis
Risk analysis result for an event.
-
#token_properties ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties
Properties of the provided event token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1Assessment
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1Assessment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1Assessment
Returns a new instance of GoogleCloudRecaptchaenterpriseV1Assessment.
260 261 262 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 260 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_defender_assessment ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
Account defender risk assessment.
Corresponds to the JSON property accountDefenderAssessment
217 218 219 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 217 def account_defender_assessment @account_defender_assessment end |
#account_verification ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
Information about account verification, used for identity verification.
Corresponds to the JSON property accountVerification
222 223 224 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 222 def account_verification @account_verification end |
#event ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event
The event being assessed.
Corresponds to the JSON property event
227 228 229 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 227 def event @event end |
#firewall_policy_assessment ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment
Policy config assessment.
Corresponds to the JSON property firewallPolicyAssessment
232 233 234 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 232 def firewall_policy_assessment @firewall_policy_assessment end |
#fraud_prevention_assessment ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
Assessment for Fraud Prevention.
Corresponds to the JSON property fraudPreventionAssessment
237 238 239 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 237 def fraud_prevention_assessment @fraud_prevention_assessment end |
#name ⇒ String
Output only. The resource name for the Assessment in the format "projects/
project/assessments/assessment".
Corresponds to the JSON property name
243 244 245 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 243 def name @name end |
#private_password_leak_verification ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
Private password leak verification info.
Corresponds to the JSON property privatePasswordLeakVerification
248 249 250 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 248 def private_password_leak_verification @private_password_leak_verification end |
#risk_analysis ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis
Risk analysis result for an event.
Corresponds to the JSON property riskAnalysis
253 254 255 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 253 def risk_analysis @risk_analysis end |
#token_properties ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties
Properties of the provided event token.
Corresponds to the JSON property tokenProperties
258 259 260 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 258 def token_properties @token_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
265 266 267 268 269 270 271 272 273 274 275 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 265 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) @name = args[:name] if args.key?(:name) @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 |