Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason
- 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 explainability reasons for account defender.
Instance Attribute Summary collapse
-
#reason ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason
Returns a new instance of GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason.
59 60 61 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 59 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
Output only. A risk reason associated with this request.
Corresponds to the JSON property reason
57 58 59 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 57 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
64 65 66 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 64 def update!(**args) @reason = args[:reason] if args.key?(:reason) end |