[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Orchestration Airflow V1 Client - Class DagProcessorResource (2.1.8)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.8 (latest)](/php/docs/reference/cloud-orchestration-airflow/latest/V1.WorkloadsConfig.DagProcessorResource)\n- [2.1.7](/php/docs/reference/cloud-orchestration-airflow/2.1.7/V1.WorkloadsConfig.DagProcessorResource)\n- [2.0.1](/php/docs/reference/cloud-orchestration-airflow/2.0.1/V1.WorkloadsConfig.DagProcessorResource)\n- [1.6.4](/php/docs/reference/cloud-orchestration-airflow/1.6.4/V1.WorkloadsConfig.DagProcessorResource)\n- [1.5.0](/php/docs/reference/cloud-orchestration-airflow/1.5.0/V1.WorkloadsConfig.DagProcessorResource)\n- [1.4.2](/php/docs/reference/cloud-orchestration-airflow/1.4.2/V1.WorkloadsConfig.DagProcessorResource)\n- [1.3.0](/php/docs/reference/cloud-orchestration-airflow/1.3.0/V1.WorkloadsConfig.DagProcessorResource)\n- [1.2.0](/php/docs/reference/cloud-orchestration-airflow/1.2.0/V1.WorkloadsConfig.DagProcessorResource)\n- [1.1.0](/php/docs/reference/cloud-orchestration-airflow/1.1.0/V1.WorkloadsConfig.DagProcessorResource)\n- [1.0.4](/php/docs/reference/cloud-orchestration-airflow/1.0.4/V1.WorkloadsConfig.DagProcessorResource) \nReference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class DagProcessorResource.\n\nConfiguration for resources used by Airflow DAG processors.\n\nThis field is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.* .*-build.* and newer.\n\nGenerated from protobuf message `google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.DagProcessorResource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Orchestration \\\\ Airflow \\\\ Service \\\\ V1 \\\\ WorkloadsConfig\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCpu\n\nOptional. CPU request and limit for a single Airflow DAG processor\nreplica.\n\n### setCpu\n\nOptional. CPU request and limit for a single Airflow DAG processor\nreplica.\n\n### getMemoryGb\n\nOptional. Memory (GB) request and limit for a single Airflow DAG\nprocessor replica.\n\n### setMemoryGb\n\nOptional. Memory (GB) request and limit for a single Airflow DAG\nprocessor replica.\n\n### getStorageGb\n\nOptional. Storage (GB) request and limit for a single Airflow DAG\nprocessor replica.\n\n### setStorageGb\n\nOptional. Storage (GB) request and limit for a single Airflow DAG\nprocessor replica.\n\n### getCount\n\nOptional. The number of DAG processors. If not provided or set to 0, a\nsingle DAG processor instance will be created.\n\n### setCount\n\nOptional. The number of DAG processors. If not provided or set to 0, a\nsingle DAG processor instance will be created."]]