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
-
#account_defender_assessment ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
Account defender risk assessment.
-
#event ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event
The event being assessed.
-
#name ⇒ String
Output only.
-
#private_password_leak_verification ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
Private password leak verification info.
-
#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.
158 159 160 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_defender_assessment ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
Account defender risk assessment.
Corresponds to the JSON property accountDefenderAssessment
130 131 132 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 130 def account_defender_assessment @account_defender_assessment end |
#event ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event
The event being assessed.
Corresponds to the JSON property event
135 136 137 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 135 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
141 142 143 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 141 def name @name end |
#private_password_leak_verification ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
Private password leak verification info.
Corresponds to the JSON property privatePasswordLeakVerification
146 147 148 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 146 def private_password_leak_verification @private_password_leak_verification end |
#risk_analysis ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis
Risk analysis result for an event.
Corresponds to the JSON property riskAnalysis
151 152 153 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 151 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
156 157 158 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 156 def token_properties @token_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
163 164 165 166 167 168 169 170 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 163 def update!(**args) @account_defender_assessment = args[:account_defender_assessment] if args.key?(:account_defender_assessment) @event = args[:event] if args.key?(:event) @name = args[:name] if args.key?(:name) @private_password_leak_verification = args[:private_password_leak_verification] if args.key?(:private_password_leak_verification) @risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis) @token_properties = args[:token_properties] if args.key?(:token_properties) end |