Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
- 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
Account Defender risk assessment.
Instance Attribute Summary collapse
-
#labels ⇒ Array<String>
Labels for this request.
-
#recommended_action ⇒ String
Recommended action after this request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
Returns a new instance of GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment.
39 40 41 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 39 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Array<String>
Labels for this request.
Corresponds to the JSON property labels
32 33 34 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 32 def labels @labels end |
#recommended_action ⇒ String
Recommended action after this request.
Corresponds to the JSON property recommendedAction
37 38 39 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 37 def recommended_action @recommended_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 44 def update!(**args) @labels = args[:labels] if args.key?(:labels) @recommended_action = args[:recommended_action] if args.key?(:recommended_action) end |