DocumentName Property
Immutable. Identifier. The
Document resource name. The ID (name excluding the "corpora/*/documents/" 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 derived from
DisplayName along with a 12 character random suffix. Example:
corpora/{corpus_id}/documents/my-awesome-doc-123a456b789cNamespace: GenerativeAI.TypesAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public string? Name { get; set; }
Property Value
String