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
image_version: Option<String>
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.
airflow_config_overrides: Option<HashMap<String, String>>
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.
env_variables: Option<HashMap<String, String>>
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
pypi_packages: Option<HashMap<String, String>>
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]
impl Default for SoftwareConfig
fn default() -> SoftwareConfig
[src]
fn default() -> SoftwareConfig
Returns the "default value" for a type. Read more
impl Clone for SoftwareConfig
[src]
impl Clone for SoftwareConfig
fn clone(&self) -> SoftwareConfig
[src]
fn clone(&self) -> SoftwareConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for SoftwareConfig
[src]
impl Debug for SoftwareConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for SoftwareConfig
[src]
impl Part for SoftwareConfig
Auto Trait Implementations
impl Send for SoftwareConfig
impl Send for SoftwareConfig
impl Sync for SoftwareConfig
impl Sync for SoftwareConfig