# Package types (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.3 1.12.0 1.11.1 1.10.5 1.9.0 1.8.0 1.7.1 1.6.1 1.5.1 1.4.4 1.3.2 1.2.1 1.1.1 1.0.0 0.4.3 0.3.2 0.2.0 0.1.2 API documentation for `notebooks_v2.types` package.

## Classes

### [AcceleratorConfig](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.AcceleratorConfig)

An accelerator configuration for a VM instance Definition of a
hardware accelerator. Note that there is no check on `type` and
`core_count` combinations. TPUs are not supported. See `GPUs on
Compute
Engine <https://cloud.google.com/compute/docs/gpus/#gpus-list>`__ to
find a valid combination.

### [BootDisk](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.BootDisk)

The definition of a boot disk.

### [CheckInstanceUpgradabilityRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.CheckInstanceUpgradabilityRequest)

Request for checking if a notebook instance is upgradeable.

### [CheckInstanceUpgradabilityResponse](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.CheckInstanceUpgradabilityResponse)

Response for checking if a notebook instance is upgradeable.

### [ContainerImage](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ContainerImage)

Definition of a container image for starting a notebook
instance with the environment installed in a container.

### [CreateInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.CreateInstanceRequest)

Request for creating a notebook instance.

### [DataDisk](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DataDisk)

An instance-attached disk resource.

### [DeleteInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DeleteInstanceRequest)

Request for deleting a notebook instance.

### [DiagnoseInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiagnoseInstanceRequest)

Request for creating a notebook instance diagnostic file.

### [DiagnosticConfig](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiagnosticConfig)

Defines flags that are used to run the diagnostic tool

### [DiskEncryption](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiskEncryption)

Definition of the disk encryption options.

### [DiskType](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiskType)

Possible disk types.

### [Event](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.Event)

The definition of an Event for a managed / semi-managed
notebook instance.

### [GPUDriverConfig](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.GPUDriverConfig)

A GPU driver configuration

### [GceSetup](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.GceSetup)

The definition of how to configure a VM instance outside of
Resources and Identity.

This message has `oneof`_ 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.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [GetInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.GetInstanceRequest)

Request for getting a notebook instance.

### [HealthState](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.HealthState)

The instance health state.

### [Instance](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.Instance)

The definition of a notebook instance.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ListInstancesRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ListInstancesRequest)

Request for listing notebook instances.

### [ListInstancesResponse](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ListInstancesResponse)

Response for listing notebook instances.

### [NetworkInterface](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.NetworkInterface)

The definition of a network interface resource attached to a
VM.

### [OperationMetadata](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.OperationMetadata)

Represents the metadata of the long-running operation.

### [ResetInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ResetInstanceRequest)

Request for resetting a notebook instance

### [RollbackInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.RollbackInstanceRequest)

Request for rollbacking a notebook instance

### [ServiceAccount](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ServiceAccount)

A service account that acts as an identity.

### [ShieldedInstanceConfig](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.ShieldedInstanceConfig)

A set of Shielded Instance options. See `Images using supported
Shielded VM
features <https://cloud.google.com/compute/docs/instances/modifying-shielded-vm>`__.
Not all combinations are valid.

### [StartInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.StartInstanceRequest)

Request for starting a notebook instance

### [State](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.State)

The definition of the states of this instance.

### [StopInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.StopInstanceRequest)

Request for stopping a notebook instance

### [UpdateInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.UpdateInstanceRequest)

Request for updating a notebook instance.

### [UpgradeHistoryEntry](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.UpgradeHistoryEntry)

The entry of VM image upgrade history.

### [UpgradeInstanceRequest](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.UpgradeInstanceRequest)

Request for upgrading a notebook instance

### [VmImage](https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.VmImage)

Definition of a custom Compute Engine virtual machine image
for starting a notebook instance with the environment installed
directly on the VM.

This message has `oneof`_ 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.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>