Skip to main content

accelerator_types

Creates, updates, deletes, gets or lists a accelerator_types resource.

Overview

Nameaccelerator_types
TypeResource
Idgoogle.tpu.accelerator_types

Fields

NameDatatypeDescription
namestringThe resource name.
acceleratorConfigsarrayThe accelerator config.
typestringThe accelerator type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTacceleratorTypesId, locationsId, projectsIdGets AcceleratorType.
listSELECTlocationsId, projectsIdLists accelerator types supported by this API.

SELECT examples

Lists accelerator types supported by this API.

SELECT
name,
acceleratorConfigs,
type
FROM google.tpu.accelerator_types
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';