Interface VmAttachmentDetailsOrBuilder (1.74.0)

public interface VmAttachmentDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeviceName()

public abstract String getDeviceName()

Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.

string device_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The deviceName.

getDeviceNameBytes()

public abstract ByteString getDeviceNameBytes()

Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.

string device_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for deviceName.