public sealed class WebKeySettings : IMessage<WebKeySettings>, IEquatable<WebKeySettings>, IDeepCloneable<WebKeySettings>, IBufferMessage, IMessage
Settings specific to keys that can be used by websites.
Implements
IMessage<WebKeySettings>, IEquatable<WebKeySettings>, IDeepCloneable<WebKeySettings>, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Beta1Assembly
Google.Cloud.RecaptchaEnterprise.V1Beta1.dll
Constructors
WebKeySettings()
public WebKeySettings()
WebKeySettings(WebKeySettings)
public WebKeySettings(WebKeySettings other)
Type | Name | Description |
---|---|---|
WebKeySettings | other |
Properties
AllowAmpTraffic
public bool AllowAmpTraffic { get; set; }
Whether this key can be used on AMP (Accelerated Mobile Pages) websites.
Type | Description |
---|---|
Boolean |
AllowedDomains
public RepeatedField<string> AllowedDomains { get; }
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'
Type | Description |
---|---|
RepeatedField<String> |
ChallengeSecurityPreference
public WebKeySettings.Types.ChallengeSecurityPreference ChallengeSecurityPreference { get; set; }
Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX_CHALLENGE and INVISIBLE_CHALLENGE.
Type | Description |
---|---|
WebKeySettings.Types.ChallengeSecurityPreference |
EnforceAllowedDomains
public bool EnforceAllowedDomains { get; set; }
Whether allowed_domains is enforced or not.
Type | Description |
---|---|
Boolean |
IntegrationType
public WebKeySettings.Types.IntegrationType IntegrationType { get; set; }
Required. Describes how this key is integrated with the website.
Type | Description |
---|---|
WebKeySettings.Types.IntegrationType |