UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Requests metadata for an existing file. Return type is GeminiFile. More...
Public Member Functions | |||
string | GetEndpointUri (GeminiRequestMetadata metadata) | ||
Gets the URI to the API endpoint.
| |||
GeminiFileGetRequest (string fileNameOrId, bool useBetaApi=true) | |||
Creates a new GeminiFileGetRequest. | |||
Public Attributes | |
string | ApiVersion |
The API version to use. | |
string | FileId |
The ID of the file to get. | |
Requests metadata for an existing file. Return type is GeminiFile.
Only available in the beta API.
Uralstech.UGemini.FileAPI.GeminiFileGetRequest.GeminiFileGetRequest | ( | string | fileNameOrId, |
bool | useBetaApi = true ) |
Creates a new GeminiFileGetRequest.
Only available in the beta API.
fileNameOrId | The name (format 'files/{fileId}') or ID of the file to get. |
useBetaApi | Should the request use the Beta API? |
string Uralstech.UGemini.FileAPI.GeminiFileGetRequest.GetEndpointUri | ( | GeminiRequestMetadata | metadata | ) |
Gets the URI to the API endpoint.
metadata | The metadata of the request to be carried out on the URI. |
Implements Uralstech.UGemini.IGeminiRequest.