Cloud Composer v1 API - Class Environment (2.4.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
NameDescription
otherEnvironment

Properties

Config

public EnvironmentConfig Config { get; set; }

Configuration parameters for this environment.

Property Value
TypeDescription
EnvironmentConfig

CreateTime

public Timestamp CreateTime { get; set; }

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

Property Value
TypeDescription
Timestamp

EnvironmentName

public EnvironmentName EnvironmentName { get; set; }

EnvironmentName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

State

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

The current state of the environment.

Property Value
TypeDescription
EnvironmentTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
string