Compute V1 Client - Class ScratchDisks (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ disk_gb int

Size of the scratch disk, defined in GB.

getDiskGb

Size of the scratch disk, defined in GB.

Generated from protobuf field optional int32 disk_gb = 60990141;

Returns
TypeDescription
int

hasDiskGb

clearDiskGb

setDiskGb

Size of the scratch disk, defined in GB.

Generated from protobuf field optional int32 disk_gb = 60990141;

Parameter
NameDescription
var int
Returns
TypeDescription
$this