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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The `Environment` class in the Google.Cloud.Batch.V1 API is used to define environment variables for executing tasks."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling it to handle messages, equality checks, deep cloning, and buffer operations."],["The latest version of the API documentation available is 2.13.0, but versions back to 1.0.0 are also available for reference."],["The `Environment` class allows setting variables through three properties: `EncryptedVariables` (for encrypted values), `SecretVariables` (for Secret Manager secrets), and `Variables` (for standard key-value pairs)."],["There are two constructors available, one default constructor `Environment()` and another `Environment(Environment)` used to construct from an existing instance."]]],[]]