Interface AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder (0.94.0)

public static interface AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeaders(int index)

public abstract AuthzPolicy.AuthzRule.HeaderMatch getHeaders(int index)

Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.HeaderMatch

getHeadersCount()

public abstract int getHeadersCount()

Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getHeadersList()

public abstract List<AuthzPolicy.AuthzRule.HeaderMatch> getHeadersList()

Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<HeaderMatch>

getHeadersOrBuilder(int index)

public abstract AuthzPolicy.AuthzRule.HeaderMatchOrBuilder getHeadersOrBuilder(int index)

Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.HeaderMatchOrBuilder

getHeadersOrBuilderList()

public abstract List<? extends AuthzPolicy.AuthzRule.HeaderMatchOrBuilder> getHeadersOrBuilderList()

Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatchOrBuilder>