PlacementPolicyResponse class

PlacementPolicy defines the placement policy used by the node pool.

Constructors

PlacementPolicyResponse({required Input<String> policyName, required Input<String> tpuTopology, required Input<String> type})
Creates a new PlacementPolicyResponse. policyName 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. tpuTopology Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies type The type of placement.
const
PlacementPolicyResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
policyName → Input<String>
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tpuTopology → Input<String>
Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
final
type → Input<String>
The type of placement.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited