deviceName property

  1. @TagNumber(3)
String get deviceName

Optional. Output only. 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. This name can be used to reference the device for mounting, resizing, and so on, from 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.

Implementation

@$pb.TagNumber(3)
$core.String get deviceName => $_getSZ(2);
  1. @TagNumber(3)
set deviceName (String v)

Implementation

@$pb.TagNumber(3)
set deviceName($core.String v) { $_setString(2, v); }