Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Document

import type { Document } from "https://googleapis.deno.dev/v1/developerknowledge:v1.ts";

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

interface Document {
readonly content?: string;
readonly dataSource?: string;
readonly description?: string;
name?: string;
readonly title?: string;
readonly updateTime?: Date;
readonly uri?: string;
readonly view?:
| "DOCUMENT_VIEW_UNSPECIFIED"
| "DOCUMENT_VIEW_BASIC"
| "DOCUMENT_VIEW_FULL"
| "DOCUMENT_VIEW_CONTENT";
}

§Properties

§
readonly content?: string
[src]

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

§
readonly dataSource?: string
[src]

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

§
readonly description?: string
[src]

Output only. Provides a description of the document.

§
name?: string
[src]

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

§
readonly title?: string
[src]

Output only. Provides the title of the document.

§
readonly updateTime?: Date
[src]

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

§
readonly uri?: string
[src]

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

§
readonly view?: "DOCUMENT_VIEW_UNSPECIFIED" | "DOCUMENT_VIEW_BASIC" | "DOCUMENT_VIEW_FULL" | "DOCUMENT_VIEW_CONTENT"
[src]

Output only. Specifies the DocumentView of the document.