Class: Google::Cloud::Dialogflow::V2::CreateDocumentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/document.rb

Overview

Request message for Documents.CreateDocument.

Instance Attribute Summary collapse

Instance Attribute Details

#document::Google::Cloud::Dialogflow::V2::Document

Returns Required. The document to create.

Returns:



248
249
250
251
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 248

class CreateDocumentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

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



248
249
250
251
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 248

class CreateDocumentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end