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 assessment resource.
Instance Attribute Summary collapse
-
#event ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event
The event being assessed.
-
#name ⇒ String
Output only.
-
#risk_analysis ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis
Risk analysis result for an event.
-
#token_properties ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties
Output only.
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.
118 119 120 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event
The event being assessed.
Corresponds to the JSON property event
100 101 102 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 100 def event @event end |
#name ⇒ String
Output only. The resource name for the Assessment in the format "projects/
project/assessments/assessment".
Corresponds to the JSON property name
106 107 108 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 106 def name @name end |
#risk_analysis ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis
Risk analysis result for an event.
Corresponds to the JSON property riskAnalysis
111 112 113 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 111 def risk_analysis @risk_analysis end |
#token_properties ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties
Output only. Properties of the provided event token.
Corresponds to the JSON property tokenProperties
116 117 118 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 116 def token_properties @token_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
123 124 125 126 127 128 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 123 def update!(**args) @event = args[:event] if args.key?(:event) @name = args[:name] if args.key?(:name) @risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis) @token_properties = args[:token_properties] if args.key?(:token_properties) end |