ContainerPortResponse constructor

const ContainerPortResponse({
  1. required Input<int> containerPort,
  2. required Input<String> name,
  3. 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".

Implementation

const ContainerPortResponse({
  required this.containerPort,
  required this.name,
  required this.protocol,
});