Google Cloud Ai Platform V1 Client - Class DiskSpec (0.15.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ boot_disk_type string

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).

↳ boot_disk_size_gb int

Size in GB of the boot disk (default is 100GB).

getBootDiskType

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).

Returns
TypeDescription
string

setBootDiskType

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).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBootDiskSizeGb

Size in GB of the boot disk (default is 100GB).

Returns
TypeDescription
int

setBootDiskSizeGb

Size in GB of the boot disk (default is 100GB).

Parameter
NameDescription
var int
Returns
TypeDescription
$this