class Google::Apis::ComposerV1beta1::EnvironmentConfig

Configuration information for an environment.

Attributes

airflow_uri[RW]

Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/ airflow-web-interface)). Corresponds to the JSON property `airflowUri` @return [String]

dag_gcs_prefix[RW]

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` @return [String]

database_config[RW]

The configuration of Cloud SQL instance that is used by the Apache Airflow software. Supported for Cloud Composer environments in versions composer-1..- airflow-..*. Corresponds to the JSON property `databaseConfig` @return [Google::Apis::ComposerV1beta1::DatabaseConfig]

encryption_config[RW]

The encryption options for the Cloud Composer environment and its dependencies. Supported for Cloud Composer environments in versions composer-1..-airflow-* ... Corresponds to the JSON property `encryptionConfig` @return [Google::Apis::ComposerV1beta1::EncryptionConfig]

environment_size[RW]

Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer. Corresponds to the JSON property `environmentSize` @return [String]

gke_cluster[RW]

Output only. The Kubernetes Engine cluster used to run this environment. Corresponds to the JSON property `gkeCluster` @return [String]

maintenance_window[RW]

The configuration settings for Cloud Composer maintenance window. The following example: ` “startTime”:“2019-08-01T01:00:00Z” “endTime”:“2019-08- 01T07:00:00Z” “recurrence”:“FREQ=WEEKLY;BYDAY=TU,WE” ` would define a maintenance window between 01 and 07 hours UTC during each Tuesday and Wednesday. Corresponds to the JSON property `maintenanceWindow` @return [Google::Apis::ComposerV1beta1::MaintenanceWindow]

node_config[RW]

The configuration information for the Kubernetes Engine nodes running the Apache Airflow software. Corresponds to the JSON property `nodeConfig` @return [Google::Apis::ComposerV1beta1::NodeConfig]

node_count[RW]

The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*. Corresponds to the JSON property `nodeCount` @return [Fixnum]

private_environment_config[RW]

The configuration information for configuring a Private IP Cloud Composer environment. Corresponds to the JSON property `privateEnvironmentConfig` @return [Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig]

software_config[RW]

Specifies the selection and configuration of software inside the environment. Corresponds to the JSON property `softwareConfig` @return [Google::Apis::ComposerV1beta1::SoftwareConfig]

web_server_config[RW]

The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer environments in versions composer-1..-airflow-*. .. Corresponds to the JSON property `webServerConfig` @return [Google::Apis::ComposerV1beta1::WebServerConfig]

web_server_network_access_control[RW]

Network-level access control policy for the Airflow web server. Supported for Cloud Composer environments in versions composer-1..-airflow-..*. Corresponds to the JSON property `webServerNetworkAccessControl` @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl]

workloads_config[RW]

The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer. Corresponds to the JSON property `workloadsConfig` @return [Google::Apis::ComposerV1beta1::WorkloadsConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/composer_v1beta1/classes.rb, line 396
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/composer_v1beta1/classes.rb, line 401
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)
  @database_config = args[:database_config] if args.key?(:database_config)
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
  @environment_size = args[:environment_size] if args.key?(:environment_size)
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
  @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)
  @web_server_config = args[:web_server_config] if args.key?(:web_server_config)
  @web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control)
  @workloads_config = args[:workloads_config] if args.key?(:workloads_config)
end