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
Configuration parameters for this environment.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
-
#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 Configuration parameters for this environment.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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.
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1761 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 |