Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource.
Configuration for resources used by Airflow schedulers.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#count
defcount()->::Integer
Returns
(::Integer) — Optional. The number of schedulers.
#count=
defcount=(value)->::Integer
Parameter
value (::Integer) — Optional. The number of schedulers.
Returns
(::Integer) — Optional. The number of schedulers.
#cpu
defcpu()->::Float
Returns
(::Float) — Optional. CPU request and limit for a single Airflow scheduler replica.
#cpu=
defcpu=(value)->::Float
Parameter
value (::Float) — Optional. CPU request and limit for a single Airflow scheduler replica.
Returns
(::Float) — Optional. CPU request and limit for a single Airflow scheduler replica.
#memory_gb
defmemory_gb()->::Float
Returns
(::Float) — Optional. Memory (GB) request and limit for a single Airflow scheduler
replica.
#memory_gb=
defmemory_gb=(value)->::Float
Parameter
value (::Float) — Optional. Memory (GB) request and limit for a single Airflow scheduler
replica.
Returns
(::Float) — Optional. Memory (GB) request and limit for a single Airflow scheduler
replica.
#storage_gb
defstorage_gb()->::Float
Returns
(::Float) — Optional. Storage (GB) request and limit for a single Airflow scheduler
replica.
#storage_gb=
defstorage_gb=(value)->::Float
Parameter
value (::Float) — Optional. Storage (GB) request and limit for a single Airflow scheduler
replica.
Returns
(::Float) — Optional. Storage (GB) request and limit for a single Airflow scheduler
replica.
[[["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-09-04 UTC."],[],[],null,["# Cloud Composer V1 API - Class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/latest/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [1.3.4](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/1.3.4/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [1.2.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/1.2.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [1.1.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/1.1.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [1.0.1](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/1.0.1/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.11.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.11.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.10.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.10.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.9.2](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.9.2/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.8.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.8.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.7.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.7.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.6.1](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.6.1/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.5.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.5.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.4.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.4.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.3.1](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.3.1/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.2.0](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.2.0/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource)\n- [0.1.2](/ruby/docs/reference/google-cloud-orchestration-airflow-service-v1/0.1.2/Google-Cloud-Orchestration-Airflow-Service-V1-WorkloadsConfig-SchedulerResource) \nReference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource.\n\nConfiguration for resources used by Airflow schedulers. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #count\n\n def count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. The number of schedulers.\n\n### #count=\n\n def count=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. The number of schedulers. \n**Returns**\n\n- (::Integer) --- Optional. The number of schedulers.\n\n### #cpu\n\n def cpu() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Optional. CPU request and limit for a single Airflow scheduler replica.\n\n### #cpu=\n\n def cpu=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Optional. CPU request and limit for a single Airflow scheduler replica. \n**Returns**\n\n- (::Float) --- Optional. CPU request and limit for a single Airflow scheduler replica.\n\n### #memory_gb\n\n def memory_gb() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Optional. Memory (GB) request and limit for a single Airflow scheduler replica.\n\n### #memory_gb=\n\n def memory_gb=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Optional. Memory (GB) request and limit for a single Airflow scheduler replica. \n**Returns**\n\n- (::Float) --- Optional. Memory (GB) request and limit for a single Airflow scheduler replica.\n\n### #storage_gb\n\n def storage_gb() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Optional. Storage (GB) request and limit for a single Airflow scheduler replica.\n\n### #storage_gb=\n\n def storage_gb=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Optional. Storage (GB) request and limit for a single Airflow scheduler replica. \n**Returns**\n\n- (::Float) --- Optional. Storage (GB) request and limit for a single Airflow scheduler replica."]]