class Google::Apis::DataprocV1::DiskConfig

Specifies the config of disk options for a group of VM instances.

Attributes

boot_disk_size_gb[RW]
Optional

Size in GB of the boot disk (default is 500GB).

Corresponds to the JSON property `bootDiskSizeGb` @return [Fixnum]

num_local_ssds[RW]
Optional

Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are

not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries. Corresponds to the JSON property `numLocalSsds` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dataproc_v1/classes.rb, line 316
def update!(**args)
  @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
  @num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds)
end