Document(mapping=None, *, ignore_unknown_fields=False, **kwargs)A Document represents a page of documentation in the Developer Knowledge corpus, like the page at https://docs.cloud.google.com/storage/docs/creating-buckets.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. Contains the resource name of the document. Format: documents/{uri_without_scheme} Example:
documents/docs.cloud.google.com/storage/docs/creating-buckets
|
uri |
str
Output only. Provides the URI of the content, such as docs.cloud.google.com/storage/docs/creating-buckets.
|
content |
str
Output only. Contains the full content of the document in Markdown format. |
description |
str
Output only. Provides a description of the document. |
data_source |
str
Output only. Specifies the data source of the document. Example data source: firebase.google.com
|
title |
str
Output only. Provides the title of the document. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Represents the timestamp when the content or metadata of the document was last updated. |
view |
google.developer_knowledge_v1.types.DocumentView
Output only. Specifies the DocumentView][google.developers.knowledge.v1.DocumentView]
of the document.
|
content_length_bytes |
int
Output only. The length of the content field in bytes.
|