Class PersistentDiskSpec (1.48.0)

PersistentDiskSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the spec of [persistent disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options.

Attributes

NameDescription
disk_type str
Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent Disk) "pd-extreme" (Extreme Persistent Disk)
disk_size_gb int
Size in GB of the disk (default is 100GB).

Methods

PersistentDiskSpec

PersistentDiskSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the spec of [persistent disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options.