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 Tasks, with the latest version being 2.13.0."],["This class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling functionalities such as deep cloning and buffer message handling."],["It allows setting environment variables through three properties: `EncryptedVariables` for encrypted JSON values, `SecretVariables` for values sourced from Secret Manager, and `Variables` for direct value assignment."],["The `Environment` class has two constructors: a default constructor and one that takes another `Environment` object as a parameter to copy its values."],["A history of available versions can be accessed, starting from 1.0.0 all the way up to the latest 2.13.0."]]],[]]