Interface IGeminiRequest
All Gemini API requests must inherit from this interface.
public interface IGeminiRequest
- Extension Methods
Properties
AuthMethod
The preferred authentication method.
GeminiAuthMethod AuthMethod { get; }
Property Value
OAuthAccessToken
The OAuth access token to authenticate the request, if using OAuthAccessToken as AuthMethod.
string OAuthAccessToken { get; }
Property Value
Methods
GetEndpointUri(GeminiRequestMetadata)
Gets the URI to the API endpoint.
string GetEndpointUri(GeminiRequestMetadata metadata)
Parameters
metadata
GeminiRequestMetadataThe metadata of the request to be carried out on the URI.
Returns
- string
The URI.