Class ContainerPort (0.9.1) Stay organized with collections Save and categorize content based on your preferences.
ContainerPort(mapping=None,*,ignore_unknown_fields=False,**kwargs)ContainerPort represents a network port in a singlecontainer.
Attributes | |
|---|---|
| Name | Description |
name | strIf specified, used to specify which protocol to use. Allowed values are "http1" and "h2c". |
container_port | intPort number the container listens on. This must be a valid TCP port number, 0 < container_port="">< 65536.=""> |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.