Class AuthzPolicy.AuthzRule.To.Builder (0.94.0)

public static final class AuthzPolicy.AuthzRule.To.Builder extends GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.Builder> implements AuthzPolicy.AuthzRule.ToOrBuilder

Describes properties of one or more targets of a request.

Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllNotOperations(Iterable<? extends AuthzPolicy.AuthzRule.To.RequestOperation> values)

public AuthzPolicy.AuthzRule.To.Builder addAllNotOperations(Iterable<? extends AuthzPolicy.AuthzRule.To.RequestOperation> values)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation>
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addAllOperations(Iterable<? extends AuthzPolicy.AuthzRule.To.RequestOperation> values)

public AuthzPolicy.AuthzRule.To.Builder addAllOperations(Iterable<? extends AuthzPolicy.AuthzRule.To.RequestOperation> values)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation>
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addNotOperations(AuthzPolicy.AuthzRule.To.RequestOperation value)

public AuthzPolicy.AuthzRule.To.Builder addNotOperations(AuthzPolicy.AuthzRule.To.RequestOperation value)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AuthzPolicy.AuthzRule.To.RequestOperation
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addNotOperations(AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

public AuthzPolicy.AuthzRule.To.Builder addNotOperations(AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AuthzPolicy.AuthzRule.To.RequestOperation.Builder
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation value)

public AuthzPolicy.AuthzRule.To.Builder addNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation value)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AuthzPolicy.AuthzRule.To.RequestOperation
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

public AuthzPolicy.AuthzRule.To.Builder addNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AuthzPolicy.AuthzRule.To.RequestOperation.Builder
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addNotOperationsBuilder()

public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addNotOperationsBuilder()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation.Builder

addNotOperationsBuilder(int index)

public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addNotOperationsBuilder(int index)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation.Builder

addOperations(AuthzPolicy.AuthzRule.To.RequestOperation value)

public AuthzPolicy.AuthzRule.To.Builder addOperations(AuthzPolicy.AuthzRule.To.RequestOperation value)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AuthzPolicy.AuthzRule.To.RequestOperation
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addOperations(AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

public AuthzPolicy.AuthzRule.To.Builder addOperations(AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AuthzPolicy.AuthzRule.To.RequestOperation.Builder
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation value)

public AuthzPolicy.AuthzRule.To.Builder addOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation value)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AuthzPolicy.AuthzRule.To.RequestOperation
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

public AuthzPolicy.AuthzRule.To.Builder addOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AuthzPolicy.AuthzRule.To.RequestOperation.Builder
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

addOperationsBuilder()

public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addOperationsBuilder()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation.Builder

addOperationsBuilder(int index)

public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addOperationsBuilder(int index)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation.Builder

build()

public AuthzPolicy.AuthzRule.To build()
Returns
Type Description
AuthzPolicy.AuthzRule.To

buildPartial()

public AuthzPolicy.AuthzRule.To buildPartial()
Returns
Type Description
AuthzPolicy.AuthzRule.To

clear()

public AuthzPolicy.AuthzRule.To.Builder clear()
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder
Overrides

clearNotOperations()

public AuthzPolicy.AuthzRule.To.Builder clearNotOperations()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

clearOperations()

public AuthzPolicy.AuthzRule.To.Builder clearOperations()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

getDefaultInstanceForType()

public AuthzPolicy.AuthzRule.To getDefaultInstanceForType()
Returns
Type Description
AuthzPolicy.AuthzRule.To

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNotOperations(int index)

public AuthzPolicy.AuthzRule.To.RequestOperation getNotOperations(int index)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation

getNotOperationsBuilder(int index)

public AuthzPolicy.AuthzRule.To.RequestOperation.Builder getNotOperationsBuilder(int index)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation.Builder

getNotOperationsBuilderList()

public List<AuthzPolicy.AuthzRule.To.RequestOperation.Builder> getNotOperationsBuilderList()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getNotOperationsCount()

public int getNotOperationsCount()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getNotOperationsList()

public List<AuthzPolicy.AuthzRule.To.RequestOperation> getNotOperationsList()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RequestOperation>

getNotOperationsOrBuilder(int index)

public AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder getNotOperationsOrBuilder(int index)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder

getNotOperationsOrBuilderList()

public List<? extends AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder> getNotOperationsOrBuilderList()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

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

getOperations(int index)

public AuthzPolicy.AuthzRule.To.RequestOperation getOperations(int index)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation

getOperationsBuilder(int index)

public AuthzPolicy.AuthzRule.To.RequestOperation.Builder getOperationsBuilder(int index)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation.Builder

getOperationsBuilderList()

public List<AuthzPolicy.AuthzRule.To.RequestOperation.Builder> getOperationsBuilderList()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getOperationsCount()

public int getOperationsCount()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getOperationsList()

public List<AuthzPolicy.AuthzRule.To.RequestOperation> getOperationsList()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RequestOperation>

getOperationsOrBuilder(int index)

public AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder getOperationsOrBuilder(int index)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder

getOperationsOrBuilderList()

public List<? extends AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder> getOperationsOrBuilderList()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

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

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuthzPolicy.AuthzRule.To other)

public AuthzPolicy.AuthzRule.To.Builder mergeFrom(AuthzPolicy.AuthzRule.To other)
Parameter
Name Description
other AuthzPolicy.AuthzRule.To
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuthzPolicy.AuthzRule.To.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AuthzPolicy.AuthzRule.To.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder
Overrides

removeNotOperations(int index)

public AuthzPolicy.AuthzRule.To.Builder removeNotOperations(int index)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

removeOperations(int index)

public AuthzPolicy.AuthzRule.To.Builder removeOperations(int index)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

setNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation value)

public AuthzPolicy.AuthzRule.To.Builder setNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation value)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AuthzPolicy.AuthzRule.To.RequestOperation
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

setNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

public AuthzPolicy.AuthzRule.To.Builder setNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AuthzPolicy.AuthzRule.To.RequestOperation.Builder
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

setOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation value)

public AuthzPolicy.AuthzRule.To.Builder setOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation value)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AuthzPolicy.AuthzRule.To.RequestOperation
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

setOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

public AuthzPolicy.AuthzRule.To.Builder setOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AuthzPolicy.AuthzRule.To.RequestOperation.Builder
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder