Class EnvVar (2.0.0)

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

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