Reference documentation and code samples for the Developer Knowledge V1 API class Google::Developers::DeveloperKnowledge::V1::Document.
A Document represents a piece of content from the Developer Knowledge corpus.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
- (::String) — Output only. Contains the full content of the document in Markdown format.
#data_source
def data_source() -> ::String
Returns
-
(::String) — Output only. Specifies the data source of the document.
Example data source:
firebase.google.com
#description
def description() -> ::String
Returns
- (::String) — Output only. Provides a description of the document.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. Contains the resource name of the document.
Format:
documents/{uri_without_scheme}Example:documents/docs.cloud.google.com/storage/docs/creating-buckets
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Contains the resource name of the document.
Format:
documents/{uri_without_scheme}Example:documents/docs.cloud.google.com/storage/docs/creating-buckets
Returns
-
(::String) — Identifier. Contains the resource name of the document.
Format:
documents/{uri_without_scheme}Example:documents/docs.cloud.google.com/storage/docs/creating-buckets
#title
def title() -> ::String
Returns
- (::String) — Output only. Provides the title of the document.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Represents the timestamp when the content or metadata of the document was last updated.
#uri
def uri() -> ::String
Returns
-
(::String) — Output only. Provides the URI of the content, such as
docs.cloud.google.com/storage/docs/creating-buckets.
#view
def view() -> ::Google::Developers::DeveloperKnowledge::V1::DocumentView
Returns
- (::Google::Developers::DeveloperKnowledge::V1::DocumentView) — Output only. Specifies the DocumentView of the document.