Class GeminiCorpusId
- Namespace
- Uralstech.UGemini.CorporaAPI
A Corpus is a collection of Documents. A project can create up to 5 corpora.
public class GeminiCorpusId : IGeminiCorpusResourceId
- Inheritance
-
objectGeminiCorpusId
- Implements
- Extension Methods
Constructors
GeminiCorpusId(string)
Creates a new GeminiCorpusId.
public GeminiCorpusId(string corpusNameOrId)
Parameters
corpusNameOrIdstringThe name (format 'corpora/{corpusId}') or ID of the Corpus.
Properties
ResourceId
The ID of the Corpus.
public string ResourceId { get; }
Property Value
- string
ResourceName
The name (format 'corpora/{corpusId}') of the Corpus.
public string ResourceName { get; }
Property Value
- string
Operators
explicit operator GeminiCorpusId(string)
Creates a new GeminiCorpusId.
public static explicit operator GeminiCorpusId(string corpusNameOrId)
Parameters
corpusNameOrIdstringThe name (format 'corpora/{corpusId}') or ID of the Corpus.