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-03-21 UTC."],[[["The `Environment` class in the Google.Cloud.Batch.V1 API defines environment variables for task execution, and it is in the `Google.Cloud.Batch.V1` namespace."],["The 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."],["The `Environment` class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `object` class."],["The `Environment` class has properties for managing different types of environment variables: `EncryptedVariables` for encrypted key-value pairs, `SecretVariables` for mapping variable names to Secret Manager secrets, and `Variables` for standard key-value pairs."],["The class provides two constructors: a default `Environment()` constructor and an `Environment(Environment other)` constructor that takes another Environment object as a parameter."]]],[]]