class AllocationPolicy extends Collection (View source)

Properties

protected $collection_key
protected $instancesType
protected $instancesDataType
string[] $labels
protected $locationType
protected $locationDataType
protected $networkType
protected $networkDataType
protected $placementType
protected $placementDataType
protected $serviceAccountType
protected $serviceAccountDataType
string[] $tags

Methods

setInstances($instances)

No description

setLabels($labels)

No description

string[]
getLabels()

No description

setLocation(LocationPolicy $location)

No description

getLocation()

No description

setNetwork(NetworkPolicy $network)

No description

getNetwork()

No description

setPlacement(PlacementPolicy $placement)

No description

getPlacement()

No description

setServiceAccount(ServiceAccount $serviceAccount)

No description

setTags($tags)

No description

string[]
getTags()

No description

Details

setInstances($instances)

No description

Parameters

$instances

InstancePolicyOrTemplate[] getInstances()

No description

Return Value

InstancePolicyOrTemplate[]

setLabels($labels)

No description

Parameters

$labels

string[] getLabels()

No description

Return Value

string[]

setLocation(LocationPolicy $location)

No description

Parameters

LocationPolicy $location

LocationPolicy getLocation()

No description

Return Value

LocationPolicy

setNetwork(NetworkPolicy $network)

No description

Parameters

NetworkPolicy $network

NetworkPolicy getNetwork()

No description

Return Value

NetworkPolicy

setPlacement(PlacementPolicy $placement)

No description

Parameters

PlacementPolicy $placement

PlacementPolicy getPlacement()

No description

Return Value

PlacementPolicy

setServiceAccount(ServiceAccount $serviceAccount)

No description

Parameters

ServiceAccount $serviceAccount

ServiceAccount getServiceAccount()

No description

Return Value

ServiceAccount

setTags($tags)

No description

Parameters

$tags

string[] getTags()

No description

Return Value

string[]