Class: Google::Apis::ComposerV1::EnvironmentConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ComposerV1::EnvironmentConfig
 
 
- Defined in:
 - generated/google/apis/composer_v1/classes.rb,
generated/google/apis/composer_v1/representations.rb,
generated/google/apis/composer_v1/representations.rb 
Overview
Configuration information for an environment.
Instance Attribute Summary collapse
- 
  
    
      #airflow_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface) .
 - 
  
    
      #dag_gcs_prefix  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #gke_cluster  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #node_config  ⇒ Google::Apis::ComposerV1::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::ComposerV1::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
      153 154 155  | 
    
      # File 'generated/google/apis/composer_v1/classes.rb', line 153 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#airflow_uri ⇒ String
The URI of the Apache Airflow Web UI hosted within this environment (see
Airflow web interface)
.
Corresponds to the JSON property airflowUri
      119 120 121  | 
    
      # File 'generated/google/apis/composer_v1/classes.rb', line 119 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
      128 129 130  | 
    
      # File 'generated/google/apis/composer_v1/classes.rb', line 128 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
      134 135 136  | 
    
      # File 'generated/google/apis/composer_v1/classes.rb', line 134 def gke_cluster @gke_cluster end  | 
  
#node_config ⇒ Google::Apis::ComposerV1::NodeConfig
The configuration information for the Kubernetes Engine nodes running
the Apache Airflow software.
Corresponds to the JSON property nodeConfig
      140 141 142  | 
    
      # File 'generated/google/apis/composer_v1/classes.rb', line 140 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
      146 147 148  | 
    
      # File 'generated/google/apis/composer_v1/classes.rb', line 146 def node_count @node_count end  | 
  
#software_config ⇒ Google::Apis::ComposerV1::SoftwareConfig
Specifies the selection and configuration of software inside the environment.
Corresponds to the JSON property softwareConfig
      151 152 153  | 
    
      # File 'generated/google/apis/composer_v1/classes.rb', line 151 def software_config @software_config end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      158 159 160 161 162 163 164 165  | 
    
      # File 'generated/google/apis/composer_v1/classes.rb', line 158 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  |