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-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 Tasks, with the latest version being 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling functionalities such as deep cloning and buffer message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt allows setting environment variables through three properties: \u003ccode\u003eEncryptedVariables\u003c/code\u003e for encrypted JSON values, \u003ccode\u003eSecretVariables\u003c/code\u003e for values sourced from Secret Manager, and \u003ccode\u003eVariables\u003c/code\u003e for direct value assignment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvironment\u003c/code\u003e class has two constructors: a default constructor and one that takes another \u003ccode\u003eEnvironment\u003c/code\u003e object as a parameter to copy its values.\u003c/p\u003e\n"],["\u003cp\u003eA history of available versions can be accessed, starting from 1.0.0 all the way up to the latest 2.13.0.\u003c/p\u003e\n"]]],[],null,[]]