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 defines environment variables for task execution, and it is in the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists various versions of the Batch v1 API, from version 1.0.0 up to the latest 2.13.0, with this page focusing on the 2.8.0 version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvironment\u003c/code\u003e 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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvironment\u003c/code\u003e class has properties for managing different types of environment variables: \u003ccode\u003eEncryptedVariables\u003c/code\u003e for encrypted key-value pairs, \u003ccode\u003eSecretVariables\u003c/code\u003e for mapping variable names to Secret Manager secrets, and \u003ccode\u003eVariables\u003c/code\u003e for standard key-value pairs.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default \u003ccode\u003eEnvironment()\u003c/code\u003e constructor and an \u003ccode\u003eEnvironment(Environment other)\u003c/code\u003e constructor that takes another Environment object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]