Batch v1 API - Class Environment (1.1.0)

public sealed class Environment : IMessage<Environment>, IEquatable<Environment>, IDeepCloneable<Environment>, IBufferMessage, IMessage

Reference documentation and code samples for the Batch v1 API class Environment.

An Environment describes a collection of environment variables to set when executing Tasks.

Inheritance

Object > Environment

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

Environment()

public Environment()

Environment(Environment)

public Environment(Environment other)
Parameter
Name Description
other Environment

Properties

Variables

public MapField<string, string> Variables { get; }

A map of environment variable names to values.

Property Value
Type Description
MapField<String, String>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.