View Source GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1WebKeySettings (google_api_recaptcha_enterprise v0.7.0)

Settings specific to keys that can be used by websites.

Attributes

  • allowAllDomains (type: boolean(), default: nil) - Optional. If set to true, it means allowed_domains will not be enforced.
  • allowAmpTraffic (type: boolean(), default: nil) - Optional. If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
  • allowedDomains (type: list(String.t), default: nil) - Optional. Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
  • challengeSecurityPreference (type: String.t, default: nil) - Optional. Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE.
  • integrationType (type: String.t, default: nil) - Required. Describes how this key is integrated with the website.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1WebKeySettings{
    allowAllDomains: boolean() | nil,
    allowAmpTraffic: boolean() | nil,
    allowedDomains: [String.t()] | nil,
    challengeSecurityPreference: String.t() | nil,
    integrationType: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.