Cloud AI Platform v1 API - Class ContainerSpec (2.17.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class ContainerSpec.

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
RepeatedFieldstring

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
RepeatedFieldstring

Env

public RepeatedField<EnvVar> Env { get; }

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

Property Value
TypeDescription
RepeatedFieldEnvVar

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