class Google::Apis::MlV1::GoogleCloudMlV1DiskConfig

Represents the config of disk options.

Attributes

boot_disk_size_gb[RW]

Size in GB of the boot disk (default is 100GB). Corresponds to the JSON property `bootDiskSizeGb` @return [Fixnum]

boot_disk_type[RW]

Type of the boot disk (default is “pd-ssd”). Valid values: “pd-ssd” ( Persistent Disk Solid State Drive) or “pd-standard” (Persistent Disk Hard Disk Drive). Corresponds to the JSON property `bootDiskType` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ml_v1/classes.rb, line 983
def update!(**args)
  @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
  @boot_disk_type = args[:boot_disk_type] if args.key?(:boot_disk_type)
end