View Source GoogleApi.Container.V1.Model.PlacementPolicy (google_api_container v0.45.0)

PlacementPolicy defines the placement policy used by the node pool.

Attributes

  • policyName (type: String.t, default: nil) - 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 (type: String.t, default: nil) - Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
  • type (type: String.t, default: nil) - The type of placement.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Container.V1.Model.PlacementPolicy{
  policyName: String.t() | nil,
  tpuTopology: String.t() | nil,
  type: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.