Class WebKeySettings

Settings specific to keys that can be used by websites.

Attributes
NameDescription
boolallow_all_domains
If set to true, it means allowed_domains will not be enforced.
Sequence[str]allowed_domains
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'
boolallow_amp_traffic
If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
google.cloud.recaptchaenterprise_v1.types.WebKeySettings.IntegrationTypeintegration_type
Required. Describes how this key is integrated with the website.
google.cloud.recaptchaenterprise_v1.types.WebKeySettings.ChallengeSecurityPreferencechallenge_security_preference
Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE.

Inheritance

builtins.object > proto.message.Message > WebKeySettings

Classes

ChallengeSecurityPreference

ChallengeSecurityPreference(value)

Enum that represents the possible challenge frequency and difficulty configurations for a web key.

IntegrationType

IntegrationType(value)

Enum that represents the integration types for web keys.