Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig.
Configuration information for an environment.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#airflow_byoid_uri
def airflow_byoid_uri() -> ::String
- (::String) — Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation).
#airflow_uri
def airflow_uri() -> ::String
- (::String) — Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).
#airflow_uri=
def airflow_uri=(value) -> ::String
- value (::String) — Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).
- (::String) — Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).
#dag_gcs_prefix
def dag_gcs_prefix() -> ::String
- (::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.
#dag_gcs_prefix=
def dag_gcs_prefix=(value) -> ::String
- value (::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.
- (::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.
#database_config
def database_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseConfig
- (::Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseConfig) — Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
#database_config=
def database_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseConfig
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseConfig) — Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseConfig) — Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
#encryption_config
def encryption_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::EncryptionConfig
- (::Google::Cloud::Orchestration::Airflow::Service::V1::EncryptionConfig) — Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.
#encryption_config=
def encryption_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::EncryptionConfig
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::EncryptionConfig) — Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::EncryptionConfig) — Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.
#environment_size
def environment_size() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig::EnvironmentSize
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig::EnvironmentSize) — Optional. The size of the Cloud Composer environment.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
#environment_size=
def environment_size=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig::EnvironmentSize
-
value (::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig::EnvironmentSize) — Optional. The size of the Cloud Composer environment.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig::EnvironmentSize) — Optional. The size of the Cloud Composer environment.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
#gke_cluster
def gke_cluster() -> ::String
- (::String) — Output only. The Kubernetes Engine cluster used to run this environment.
#gke_cluster=
def gke_cluster=(value) -> ::String
- value (::String) — Output only. The Kubernetes Engine cluster used to run this environment.
- (::String) — Output only. The Kubernetes Engine cluster used to run this environment.
#maintenance_window
def maintenance_window() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::MaintenanceWindow
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::MaintenanceWindow) — Optional. The maintenance window is the period when Cloud Composer
components may undergo maintenance. It is defined so that maintenance is
not executed during peak hours or critical time periods.
The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.
The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.
If this value is omitted, the default value for maintenance window will be applied. The default value is Saturday and Sunday 00-06 GMT.
#maintenance_window=
def maintenance_window=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::MaintenanceWindow
-
value (::Google::Cloud::Orchestration::Airflow::Service::V1::MaintenanceWindow) — Optional. The maintenance window is the period when Cloud Composer
components may undergo maintenance. It is defined so that maintenance is
not executed during peak hours or critical time periods.
The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.
The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.
If this value is omitted, the default value for maintenance window will be applied. The default value is Saturday and Sunday 00-06 GMT.
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::MaintenanceWindow) — Optional. The maintenance window is the period when Cloud Composer
components may undergo maintenance. It is defined so that maintenance is
not executed during peak hours or critical time periods.
The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.
The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.
If this value is omitted, the default value for maintenance window will be applied. The default value is Saturday and Sunday 00-06 GMT.
#master_authorized_networks_config
def master_authorized_networks_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::MasterAuthorizedNetworksConfig
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::MasterAuthorizedNetworksConfig) —
Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:
- in case of private environment: enabled with no external networks allowlisted.
- in case of public environment: disabled.
#master_authorized_networks_config=
def master_authorized_networks_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::MasterAuthorizedNetworksConfig
-
value (::Google::Cloud::Orchestration::Airflow::Service::V1::MasterAuthorizedNetworksConfig) —
Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:
- in case of private environment: enabled with no external networks allowlisted.
- in case of public environment: disabled.
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::MasterAuthorizedNetworksConfig) —
Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:
- in case of private environment: enabled with no external networks allowlisted.
- in case of public environment: disabled.
#node_config
def node_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::NodeConfig
- (::Google::Cloud::Orchestration::Airflow::Service::V1::NodeConfig) — The configuration used for the Kubernetes Engine cluster.
#node_config=
def node_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::NodeConfig
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::NodeConfig) — The configuration used for the Kubernetes Engine cluster.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::NodeConfig) — The configuration used for the Kubernetes Engine cluster.
#node_count
def node_count() -> ::Integer
-
(::Integer) — 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-..*.
#node_count=
def node_count=(value) -> ::Integer
-
value (::Integer) — 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-..*.
-
(::Integer) — 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-..*.
#private_environment_config
def private_environment_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::PrivateEnvironmentConfig
- (::Google::Cloud::Orchestration::Airflow::Service::V1::PrivateEnvironmentConfig) — The configuration used for the Private IP Cloud Composer environment.
#private_environment_config=
def private_environment_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::PrivateEnvironmentConfig
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::PrivateEnvironmentConfig) — The configuration used for the Private IP Cloud Composer environment.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::PrivateEnvironmentConfig) — The configuration used for the Private IP Cloud Composer environment.
#recovery_config
def recovery_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::RecoveryConfig
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::RecoveryConfig) — Optional. The Recovery settings configuration of an environment.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
#recovery_config=
def recovery_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::RecoveryConfig
-
value (::Google::Cloud::Orchestration::Airflow::Service::V1::RecoveryConfig) — Optional. The Recovery settings configuration of an environment.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::RecoveryConfig) — Optional. The Recovery settings configuration of an environment.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
#software_config
def software_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::SoftwareConfig
- (::Google::Cloud::Orchestration::Airflow::Service::V1::SoftwareConfig) — The configuration settings for software inside the environment.
#software_config=
def software_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::SoftwareConfig
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::SoftwareConfig) — The configuration settings for software inside the environment.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::SoftwareConfig) — The configuration settings for software inside the environment.
#web_server_config
def web_server_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerConfig
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerConfig) — Optional. The configuration settings for the Airflow web server App Engine instance.
#web_server_config=
def web_server_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerConfig
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerConfig) — Optional. The configuration settings for the Airflow web server App Engine instance.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerConfig) — Optional. The configuration settings for the Airflow web server App Engine instance.
#web_server_network_access_control
def web_server_network_access_control() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerNetworkAccessControl
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerNetworkAccessControl) — Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.
#web_server_network_access_control=
def web_server_network_access_control=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerNetworkAccessControl
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerNetworkAccessControl) — Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WebServerNetworkAccessControl) — Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.
#workloads_config
def workloads_config() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig) — Optional. The workloads configuration settings for the GKE cluster
associated with the Cloud Composer environment. The GKE cluster runs
Airflow scheduler, web server and workers workloads.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
#workloads_config=
def workloads_config=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig
-
value (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig) — Optional. The workloads configuration settings for the GKE cluster
associated with the Cloud Composer environment. The GKE cluster runs
Airflow scheduler, web server and workers workloads.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
-
(::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig) — Optional. The workloads configuration settings for the GKE cluster
associated with the Cloud Composer environment. The GKE cluster runs
Airflow scheduler, web server and workers workloads.
This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.