Skip to main content

accelerator_types

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

Overview

Nameaccelerator_types
TypeResource
Idgoogle.tpu.accelerator_types

Fields

The following fields are returned by SELECT queries:

Successful response

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, acceleratorTypesIdGets AcceleratorType.
listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists accelerator types supported by this API.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
acceleratorTypesIdstring
locationsIdstring
projectsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets AcceleratorType.

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