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 Batch v1alpha API is used to define environment variables for task execution, and it is available in versions 1.0.0-alpha30 and 1.0.0-alpha31.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for setting environment variables through three different properties: \u003ccode\u003eVariables\u003c/code\u003e, which is a direct map of names to values; \u003ccode\u003eSecretVariables\u003c/code\u003e, which maps names to Secret Manager secret names; and \u003ccode\u003eEncryptedVariables\u003c/code\u003e for encrypted JSON data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvironment\u003c/code\u003e 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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eEnvironment\u003c/code\u003e, one of which takes in another \u003ccode\u003eEnvironment\u003c/code\u003e as a parameter, while the other is empty.\u003c/p\u003e\n"]]],[],null,[]]