REST Resource: documents

Resource: Document

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

JSON representation
{
  "name": string,
  "uri": string,
  "content": string,
  "description": string
}
Fields
name

string

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

uri

string

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

content

string

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

description

string

Output only. A description of the document.

Methods

batchGet

Retrieves multiple documents, each with its full Markdown content.

get

Retrieves a single document with its full Markdown content.

searchDocumentChunks

Searches for developer knowledge across Google's developer documentation.