Interface ProtectedEndpointGroupOrBuilder (3.96.0)

public interface ProtectedEndpointGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProtectedEndpoints(int index)

public abstract ProtectedEndpoint getProtectedEndpoints(int index)

Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used.

repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProtectedEndpoint

getProtectedEndpointsCount()

public abstract int getProtectedEndpointsCount()

Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used.

repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getProtectedEndpointsList()

public abstract List<ProtectedEndpoint> getProtectedEndpointsList()

Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used.

repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ProtectedEndpoint>

getProtectedEndpointsOrBuilder(int index)

public abstract ProtectedEndpointOrBuilder getProtectedEndpointsOrBuilder(int index)

Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used.

repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProtectedEndpointOrBuilder

getProtectedEndpointsOrBuilderList()

public abstract List<? extends ProtectedEndpointOrBuilder> getProtectedEndpointsOrBuilderList()

Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used.

repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.recaptchaenterprise.v1.ProtectedEndpointOrBuilder>