str
TPU placement topology for pod slice node pool.
https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
policy_name
str
If set, refers to the name of a custom
resource policy supplied by the user. The
resource policy must be in the same project and
region as the node pool. If not found,
InvalidArgument error is returned.
Classes
Type
Type(value)
Type defines the type of placement policy.
Values:
TYPE_UNSPECIFIED (0):
TYPE_UNSPECIFIED specifies no requirements on nodes
placement.
COMPACT (1):
COMPACT specifies node placement in the same
availability domain to ensure low communication
latency.
[[["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 2026-06-03 UTC."],[],[]]