class Google::Apis::LifesciencesV2beta::ExistingDisk

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

Attributes

disk[RW]

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//disks/`, where “ 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. Corresponds to the JSON property `disk` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/lifesciences_v2beta/classes.rb, line 572
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/lifesciences_v2beta/classes.rb, line 577
def update!(**args)
  @disk = args[:disk] if args.key?(:disk)
end