UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Caching.GeminiCachedContentDeleteRequest Class Reference

Requests for deletion of a cached content resource. More...

Inheritance diagram for Uralstech.UGemini.Models.Caching.GeminiCachedContentDeleteRequest:
Uralstech.UGemini.IGeminiDeleteRequest Uralstech.UGemini.IGeminiRequest

Public Member Functions

string GetEndpointUri (GeminiRequestMetadata metadata)
 Gets the URI to the API endpoint.
Parameters
metadataThe metadata of the request to be carried out on the URI.
Returns
The URI.

 
 GeminiCachedContentDeleteRequest (string cachedContentIdOrName, bool useBetaApi=true)
 Creates a new GeminiCachedContentDeleteRequest.
 

Public Attributes

string ApiVersion
 The API version to use.
 
string ContentId
 The ID of the cached content.
 

Detailed Description

Requests for deletion of a cached content resource.

Only available in the beta API.

Constructor & Destructor Documentation

◆ GeminiCachedContentDeleteRequest()

Uralstech.UGemini.Models.Caching.GeminiCachedContentDeleteRequest.GeminiCachedContentDeleteRequest ( string cachedContentIdOrName,
bool useBetaApi = true )

Creates a new GeminiCachedContentDeleteRequest.

Only available in the beta API.

Parameters
cachedContentIdOrNameThe ID or name (format cachedContents/{contentId}) of the cached content to delete.
useBetaApiShould the request use the Beta API?

Member Function Documentation

◆ GetEndpointUri()

string Uralstech.UGemini.Models.Caching.GeminiCachedContentDeleteRequest.GetEndpointUri ( GeminiRequestMetadata metadata)

Gets the URI to the API endpoint.

Parameters
metadataThe metadata of the request to be carried out on the URI.
Returns
The URI.

Implements Uralstech.UGemini.IGeminiRequest.


The documentation for this class was generated from the following file: