Cloud Composer v1 API - Class Environment (2.9.0)

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

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

An environment for running orchestration tasks.

Inheritance

object > Environment

Namespace

Google.Cloud.Orchestration.Airflow.Service.V1

Assembly

Google.Cloud.Orchestration.Airflow.Service.V1.dll

Constructors

Environment()

public Environment()

Environment(Environment)

public Environment(Environment other)
Parameter
Name Description
other Environment

Properties

Config

public EnvironmentConfig Config { get; set; }

Configuration parameters for this environment.

Property Value
Type Description
EnvironmentConfig

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which this environment was created.

Property Value
Type Description
Timestamp

EnvironmentName

public EnvironmentName EnvironmentName { get; set; }

EnvironmentName-typed view over the Name resource name property.

Property Value
Type Description
EnvironmentName

Labels

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

Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions:

  • Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
  • Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
  • Both keys and values are additionally constrained to be <= 128 bytes in size.
Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

Property Value
Type Description
string

SatisfiesPzi

public bool SatisfiesPzi { get; set; }

Output only. Reserved for future use.

Property Value
Type Description
bool

SatisfiesPzs

public bool SatisfiesPzs { get; set; }

Output only. Reserved for future use.

Property Value
Type Description
bool

State

public Environment.Types.State State { get; set; }

The current state of the environment.

Property Value
Type Description
EnvironmentTypesState

StorageConfig

public StorageConfig StorageConfig { get; set; }

Optional. Storage configuration for this environment.

Property Value
Type Description
StorageConfig

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time at which this environment was last modified.

Property Value
Type Description
Timestamp

Uuid

public string Uuid { get; set; }

Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.

Property Value
Type Description
string