Interface SecurityPolicyRecaptchaOptionsConfigOrBuilder (1.55.0)

public interface SecurityPolicyRecaptchaOptionsConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRedirectSiteKey()

public abstract String getRedirectSiteKey()

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

optional string redirect_site_key = 447677034;

Returns
Type Description
String

The redirectSiteKey.

getRedirectSiteKeyBytes()

public abstract ByteString getRedirectSiteKeyBytes()

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

optional string redirect_site_key = 447677034;

Returns
Type Description
ByteString

The bytes for redirectSiteKey.

hasRedirectSiteKey()

public abstract boolean hasRedirectSiteKey()

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

optional string redirect_site_key = 447677034;

Returns
Type Description
boolean

Whether the redirectSiteKey field is set.