An accelerator configuration for a VM instance Definition of a
hardware accelerator. Note that there is no check ontypeandcore_countcombinations. TPUs are not supported. SeeGPUs on
Compute
Engine <https://cloud.google.com/compute/docs/gpus/#gpus-list>__ to
find a valid combination.
The definition of how to configure a VM instance outside of
Resources and Identity.
This message hasoneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
A set of Shielded Instance options. SeeImages using supported
Shielded VM
features <https://cloud.google.com/compute/docs/instances/modifying-shielded-vm>__.
Not all combinations are valid.
Definition of a custom Compute Engine virtual machine image
for starting a notebook instance with the environment installed
directly on the VM.
This message hasoneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
[[["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,["# Package types (1.13.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.13.3 (latest)](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types)\n- [1.13.1](/python/docs/reference/notebooks/1.13.1/google.cloud.notebooks_v2.types)\n- [1.12.0](/python/docs/reference/notebooks/1.12.0/google.cloud.notebooks_v2.types)\n- [1.11.1](/python/docs/reference/notebooks/1.11.1/google.cloud.notebooks_v2.types)\n- [1.10.5](/python/docs/reference/notebooks/1.10.5/google.cloud.notebooks_v2.types)\n- [1.9.0](/python/docs/reference/notebooks/1.9.0/google.cloud.notebooks_v2.types)\n- [1.8.0](/python/docs/reference/notebooks/1.8.0/google.cloud.notebooks_v2.types)\n- [1.7.1](/python/docs/reference/notebooks/1.7.1/google.cloud.notebooks_v2.types)\n- [1.6.1](/python/docs/reference/notebooks/1.6.1/google.cloud.notebooks_v2.types)\n- [1.5.1](/python/docs/reference/notebooks/1.5.1/google.cloud.notebooks_v2.types)\n- [1.4.4](/python/docs/reference/notebooks/1.4.4/google.cloud.notebooks_v2.types)\n- [1.3.2](/python/docs/reference/notebooks/1.3.2/google.cloud.notebooks_v2.types)\n- [1.2.1](/python/docs/reference/notebooks/1.2.1/google.cloud.notebooks_v2.types)\n- [1.1.1](/python/docs/reference/notebooks/1.1.1/google.cloud.notebooks_v2.types)\n- [1.0.0](/python/docs/reference/notebooks/1.0.0/google.cloud.notebooks_v2.types)\n- [0.4.3](/python/docs/reference/notebooks/0.4.3/google.cloud.notebooks_v2.types)\n- [0.3.2](/python/docs/reference/notebooks/0.3.2/google.cloud.notebooks_v2.types)\n- [0.2.0](/python/docs/reference/notebooks/0.2.0/google.cloud.notebooks_v2.types)\n- [0.1.2](/python/docs/reference/notebooks/0.1.2/google.cloud.notebooks_v2.types) \nAPI documentation for `notebooks_v2.types` package. \n\nClasses\n-------\n\n### [AcceleratorConfig](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.AcceleratorConfig)\n\nAn accelerator configuration for a VM instance Definition of a\nhardware accelerator. Note that there is no check on `type` and\n`core_count` combinations. TPUs are not supported. See `GPUs on\nCompute\nEngine \u003chttps://cloud.google.com/compute/docs/gpus/#gpus-list\u003e`__ to\nfind a valid combination.\n\n### [BootDisk](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.BootDisk)\n\nThe definition of a boot disk.\n\n### [CheckInstanceUpgradabilityRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.CheckInstanceUpgradabilityRequest)\n\nRequest for checking if a notebook instance is upgradeable.\n\n### [CheckInstanceUpgradabilityResponse](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.CheckInstanceUpgradabilityResponse)\n\nResponse for checking if a notebook instance is upgradeable.\n\n### [ContainerImage](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ContainerImage)\n\nDefinition of a container image for starting a notebook\ninstance with the environment installed in a container.\n\n### [CreateInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.CreateInstanceRequest)\n\nRequest for creating a notebook instance.\n\n### [DataDisk](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DataDisk)\n\nAn instance-attached disk resource.\n\n### [DeleteInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DeleteInstanceRequest)\n\nRequest for deleting a notebook instance.\n\n### [DiagnoseInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiagnoseInstanceRequest)\n\nRequest for creating a notebook instance diagnostic file.\n\n### [DiagnosticConfig](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiagnosticConfig)\n\nDefines flags that are used to run the diagnostic tool\n\n### [DiskEncryption](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiskEncryption)\n\nDefinition of the disk encryption options.\n\n### [DiskType](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiskType)\n\nPossible disk types.\n\n### [Event](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.Event)\n\nThe definition of an Event for a managed / semi-managed\nnotebook instance.\n\n### [GPUDriverConfig](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.GPUDriverConfig)\n\nA GPU driver configuration\n\n### [GceSetup](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.GceSetup)\n\nThe definition of how to configure a VM instance outside of\nResources and Identity.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [GetInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.GetInstanceRequest)\n\nRequest for getting a notebook instance.\n\n### [HealthState](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.HealthState)\n\nThe instance health state.\n\n### [Instance](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.Instance)\n\nThe definition of a notebook instance.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [ListInstancesRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ListInstancesRequest)\n\nRequest for listing notebook instances.\n\n### [ListInstancesResponse](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ListInstancesResponse)\n\nResponse for listing notebook instances.\n\n### [NetworkInterface](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.NetworkInterface)\n\nThe definition of a network interface resource attached to a\nVM.\n\n### [OperationMetadata](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.OperationMetadata)\n\nRepresents the metadata of the long-running operation.\n\n### [ResetInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ResetInstanceRequest)\n\nRequest for resetting a notebook instance\n\n### [RollbackInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.RollbackInstanceRequest)\n\nRequest for rollbacking a notebook instance\n\n### [ServiceAccount](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ServiceAccount)\n\nA service account that acts as an identity.\n\n### [ShieldedInstanceConfig](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ShieldedInstanceConfig)\n\nA set of Shielded Instance options. See `Images using supported\nShielded VM\nfeatures \u003chttps://cloud.google.com/compute/docs/instances/modifying-shielded-vm\u003e`__.\nNot all combinations are valid.\n\n### [StartInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.StartInstanceRequest)\n\nRequest for starting a notebook instance\n\n### [State](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.State)\n\nThe definition of the states of this instance.\n\n### [StopInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.StopInstanceRequest)\n\nRequest for stopping a notebook instance\n\n### [UpdateInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.UpdateInstanceRequest)\n\nRequest for updating a notebook instance.\n\n### [UpgradeHistoryEntry](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.UpgradeHistoryEntry)\n\nThe entry of VM image upgrade history.\n\n### [UpgradeInstanceRequest](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.UpgradeInstanceRequest)\n\nRequest for upgrading a notebook instance\n\n### [VmImage](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.VmImage)\n\nDefinition of a custom Compute Engine virtual machine image\nfor starting a notebook instance with the environment installed\ndirectly on the VM.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]