Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason

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

Risk reasons applicable to the Fraud Prevention assessment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason

Returns a new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.



1051
1052
1053
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1051

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

Instance Attribute Details

#reasonString

Output only. Risk reasons applicable to the Fraud Prevention assessment. Corresponds to the JSON property reason

Returns:

  • (String)


1049
1050
1051
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1049

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1056
1057
1058
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1056

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