REST Resource: documents

Zasób: Document

Dokument reprezentuje fragment treści z korpusu wiedzy dla deweloperów.

Zapis JSON
{
  "name": string,
  "uri": string,
  "content": string,
  "description": string,
  "title": string
}
Pola
name

string

Identyfikator. Zawiera nazwę zasobu dokumentu. Format: documents/{uri_without_scheme} Przykład: documents/docs.cloud.google.com/storage/docs/creating-buckets

uri

string

Tylko dane wyjściowe. Podaje identyfikator URI treści, np. docs.cloud.google.com/storage/docs/creating-buckets.

content

string

Tylko dane wyjściowe. Zawiera pełną treść dokumentu w formacie Markdown.

description

string

Tylko dane wyjściowe. Zawiera opis dokumentu.

title

string

Tylko dane wyjściowe. Zawiera tytuł dokumentu.

Metody

batchGet

Pobiera wiele dokumentów, z których każdy zawiera pełną treść w formacie Markdown.

get

Pobiera pojedynczy dokument z pełną zawartością w formacie Markdown.

searchDocumentChunks

Wyszukuje informacje dla deweloperów w dokumentacji Google dla deweloperów.