1.57.0 (latest) 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.48.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.1 1.19.2 1.18.0 1.17.0 1.16.1 1.15.0 1.14.1 1.13.0 1.12.1 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

```python
MachineType(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
Represents a Machine Type resource.

You can use specific machine types for your VM instances based
on performance and pricing requirements. For more information,
readMachine Types.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `accelerators` | `MutableSequence[google.cloud.compute_v1.types.Accelerators]` \[Output Only\] A list of accelerator configurations assigned to this machine type. |
| `architecture` | `str` \[Output Only\] The architecture of the machine type. Check the Architecture enum for the list of possible values. This field is a member of `oneof`_ `_architecture`. |
| `bundled_local_ssds` | `google.cloud.compute_v1.types.BundledLocalSsds` \[Output Only\] The configuration of bundled local SSD for the machine type. This field is a member of `oneof`_ `_bundled_local_ssds`. |
| `creation_timestamp` | `str` \[Output Only\] Creation timestamp inRFC3339 text format. This field is a member of `oneof`_ `_creation_timestamp`. |
| `deprecated` | `google.cloud.compute_v1.types.DeprecationStatus` \[Output Only\] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable. This field is a member of `oneof`_ `_deprecated`. |
| `description` | `str` \[Output Only\] An optional textual description of the resource. This field is a member of `oneof`_ `_description`. |
| `guest_cpus` | `int` \[Output Only\] The number of virtual CPUs that are available to the instance. This field is a member of `oneof`_ `_guest_cpus`. |
| `id` | `int` \[Output Only\] The unique identifier for the resource. This identifier is defined by the server. This field is a member of `oneof`_ `_id`. |
| `image_space_gb` | `int` \[Deprecated\] This property is deprecated and will never be populated with any relevant values. This field is a member of `oneof`_ `_image_space_gb`. |
| `is_shared_cpu` | `bool` \[Output Only\] Whether this machine type has a shared CPU. SeeShared-core machine types for more information. This field is a member of `oneof`_ `_is_shared_cpu`. |
| `kind` | `str` Output only. \[Output Only\] The type of the resource. Alwayscompute#machineType for machine types. This field is a member of `oneof`_ `_kind`. |
| `maximum_persistent_disks` | `int` \[Output Only\] Maximum persistent disks allowed. This field is a member of `oneof`_ `_maximum_persistent_disks`. |
| `maximum_persistent_disks_size_gb` | `int` \[Output Only\] Maximum total persistent disks size (GB) allowed. This field is a member of `oneof`_ `_maximum_persistent_disks_size_gb`. |
| `memory_mb` | `int` \[Output Only\] The amount of physical memory available to the instance, defined in MB. This field is a member of `oneof`_ `_memory_mb`. |
| `name` | `str` \[Output Only\] Name of the resource. This field is a member of `oneof`_ `_name`. |
| `self_link` | `str` \[Output Only\] Server-defined URL for the resource. This field is a member of `oneof`_ `_self_link`. |
| `zone` | `str` \[Output Only\] The name of the zone where the machine type resides, such as us-central1-a. This field is a member of `oneof`_ `_zone`. |

## Classes

### Architecture

```python
Architecture(value)
```
\[Output Only\] The architecture of the machine type.