Google Cloud Ai Platform V1 Client - Class DiskSpec (1.7.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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
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