/// <summary>Snippet for UpdateIntent</summary>
 public void UpdateIntent()
 {
     // Snippet: UpdateIntent(Intent, FieldMask, CallSettings)
     // Create client
     IntentsClient intentsClient = IntentsClient.Create();
     // Initialize request argument(s)
     Intent    intent     = new Intent();
     FieldMask updateMask = new FieldMask();
     // Make the request
     Intent response = intentsClient.UpdateIntent(intent, updateMask);
     // End snippet
 }
示例#2
0
 /// <summary>Snippet for UpdateIntent</summary>
 public void UpdateIntent1()
 {
     // Snippet: UpdateIntent(Intent,string,CallSettings)
     // Create client
     IntentsClient intentsClient = IntentsClient.Create();
     // Initialize request argument(s)
     Intent intent       = new Intent();
     string languageCode = "";
     // Make the request
     Intent response = intentsClient.UpdateIntent(intent, languageCode);
     // End snippet
 }
 /// <summary>Snippet for UpdateIntent</summary>
 public void UpdateIntent_RequestObject()
 {
     // Snippet: UpdateIntent(UpdateIntentRequest,CallSettings)
     // Create client
     IntentsClient intentsClient = IntentsClient.Create();
     // Initialize request argument(s)
     UpdateIntentRequest request = new UpdateIntentRequest
     {
         Intent = new Intent(),
     };
     // Make the request
     Intent response = intentsClient.UpdateIntent(request);
     // End snippet
 }