Compute V1 Client - Class ScratchDisks (1.19.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

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

Returns
Type
Description
int

hasDiskGb

clearDiskGb

setDiskGb

Size of the scratch disk, defined in GB.

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