Interface PersistentDiskOrBuilder (0.57.0)

public interface PersistentDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSizeGb()

public abstract int getSizeGb()

The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance.

If the disk type is specified as local-ssd, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.

int32 size_gb = 1;

Returns
Type Description
int

The sizeGb.

getSourceImage()

public abstract String getSourceImage()

An image to put on the disk before attaching it to the VM.

string source_image = 3;

Returns
Type Description
String

The sourceImage.

getSourceImageBytes()

public abstract ByteString getSourceImageBytes()

An image to put on the disk before attaching it to the VM.

string source_image = 3;

Returns
Type Description
ByteString

The bytes for sourceImage.

getType()

public abstract String getType()

The Compute Engine disk type. If unspecified, pd-standard is used.

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The Compute Engine disk type. If unspecified, pd-standard is used.

string type = 2;

Returns
Type Description
ByteString

The bytes for type.