google_api_compute v0.11.0 GoogleApi.Compute.V1.Model.ResourceCommitment View Source

Commitment for a particular resource (a Commitment is composed of one or more of these).

Attributes

  • acceleratorType (type: String.t, default: nil) - Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
  • amount (type: String.t, default: nil) - The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
  • type (type: String.t, default: nil) - Type of resource for which this commitment applies. Possible values are VCPU and MEMORY

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Compute.V1.Model.ResourceCommitment{
  acceleratorType: String.t(),
  amount: String.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.