- 1.39.0 (latest)
- 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
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, read Machine 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.
|
creation_timestamp |
str
[Output Only] Creation timestamp in RFC3339 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. See Shared-core machine types for more information. This field is a member of oneof_ _is_shared_cpu.
|
kind |
str
[Output Only] The type of the resource. Always compute#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.
|
scratch_disks |
MutableSequence[google.cloud.compute_v1.types.ScratchDisks]
[Output Only] A list of extended scratch disks assigned to the instance. |
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
Architecture(value)[Output Only] The architecture of the machine type.