public interface WebKeySettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAllowAllDomains()
public abstract boolean getAllowAllDomains()If set to true, it means allowed_domains will not be enforced.
bool allow_all_domains = 3;
| Type | Description |
| boolean | The allowAllDomains. |
getAllowAmpTraffic()
public abstract boolean getAllowAmpTraffic()If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
bool allow_amp_traffic = 2;
| Type | Description |
| boolean | The allowAmpTraffic. |
getAllowedDomains(int index)
public abstract String getAllowedDomains(int index)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'
repeated string allowed_domains = 1;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The allowedDomains at the given index. |
getAllowedDomainsBytes(int index)
public abstract ByteString getAllowedDomainsBytes(int index)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'
repeated string allowed_domains = 1;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the allowedDomains at the given index. |
getAllowedDomainsCount()
public abstract int getAllowedDomainsCount()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'
repeated string allowed_domains = 1;
| Type | Description |
| int | The count of allowedDomains. |
getAllowedDomainsList()
public abstract List<String> getAllowedDomainsList()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'
repeated string allowed_domains = 1;
| Type | Description |
| List<String> | A list containing the allowedDomains. |
getChallengeSecurityPreference()
public abstract WebKeySettings.ChallengeSecurityPreference getChallengeSecurityPreference()Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE.
.google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5;
| Type | Description |
| WebKeySettings.ChallengeSecurityPreference | The challengeSecurityPreference. |
getChallengeSecurityPreferenceValue()
public abstract int getChallengeSecurityPreferenceValue()Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE.
.google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5;
| Type | Description |
| int | The enum numeric value on the wire for challengeSecurityPreference. |
getIntegrationType()
public abstract WebKeySettings.IntegrationType getIntegrationType()Required. Describes how this key is integrated with the website.
.google.cloud.recaptchaenterprise.v1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| WebKeySettings.IntegrationType | The integrationType. |
getIntegrationTypeValue()
public abstract int getIntegrationTypeValue()Required. Describes how this key is integrated with the website.
.google.cloud.recaptchaenterprise.v1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| int | The enum numeric value on the wire for integrationType. |