CreateKnowledgeBaseRequest constructor

CreateKnowledgeBaseRequest({
  1. String? parent,
  2. KnowledgeBase? knowledgeBase,
})

Implementation

factory CreateKnowledgeBaseRequest({
  $core.String? parent,
  KnowledgeBase? knowledgeBase,
}) {
  final _result = create();
  if (parent != null) {
    _result.parent = parent;
  }
  if (knowledgeBase != null) {
    _result.knowledgeBase = knowledgeBase;
  }
  return _result;
}