Network Services v1 API - Class TrafficPortSelector (1.0.0-beta01)

public sealed class TrafficPortSelector : IMessage<TrafficPortSelector>, IEquatable<TrafficPortSelector>, IDeepCloneable<TrafficPortSelector>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Services v1 API class TrafficPortSelector.

Specification of a port-based selector.

Inheritance

object > TrafficPortSelector

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

TrafficPortSelector()

public TrafficPortSelector()

TrafficPortSelector(TrafficPortSelector)

public TrafficPortSelector(TrafficPortSelector other)
Parameter
Name Description
other TrafficPortSelector

Properties

Ports

public RepeatedField<string> Ports { get; }

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.

Property Value
Type Description
RepeatedFieldstring