Cloud AI Platform v1 API - Class Port (2.11.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class Port.

Represents a network port in a container.

Inheritance

object > Port

Namespace

GoogleCloudGoogle.Cloud.AIPlatformV1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Port()

public Port()

Port(Port)

public Port(Port other)
Parameter
NameDescription
otherPort

Properties

ContainerPort

public int ContainerPort { get; set; }

The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.

Property Value
TypeDescription
int