media
Creates, updates, deletes, gets or lists a media
resource.
Overview
Name | media |
Type | Resource |
Id | google.discoveryengine.media |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
media_download | exec | projectsId , locationsId , collectionsId , enginesId , sessionsId | fileId , viewId | Downloads a file from the session. |
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 |
---|---|---|
collectionsId | string | |
enginesId | string | |
locationsId | string | |
projectsId | string | |
sessionsId | string | |
fileId | string | |
viewId | string |
Lifecycle Methods
- media_download
Downloads a file from the session.
EXEC google.discoveryengine.media.media_download
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@collectionsId='{{ collectionsId }}' --required,
@enginesId='{{ enginesId }}' --required,
@sessionsId='{{ sessionsId }}' --required,
@fileId='{{ fileId }}',
@viewId='{{ viewId }}';