ports property

List<GoogleCloudAiplatformV1Port>? ports
getter/setter pair

List of ports to expose from the container.

Vertex AI sends any prediction requests that it receives to the first port on this list. Vertex AI also sends liveness and health checks to this port. If you do not specify this field, it defaults to following value: json [ { "containerPort": 8080 } ] Vertex AI does not use ports other than the first one listed. This field corresponds to the ports field of the Kubernetes Containers v1 core API.

Immutable.

Implementation

core.List<GoogleCloudAiplatformV1Port>? ports;