GoogleCloudRunV2ContainerPort class

ContainerPort represents a network port in a single container.

Constructors

GoogleCloudRunV2ContainerPort({Input<int>? containerPort, Input<String>? name})
Creates a new GoogleCloudRunV2ContainerPort. containerPort Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536. name If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
const
GoogleCloudRunV2ContainerPort.fromMap(Map<String, dynamic> map)
factory

Properties

containerPort → Input<int>?
Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited