Class Document
A Document represents a piece of content from the Developer Knowledge corpus.
Implements
Inherited Members
Namespace: Google.Apis.DeveloperKnowledge.v1alpha.Data
Assembly: Google.Apis.DeveloperKnowledge.v1alpha.dll
Syntax
public class Document : IDirectResponseSchema
Properties
Content
Output only. Contains the full content of the document in Markdown format.
Declaration
[JsonProperty("content")]
public virtual 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
[JsonProperty("dataSource")]
public virtual string DataSource { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Output only. Provides a description of the document.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Output only. Provides the title of the document.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. Represents the timestamp when the content or metadata of the document was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uri
Output only. Provides the URI of the content, such as docs.cloud.google.com/storage/docs/creating-buckets.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
View
Output only. Specifies the DocumentView of the document.
Declaration
[JsonProperty("view")]
public virtual string View { get; set; }
Property Value
| Type | Description |
|---|---|
| string |