ContainerPortResponse class

ContainerPort represents a network port in a single container.

Constructors

ContainerPortResponse({required Input<int> containerPort, required Input<String> name, required Input<String> protocol})
Creates a new ContainerPortResponse. containerPort Port number the container listens on. If present, this must be a valid port number, 0 < x < 65536. If not present, it will default to port 8080. For more information, see https://cloud.google.com/run/docs/container-contract#port name If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c". protocol Protocol for port. Must be "TCP". Defaults to "TCP".
const
ContainerPortResponse.fromMap(Map<String, dynamic> map)
factory

Properties

containerPort → Input<int>
Port number the container listens on. If present, this must be a valid port number, 0 < x < 65536. If not present, it will default to port 8080. For more information, see https://cloud.google.com/run/docs/container-contract#port
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
protocol → Input<String>
Protocol for port. Must be "TCP". Defaults to "TCP".
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