thumbnails
Creates, updates, deletes, gets or lists a thumbnails
resource.
Overview
Name | thumbnails |
Type | Resource |
Id | firebase.toolresults.thumbnails |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
error | object | An error explaining why the thumbnail could not be rendered. (id: Status) |
sourceImage | object | A reference to a ToolExecution output file. (id: ToolOutputReference) |
stepId | string | The step to which the image is attached. Always set. |
thumbnail | object | The thumbnail. (id: Thumbnail) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | projectId , historyId , executionId , stepId | pageToken , pageSize | Lists thumbnails of images attached to a step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from the project, or from any of the images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the step does not exist, or if any of the images do not exist |
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 |
---|---|---|
executionId | string | |
historyId | string | |
projectId | string | |
stepId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- list
Lists thumbnails of images attached to a step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from the project, or from any of the images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the step does not exist, or if any of the images do not exist
SELECT
error,
sourceImage,
stepId,
thumbnail
FROM firebase.toolresults.thumbnails
WHERE projectId = '{{ projectId }}' -- required
AND historyId = '{{ historyId }}' -- required
AND executionId = '{{ executionId }}' -- required
AND stepId = '{{ stepId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';