You can create a disk with a sourceImage, a sourceSnapshot, or create an empty 500 GB data disk by omitting all properties.
gce_make_disk(name, sourceImage = NULL, sizeGb = NULL,
description = NULL, diskEncryptionKey = NULL, licenses = NULL,
sourceSnapshot = NULL, sourceImageEncryptionKey = NULL,
sourceSnapshotEncryptionKey = NULL, type = NULL,
project = gce_get_global_project(), zone = gce_get_global_zone())
Name of the resource
The source image used to create this disk
Size of the persistent disk, specified in GB
An optional description of this resource
Encrypts the disk using a customer-supplied encryption key
Any applicable publicly visible licenses
The source snapshot used to create this disk
The customer-supplied encryption key of the source image
The customer-supplied encryption key of the source snapshot
URL of the disk type resource describing which disk type to use to create the disk
Project ID for this request
The name of the zone for this request
a zone operation
You can also create a disk that is larger than the default size by specifying the sizeGb property.
Authentication scopes used by this function are:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/compute