Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTrustReason
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTrustReason
- 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
Trust explainability reasons for account defender.
Instance Attribute Summary collapse
-
#reason ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTrustReason
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTrustReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTrustReason
Returns a new instance of GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTrustReason.
114 115 116 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
Output only. A trust reason associated with this request.
Corresponds to the JSON property reason
112 113 114 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 112 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
119 120 121 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 119 def update!(**args) @reason = args[:reason] if args.key?(:reason) end |