Show / Hide Table of Contents

Class Document

A Document represents a piece of content from the Developer Knowledge corpus.

Inheritance
object
Document
Implements
IMessage<Document>
IEquatable<Document>
IDeepCloneable<Document>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: 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 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

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

Description

Output only. Provides a description of the document.

Declaration
public string Description { get; set; }
Property Value
Type Description
string

DocumentName

DocumentName-typed view over the Name resource name property.

Declaration
public DocumentName DocumentName { get; set; }
Property Value
Type Description
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

Title

Output only. Provides the title of the document.

Declaration
public string Title { get; set; }
Property Value
Type Description
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

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

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
In this article
Back to top Generated by DocFX