Class TargetShape (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
TargetShape(value)
Target distribution shape. You can specify the following values:ANY,
ANY_SINGLE_ZONE, or BALANCED.
Enums
Name
Description
UNDEFINED_TARGET_SHAPE
A value indicating that the enum field is not set.
ANY
Picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints.
ANY_SINGLE_ZONE
Creates all VM instances within a single zone. The zone is selected based on the present resource constraints.
BALANCED
Prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-02 UTC."],[],[]]