Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::ExecutionTemplate::SchedulerAcceleratorConfig.
Definition of a hardware accelerator. Note that not all combinations
of type and core_count are valid. Check GPUs on
Compute Engine to find a valid
combination. TPUs are not supported.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#core_count
defcore_count()->::Integer
Returns
(::Integer) — Count of cores of this accelerator.
#core_count=
defcore_count=(value)->::Integer
Parameter
value (::Integer) — Count of cores of this accelerator.
[[["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,["# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::ExecutionTemplate::SchedulerAcceleratorConfig (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-notebooks-v1/1.0.1/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.11.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.11.0/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.10.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.10.0/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.9.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.9.1/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.8.2](/ruby/docs/reference/google-cloud-notebooks-v1/0.8.2/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.7.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.7.0/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.6.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.6.1/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.5.0/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.4.2](/ruby/docs/reference/google-cloud-notebooks-v1/0.4.2/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.3.0/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.2.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.2.1/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig)\n- [0.1.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.1.0/Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorConfig) \nReference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::ExecutionTemplate::SchedulerAcceleratorConfig.\n\nDefinition of a hardware accelerator. Note that not all combinations\nof `type` and `core_count` are valid. Check [GPUs on\nCompute Engine](https://cloud.google.com/compute/docs/gpus) to find a valid\ncombination. TPUs are not supported. \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### #core_count\n\n def core_count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Count of cores of this accelerator.\n\n### #core_count=\n\n def core_count=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Count of cores of this accelerator. \n**Returns**\n\n- (::Integer) --- Count of cores of this accelerator.\n\n### #type\n\n def type() -\u003e ::Google::Cloud::Notebooks::V1::ExecutionTemplate::SchedulerAcceleratorType\n\n**Returns**\n\n- ([::Google::Cloud::Notebooks::V1::ExecutionTemplate::SchedulerAcceleratorType](./Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorType)) --- Type of this accelerator.\n\n### #type=\n\n def type=(value) -\u003e ::Google::Cloud::Notebooks::V1::ExecutionTemplate::SchedulerAcceleratorType\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Notebooks::V1::ExecutionTemplate::SchedulerAcceleratorType](./Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorType)) --- Type of this accelerator. \n**Returns**\n\n- ([::Google::Cloud::Notebooks::V1::ExecutionTemplate::SchedulerAcceleratorType](./Google-Cloud-Notebooks-V1-ExecutionTemplate-SchedulerAcceleratorType)) --- Type of this accelerator."]]