Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment

Inherits:
Object
  • Object
show all
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 Enterprise assessment resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1Assessment

Returns a new instance of GoogleCloudRecaptchaenterpriseV1Assessment.



208
209
210
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 208

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_defender_assessmentGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment

Account defender risk assessment. Corresponds to the JSON property accountDefenderAssessment



175
176
177
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 175

def 
  @account_defender_assessment
end

#account_verificationGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo

Information about account verification, used for identity verification. Corresponds to the JSON property accountVerification



180
181
182
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 180

def 
  @account_verification
end

#eventGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event

The event being assessed. Corresponds to the JSON property event



185
186
187
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 185

def event
  @event
end

#nameString

Output only. The resource name for the Assessment in the format "projects/ project/assessments/assessment". Corresponds to the JSON property name

Returns:

  • (String)


191
192
193
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 191

def name
  @name
end

#private_password_leak_verificationGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification

Private password leak verification info. Corresponds to the JSON property privatePasswordLeakVerification



196
197
198
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 196

def private_password_leak_verification
  @private_password_leak_verification
end

#risk_analysisGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis

Risk analysis result for an event. Corresponds to the JSON property riskAnalysis



201
202
203
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 201

def risk_analysis
  @risk_analysis
end

#token_propertiesGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties

Output only. Properties of the provided event token. Corresponds to the JSON property tokenProperties



206
207
208
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 206

def token_properties
  @token_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



213
214
215
216
217
218
219
220
221
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 213

def update!(**args)
  @account_defender_assessment = args[:account_defender_assessment] if args.key?(:account_defender_assessment)
  @account_verification = args[:account_verification] if args.key?(:account_verification)
  @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