[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class protos.google.cloud.dialogflow.v2beta1.Document (7.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [7.1.0 (latest)](/nodejs/docs/reference/dialogflow/latest/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [7.0.1](/nodejs/docs/reference/dialogflow/7.0.1/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.14.0](/nodejs/docs/reference/dialogflow/6.14.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.13.0](/nodejs/docs/reference/dialogflow/6.13.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.12.0](/nodejs/docs/reference/dialogflow/6.12.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.11.0](/nodejs/docs/reference/dialogflow/6.11.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.9.0](/nodejs/docs/reference/dialogflow/6.9.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.8.0](/nodejs/docs/reference/dialogflow/6.8.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.6.0](/nodejs/docs/reference/dialogflow/6.6.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.4.0](/nodejs/docs/reference/dialogflow/6.4.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.3.1](/nodejs/docs/reference/dialogflow/6.3.1/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.2.0](/nodejs/docs/reference/dialogflow/6.2.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [6.0.0](/nodejs/docs/reference/dialogflow/6.0.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [5.7.1](/nodejs/docs/reference/dialogflow/5.7.1/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [5.6.0](/nodejs/docs/reference/dialogflow/5.6.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [5.5.1](/nodejs/docs/reference/dialogflow/5.5.1/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [5.3.0](/nodejs/docs/reference/dialogflow/5.3.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [5.2.1](/nodejs/docs/reference/dialogflow/5.2.1/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [4.7.0](/nodejs/docs/reference/dialogflow/4.7.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [4.6.0](/nodejs/docs/reference/dialogflow/4.6.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [4.5.0](/nodejs/docs/reference/dialogflow/4.5.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [4.4.0](/nodejs/docs/reference/dialogflow/4.4.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [4.3.1](/nodejs/docs/reference/dialogflow/4.3.1/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [4.2.0](/nodejs/docs/reference/dialogflow/4.2.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [4.1.4](/nodejs/docs/reference/dialogflow/4.1.4/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [3.5.0](/nodejs/docs/reference/dialogflow/3.5.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class)\n- [3.3.0](/nodejs/docs/reference/dialogflow/3.3.0/dialogflow/protos.google.cloud.dialogflow.v2beta1.document-class) \nRepresents a Document.\n\nPackage\n-------\n\n[@google-cloud/dialogflow](../overview.html)\n\nConstructors\n------------\n\n### (constructor)(properties)\n\n constructor(properties?: google.cloud.dialogflow.v2beta1.IDocument);\n\nConstructs a new Document.\n\nProperties\n----------\n\n### content\n\n public content?: (string|null);\n\nDocument content.\n\n### contentUri\n\n public contentUri?: (string|null);\n\nDocument contentUri.\n\n### displayName\n\n public displayName: string;\n\nDocument displayName.\n\n### enableAutoReload\n\n public enableAutoReload: boolean;\n\nDocument enableAutoReload.\n\n### knowledgeTypes\n\n public knowledgeTypes: google.cloud.dialogflow.v2beta1.Document.KnowledgeType[];\n\nDocument knowledgeTypes.\n\n### latestReloadStatus\n\n public latestReloadStatus?: (google.cloud.dialogflow.v2beta1.Document.IReloadStatus|null);\n\nDocument latestReloadStatus.\n\n### metadata\n\n public metadata: { [k: string]: string };\n\nDocument metadata.\n\n### mimeType\n\n public mimeType: string;\n\nDocument mimeType.\n\n### name\n\n public name: string;\n\nDocument name.\n\n### rawContent\n\n public rawContent?: (Uint8Array|Buffer|string|null);\n\nDocument rawContent.\n\n### source\n\n public source?: (\"contentUri\"|\"content\"|\"rawContent\");\n\nDocument source.\n\n### state\n\n public state: (google.cloud.dialogflow.v2beta1.Document.State|keyof typeof google.cloud.dialogflow.v2beta1.Document.State);\n\nDocument state.\n\nMethods\n-------\n\n### create(properties)\n\n public static create(properties?: google.cloud.dialogflow.v2beta1.IDocument): google.cloud.dialogflow.v2beta1.Document;\n\nCreates a new Document instance using the specified properties.\n\n### decode(reader, length)\n\n public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.dialogflow.v2beta1.Document;\n\nDecodes a Document message from the specified reader or buffer.\n\n### decodeDelimited(reader)\n\n public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.dialogflow.v2beta1.Document;\n\nDecodes a Document message from the specified reader or buffer, length delimited.\n\n### encode(message, writer)\n\n public static encode(message: google.cloud.dialogflow.v2beta1.IDocument, writer?: $protobuf.Writer): $protobuf.Writer;\n\nEncodes the specified Document message. Does not implicitly messages.\n\n### encodeDelimited(message, writer)\n\n public static encodeDelimited(message: google.cloud.dialogflow.v2beta1.IDocument, writer?: $protobuf.Writer): $protobuf.Writer;\n\nEncodes the specified Document message, length delimited. Does not implicitly messages.\n\n### fromObject(object)\n\n public static fromObject(object: { [k: string]: any }): google.cloud.dialogflow.v2beta1.Document;\n\nCreates a Document message from a plain object. Also converts values to their respective internal types.\n\n### getTypeUrl(typeUrlPrefix)\n\n public static getTypeUrl(typeUrlPrefix?: string): string;\n\nGets the default type url for Document\n\n### toJSON()\n\n public toJSON(): { [k: string]: any };\n\nConverts this Document to JSON.\n\n### toObject(message, options)\n\n public static toObject(message: google.cloud.dialogflow.v2beta1.Document, options?: $protobuf.IConversionOptions): { [k: string]: any };\n\nCreates a plain object from a Document message. Also converts values to other types if specified.\n\n### verify(message)\n\n public static verify(message: { [k: string]: any }): (string|null);\n\nVerifies a Document message."]]