Class: Google::Cloud::Orchestration::Airflow::Service::V1::Environment
- Inherits:
-
Object
- Object
- Google::Cloud::Orchestration::Airflow::Service::V1::Environment
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb
Overview
An environment for running orchestration tasks.
Defined Under Namespace
Modules: State Classes: LabelsEntry
Instance Attribute Summary collapse
-
#config ⇒ ::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig
Optional.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
Identifier.
-
#satisfies_pzi ⇒ ::Boolean
readonly
Output only.
-
#satisfies_pzs ⇒ ::Boolean
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Orchestration::Airflow::Service::V1::Environment::State
The current state of the environment.
-
#storage_config ⇒ ::Google::Cloud::Orchestration::Airflow::Service::V1::StorageConfig
Optional.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
Output only.
-
#uuid ⇒ ::String
Output only.
Instance Attribute Details
#config ⇒ ::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig
Returns Optional. Configuration parameters for this environment.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns Output only. The time at which this environment was created.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns 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.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#name ⇒ ::String
Returns Identifier. 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.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#satisfies_pzi ⇒ ::Boolean (readonly)
Returns Output only. Reserved for future use.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#satisfies_pzs ⇒ ::Boolean (readonly)
Returns Output only. Reserved for future use.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#state ⇒ ::Google::Cloud::Orchestration::Airflow::Service::V1::Environment::State
Returns The current state of the environment.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#storage_config ⇒ ::Google::Cloud::Orchestration::Airflow::Service::V1::StorageConfig
Returns Optional. Storage configuration for this environment.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns Output only. The time at which this environment was last modified.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |
#uuid ⇒ ::String
Returns Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1784 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the environment. module State # The state of the environment is unknown. STATE_UNSPECIFIED = 0 # The environment is in the process of being created. CREATING = 1 # The environment is currently running and healthy. It is ready for use. RUNNING = 2 # The environment is being updated. It remains usable but cannot receive # additional update requests or be deleted at this time. UPDATING = 3 # The environment is undergoing deletion. It cannot be used. DELETING = 4 # The environment has encountered an error and cannot be used. ERROR = 5 end end |