[![](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/logo.svg)](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/index.html)
- 
[Show / Hide Table of Contents](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.Document#sidetoggle) A Document represents a piece of content from the Developer Knowledge corpus.

##### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) Document

##### Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)\<[Document](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.Document)\> [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)\<[Document](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.Document)\> [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)\<[Document](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.Document)\> [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html) [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

##### Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

###### **Namespace** : [Google](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google).[Developers](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers).[DeveloperKnowledge](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge).[V1](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1)

###### **Assembly**: Google.Developers.DeveloperKnowledge.V1.dll

##### Syntax

    public sealed class Document : IMessage<Document>, IEquatable<Document>, IDeepCloneable<Document>, IBufferMessage, IMessage

### Constructors

#### Document()

##### Declaration

    public Document()

#### Document(Document)

##### Declaration

    public Document(Document other)

##### Parameters

| Type | Name | Description |
|---|---|---|
| [Document](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.Document) | other |   |

### Properties

#### Content

Output only. Contains the full content of the document in Markdown format.

##### Declaration

    public string Content { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [string](https://learn.microsoft.com/dotnet/api/system.string) |   |

#### DataSource

Output only. Specifies the data source of the document.
Example data source: `firebase.google.com`

##### Declaration

    public string DataSource { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [string](https://learn.microsoft.com/dotnet/api/system.string) |   |

#### Description

Output only. Provides a description of the document.

##### Declaration

    public string Description { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [string](https://learn.microsoft.com/dotnet/api/system.string) |   |

#### DocumentName

[DocumentName](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.DocumentName)-typed view over the [Name](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.Document#Google_Developers_DeveloperKnowledge_V1_Document_Name) resource name property.

##### Declaration

    public DocumentName DocumentName { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [DocumentName](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.DocumentName) |   |

#### Name

Identifier. Contains the resource name of the document.
Format: `documents/{uri_without_scheme}`
Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`

##### Declaration

    public string Name { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [string](https://learn.microsoft.com/dotnet/api/system.string) |   |

#### Title

Output only. Provides the title of the document.

##### Declaration

    public string Title { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [string](https://learn.microsoft.com/dotnet/api/system.string) |   |

#### UpdateTime

Output only. Represents the timestamp when the content or metadata of the
document was last updated.

##### Declaration

    public Timestamp UpdateTime { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [Timestamp](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html) |   |

#### Uri

Output only. Provides the URI of the content, such as
`docs.cloud.google.com/storage/docs/creating-buckets`.

##### Declaration

    public string Uri { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [string](https://learn.microsoft.com/dotnet/api/system.string) |   |

#### View

Output only. Specifies the
\[DocumentView\]\[google.developers.knowledge.v1.DocumentView\] of the
document.

##### Declaration

    public DocumentView View { get; set; }

##### Property Value

| Type | Description |
|---|---|
| [DocumentView](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.DocumentView) |   |

##### In this article

[Back to top](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.Document#top) Generated by **DocFX**