Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Represents the spec of disk options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1DiskSpec

Returns a new instance of GoogleCloudAiplatformV1DiskSpec.



4489
4490
4491
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4489

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#boot_disk_size_gbFixnum

Size in GB of the boot disk (default is 100GB). Corresponds to the JSON property bootDiskSizeGb

Returns:

  • (Fixnum)


4480
4481
4482
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4480

def boot_disk_size_gb
  @boot_disk_size_gb
end

#boot_disk_typeString

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

Returns:

  • (String)


4487
4488
4489
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4487

def boot_disk_type
  @boot_disk_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4494
4495
4496
4497
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4494

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