0.18.0 (latest) 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Cloud Life Sciences V2beta API class Google::Cloud::LifeSciences::V2beta::ExistingDisk.

Configuration for an existing disk to be attached to the VM.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #disk

    def disk() -> ::String

**Returns**

- (::String) --- If `disk` contains slashes, the Cloud Life Sciences API assumes that it is a complete URL for the disk. If `disk` does not contain slashes, the Cloud Life Sciences API assumes that the disk is a zonal disk and a URL will be generated of the form `zones/<zone>/disks/<disk>`, where `<zone>` is the zone in which the instance is allocated. The disk must be ext4 formatted.


  If all `Mount` references to this disk have the `read_only` flag set to
  true, the disk will be attached in `read-only` mode and can be shared with
  other instances. Otherwise, the disk will be available for writing but
  cannot be shared.

### #disk=

    def disk=(value) -> ::String

**Parameter**

- **value** (::String) --- If `disk` contains slashes, the Cloud Life Sciences API assumes that it is a complete URL for the disk. If `disk` does not contain slashes, the Cloud Life Sciences API assumes that the disk is a zonal disk and a URL will be generated of the form `zones/<zone>/disks/<disk>`, where `<zone>` is the zone in which the instance is allocated. The disk must be ext4 formatted.


  If all `Mount` references to this disk have the `read_only` flag set to
  true, the disk will be attached in `read-only` mode and can be shared with
  other instances. Otherwise, the disk will be available for writing but
  cannot be shared.
**Returns**

- (::String) --- If `disk` contains slashes, the Cloud Life Sciences API assumes that it is a complete URL for the disk. If `disk` does not contain slashes, the Cloud Life Sciences API assumes that the disk is a zonal disk and a URL will be generated of the form `zones/<zone>/disks/<disk>`, where `<zone>` is the zone in which the instance is allocated. The disk must be ext4 formatted.


  If all `Mount` references to this disk have the `read_only` flag set to
  true, the disk will be attached in `read-only` mode and can be shared with
  other instances. Otherwise, the disk will be available for writing but
  cannot be shared.