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\u003eThis webpage provides reference documentation for the \u003ccode\u003eEnvironment\u003c/code\u003e class within the Google Cloud Batch v1 API, which is used to define environment variables for executing tasks.\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 members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor \u003ccode\u003eEnvironment()\u003c/code\u003e and a copy constructor \u003ccode\u003eEnvironment(Environment other)\u003c/code\u003e, which takes another \u003ccode\u003eEnvironment\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eEnvironment\u003c/code\u003e class include \u003ccode\u003eEncryptedVariables\u003c/code\u003e (for encrypted environment variables), \u003ccode\u003eSecretVariables\u003c/code\u003e (for variables sourced from Secret Manager), and \u003ccode\u003eVariables\u003c/code\u003e (for standard environment variables).\u003c/p\u003e\n"],["\u003cp\u003eThe page showcases all the available versions of this documentation, with version 2.13.0 being the latest and 1.0.0 the oldest, allowing one to browse and compare them.\u003c/p\u003e\n"]]],[],null,[]]