Interface WebKeySettingsOrBuilder (2.4.10)

public interface WebKeySettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowAmpTraffic()

public abstract boolean getAllowAmpTraffic()

Whether this key can be used on AMP (Accelerated Mobile Pages) websites.

bool allow_amp_traffic = 2;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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_CHALLENGE and INVISIBLE_CHALLENGE.

.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5;

Returns
TypeDescription
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_CHALLENGE and INVISIBLE_CHALLENGE.

.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for challengeSecurityPreference.

getEnforceAllowedDomains()

public abstract boolean getEnforceAllowedDomains()

Whether allowed_domains is enforced or not.

bool enforce_allowed_domains = 3;

Returns
TypeDescription
boolean

The enforceAllowedDomains.

getIntegrationType()

public abstract WebKeySettings.IntegrationType getIntegrationType()

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

.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
WebKeySettings.IntegrationType

The integrationType.

getIntegrationTypeValue()

public abstract int getIntegrationTypeValue()

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

.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for integrationType.