Send feedback
Class TokenProperties (1.28.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
TokenProperties ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Properties of the provided event token.
Attributes
Name
Description
valid
bool
Output only. Whether the provided user response token is
valid. When valid = false, the reason could be specified in
invalid_reason or it could also be due to a user failing to
solve a challenge or a sitekey mismatch (i.e the sitekey
used to generate the token was different than the one
specified in the assessment).
invalid_reason
google.cloud.recaptchaenterprise_v1.types.TokenProperties.InvalidReason
Output only. Reason associated with the
response when valid = false.
create_time
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp corresponding to
the generation of the token.
hostname
str
Output only. The hostname of the page on
which the token was generated (Web keys only).
android_package_name
str
Output only. The name of the Android package
with which the token was generated (Android keys
only).
ios_bundle_id
str
Output only. The ID of the iOS bundle with
which the token was generated (iOS keys only).
action
str
Output only. Action name provided at token
generation.
Classes
InvalidReason
Enum that represents the types of invalid token reasons.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class TokenProperties (1.28.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.28.2 (latest)](/python/docs/reference/recaptchaenterprise/latest/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.28.1](/python/docs/reference/recaptchaenterprise/1.28.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.27.0](/python/docs/reference/recaptchaenterprise/1.27.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.26.1](/python/docs/reference/recaptchaenterprise/1.26.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.25.0](/python/docs/reference/recaptchaenterprise/1.25.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.24.1](/python/docs/reference/recaptchaenterprise/1.24.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.23.0](/python/docs/reference/recaptchaenterprise/1.23.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.22.0](/python/docs/reference/recaptchaenterprise/1.22.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.21.2](/python/docs/reference/recaptchaenterprise/1.21.2/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.20.0](/python/docs/reference/recaptchaenterprise/1.20.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.19.1](/python/docs/reference/recaptchaenterprise/1.19.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.18.1](/python/docs/reference/recaptchaenterprise/1.18.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.17.1](/python/docs/reference/recaptchaenterprise/1.17.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.16.1](/python/docs/reference/recaptchaenterprise/1.16.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.15.0](/python/docs/reference/recaptchaenterprise/1.15.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.14.0](/python/docs/reference/recaptchaenterprise/1.14.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.13.0](/python/docs/reference/recaptchaenterprise/1.13.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.12.1](/python/docs/reference/recaptchaenterprise/1.12.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.11.1](/python/docs/reference/recaptchaenterprise/1.11.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.10.0](/python/docs/reference/recaptchaenterprise/1.10.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.9.0](/python/docs/reference/recaptchaenterprise/1.9.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.8.3](/python/docs/reference/recaptchaenterprise/1.8.3/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.7.1](/python/docs/reference/recaptchaenterprise/1.7.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.6.1](/python/docs/reference/recaptchaenterprise/1.6.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.5.0](/python/docs/reference/recaptchaenterprise/1.5.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.4.1](/python/docs/reference/recaptchaenterprise/1.4.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.3.1](/python/docs/reference/recaptchaenterprise/1.3.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.2.0](/python/docs/reference/recaptchaenterprise/1.2.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.1.2](/python/docs/reference/recaptchaenterprise/1.1.2/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [1.0.0](/python/docs/reference/recaptchaenterprise/1.0.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [0.4.2](/python/docs/reference/recaptchaenterprise/0.4.2/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [0.3.3](/python/docs/reference/recaptchaenterprise/0.3.3/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [0.2.1](/python/docs/reference/recaptchaenterprise/0.2.1/google.cloud.recaptchaenterprise_v1.types.TokenProperties)\n- [0.1.0](/python/docs/reference/recaptchaenterprise/0.1.0/google.cloud.recaptchaenterprise_v1.types.TokenProperties) \n\n TokenProperties(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nProperties of the provided event token.\n\nClasses\n-------\n\n### InvalidReason\n\n InvalidReason(value)\n\nEnum that represents the types of invalid token reasons."]]