Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Port (v0.52.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Port.

Represents a network port in a container.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#container_port

def container_port() -> ::Integer
Returns
  • (::Integer) — The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.

#container_port=

def container_port=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.
Returns
  • (::Integer) — The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.