Class: Google::Cloud::NetworkServices::V1::TrafficPortSelector

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkservices/v1/common.rb

Overview

Specification of a port-based selector.

Instance Attribute Summary collapse

Instance Attribute Details

#ports::Array<::String>

Returns Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.

Returns:

  • (::Array<::String>)

    Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.



62
63
64
65
# File 'proto_docs/google/cloud/networkservices/v1/common.rb', line 62

class TrafficPortSelector
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end