UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.FileAPI.GeminiFileUploadMetaData Class Reference

Metadata for a GeminiFile to be uploaded. More...

Public Attributes

string Name = null
 The GeminiFileUploadRequest resource name, in format "files/{fileId}".
 
string DisplayName = null
 The human-readable display name for the GeminiFileUploadRequest. The display name must be no more than 512 characters in length, including spaces. Example: "Welcome Image".
 

Detailed Description

Metadata for a GeminiFile to be uploaded.

Member Data Documentation

◆ Name

string Uralstech.UGemini.FileAPI.GeminiFileUploadMetaData.Name = null

The GeminiFileUploadRequest resource name, in format "files/{fileId}".

The ID (name excluding the "files/" prefix) can contain up to 40 characters that are lowercase alphanumeric or dashes (-).
The ID cannot start or end with a dash. If the name is empty on create, a unique name will be generated. Example: files/123-456


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