| Package | Description |
|---|---|
| com.google.api.services.run.v1.model |
| Modifier and Type | Method and Description |
|---|---|
ContainerPort |
ContainerPort.clone() |
ContainerPort |
ContainerPort.set(String fieldName,
Object value) |
ContainerPort |
ContainerPort.setContainerPort(Integer containerPort)
(Optional) Port number the container listens on.
|
ContainerPort |
ContainerPort.setName(String name)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported If specified,
used to specify which protocol to use.
|
ContainerPort |
ContainerPort.setProtocol(String protocol)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Protocol for
port.
|
| Modifier and Type | Method and Description |
|---|---|
List<ContainerPort> |
Container.getPorts()
(Optional) List of ports to expose from the container.
|
| Modifier and Type | Method and Description |
|---|---|
Container |
Container.setPorts(List<ContainerPort> ports)
(Optional) List of ports to expose from the container.
|
Copyright © 2011–2020 Google. All rights reserved.