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
- (::Google::Cloud::Dialogflow::V2::Document) — Required. The document to create.
#document=
def document=(value) -> ::Google::Cloud::Dialogflow::V2::Document
Parameter
- value (::Google::Cloud::Dialogflow::V2::Document) — Required. The document to create.
Returns
- (::Google::Cloud::Dialogflow::V2::Document) — Required. The document to create.
#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>
.