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

Contains information about amount of some resource in the cluster. For memory, value should be in GB.

Attributes

  • maximum (type: String.t, default: nil) - Maximum amount of the resource in the cluster.
  • minimum (type: String.t, default: nil) - Minimum amount of the resource in the cluster.
  • resourceType (type: String.t, default: nil) - Resource name "cpu", "memory" or gpu-specific string.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Container.V1.Model.ResourceLimit{
  maximum: String.t() | nil,
  minimum: String.t() | nil,
  resourceType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.