class Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event
Attributes
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise. Corresponds to the JSON property `expectedAction` @return [String]
Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token. Corresponds to the JSON property `siteKey` @return [String]
Optional. The user response token provided by the reCAPTCHA client-side integration on your site. Corresponds to the JSON property `token` @return [String]
Optional. The user agent present in the request from the user's device related to this event. Corresponds to the JSON property `userAgent` @return [String]
Optional. The IP address in the request from the user's device related to this event. Corresponds to the JSON property `userIpAddress` @return [String]
Public Class Methods
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 206 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 211 def update!(**args) @expected_action = args[:expected_action] if args.key?(:expected_action) @site_key = args[:site_key] if args.key?(:site_key) @token = args[:token] if args.key?(:token) @user_agent = args[:user_agent] if args.key?(:user_agent) @user_ip_address = args[:user_ip_address] if args.key?(:user_ip_address) end