Class: Google::Cloud::NetworkServices::V1::TcpRoute::RouteMatch
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::TcpRoute::RouteMatch
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/tcp_route.rb
Overview
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.
Instance Attribute Summary collapse
-
#address ⇒ ::String
Required.
-
#port ⇒ ::String
Required.
Instance Attribute Details
#address ⇒ ::String
Returns Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'.
105 106 107 108 |
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 105 class RouteMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#port ⇒ ::String
Returns Required. Specifies the destination port to match against.
105 106 107 108 |
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 105 class RouteMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |