Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::CreateDocumentRequest (v0.24.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::CreateDocumentRequest.

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>.