Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::UpdateKnowledgeBaseRequest.
Request message for KnowledgeBases.UpdateKnowledgeBase.
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 update.
#knowledge_base=
def knowledge_base=(value) -> ::Google::Cloud::Dialogflow::V2::KnowledgeBase
Parameter
- value (::Google::Cloud::Dialogflow::V2::KnowledgeBase) — Required. The knowledge base to update.
Returns
- (::Google::Cloud::Dialogflow::V2::KnowledgeBase) — Required. The knowledge base to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Optional. Not specified means
update all
. Currently, onlydisplay_name
can be updated, an InvalidArgument will be returned for attempting to update other fields.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — Optional. Not specified means
update all
. Currently, onlydisplay_name
can be updated, an InvalidArgument will be returned for attempting to update other fields.
Returns
-
(::Google::Protobuf::FieldMask) — Optional. Not specified means
update all
. Currently, onlydisplay_name
can be updated, an InvalidArgument will be returned for attempting to update other fields.