class Google::Apis::GenomicsV1::PersistentDisk

Configuration for a persistent disk to be attached to the VM. See https:// cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.

Attributes

size_gb[RW]

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. Corresponds to the JSON property `sizeGb` @return [Fixnum]

source_image[RW]

An image to put on the disk before attaching it to the VM. Corresponds to the JSON property `sourceImage` @return [String]

type[RW]

The Compute Engine disk type. If unspecified, `pd-standard` is used. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/genomics_v1/classes.rb, line 624
def update!(**args)
  @size_gb = args[:size_gb] if args.key?(:size_gb)
  @source_image = args[:source_image] if args.key?(:source_image)
  @type = args[:type] if args.key?(:type)
end