Struct google_composer1::SoftwareConfig[][src]

pub struct SoftwareConfig {
    pub image_version: Option<String>,
    pub airflow_config_overrides: Option<HashMap<String, String>>,
    pub env_variables: Option<HashMap<String, String>>,
    pub pypi_packages: Option<HashMap<String, String>>,
}

Specifies the selection and configuration of software inside the environment.

This type is not used in any activity, and only used as part of another schema.

Fields

Output only. The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?.

The Cloud Composer portion of the version is a semantic version. The portion of the image version following airflow- is an official Apache Airflow repository release name.

See also Release Notes.

Optional. Apache Airflow configuration properties to override.

Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format.

Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.

Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes.

Environment variable names must match the regular expression a-zA-Z_*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names:

  • AIRFLOW_HOME
  • C_FORCE_ROOT
  • CONTAINER_NAME
  • DAGS_FOLDER
  • GCP_PROJECT
  • GCS_BUCKET
  • GKE_CLUSTER_NAME
  • SQL_DATABASE
  • SQL_INSTANCE
  • SQL_PASSWORD
  • SQL_PROJECT
  • SQL_REGION
  • SQL_USER

Optional. Custom Python Package Index (PyPI) packages to be installed in the environment.

Keys refer to the lowercase package name such as "numpy" and values are the lowercase extras and version specifier such as "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a package without pinning it to a version specifier, use the empty string as the value.

Trait Implementations

impl Default for SoftwareConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for SoftwareConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SoftwareConfig
[src]

Formats the value using the given formatter. Read more

impl Part for SoftwareConfig
[src]

Auto Trait Implementations