Class: Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Filter
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Filter
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb
Overview
Filter matches L4 traffic.
Defined Under Namespace
Modules: ProtocolVersion
Instance Attribute Summary collapse
-
#dest_range ⇒ ::String
Optional.
-
#ip_protocol ⇒ ::String
Optional.
-
#protocol_version ⇒ ::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Filter::ProtocolVersion
Required.
-
#src_range ⇒ ::String
Optional.
Instance Attribute Details
#dest_range ⇒ ::String
Returns Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb', line 136 class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The internet protocol version. module ProtocolVersion # Default value. PROTOCOL_VERSION_UNSPECIFIED = 0 # The PBR is for IPv4 internet protocol traffic. IPV4 = 1 end end |
#ip_protocol ⇒ ::String
Returns Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb', line 136 class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The internet protocol version. module ProtocolVersion # Default value. PROTOCOL_VERSION_UNSPECIFIED = 0 # The PBR is for IPv4 internet protocol traffic. IPV4 = 1 end end |
#protocol_version ⇒ ::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Filter::ProtocolVersion
Returns Required. Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported. IPV6 is supported in preview.
136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb', line 136 class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The internet protocol version. module ProtocolVersion # Default value. PROTOCOL_VERSION_UNSPECIFIED = 0 # The PBR is for IPv4 internet protocol traffic. IPV4 = 1 end end |
#src_range ⇒ ::String
Returns Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb', line 136 class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The internet protocol version. module ProtocolVersion # Default value. PROTOCOL_VERSION_UNSPECIFIED = 0 # The PBR is for IPv4 internet protocol traffic. IPV4 = 1 end end |