Class Environment (1.11.1)

Environment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An environment for running orchestration tasks.

Attributes

NameDescription
name str
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.
config google.cloud.orchestration.airflow.service_v1beta1.types.EnvironmentConfig
Configuration parameters for this environment.
uuid str
Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
state google.cloud.orchestration.airflow.service_v1beta1.types.Environment.State
The current state of the environment.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which this environment was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which this environment was last modified.
labels MutableMapping[str, str]
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.="">

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

State of the environment.

Values: STATE_UNSPECIFIED (0): The state of the environment is unknown. CREATING (1): The environment is in the process of being created. RUNNING (2): The environment is currently running and healthy. It is ready for use. UPDATING (3): The environment is being updated. It remains usable but cannot receive additional update requests or be deleted at this time. DELETING (4): The environment is undergoing deletion. It cannot be used. ERROR (5): The environment has encountered an error and cannot be used.