Skip to content

Commit

Permalink
Regenerate automl client (#4455)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and kolea2 committed Feb 6, 2019
1 parent 9e8bb32 commit ff0da74
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ public final UnaryCallable<ListDatasetsRequest, ListDatasetsResponse> listDatase
* <pre><code>
* try (AutoMlClient autoMlClient = AutoMlClient.create()) {
* DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
* Empty response = autoMlClient.deleteDatasetAsync(name).get();
* autoMlClient.deleteDatasetAsync(name).get();
* }
* </code></pre>
*
Expand All @@ -536,7 +536,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteDatasetAsync(Datase
* <pre><code>
* try (AutoMlClient autoMlClient = AutoMlClient.create()) {
* DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
* Empty response = autoMlClient.deleteDatasetAsync(name.toString()).get();
* autoMlClient.deleteDatasetAsync(name.toString()).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -565,7 +565,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteDatasetAsync(String
* DeleteDatasetRequest request = DeleteDatasetRequest.newBuilder()
* .setName(name.toString())
* .build();
* Empty response = autoMlClient.deleteDatasetAsync(request).get();
* autoMlClient.deleteDatasetAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -593,9 +593,9 @@ public final OperationFuture<Empty, OperationMetadata> deleteDatasetAsync(
* DeleteDatasetRequest request = DeleteDatasetRequest.newBuilder()
* .setName(name.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = autoMlClient.deleteDatasetOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, OperationMetadata&gt; future = autoMlClient.deleteDatasetOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -640,7 +640,7 @@ public final UnaryCallable<DeleteDatasetRequest, Operation> 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();
* }
* </code></pre>
*
Expand Down Expand Up @@ -673,7 +673,7 @@ public final OperationFuture<Empty, OperationMetadata> 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();
* }
* </code></pre>
*
Expand Down Expand Up @@ -707,7 +707,7 @@ public final OperationFuture<Empty, OperationMetadata> importDataAsync(
* .setName(name.toString())
* .setInputConfig(inputConfig)
* .build();
* Empty response = autoMlClient.importDataAsync(request).get();
* autoMlClient.importDataAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -736,9 +736,9 @@ public final OperationFuture<Empty, OperationMetadata> importDataAsync(
* .setName(name.toString())
* .setInputConfig(inputConfig)
* .build();
* OperationFuture&lt;Operation&gt; future = autoMlClient.importDataOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, OperationMetadata&gt; future = autoMlClient.importDataOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -784,7 +784,7 @@ public final UnaryCallable<ImportDataRequest, Operation> 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();
* }
* </code></pre>
*
Expand Down Expand Up @@ -816,7 +816,7 @@ public final OperationFuture<Empty, OperationMetadata> 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();
* }
* </code></pre>
*
Expand Down Expand Up @@ -849,7 +849,7 @@ public final OperationFuture<Empty, OperationMetadata> exportDataAsync(
* .setName(name.toString())
* .setOutputConfig(outputConfig)
* .build();
* Empty response = autoMlClient.exportDataAsync(request).get();
* autoMlClient.exportDataAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -878,9 +878,9 @@ public final OperationFuture<Empty, OperationMetadata> exportDataAsync(
* .setName(name.toString())
* .setOutputConfig(outputConfig)
* .build();
* OperationFuture&lt;Operation&gt; future = autoMlClient.exportDataOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, OperationMetadata&gt; future = autoMlClient.exportDataOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down Expand Up @@ -1024,7 +1024,7 @@ public final OperationFuture<Model, OperationMetadata> createModelAsync(
* .setParent(parent.toString())
* .setModel(model)
* .build();
* OperationFuture&lt;Operation&gt; future = autoMlClient.createModelOperationCallable().futureCall(request);
* OperationFuture&lt;Model, OperationMetadata&gt; future = autoMlClient.createModelOperationCallable().futureCall(request);
* // Do something
* Model response = future.get();
* }
Expand Down Expand Up @@ -1291,7 +1291,7 @@ public final UnaryCallable<ListModelsRequest, ListModelsResponse> listModelsCall
* <pre><code>
* try (AutoMlClient autoMlClient = AutoMlClient.create()) {
* ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
* Empty response = autoMlClient.deleteModelAsync(name).get();
* autoMlClient.deleteModelAsync(name).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1319,7 +1319,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteModelAsync(ModelNam
* <pre><code>
* try (AutoMlClient autoMlClient = AutoMlClient.create()) {
* ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
* Empty response = autoMlClient.deleteModelAsync(name.toString()).get();
* autoMlClient.deleteModelAsync(name.toString()).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1349,7 +1349,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteModelAsync(String n
* DeleteModelRequest request = DeleteModelRequest.newBuilder()
* .setName(name.toString())
* .build();
* Empty response = autoMlClient.deleteModelAsync(request).get();
* autoMlClient.deleteModelAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1378,9 +1378,9 @@ public final OperationFuture<Empty, OperationMetadata> deleteModelAsync(
* DeleteModelRequest request = DeleteModelRequest.newBuilder()
* .setName(name.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = autoMlClient.deleteModelOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, OperationMetadata&gt; future = autoMlClient.deleteModelOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-automl/synth.metadata
Original file line number Diff line number Diff line change
@@ -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"
}
}
],
Expand Down

0 comments on commit ff0da74

Please sign in to comment.