Class Google::Cloud::Dialogflow::V2::CreateDocumentRequest (v0.12.0)

Request message for Documents.CreateDocument.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document

def document() -> ::Google::Cloud::Dialogflow::V2::Document
Returns

#document=

def document=(value) -> ::Google::Cloud::Dialogflow::V2::Document
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The knowledge base to create a document for. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The knowledge base to create a document for. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.
Returns
  • (::String) — Required. The knowledge base to create a document for. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.