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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eEnvironment\u003c/code\u003e class in the Google.Cloud.Batch.V1 API is used to define environment variables for executing tasks.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling it to handle messages, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documentation available is 2.13.0, but versions back to 1.0.0 are also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvironment\u003c/code\u003e class allows setting variables through three properties: \u003ccode\u003eEncryptedVariables\u003c/code\u003e (for encrypted values), \u003ccode\u003eSecretVariables\u003c/code\u003e (for Secret Manager secrets), and \u003ccode\u003eVariables\u003c/code\u003e (for standard key-value pairs).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, one default constructor \u003ccode\u003eEnvironment()\u003c/code\u003e and another \u003ccode\u003eEnvironment(Environment)\u003c/code\u003e used to construct from an existing instance.\u003c/p\u003e\n"]]],[],null,[]]