Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::CreateKnowledgeBaseRequest (v0.21.0)

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

#knowledge_base=

def knowledge_base=(value) -> ::Google::Cloud::Dialogflow::V2::KnowledgeBase
Parameter
Returns

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