Developer Knowledge V1 API - Class Google::Developers::DeveloperKnowledge::V1::Document (v0.2.0)

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

#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