# Cloud Composer V1 API - Class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.4 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig.

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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dag_processor

    def dag_processor() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::DagProcessorResource

**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::DagProcessorResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-DagProcessorResource)) --- Optional. Resources used by Airflow DAG processors.


  This field is supported for Cloud Composer environments in versions
  composer-3-airflow-*.* .*-build.* and newer.

### #dag_processor=

    def dag_processor=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::DagProcessorResource

**Parameter**

- **value** ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::DagProcessorResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-DagProcessorResource)) --- Optional. Resources used by Airflow DAG processors.


  This field is supported for Cloud Composer environments in versions
  composer-3-airflow-*.* .*-build.* and newer.
**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::DagProcessorResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-DagProcessorResource)) --- Optional. Resources used by Airflow DAG processors.


  This field is supported for Cloud Composer environments in versions
  composer-3-airflow-*.* .*-build.* and newer.

### #scheduler

    def scheduler() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource

**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)) --- Optional. Resources used by Airflow schedulers.

### #scheduler=

    def scheduler=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource

**Parameter**

- **value** ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)) --- Optional. Resources used by Airflow schedulers.
**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)) --- Optional. Resources used by Airflow schedulers.

### #triggerer

    def triggerer() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::TriggererResource

**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::TriggererResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-TriggererResource)) --- Optional. Resources used by Airflow triggerers.

### #triggerer=

    def triggerer=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::TriggererResource

**Parameter**

- **value** ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::TriggererResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-TriggererResource)) --- Optional. Resources used by Airflow triggerers.
**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::TriggererResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-TriggererResource)) --- Optional. Resources used by Airflow triggerers.

### #web_server

    def web_server() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource

**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-WebServerResource)) --- Optional. Resources used by Airflow web server.

### #web_server=

    def web_server=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource

**Parameter**

- **value** ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-WebServerResource)) --- Optional. Resources used by Airflow web server.
**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-WebServerResource)) --- Optional. Resources used by Airflow web server.

### #worker

    def worker() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource

**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-WorkerResource)) --- Optional. Resources used by Airflow workers.

### #worker=

    def worker=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource

**Parameter**

- **value** ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-WorkerResource)) --- Optional. Resources used by Airflow workers.
**Returns**

- ([::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-WorkerResource)) --- Optional. Resources used by Airflow workers.