Class: Google::Apis::ComposerV1beta1::EnvironmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1beta1::EnvironmentConfig
- Defined in:
- generated/google/apis/composer_v1beta1/classes.rb,
generated/google/apis/composer_v1beta1/representations.rb,
generated/google/apis/composer_v1beta1/representations.rb
Overview
Configuration information for an environment.
Instance Attribute Summary collapse
-
#airflow_uri ⇒ String
Output only.
-
#dag_gcs_prefix ⇒ String
Output only.
-
#gke_cluster ⇒ String
Output only.
-
#node_config ⇒ Google::Apis::ComposerV1beta1::NodeConfig
The configuration information for the Kubernetes Engine nodes running the Apache Airflow software.
-
#node_count ⇒ Fixnum
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment.
-
#software_config ⇒ Google::Apis::ComposerV1beta1::SoftwareConfig
Specifies the selection and configuration of software inside the environment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnvironmentConfig
constructor
A new instance of EnvironmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ EnvironmentConfig
Returns a new instance of EnvironmentConfig
154 155 156 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 154 def initialize(**args) update!(**args) end |
Instance Attribute Details
#airflow_uri ⇒ String
Output only.
The URI of the Apache Airflow Web UI hosted within this environment (see
Airflow web interface)
.
Corresponds to the JSON property airflowUri
120 121 122 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 120 def airflow_uri @airflow_uri end |
#dag_gcs_prefix ⇒ String
Output only.
The Cloud Storage prefix of the DAGs for this environment. Although Cloud
Storage objects reside in a flat namespace, a hierarchical file tree
can be simulated using "/"-delimited object name prefixes. DAG objects for
this environment reside in a simulated directory with the given prefix.
Corresponds to the JSON property dagGcsPrefix
129 130 131 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 129 def dag_gcs_prefix @dag_gcs_prefix end |
#gke_cluster ⇒ String
Output only.
The Kubernetes Engine cluster used to run this environment.
Corresponds to the JSON property gkeCluster
135 136 137 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 135 def gke_cluster @gke_cluster end |
#node_config ⇒ Google::Apis::ComposerV1beta1::NodeConfig
The configuration information for the Kubernetes Engine nodes running
the Apache Airflow software.
Corresponds to the JSON property nodeConfig
141 142 143 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 141 def node_config @node_config end |
#node_count ⇒ Fixnum
The number of nodes in the Kubernetes Engine cluster that will be
used to run this environment.
Corresponds to the JSON property nodeCount
147 148 149 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 147 def node_count @node_count end |
#software_config ⇒ Google::Apis::ComposerV1beta1::SoftwareConfig
Specifies the selection and configuration of software inside the environment.
Corresponds to the JSON property softwareConfig
152 153 154 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 152 def software_config @software_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
159 160 161 162 163 164 165 166 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 159 def update!(**args) @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri) @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix) @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster) @node_config = args[:node_config] if args.key?(:node_config) @node_count = args[:node_count] if args.key?(:node_count) @software_config = args[:software_config] if args.key?(:software_config) end |