Cloud AI Platform v1 API - Class EnvVar (2.27.0)

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

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

Represents an environment variable present in a Container or Python Module.

Inheritance

object > EnvVar

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

EnvVar()

public EnvVar()

EnvVar(EnvVar)

public EnvVar(EnvVar other)
Parameter
NameDescription
otherEnvVar

Properties

Name

public string Name { get; set; }

Required. Name of the environment variable. Must be a valid C identifier.

Property Value
TypeDescription
string

Value

public string Value { get; set; }

Required. Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.

Property Value
TypeDescription
string