UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Requests metadata for all existing cached content. Return type is GeminiCachedContentListResponse. More...
Public Member Functions | |||
string | GetEndpointUri (GeminiRequestMetadata metadata) | ||
Gets the URI to the API endpoint.
| |||
GeminiCachedContentListRequest (bool useBetaApi=true) | |||
Creates a new GeminiCachedContentListRequest. | |||
Public Attributes | |
string | ApiVersion |
The API version to use. | |
int | MaxResponseContents = 50 |
The maximum number of GeminiCachedContent objects to return (per page). | |
string | PageToken = string.Empty |
A page token from a previous GeminiCachedContentListRequest call. | |
Requests metadata for all existing cached content. Return type is GeminiCachedContentListResponse.
Only available in the beta API.
Uralstech.UGemini.Models.Caching.GeminiCachedContentListRequest.GeminiCachedContentListRequest | ( | bool | useBetaApi = true | ) |
Creates a new GeminiCachedContentListRequest.
Only available in the beta API.
useBetaApi | Should the request use the Beta API? |
string Uralstech.UGemini.Models.Caching.GeminiCachedContentListRequest.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.
int Uralstech.UGemini.Models.Caching.GeminiCachedContentListRequest.MaxResponseContents = 50 |
The maximum number of GeminiCachedContent objects to return (per page).
This method returns at most 1000 GeminiCachedContent objects per page, even if you pass a larger MaxResponseContents.