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

Generated from protobuf field string boot_disk_type = 1;

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

Generated from protobuf field string boot_disk_type = 1;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getBootDiskSizeGb

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

Generated from protobuf field int32 boot_disk_size_gb = 2;

Returns
Type
Description
int

setBootDiskSizeGb

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

Generated from protobuf field int32 boot_disk_size_gb = 2;

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: