download
public DiscoveryEngine.Media.Download download(String name)
throws IOException
Downloads a file from the session.
Create a request for the method "media.download".
This request holds the parameters needed by the discoveryengine server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
name - Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collect
ions/{collection}/engines/{engine}/sessions/{session}`
- Returns:
- the request
- Throws:
IOException