class VirtualMachine extends Collection (View source)

Properties

protected $collection_key
protected $acceleratorsType
protected $acceleratorsDataType
int $bootDiskSizeGb
string $bootImage
string $cpuPlatform
protected $disksType
protected $disksDataType
string[] $dockerCacheImages
bool $enableStackdriverMonitoring
string[] $labels
string $machineType
protected $networkType
protected $networkDataType
string $nvidiaDriverVersion
bool $preemptible
string $reservation
protected $serviceAccountType
protected $serviceAccountDataType
protected $volumesType
protected $volumesDataType

Methods

setAccelerators($accelerators)

No description

getAccelerators()

No description

setBootDiskSizeGb($bootDiskSizeGb)

No description

int
getBootDiskSizeGb()

No description

setBootImage($bootImage)

No description

string
getBootImage()

No description

setCpuPlatform($cpuPlatform)

No description

string
getCpuPlatform()

No description

setDisks($disks)

No description

Disk[]
getDisks()

No description

setDockerCacheImages($dockerCacheImages)

No description

string[]
getDockerCacheImages()

No description

setEnableStackdriverMonitoring($enableStackdriverMonitoring)

No description

bool
setLabels($labels)

No description

string[]
getLabels()

No description

setMachineType($machineType)

No description

string
getMachineType()

No description

setNetwork(Network $network)

No description

getNetwork()

No description

setNvidiaDriverVersion($nvidiaDriverVersion)

No description

string
getNvidiaDriverVersion()

No description

setPreemptible($preemptible)

No description

bool
getPreemptible()

No description

setReservation($reservation)

No description

string
getReservation()

No description

setServiceAccount(ServiceAccount $serviceAccount)

No description

setVolumes($volumes)

No description

Volume[]
getVolumes()

No description

Details

setAccelerators($accelerators)

No description

Parameters

$accelerators

Accelerator[] getAccelerators()

No description

Return Value

Accelerator[]

setBootDiskSizeGb($bootDiskSizeGb)

No description

Parameters

$bootDiskSizeGb

int getBootDiskSizeGb()

No description

Return Value

int

setBootImage($bootImage)

No description

Parameters

$bootImage

string getBootImage()

No description

Return Value

string

setCpuPlatform($cpuPlatform)

No description

Parameters

$cpuPlatform

string getCpuPlatform()

No description

Return Value

string

setDisks($disks)

No description

Parameters

$disks

Disk[] getDisks()

No description

Return Value

Disk[]

setDockerCacheImages($dockerCacheImages)

No description

Parameters

$dockerCacheImages

string[] getDockerCacheImages()

No description

Return Value

string[]

setEnableStackdriverMonitoring($enableStackdriverMonitoring)

No description

Parameters

$enableStackdriverMonitoring

bool getEnableStackdriverMonitoring()

No description

Return Value

bool

setLabels($labels)

No description

Parameters

$labels

string[] getLabels()

No description

Return Value

string[]

setMachineType($machineType)

No description

Parameters

$machineType

string getMachineType()

No description

Return Value

string

setNetwork(Network $network)

No description

Parameters

Network $network

Network getNetwork()

No description

Return Value

Network

setNvidiaDriverVersion($nvidiaDriverVersion)

No description

Parameters

$nvidiaDriverVersion

string getNvidiaDriverVersion()

No description

Return Value

string

setPreemptible($preemptible)

No description

Parameters

$preemptible

bool getPreemptible()

No description

Return Value

bool

setReservation($reservation)

No description

Parameters

$reservation

string getReservation()

No description

Return Value

string

setServiceAccount(ServiceAccount $serviceAccount)

No description

Parameters

ServiceAccount $serviceAccount

ServiceAccount getServiceAccount()

No description

Return Value

ServiceAccount

setVolumes($volumes)

No description

Parameters

$volumes

Volume[] getVolumes()

No description

Return Value

Volume[]