class Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment

A recaptcha assessment resource.

Attributes

event[RW]

The event being assessed. Corresponds to the JSON property `event` @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event]

name[RW]

Output only. The resource name for the Assessment in the format “projects/` project`/assessments/`assessment`”. Corresponds to the JSON property `name` @return [String]

risk_analysis[RW]

Risk analysis result for an event. Corresponds to the JSON property `riskAnalysis` @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis]

token_properties[RW]

Output only. Properties of the provided event token. Corresponds to the JSON property `tokenProperties` @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TokenProperties]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 118
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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