Interface AuthorizationPolicy.RuleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthorizationPolicy.Rule
,AuthorizationPolicy.Rule.Builder
- Enclosing class:
- AuthorizationPolicy
public static interface AuthorizationPolicy.RuleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationPolicy.Rule.Destination
getDestinations(int index)
Optional.int
getDestinationsCount()
Optional.List<AuthorizationPolicy.Rule.Destination>
getDestinationsList()
Optional.AuthorizationPolicy.Rule.DestinationOrBuilder
getDestinationsOrBuilder(int index)
Optional.List<? extends AuthorizationPolicy.Rule.DestinationOrBuilder>
getDestinationsOrBuilderList()
Optional.AuthorizationPolicy.Rule.Source
getSources(int index)
Optional.int
getSourcesCount()
Optional.List<AuthorizationPolicy.Rule.Source>
getSourcesList()
Optional.AuthorizationPolicy.Rule.SourceOrBuilder
getSourcesOrBuilder(int index)
Optional.List<? extends AuthorizationPolicy.Rule.SourceOrBuilder>
getSourcesOrBuilderList()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSourcesList
List<AuthorizationPolicy.Rule.Source> getSourcesList()
Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source sources = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getSources
AuthorizationPolicy.Rule.Source getSources(int index)
Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source sources = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getSourcesCount
int getSourcesCount()
Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source sources = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getSourcesOrBuilderList
List<? extends AuthorizationPolicy.Rule.SourceOrBuilder> getSourcesOrBuilderList()
Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source sources = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getSourcesOrBuilder
AuthorizationPolicy.Rule.SourceOrBuilder getSourcesOrBuilder(int index)
Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source sources = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getDestinationsList
List<AuthorizationPolicy.Rule.Destination> getDestinationsList()
Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination destinations = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getDestinations
AuthorizationPolicy.Rule.Destination getDestinations(int index)
Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination destinations = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getDestinationsCount
int getDestinationsCount()
Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination destinations = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getDestinationsOrBuilderList
List<? extends AuthorizationPolicy.Rule.DestinationOrBuilder> getDestinationsOrBuilderList()
Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination destinations = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getDestinationsOrBuilder
AuthorizationPolicy.Rule.DestinationOrBuilder getDestinationsOrBuilder(int index)
Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.
repeated .google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination destinations = 2 [(.google.api.field_behavior) = OPTIONAL];
-
-