GoogleApi.Composer.V1beta1.Model.DatabaseConfig (google_api_composer v0.36.3)

View Source

The configuration of Cloud SQL instance that is used by the Apache Airflow software.

Attributes

  • machineType (type: String.t, default: nil) - Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1..-airflow-..*.
  • zone (type: String.t, default: nil) - Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2..-airflow-..*.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Composer.V1beta1.Model.DatabaseConfig{
  machineType: String.t() | nil,
  zone: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.