Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::CreateKnowledgeBaseRequest.
Request message for KnowledgeBases.CreateKnowledgeBase.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#knowledge_base
def knowledge_base() -> ::Google::Cloud::Dialogflow::V2::KnowledgeBase
Returns
- (::Google::Cloud::Dialogflow::V2::KnowledgeBase) — Required. The knowledge base to create.
#knowledge_base=
def knowledge_base=(value) -> ::Google::Cloud::Dialogflow::V2::KnowledgeBase
Parameter
- value (::Google::Cloud::Dialogflow::V2::KnowledgeBase) — Required. The knowledge base to create.
Returns
- (::Google::Cloud::Dialogflow::V2::KnowledgeBase) — Required. The knowledge base to create.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The project to create a knowledge base for.
Format:
projects/<Project ID>/locations/<Location ID>
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The project to create a knowledge base for.
Format:
projects/<Project ID>/locations/<Location ID>
.
Returns
-
(::String) — Required. The project to create a knowledge base for.
Format:
projects/<Project ID>/locations/<Location ID>
.