API
CLI
GET /v1beta/projects/{project}/services/{service}/ports
Example response
200 OK
Details about the ports for the service.
JSON
{
"ports": [
{
"name": "port-1",
"internalPort": 8080,
"protocol": "HTTP",
"public": true,
"domains": [
null
]
}
]
}