Compute V1 Client - Class FutureResourcesSpecLocalSsdPartition (2.4.0)

Reference documentation and code samples for the Compute V1 Client class FutureResourcesSpecLocalSsdPartition.

Generated from protobuf message google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ disk_interface string

Disk interface. Defaults to SCSI. Check the DiskInterface enum for the list of possible values.

↳ disk_size_gb int|string

The size of the disk in GB.

getDiskInterface

Disk interface. Defaults to SCSI.

Check the DiskInterface enum for the list of possible values.

Returns
Type Description
string

hasDiskInterface

clearDiskInterface

setDiskInterface

Disk interface. Defaults to SCSI.

Check the DiskInterface enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this

getDiskSizeGb

The size of the disk in GB.

Returns
Type Description
int|string

hasDiskSizeGb

clearDiskSizeGb

setDiskSizeGb

The size of the disk in GB.

Parameter
Name Description
var int|string
Returns
Type Description
$this