Skip to content

Commit

Permalink
Update Cloud Run Resource to make containerPort be optional (GoogleCl…
Browse files Browse the repository at this point in the history
…oudPlatform#5677)

* change to optional per docs

* fix formatting issues
  • Loading branch information
ccogan-lh authored and lcaggio committed Mar 16, 2022
1 parent 15cde6c commit 1cc5b6b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mmv1/products/cloudrun/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -562,14 +562,13 @@ objects:
properties:
- !ruby/object:Api::Type::String
name: name
description: Name of the port.
description: If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
- !ruby/object:Api::Type::String
name: protocol
description: Protocol used on port. Defaults to TCP.
description: Protocol for port. Must be "TCP". Defaults to "TCP".
- !ruby/object:Api::Type::Integer
name: containerPort
description: Port number.
required: true
description: Port number the container listens on. This must be a valid port number, 0 < x < 65536.
- !ruby/object:Api::Type::NestedObject
name: resources
description: |-
Expand Down

0 comments on commit 1cc5b6b

Please sign in to comment.