Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DiskSpec.
Represents the spec of disk options.
Generated from protobuf message google.cloud.aiplatform.v1.DiskSpec
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ 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". |
↳ boot_disk_size_gb |
int
Size in GB of the boot disk (default is 100GB). |
getBootDiskType
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".
| Returns | |
|---|---|
| Type | Description |
string |
|
setBootDiskType
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".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBootDiskSizeGb
Size in GB of the boot disk (default is 100GB).
| Returns | |
|---|---|
| Type | Description |
int |
|
setBootDiskSizeGb
Size in GB of the boot disk (default is 100GB).
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|