# Cloud Composer V1 API - Class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::DagProcessorResource (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::DagProcessorResource.

Configuration for resources used by Airflow DAG processors.


<br />

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #count

    def count() -> ::Integer

**Returns**

- (::Integer) --- Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created.

### #count=

    def count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created.
**Returns**

- (::Integer) --- Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created.

### #cpu

    def cpu() -> ::Float

**Returns**

- (::Float) --- Optional. CPU request and limit for a single Airflow DAG processor replica.

### #cpu=

    def cpu=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Optional. CPU request and limit for a single Airflow DAG processor replica.
**Returns**

- (::Float) --- Optional. CPU request and limit for a single Airflow DAG processor replica.

### #memory_gb

    def memory_gb() -> ::Float

**Returns**

- (::Float) --- Optional. Memory (GB) request and limit for a single Airflow DAG processor replica.

### #memory_gb=

    def memory_gb=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Optional. Memory (GB) request and limit for a single Airflow DAG processor replica.
**Returns**

- (::Float) --- Optional. Memory (GB) request and limit for a single Airflow DAG processor replica.

### #storage_gb

    def storage_gb() -> ::Float

**Returns**

- (::Float) --- Optional. Storage (GB) request and limit for a single Airflow DAG processor replica.

### #storage_gb=

    def storage_gb=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Optional. Storage (GB) request and limit for a single Airflow DAG processor replica.
**Returns**

- (::Float) --- Optional. Storage (GB) request and limit for a single Airflow DAG processor replica.