Lists NotebookRuntimeTemplates in a Location.
Endpoint
gethttps://{endpoint}/v1beta1/{parent}/notebookRuntimeTemplates
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
parent
string
Required. The resource name of the Location from which to list the NotebookRuntimeTemplates. Format: projects/{project}/locations/{location}
Query parameters
filter
string
Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported.
notebookRuntimeTemplate
supports = and !=.notebookRuntimeTemplate
represents the NotebookRuntimeTemplate id, i.e. the last segment of the NotebookRuntimeTemplate'sresource name
.displayName
supports = and !=labels
supports general map functions that is:labels.key=value
- key:value equality- `labels.key:* or labels:key - key existence
- A key including a space must be quoted.
labels."a key"
.
notebookRuntimeType
supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK].machineType
supports = and !=.acceleratorType
supports = and !=.
Some examples:
notebookRuntimeTemplate=notebookRuntimeTemplate123
displayName="myDisplayName"
labels.myKey="myValue"
notebookRuntimeType=USER_DEFINED
machineType=e2-standard-4
acceleratorType=NVIDIA_TESLA_T4
pageSize
integer
Optional. The standard list page size.
pageToken
string
Optional. The standard list page token. Typically obtained via ListNotebookRuntimeTemplatesResponse.next_page_token
of the previous NotebookService.ListNotebookRuntimeTemplates
call.
Optional. Mask specifying which fields to read.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo"
.
orderBy
string
Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields:
displayName
createTime
updateTime
Example: displayName, createTime desc
.
Request body
The request body must be empty.
Response body
Response message for NotebookService.ListNotebookRuntimeTemplates
.
If successful, the response body contains data with the following structure:
List of NotebookRuntimeTemplates in the requested page.
nextPageToken
string
A token to retrieve next page of results. Pass to ListNotebookRuntimeTemplatesRequest.page_token
to obtain that page.
JSON representation |
---|
{
"notebookRuntimeTemplates": [
{
object ( |