Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::Event.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#expected_action
def expected_action() -> ::String
Returns
- (::String) — 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.
#expected_action=
def expected_action=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#site_key
def site_key() -> ::String
Returns
- (::String) — Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
#site_key=
def site_key=(value) -> ::String
Parameter
- value (::String) — Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
Returns
- (::String) — Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
#token
def token() -> ::String
Returns
- (::String) — Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
#token=
def token=(value) -> ::String
Parameter
- value (::String) — Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
Returns
- (::String) — Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
#user_agent
def user_agent() -> ::String
Returns
- (::String) — Optional. The user agent present in the request from the user's device related to this event.
#user_agent=
def user_agent=(value) -> ::String
Parameter
- value (::String) — Optional. The user agent present in the request from the user's device related to this event.
Returns
- (::String) — Optional. The user agent present in the request from the user's device related to this event.
#user_ip_address
def user_ip_address() -> ::String
Returns
- (::String) — Optional. The IP address in the request from the user's device related to this event.
#user_ip_address=
def user_ip_address=(value) -> ::String
Parameter
- value (::String) — Optional. The IP address in the request from the user's device related to this event.
Returns
- (::String) — Optional. The IP address in the request from the user's device related to this event.