View Source GoogleApi.Compute.V1.Model.AcceleratorConfig (google_api_compute v0.56.2)

A specification of the type and number of accelerator cards attached to the instance.

Attributes

  • acceleratorCount (type: integer(), default: nil) - The number of the guest accelerator cards exposed to this instance.
  • acceleratorType (type: String.t, default: nil) - Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.AcceleratorConfig{
  acceleratorCount: integer() | nil,
  acceleratorType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.