Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::ResourcePolicyWorkloadPolicy::MaxTopologyDistance.
Specifies the maximum distance between instances.
Constants
UNDEFINED_MAX_TOPOLOGY_DISTANCE
value: 0 A value indicating that the enum field is not set.
BLOCK
value: 63_294_573 VMs must be provisioned in the same block.
CLUSTER
value: 516_333_018 VMs must be provisioned in the same cluster.
SUBBLOCK
value: 316_202_573 VMs must be provisioned in the same subblock.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,[]]