Class Event (0.1.0)

Event(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
token str
Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
site_key str
Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
user_agent str
Optional. The user agent present in the request from the user's device related to this event.
user_ip_address str
Optional. The IP address in the request from the user's device related to this event.
expected_action str
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.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.