Exemplo n.º 1
0
 /// <summary>Snippet for UpdateKnowledgeBase</summary>
 public void UpdateKnowledgeBase()
 {
     // Snippet: UpdateKnowledgeBase(KnowledgeBase, FieldMask, CallSettings)
     // Create client
     KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.Create();
     // Initialize request argument(s)
     KnowledgeBase knowledgeBase = new KnowledgeBase();
     FieldMask     updateMask    = new FieldMask();
     // Make the request
     KnowledgeBase response = knowledgeBasesClient.UpdateKnowledgeBase(knowledgeBase, updateMask);
     // End snippet
 }
Exemplo n.º 2
0
 /// <summary>Snippet for UpdateKnowledgeBase</summary>
 public void UpdateKnowledgeBaseRequestObject()
 {
     // Snippet: UpdateKnowledgeBase(UpdateKnowledgeBaseRequest, CallSettings)
     // Create client
     KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.Create();
     // Initialize request argument(s)
     UpdateKnowledgeBaseRequest request = new UpdateKnowledgeBaseRequest
     {
         KnowledgeBase = new KnowledgeBase(),
         UpdateMask    = new FieldMask(),
     };
     // Make the request
     KnowledgeBase response = knowledgeBasesClient.UpdateKnowledgeBase(request);
     // End snippet
 }