Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::PersistentDiskSpec.
Represents the spec of [persistent disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disk_size_gb
def disk_size_gb() -> ::Integer
Returns
- (::Integer) — Size in GB of the disk (default is 100GB).
#disk_size_gb=
def disk_size_gb=(value) -> ::Integer
Parameter
- value (::Integer) — Size in GB of the disk (default is 100GB).
Returns
- (::Integer) — Size in GB of the disk (default is 100GB).
#disk_type
def disk_type() -> ::String
Returns
- (::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)
#disk_type=
def disk_type=(value) -> ::String
Parameter
- value (::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)
Returns
- (::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)