class WorkerPool extends Collection (View source)

Properties

protected $collection_key
protected $autoscalingSettingsType
protected $autoscalingSettingsDataType
protected $dataDisksType
protected $dataDisksDataType
string $defaultPackageSet
int $diskSizeGb
string $diskSourceImage
string $diskType
string $ipConfiguration
string $kind
string $machineType
string[] $metadata
string $network
int $numThreadsPerWorker
int $numWorkers
string $onHostMaintenance
protected $packagesType
protected $packagesDataType
array[] $poolArgs
protected $sdkHarnessContainerImagesType
protected $sdkHarnessContainerImagesDataType
string $subnetwork
protected $taskrunnerSettingsType
protected $taskrunnerSettingsDataType
string $teardownPolicy
string $workerHarnessContainerImage
string $zone

Methods

setAutoscalingSettings(AutoscalingSettings $autoscalingSettings)

No description

setDataDisks($dataDisks)

No description

Disk[]
getDataDisks()

No description

setDefaultPackageSet($defaultPackageSet)

No description

string
getDefaultPackageSet()

No description

setDiskSizeGb($diskSizeGb)

No description

int
getDiskSizeGb()

No description

setDiskSourceImage($diskSourceImage)

No description

string
getDiskSourceImage()

No description

setDiskType($diskType)

No description

string
getDiskType()

No description

setIpConfiguration($ipConfiguration)

No description

string
getIpConfiguration()

No description

setKind($kind)

No description

string
getKind()

No description

setMachineType($machineType)

No description

string
getMachineType()

No description

setMetadata($metadata)

No description

string[]
getMetadata()

No description

setNetwork($network)

No description

string
getNetwork()

No description

setNumThreadsPerWorker($numThreadsPerWorker)

No description

int
getNumThreadsPerWorker()

No description

setNumWorkers($numWorkers)

No description

int
getNumWorkers()

No description

setOnHostMaintenance($onHostMaintenance)

No description

string
getOnHostMaintenance()

No description

setPackages($packages)

No description

getPackages()

No description

setPoolArgs($poolArgs)

No description

array[]
getPoolArgs()

No description

setSdkHarnessContainerImages($sdkHarnessContainerImages)

No description

setSubnetwork($subnetwork)

No description

string
getSubnetwork()

No description

setTaskrunnerSettings(TaskRunnerSettings $taskrunnerSettings)

No description

setTeardownPolicy($teardownPolicy)

No description

string
getTeardownPolicy()

No description

setWorkerHarnessContainerImage($workerHarnessContainerImage)

No description

string
setZone($zone)

No description

string
getZone()

No description

Details

setAutoscalingSettings(AutoscalingSettings $autoscalingSettings)

No description

Parameters

AutoscalingSettings $autoscalingSettings

AutoscalingSettings getAutoscalingSettings()

No description

Return Value

AutoscalingSettings

setDataDisks($dataDisks)

No description

Parameters

$dataDisks

Disk[] getDataDisks()

No description

Return Value

Disk[]

setDefaultPackageSet($defaultPackageSet)

No description

Parameters

$defaultPackageSet

string getDefaultPackageSet()

No description

Return Value

string

setDiskSizeGb($diskSizeGb)

No description

Parameters

$diskSizeGb

int getDiskSizeGb()

No description

Return Value

int

setDiskSourceImage($diskSourceImage)

No description

Parameters

$diskSourceImage

string getDiskSourceImage()

No description

Return Value

string

setDiskType($diskType)

No description

Parameters

$diskType

string getDiskType()

No description

Return Value

string

setIpConfiguration($ipConfiguration)

No description

Parameters

$ipConfiguration

string getIpConfiguration()

No description

Return Value

string

setKind($kind)

No description

Parameters

$kind

string getKind()

No description

Return Value

string

setMachineType($machineType)

No description

Parameters

$machineType

string getMachineType()

No description

Return Value

string

setMetadata($metadata)

No description

Parameters

$metadata

string[] getMetadata()

No description

Return Value

string[]

setNetwork($network)

No description

Parameters

$network

string getNetwork()

No description

Return Value

string

setNumThreadsPerWorker($numThreadsPerWorker)

No description

Parameters

$numThreadsPerWorker

int getNumThreadsPerWorker()

No description

Return Value

int

setNumWorkers($numWorkers)

No description

Parameters

$numWorkers

int getNumWorkers()

No description

Return Value

int

setOnHostMaintenance($onHostMaintenance)

No description

Parameters

$onHostMaintenance

string getOnHostMaintenance()

No description

Return Value

string

setPackages($packages)

No description

Parameters

$packages

Package[] getPackages()

No description

Return Value

Package[]

setPoolArgs($poolArgs)

No description

Parameters

$poolArgs

array[] getPoolArgs()

No description

Return Value

array[]

setSdkHarnessContainerImages($sdkHarnessContainerImages)

No description

Parameters

$sdkHarnessContainerImages

SdkHarnessContainerImage[] getSdkHarnessContainerImages()

No description

Return Value

SdkHarnessContainerImage[]

setSubnetwork($subnetwork)

No description

Parameters

$subnetwork

string getSubnetwork()

No description

Return Value

string

setTaskrunnerSettings(TaskRunnerSettings $taskrunnerSettings)

No description

Parameters

TaskRunnerSettings $taskrunnerSettings

TaskRunnerSettings getTaskrunnerSettings()

No description

Return Value

TaskRunnerSettings

setTeardownPolicy($teardownPolicy)

No description

Parameters

$teardownPolicy

string getTeardownPolicy()

No description

Return Value

string

setWorkerHarnessContainerImage($workerHarnessContainerImage)

No description

Parameters

$workerHarnessContainerImage

string getWorkerHarnessContainerImage()

No description

Return Value

string

setZone($zone)

No description

Parameters

$zone

string getZone()

No description

Return Value

string