ContainerPortResponse

data class ContainerPortResponse(val containerPort: Int, val name: String, val protocol: String)

ContainerPort represents a network port in a single container.

Constructors

Link copied to clipboard
constructor(containerPort: Int, name: String, protocol: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Port number the container listens on. If present, this must be a valid port number, 0 < x < 65536. If not present, it will default to port 8080. For more information, see https://cloud.google.com/run/docs/container-contract#port

Link copied to clipboard

If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

Link copied to clipboard

Protocol for port. Must be "TCP". Defaults to "TCP".