Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::Environment.
An environment for running orchestration tasks.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config
def config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig
- (::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig) — Configuration parameters for this environment.
#config=
def config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig) — Configuration parameters for this environment.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig) — Configuration parameters for this environment.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which this environment was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Output only. The time at which this environment was created.
- (::Google::Protobuf::Timestamp) — Output only. The time at which this environment was created.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) —
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.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) —
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.
-
(::Google::Protobuf::Map{::String => ::String}) —
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.
#name
def name() -> ::String
-
(::String) — 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.
#name=
def name=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.
#state
def state() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::Environment::State
- (::Google::Cloud::Orchestration::Airflow::Service::V1::Environment::State) — The current state of the environment.
#state=
def state=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::Environment::State
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::Environment::State) — The current state of the environment.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::Environment::State) — The current state of the environment.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which this environment was last modified.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Output only. The time at which this environment was last modified.
- (::Google::Protobuf::Timestamp) — Output only. The time at which this environment was last modified.
#uuid
def uuid() -> ::String
- (::String) — Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
#uuid=
def uuid=(value) -> ::String
- value (::String) — Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
- (::String) — Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.