diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java index 934194a3..bee49ee2 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -190,6 +191,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java index b243e91b..2ccdfb7f 100644 --- a/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java +++ b/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java @@ -192,6 +192,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java index 64e01bb0..542a7911 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java +++ b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstance.java @@ -20,6 +20,7 @@ import com.google.cloud.datafusion.v1.DataFusionClient; import com.google.cloud.datafusion.v1.DeleteInstanceRequest; import com.google.cloud.datafusion.v1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstance { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java index 97cee12e..00667e2c 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java +++ b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java @@ -19,6 +19,7 @@ // [START datafusion_v1_generated_datafusionclient_deleteinstance_instancename_sync] import com.google.cloud.datafusion.v1.DataFusionClient; import com.google.cloud.datafusion.v1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstanceInstancename { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java index 7c2d0e78..092371b0 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java +++ b/samples/snippets/generated/com/google/cloud/datafusion/v1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java @@ -19,6 +19,7 @@ // [START datafusion_v1_generated_datafusionclient_deleteinstance_string_sync] import com.google.cloud.datafusion.v1.DataFusionClient; import com.google.cloud.datafusion.v1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstanceString { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java index 383a2abf..4a9130cc 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java +++ b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java @@ -16,8 +16,7 @@ package com.google.cloud.datafusion.v1beta1.samples; -// [START -// datafusion_v1beta1_generated_datafusionclient_createinstance_locationnameinstancestring_sync] +// [START datafusion_v1beta1_generated_datafusionclient_createinstance_locationnameinstancestring_sync] import com.google.cloud.datafusion.v1beta1.DataFusionClient; import com.google.cloud.datafusion.v1beta1.Instance; import com.google.cloud.datafusion.v1beta1.LocationName; @@ -39,5 +38,4 @@ public static void syncCreateInstanceLocationnameInstanceString() throws Excepti } } } -// [END -// datafusion_v1beta1_generated_datafusionclient_createinstance_locationnameinstancestring_sync] +// [END datafusion_v1beta1_generated_datafusionclient_createinstance_locationnameinstancestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java index 8b737f4e..8325f083 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java +++ b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstance.java @@ -20,6 +20,7 @@ import com.google.cloud.datafusion.v1beta1.DataFusionClient; import com.google.cloud.datafusion.v1beta1.DeleteInstanceRequest; import com.google.cloud.datafusion.v1beta1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstance { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java index c3c52946..c400c0a3 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java +++ b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceInstancename.java @@ -19,6 +19,7 @@ // [START datafusion_v1beta1_generated_datafusionclient_deleteinstance_instancename_sync] import com.google.cloud.datafusion.v1beta1.DataFusionClient; import com.google.cloud.datafusion.v1beta1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstanceInstancename { diff --git a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java index 56c6e1e5..809b7063 100644 --- a/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java +++ b/samples/snippets/generated/com/google/cloud/datafusion/v1beta1/datafusionclient/deleteinstance/SyncDeleteInstanceString.java @@ -19,6 +19,7 @@ // [START datafusion_v1beta1_generated_datafusionclient_deleteinstance_string_sync] import com.google.cloud.datafusion.v1beta1.DataFusionClient; import com.google.cloud.datafusion.v1beta1.InstanceName; +import com.google.protobuf.Empty; public class SyncDeleteInstanceString {