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
§
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 updateTime?: Date
[src]Output only. Represents the timestamp when the content or metadata of the document was last updated.