UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Requests metadata cached content. Return type is GeminiCachedContent. More...
Public Member Functions | |||
string | GetEndpointUri (GeminiRequestMetadata metadata) | ||
Gets the URI to the API endpoint.
| |||
GeminiCachedContentGetRequest (string cachedContentIdOrName, bool useBetaApi=true) | |||
Creates a new GeminiCachedContentGetRequest. | |||
Public Attributes | |
string | ApiVersion |
The API version to use. | |
string | ContentId |
The ID of the cached content. | |
Requests metadata cached content. Return type is GeminiCachedContent.
Only available in the beta API.
Uralstech.UGemini.Models.Caching.GeminiCachedContentGetRequest.GeminiCachedContentGetRequest | ( | string | cachedContentIdOrName, |
bool | useBetaApi = true ) |
Creates a new GeminiCachedContentGetRequest.
Only available in the beta API.
cachedContentIdOrName | The ID or name (format cachedContents/{contentId}) of the cached content to get. |
useBetaApi | Should the request use the Beta API? |
string Uralstech.UGemini.Models.Caching.GeminiCachedContentGetRequest.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.