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.
-
#private_environment_config ⇒ Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig
The configuration information for configuring a Private IP Cloud Composer 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
157 158 159 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 157 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
118 119 120 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 118 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
127 128 129 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 127 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
132 133 134 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 132 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
138 139 140 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 138 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
144 145 146 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 144 def node_count @node_count end |
#private_environment_config ⇒ Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig
The configuration information for configuring a Private IP Cloud Composer
environment.
Corresponds to the JSON property privateEnvironmentConfig
150 151 152 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 150 def private_environment_config @private_environment_config end |
#software_config ⇒ Google::Apis::ComposerV1beta1::SoftwareConfig
Specifies the selection and configuration of software inside the environment.
Corresponds to the JSON property softwareConfig
155 156 157 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 155 def software_config @software_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
162 163 164 165 166 167 168 169 170 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 162 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) @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config) @software_config = args[:software_config] if args.key?(:software_config) end |