public sealed class Environment : IMessage<Environment>, IEquatable<Environment>, IDeepCloneable<Environment>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class Environment.
An Environment describes a collection of environment variables to set when executing Tasks.
Implements
IMessageEnvironment, IEquatableEnvironment, IDeepCloneableEnvironment, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
Environment()
public Environment()
Environment(Environment)
public Environment(Environment other)
Parameter | |
---|---|
Name | Description |
other |
Environment |
Properties
EncryptedVariables
public Environment.Types.KMSEnvMap EncryptedVariables { get; set; }
An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
Property Value | |
---|---|
Type | Description |
EnvironmentTypesKMSEnvMap |
SecretVariables
public MapField<string, string> SecretVariables { get; }
A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Variables
public MapField<string, string> Variables { get; }
A map of environment variable names to values.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |