Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentDiskSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentDiskSpec
- 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 persistent disk options.
Instance Attribute Summary collapse
-
#disk_size_gb ⇒ Fixnum
Size in GB of the disk (default is 100GB).
-
#disk_type ⇒ String
Type of the disk (default is "pd-standard").
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PersistentDiskSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1PersistentDiskSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PersistentDiskSpec
Returns a new instance of GoogleCloudAiplatformV1beta1PersistentDiskSpec.
12795 12796 12797 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12795 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_size_gb ⇒ Fixnum
Size in GB of the disk (default is 100GB).
Corresponds to the JSON property diskSizeGb
12785 12786 12787 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12785 def disk_size_gb @disk_size_gb end |
#disk_type ⇒ String
Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (
Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk Hard Disk
Drive) "pd-balanced" (Balanced Persistent Disk) "pd-extreme" (Extreme
Persistent Disk)
Corresponds to the JSON property diskType
12793 12794 12795 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12793 def disk_type @disk_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12800 12801 12802 12803 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12800 def update!(**args) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @disk_type = args[:disk_type] if args.key?(:disk_type) end |