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

Generated from protobuf field string boot_disk_type = 1;

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

Generated from protobuf field string boot_disk_type = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBootDiskSizeGb

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

Generated from protobuf field int32 boot_disk_size_gb = 2;

Returns
TypeDescription
int

setBootDiskSizeGb

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

Generated from protobuf field int32 boot_disk_size_gb = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this