Class Disk (0.4.3)

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

Additional disk for managed instance groups.

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

Attributes

Name Description
image str
Optional. Source image for the disk. This field is a member of oneof_ source.
snapshot str
Optional. Source snapshot for the disk. This field is a member of oneof_ source.
existing_disk str
Optional. An existing persistent disk to attach read-only to all VMs in the managed instance group, in the format projects/{project}/zones/{zone}/disks/{disk}. This field is a member of oneof_ source.
type_ str
Optional. `Persistent disk type
size_gb int
Optional. Size of the disk in GB. This field is required when creating a new disk.