accelerator_types
Creates, updates, deletes, gets or lists an accelerator_types
resource.
Overview
Name | accelerator_types |
Type | Resource |
Id | google.tpu.accelerator_types |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The resource name. |
acceleratorConfigs | array | The accelerator config. |
type | string | The accelerator type. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The resource name. |
acceleratorConfigs | array | The accelerator config. |
type | string | The accelerator type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , acceleratorTypesId | Gets AcceleratorType. | |
list | select | projectsId , locationsId | pageSize , pageToken , filter , orderBy | Lists 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.
Name | Datatype | Description |
---|---|---|
acceleratorTypesId | string | |
locationsId | string | |
projectsId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- get
- list
Gets AcceleratorType.
SELECT
name,
acceleratorConfigs,
type
FROM google.tpu.accelerator_types
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND acceleratorTypesId = '{{ acceleratorTypesId }}' -- required;
Lists accelerator types supported by this API.
SELECT
name,
acceleratorConfigs,
type
FROM google.tpu.accelerator_types
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';