GoogleCloudRunV2Container class

A single application container.

This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments can be supplied by the system to the container at runtime.

Constructors

GoogleCloudRunV2Container({List<String>? args, String? baseImageUri, GoogleCloudRunV2BuildInfo? buildInfo, List<String>? command, List<String>? dependsOn, List<GoogleCloudRunV2EnvVar>? env, String? image, GoogleCloudRunV2Probe? livenessProbe, String? name, List<GoogleCloudRunV2ContainerPort>? ports, GoogleCloudRunV2Probe? readinessProbe, GoogleCloudRunV2ResourceRequirements? resources, bool? sandboxLauncher, GoogleCloudRunV2SourceCode? sourceCode, GoogleCloudRunV2Probe? startupProbe, List<GoogleCloudRunV2VolumeMount>? volumeMounts, String? workingDir})
GoogleCloudRunV2Container.fromJson(Map json_)

Properties

args ↔ List<String>?
Arguments to the entrypoint.
getter/setter pair
baseImageUri ↔ String?
Base image for this container.
getter/setter pair
buildInfo ↔ GoogleCloudRunV2BuildInfo?
The build info of the container image.
getter/setter pair
command ↔ List<String>?
Entrypoint array.
getter/setter pair
dependsOn ↔ List<String>?
Names of the containers that must start before this container.
getter/setter pair
env ↔ List<GoogleCloudRunV2EnvVar>?
List of environment variables to set in the container.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
image ↔ String?
Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry.
getter/setter pair
livenessProbe ↔ GoogleCloudRunV2Probe?
Periodic probe of container liveness.
getter/setter pair
name ↔ String?
Name of the container specified as a DNS_LABEL (RFC 1123).
getter/setter pair
ports ↔ List<GoogleCloudRunV2ContainerPort>?
List of ports to expose from the container.
getter/setter pair
readinessProbe ↔ GoogleCloudRunV2Probe?
Readiness probe to be used for health checks.
getter/setter pair
resources ↔ GoogleCloudRunV2ResourceRequirements?
Compute Resource requirements by this container.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sandboxLauncher ↔ bool?
Indicates that this container can act as a sandbox supervisor and launch sandboxes.
getter/setter pair
sourceCode ↔ GoogleCloudRunV2SourceCode?
Location of the source.
getter/setter pair
startupProbe ↔ GoogleCloudRunV2Probe?
Startup probe of application within the container.
getter/setter pair
volumeMounts ↔ List<GoogleCloudRunV2VolumeMount>?
Volume to mount into the container's filesystem.
getter/setter pair
workingDir ↔ String?
Container's working directory.
getter/setter pair

Methods

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

Operators

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