diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java index efdf41c9d556..3b06a7d2c1e3 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java @@ -630,7 +630,7 @@ public final OperationFuture createInstanceAsync( * .setInstanceId(instanceId) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.createInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, OperationMetadata> future = cloudRedisClient.createInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -799,7 +799,7 @@ public final OperationFuture updateInstanceAsync( * .setUpdateMask(updateMask) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.updateInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, OperationMetadata> future = cloudRedisClient.updateInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -858,7 +858,7 @@ public final UnaryCallable updateInstanceCalla *

    * try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
-   *   Empty response = cloudRedisClient.deleteInstanceAsync(name).get();
+   *   cloudRedisClient.deleteInstanceAsync(name).get();
    * }
    * 
* @@ -885,7 +885,7 @@ public final OperationFuture deleteInstanceAsync(Insta *

    * try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
-   *   Empty response = cloudRedisClient.deleteInstanceAsync(name.toString()).get();
+   *   cloudRedisClient.deleteInstanceAsync(name.toString()).get();
    * }
    * 
* @@ -914,7 +914,7 @@ public final OperationFuture deleteInstanceAsync(Strin * DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = cloudRedisClient.deleteInstanceAsync(request).get(); + * cloudRedisClient.deleteInstanceAsync(request).get(); * } * * @@ -940,9 +940,9 @@ public final OperationFuture deleteInstanceAsync( * DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.deleteInstanceOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = cloudRedisClient.deleteInstanceOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java index b731b850ce07..cc170adda598 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java @@ -630,7 +630,7 @@ public final OperationFuture createInstanceAsync(CreateInstanceRe * .setInstanceId(instanceId) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.createInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, Any> future = cloudRedisClient.createInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -798,7 +798,7 @@ public final OperationFuture updateInstanceAsync(UpdateInstanceRe * .setUpdateMask(updateMask) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.updateInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, Any> future = cloudRedisClient.updateInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -857,7 +857,7 @@ public final UnaryCallable updateInstanceCalla *

    * try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
-   *   Empty response = cloudRedisClient.deleteInstanceAsync(name).get();
+   *   cloudRedisClient.deleteInstanceAsync(name).get();
    * }
    * 
* @@ -884,7 +884,7 @@ public final OperationFuture deleteInstanceAsync(InstanceName name) *

    * try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
-   *   Empty response = cloudRedisClient.deleteInstanceAsync(name.toString()).get();
+   *   cloudRedisClient.deleteInstanceAsync(name.toString()).get();
    * }
    * 
* @@ -913,7 +913,7 @@ public final OperationFuture deleteInstanceAsync(String name) { * DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = cloudRedisClient.deleteInstanceAsync(request).get(); + * cloudRedisClient.deleteInstanceAsync(request).get(); * } * * @@ -938,9 +938,9 @@ public final OperationFuture deleteInstanceAsync(DeleteInstanceReque * DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.deleteInstanceOperationCallable().futureCall(request); + * OperationFuture<Empty, Any> future = cloudRedisClient.deleteInstanceOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-redis/synth.metadata b/google-cloud-clients/google-cloud-redis/synth.metadata index c4deaff1c724..e7d3f0f8159d 100644 --- a/google-cloud-clients/google-cloud-redis/synth.metadata +++ b/google-cloud-clients/google-cloud-redis/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:49:36.458402Z", + "updateTime": "2019-02-02T08:45:39.488575Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ],