Reference documentation and code samples for the Google Cloud Notebooks V1 Client class AcceleratorConfig.
Definition of a hardware accelerator. Note that not all combinations
oftypeandcore_countare valid. CheckGPUs on Compute
Engineto find a
valid combination. TPUs are not supported.
Generated from protobuf messagegoogle.cloud.notebooks.v1.Instance.AcceleratorConfig
[[["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,["# Google Cloud Notebooks V1 Client - Class AcceleratorConfig (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-notebooks/latest/V1.Instance.AcceleratorConfig)\n- [1.0.4](/php/docs/reference/cloud-notebooks/1.0.4/V1.Instance.AcceleratorConfig)\n- [0.7.5](/php/docs/reference/cloud-notebooks/0.7.5/V1.Instance.AcceleratorConfig)\n- [0.6.2](/php/docs/reference/cloud-notebooks/0.6.2/V1.Instance.AcceleratorConfig)\n- [0.5.0](/php/docs/reference/cloud-notebooks/0.5.0/V1.Instance.AcceleratorConfig)\n- [0.4.1](/php/docs/reference/cloud-notebooks/0.4.1/V1.Instance.AcceleratorConfig)\n- [0.3.6](/php/docs/reference/cloud-notebooks/0.3.6/V1.Instance.AcceleratorConfig) \nReference documentation and code samples for the Google Cloud Notebooks V1 Client class AcceleratorConfig.\n\nDefinition of a hardware accelerator. Note that not all combinations\nof `type` and `core_count` are valid. Check [GPUs on Compute\nEngine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a\nvalid combination. TPUs are not supported.\n\nGenerated from protobuf message `google.cloud.notebooks.v1.Instance.AcceleratorConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Notebooks \\\\ V1 \\\\ Instance\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nType of this accelerator.\n\n### setType\n\nType of this accelerator.\n\n### getCoreCount\n\nCount of cores of this accelerator.\n\n### setCoreCount\n\nCount of cores of this accelerator."]]