diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java index 3ba4d60974fb..1bff23d0f233 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java @@ -509,7 +509,7 @@ public final UnaryCallable listDatase *

    * try (AutoMlClient autoMlClient = AutoMlClient.create()) {
    *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
-   *   Empty response = autoMlClient.deleteDatasetAsync(name).get();
+   *   autoMlClient.deleteDatasetAsync(name).get();
    * }
    * 
* @@ -536,7 +536,7 @@ public final OperationFuture deleteDatasetAsync(Datase *

    * try (AutoMlClient autoMlClient = AutoMlClient.create()) {
    *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
-   *   Empty response = autoMlClient.deleteDatasetAsync(name.toString()).get();
+   *   autoMlClient.deleteDatasetAsync(name.toString()).get();
    * }
    * 
* @@ -565,7 +565,7 @@ public final OperationFuture deleteDatasetAsync(String * DeleteDatasetRequest request = DeleteDatasetRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = autoMlClient.deleteDatasetAsync(request).get(); + * autoMlClient.deleteDatasetAsync(request).get(); * } * * @@ -593,9 +593,9 @@ public final OperationFuture deleteDatasetAsync( * DeleteDatasetRequest request = DeleteDatasetRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = autoMlClient.deleteDatasetOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = autoMlClient.deleteDatasetOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -640,7 +640,7 @@ public final UnaryCallable deleteDatasetCallabl * try (AutoMlClient autoMlClient = AutoMlClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * InputConfig inputConfig = InputConfig.newBuilder().build(); - * Empty response = autoMlClient.importDataAsync(name, inputConfig).get(); + * autoMlClient.importDataAsync(name, inputConfig).get(); * } * * @@ -673,7 +673,7 @@ public final OperationFuture importDataAsync( * try (AutoMlClient autoMlClient = AutoMlClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * InputConfig inputConfig = InputConfig.newBuilder().build(); - * Empty response = autoMlClient.importDataAsync(name.toString(), inputConfig).get(); + * autoMlClient.importDataAsync(name.toString(), inputConfig).get(); * } * * @@ -707,7 +707,7 @@ public final OperationFuture importDataAsync( * .setName(name.toString()) * .setInputConfig(inputConfig) * .build(); - * Empty response = autoMlClient.importDataAsync(request).get(); + * autoMlClient.importDataAsync(request).get(); * } * * @@ -736,9 +736,9 @@ public final OperationFuture importDataAsync( * .setName(name.toString()) * .setInputConfig(inputConfig) * .build(); - * OperationFuture<Operation> future = autoMlClient.importDataOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = autoMlClient.importDataOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -784,7 +784,7 @@ public final UnaryCallable importDataCallable() { * try (AutoMlClient autoMlClient = AutoMlClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * OutputConfig outputConfig = OutputConfig.newBuilder().build(); - * Empty response = autoMlClient.exportDataAsync(name, outputConfig).get(); + * autoMlClient.exportDataAsync(name, outputConfig).get(); * } * * @@ -816,7 +816,7 @@ public final OperationFuture exportDataAsync( * try (AutoMlClient autoMlClient = AutoMlClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * OutputConfig outputConfig = OutputConfig.newBuilder().build(); - * Empty response = autoMlClient.exportDataAsync(name.toString(), outputConfig).get(); + * autoMlClient.exportDataAsync(name.toString(), outputConfig).get(); * } * * @@ -849,7 +849,7 @@ public final OperationFuture exportDataAsync( * .setName(name.toString()) * .setOutputConfig(outputConfig) * .build(); - * Empty response = autoMlClient.exportDataAsync(request).get(); + * autoMlClient.exportDataAsync(request).get(); * } * * @@ -878,9 +878,9 @@ public final OperationFuture exportDataAsync( * .setName(name.toString()) * .setOutputConfig(outputConfig) * .build(); - * OperationFuture<Operation> future = autoMlClient.exportDataOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = autoMlClient.exportDataOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -1024,7 +1024,7 @@ public final OperationFuture createModelAsync( * .setParent(parent.toString()) * .setModel(model) * .build(); - * OperationFuture<Operation> future = autoMlClient.createModelOperationCallable().futureCall(request); + * OperationFuture<Model, OperationMetadata> future = autoMlClient.createModelOperationCallable().futureCall(request); * // Do something * Model response = future.get(); * } @@ -1291,7 +1291,7 @@ public final UnaryCallable listModelsCall *

    * try (AutoMlClient autoMlClient = AutoMlClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
-   *   Empty response = autoMlClient.deleteModelAsync(name).get();
+   *   autoMlClient.deleteModelAsync(name).get();
    * }
    * 
* @@ -1319,7 +1319,7 @@ public final OperationFuture deleteModelAsync(ModelNam *

    * try (AutoMlClient autoMlClient = AutoMlClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
-   *   Empty response = autoMlClient.deleteModelAsync(name.toString()).get();
+   *   autoMlClient.deleteModelAsync(name.toString()).get();
    * }
    * 
* @@ -1349,7 +1349,7 @@ public final OperationFuture deleteModelAsync(String n * DeleteModelRequest request = DeleteModelRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = autoMlClient.deleteModelAsync(request).get(); + * autoMlClient.deleteModelAsync(request).get(); * } * * @@ -1378,9 +1378,9 @@ public final OperationFuture deleteModelAsync( * DeleteModelRequest request = DeleteModelRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = autoMlClient.deleteModelOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = autoMlClient.deleteModelOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-automl/synth.metadata b/google-cloud-clients/google-cloud-automl/synth.metadata index a2f6058d115a..3939a870d33c 100644 --- a/google-cloud-clients/google-cloud-automl/synth.metadata +++ b/google-cloud-clients/google-cloud-automl/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-30T08:34:37.857517Z", + "updateTime": "2019-02-06T08:33:43.321407Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.7", - "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" + "version": "0.16.9", + "dockerImage": "googleapis/artman@sha256:80c39fa84e7203c8f355e01bdeef82155013cc39dcaa48fba7a6fe2c253623e3" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "f0195b40fd5f5f412e6819ac01df08cedb8e5fd7", - "internalRef": "231440809" + "sha": "fb6037c65475bce990d8dcef955c66b0bdcb6e4a", + "internalRef": "232615156" } } ],