Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiskSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiskSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Represents the spec of disk options.
Instance Attribute Summary collapse
-
#boot_disk_size_gb ⇒ Fixnum
Size in GB of the boot disk (default is 100GB).
-
#boot_disk_type ⇒ String
Type of the boot disk.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DiskSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1DiskSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DiskSpec
Returns a new instance of GoogleCloudAiplatformV1beta1DiskSpec.
9205 9206 9207 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boot_disk_size_gb ⇒ Fixnum
Size in GB of the boot disk (default is 100GB).
Corresponds to the JSON property bootDiskSizeGb
9195 9196 9197 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9195 def boot_disk_size_gb @boot_disk_size_gb end |
#boot_disk_type ⇒ String
Type of the boot disk. For non-A3U machines, the default value is "pd-ssd",
for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-
ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard
Disk Drive) or "hyperdisk-balanced".
Corresponds to the JSON property bootDiskType
9203 9204 9205 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9203 def boot_disk_type @boot_disk_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9210 9211 9212 9213 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9210 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 |