Google Cloud reCAPTCHA Enterprise v1 API - Class WebKeySettings (2.7.0)

public sealed class WebKeySettings : IMessage<WebKeySettings>, IEquatable<WebKeySettings>, IDeepCloneable<WebKeySettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class WebKeySettings.

Settings specific to keys that can be used by websites.

Inheritance

object > WebKeySettings

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

WebKeySettings()

public WebKeySettings()

WebKeySettings(WebKeySettings)

public WebKeySettings(WebKeySettings other)
Parameter
NameDescription
otherWebKeySettings

Properties

AllowAllDomains

public bool AllowAllDomains { get; set; }

Optional. If set to true, it means allowed_domains will not be enforced.

Property Value
TypeDescription
bool

AllowAmpTraffic

public bool AllowAmpTraffic { get; set; }

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.

Property Value
TypeDescription
bool

AllowedDomains

public RepeatedField<string> AllowedDomains { get; }

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'

Property Value
TypeDescription
RepeatedFieldstring

ChallengeSecurityPreference

public WebKeySettings.Types.ChallengeSecurityPreference ChallengeSecurityPreference { get; set; }

Optional. Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE.

Property Value
TypeDescription
WebKeySettingsTypesChallengeSecurityPreference

IntegrationType

public WebKeySettings.Types.IntegrationType IntegrationType { get; set; }

Required. Describes how this key is integrated with the website.

Property Value
TypeDescription
WebKeySettingsTypesIntegrationType