diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java index f7af7f55c..b26ca27c5 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java @@ -780,10 +780,8 @@ public final Intent updateIntent(Intent intent, String languageCode, FieldMask u *

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   Intent intent = Intent.newBuilder().build();
-   *   String languageCode = "";
    *   UpdateIntentRequest request = UpdateIntentRequest.newBuilder()
    *     .setIntent(intent)
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   Intent response = intentsClient.updateIntent(request);
    * }
@@ -805,10 +803,8 @@ public final Intent updateIntent(UpdateIntentRequest request) {
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   Intent intent = Intent.newBuilder().build();
-   *   String languageCode = "";
    *   UpdateIntentRequest request = UpdateIntentRequest.newBuilder()
    *     .setIntent(intent)
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   ApiFuture<Intent> future = intentsClient.updateIntentCallable().futureCall(request);
    *   // Do something
@@ -924,10 +920,8 @@ public final UnaryCallable deleteIntentCallable() {
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   String languageCode = "";
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   BatchUpdateIntentsResponse response = intentsClient.batchUpdateIntentsAsync(request).get();
    * }
@@ -955,10 +949,8 @@ public final OperationFuture batchUpdateInte
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   String languageCode = "";
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   OperationFuture<BatchUpdateIntentsResponse, Struct> future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request);
    *   // Do something
@@ -984,10 +976,8 @@ public final OperationFuture batchUpdateInte
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   String languageCode = "";
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   ApiFuture<Operation> future = intentsClient.batchUpdateIntentsCallable().futureCall(request);
    *   // Do something
diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
index 02d582523..c37460300 100644
--- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
+++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
@@ -780,10 +780,8 @@ public final Intent updateIntent(Intent intent, String languageCode, FieldMask u
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   Intent intent = Intent.newBuilder().build();
-   *   String languageCode = "";
    *   UpdateIntentRequest request = UpdateIntentRequest.newBuilder()
    *     .setIntent(intent)
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   Intent response = intentsClient.updateIntent(request);
    * }
@@ -805,10 +803,8 @@ public final Intent updateIntent(UpdateIntentRequest request) {
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   Intent intent = Intent.newBuilder().build();
-   *   String languageCode = "";
    *   UpdateIntentRequest request = UpdateIntentRequest.newBuilder()
    *     .setIntent(intent)
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   ApiFuture<Intent> future = intentsClient.updateIntentCallable().futureCall(request);
    *   // Do something
@@ -924,10 +920,8 @@ public final UnaryCallable deleteIntentCallable() {
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   String languageCode = "";
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   BatchUpdateIntentsResponse response = intentsClient.batchUpdateIntentsAsync(request).get();
    * }
@@ -955,10 +949,8 @@ public final OperationFuture batchUpdateInte
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   String languageCode = "";
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   OperationFuture<BatchUpdateIntentsResponse, Struct> future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request);
    *   // Do something
@@ -984,10 +976,8 @@ public final OperationFuture batchUpdateInte
    * 

    * try (IntentsClient intentsClient = IntentsClient.create()) {
    *   ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
-   *   String languageCode = "";
    *   BatchUpdateIntentsRequest request = BatchUpdateIntentsRequest.newBuilder()
    *     .setParent(parent.toString())
-   *     .setLanguageCode(languageCode)
    *     .build();
    *   ApiFuture<Operation> future = intentsClient.batchUpdateIntentsCallable().futureCall(request);
    *   // Do something
diff --git a/synth.metadata b/synth.metadata
index fa0a95195..5ba7f08a2 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,5 +1,5 @@
 {
-  "updateTime": "2020-02-06T22:49:46.689101Z",
+  "updateTime": "2020-02-07T09:49:59.024767Z",
   "sources": [
     {
       "generator": {
@@ -12,9 +12,9 @@
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "2e23b8fbc45f5d9e200572ca662fe1271bcd6760",
-        "internalRef": "293666452",
-        "log": "2e23b8fbc45f5d9e200572ca662fe1271bcd6760\nAdd ListEntryGroups method, add http bindings to support entry group tagging, and update some comments.\n\nPiperOrigin-RevId: 293666452\n\n0275e38a4ca03a13d3f47a9613aac8c8b0d3f1f2\nAdd proto_package field to managedidentities API. It is needed for APIs that still depend on artman generation.\n\nPiperOrigin-RevId: 293643323\n\n4cdfe8278cb6f308106580d70648001c9146e759\nRegenerating public protos for Data Catalog to add new Custom Type Entry feature.\n\nPiperOrigin-RevId: 293614782\n\n45d2a569ab526a1fad3720f95eefb1c7330eaada\nEnable client generation for v1 ManagedIdentities API.\n\nPiperOrigin-RevId: 293515675\n\n2c17086b77e6f3bcf04a1f65758dfb0c3da1568f\nAdd the Actions on Google common types (//google/actions/type/*).\n\nPiperOrigin-RevId: 293478245\n\n"
+        "sha": "e46f761cd6ec15a9e3d5ed4ff321a4bcba8e8585",
+        "internalRef": "293710856",
+        "log": "e46f761cd6ec15a9e3d5ed4ff321a4bcba8e8585\nGenerate the Bazel build file for recommendengine public api\n\nPiperOrigin-RevId: 293710856\n\n68477017c4173c98addac0373950c6aa9d7b375f\nMake `language_code` optional for UpdateIntentRequest and BatchUpdateIntentsRequest.\n\nThe comments and proto annotations describe this parameter as optional.\n\nPiperOrigin-RevId: 293703548\n\n16f823f578bca4e845a19b88bb9bc5870ea71ab2\nAdd BUILD.bazel files for managedidentities API\n\nPiperOrigin-RevId: 293698246\n\n2f53fd8178c9a9de4ad10fae8dd17a7ba36133f2\nAdd v1p1beta1 config file\n\nPiperOrigin-RevId: 293696729\n\n052b274138fce2be80f97b6dcb83ab343c7c8812\nAdd source field for user event and add field behavior annotations\n\nPiperOrigin-RevId: 293693115\n\n1e89732b2d69151b1b3418fff3d4cc0434f0dded\ndatacatalog: v1beta1 add three new RPCs to gapic v1beta1 config\n\nPiperOrigin-RevId: 293692823\n\n9c8bd09bbdc7c4160a44f1fbab279b73cd7a2337\nchange the name of AccessApproval service to AccessApprovalAdmin\n\nPiperOrigin-RevId: 293690934\n\n"
       }
     },
     {