Class ContainerSpec (1.3.0)

public sealed class ContainerSpec : IMessage<ContainerSpec>, IEquatable<ContainerSpec>, IDeepCloneable<ContainerSpec>, IBufferMessage, IMessage

The spec of a Container.

Inheritance

Object > ContainerSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ContainerSpec()

public ContainerSpec()

ContainerSpec(ContainerSpec)

public ContainerSpec(ContainerSpec other)
Parameter
NameDescription
otherContainerSpec

Properties

Args

public RepeatedField<string> Args { get; }

The arguments to be passed when starting the container.

Property Value
TypeDescription
RepeatedField<String>

Command

public RepeatedField<string> Command { get; }

The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.

Property Value
TypeDescription
RepeatedField<String>

Env

public RepeatedField<EnvVar> Env { get; }

Environment variables to be passed to the container. Maximum limit is 100.

Property Value
TypeDescription
RepeatedField<EnvVar>

ImageUri

public string ImageUri { get; set; }

Required. The URI of a container image in the Container Registry that is to be run on each worker replica.

Property Value
TypeDescription
String