Interface AuthzPolicy.AuthzRule.FromOrBuilder (0.94.0)

public static interface AuthzPolicy.AuthzRule.FromOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNotSources(int index)

public abstract AuthzPolicy.AuthzRule.From.RequestSource getNotSources(int index)

Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.From.RequestSource

getNotSourcesCount()

public abstract int getNotSourcesCount()

Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getNotSourcesList()

public abstract List<AuthzPolicy.AuthzRule.From.RequestSource> getNotSourcesList()

Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RequestSource>

getNotSourcesOrBuilder(int index)

public abstract AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder getNotSourcesOrBuilder(int index)

Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder

getNotSourcesOrBuilderList()

public abstract List<? extends AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> getNotSourcesOrBuilderList()

Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];

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

getSources(int index)

public abstract AuthzPolicy.AuthzRule.From.RequestSource getSources(int index)

Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.From.RequestSource

getSourcesCount()

public abstract int getSourcesCount()

Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSourcesList()

public abstract List<AuthzPolicy.AuthzRule.From.RequestSource> getSourcesList()

Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RequestSource>

getSourcesOrBuilder(int index)

public abstract AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder getSourcesOrBuilder(int index)

Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder

getSourcesOrBuilderList()

public abstract List<? extends AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> getSourcesOrBuilderList()

Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];

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