View Source GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TokenProperties (google_api_recaptcha_enterprise v0.4.0)

Attributes

  • action (type: String.t, default: nil) - Action name provided at token generation.
  • createTime (type: DateTime.t, default: nil) - The timestamp corresponding to the generation of the token.
  • hostname (type: String.t, default: nil) - The hostname of the page on which the token was generated.
  • invalidReason (type: String.t, default: nil) - Reason associated with the response when valid = false.
  • valid (type: boolean(), default: nil) - 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).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TokenProperties{
    action: String.t() | nil,
    createTime: DateTime.t() | nil,
    hostname: String.t() | nil,
    invalidReason: String.t() | nil,
    valid: boolean() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.