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

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


  • 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


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

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.