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