Class AcceleratorConfig (1.19.1)

AcceleratorConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
accelerator_count int
The number of the guest accelerator cards exposed to this instance. This field is a member of oneof_ _accelerator_count.
accelerator_type str
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. This field is a member of oneof_ _accelerator_type.