MachineType class

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. (== resource_for v1.machineTypes ==) (== resource_for beta.machineTypes ==)


MachineType.fromJson(Map _json)


creationTimestamp ↔ String
Output Only Creation timestamp in RFC3339 text format.
read / write
deprecated DeprecationStatus
Output Only The deprecation status associated with this machine type.
read / write
description ↔ String
Output Only An optional textual description of the resource.
read / write
guestCpus ↔ int
Output Only The number of virtual CPUs that are available to the instance.
read / write
id ↔ String
Output Only The unique identifier for the resource. This identifier is defined by the server.
read / write
imageSpaceGb ↔ int
Deprecated This property is deprecated and will never be populated with any relevant values.
read / write
isSharedCpu ↔ bool
Output Only Whether this machine type has a shared CPU. See Shared-core machine types for more information.
read / write
kind ↔ String
Output Only The type of the resource. Always compute#machineType for machine types.
read / write
maximumPersistentDisks ↔ int
Output Only Maximum persistent disks allowed.
read / write
maximumPersistentDisksSizeGb ↔ String
Output Only Maximum total persistent disks size (GB) allowed.
read / write
memoryMb ↔ int
Output Only The amount of physical memory available to the instance, defined in MB.
read / write
name ↔ String
Output Only Name of the resource.
read / write
scratchDisks ↔ List<MachineTypeScratchDisks>
Output Only A list of extended scratch disks assigned to the instance.
read / write
Output Only Server-defined URL for the resource.
read / write
zone ↔ String
Output Only The name of the zone where the machine type resides, such as us-central1-a.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.