reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::TokenProperties (v1.12.2)

Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::TokenProperties.

Properties of the provided event token.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::String
Returns
  • (::String) — Output only. Action name provided at token generation.

#android_package_name

def android_package_name() -> ::String
Returns
  • (::String) — Output only. The name of the Android package with which the token was generated (Android keys only).

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#hostname

def hostname() -> ::String
Returns
  • (::String) — Output only. The hostname of the page on which the token was generated (Web keys only).

#invalid_reason

def invalid_reason() -> ::Google::Cloud::RecaptchaEnterprise::V1::TokenProperties::InvalidReason
Returns

#ios_bundle_id

def ios_bundle_id() -> ::String
Returns
  • (::String) — Output only. The ID of the iOS bundle with which the token was generated (iOS keys only).

#valid

def valid() -> ::Boolean
Returns
  • (::Boolean) — Output only. Indicates whether the provided user response token is valid. If false, the token is invalid, either because the user failed the challenge or for a reason provided in the invalid_reason field.