diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersClient.java index 90c29b24..f60a8dc9 100644 --- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersClient.java +++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersClient.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; @@ -191,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/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java index d69c6779..fba402a2 100644 --- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java +++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.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; @@ -191,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/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsClient.java index 6ba9c78f..51072f0b 100644 --- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsClient.java +++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsClient.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-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysClient.java index 0365b071..a9d03663 100644 --- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysClient.java +++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysClient.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-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesClient.java index 838973a2..627ab4c0 100644 --- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesClient.java +++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesClient.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; @@ -191,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/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index b26dea1f..9c14e1ce 100644 --- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.resourcemanager.v3.samples; -// [START -// resourcemanager_v3_generated_organizationsclient_testiampermissions_resourcenameliststring_sync] +// [START resourcemanager_v3_generated_organizationsclient_testiampermissions_resourcenameliststring_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.resourcemanager.v3.OrganizationName; import com.google.cloud.resourcemanager.v3.OrganizationsClient; @@ -42,5 +41,4 @@ public static void syncTestIamPermissionsResourcenameListstring() throws Excepti } } } -// [END -// resourcemanager_v3_generated_organizationsclient_testiampermissions_resourcenameliststring_sync] +// [END resourcemanager_v3_generated_organizationsclient_testiampermissions_resourcenameliststring_sync] diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index 3af3671f..e2e6e67d 100644 --- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.resourcemanager.v3.samples; -// [START -// resourcemanager_v3_generated_projectsclient_testiampermissions_resourcenameliststring_sync] +// [START resourcemanager_v3_generated_projectsclient_testiampermissions_resourcenameliststring_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.resourcemanager.v3.ProjectName; import com.google.cloud.resourcemanager.v3.ProjectsClient; diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBinding.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBinding.java index dd1c043d..f74b3d1e 100644 --- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBinding.java +++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBinding.java @@ -20,6 +20,7 @@ import com.google.cloud.resourcemanager.v3.DeleteTagBindingRequest; import com.google.cloud.resourcemanager.v3.TagBindingName; import com.google.cloud.resourcemanager.v3.TagBindingsClient; +import com.google.protobuf.Empty; public class SyncDeleteTagBinding { diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingString.java index f633987c..66c0ba52 100644 --- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingString.java +++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingString.java @@ -19,6 +19,7 @@ // [START resourcemanager_v3_generated_tagbindingsclient_deletetagbinding_string_sync] import com.google.cloud.resourcemanager.v3.TagBindingName; import com.google.cloud.resourcemanager.v3.TagBindingsClient; +import com.google.protobuf.Empty; public class SyncDeleteTagBindingString { diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingTagbindingname.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingTagbindingname.java index dd8852da..665fcf52 100644 --- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingTagbindingname.java +++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingTagbindingname.java @@ -19,6 +19,7 @@ // [START resourcemanager_v3_generated_tagbindingsclient_deletetagbinding_tagbindingname_sync] import com.google.cloud.resourcemanager.v3.TagBindingName; import com.google.cloud.resourcemanager.v3.TagBindingsClient; +import com.google.protobuf.Empty; public class SyncDeleteTagBindingTagbindingname { diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index 7edf8767..af93bb43 100644 --- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.resourcemanager.v3.samples; -// [START -// resourcemanager_v3_generated_tagvaluesclient_testiampermissions_resourcenameliststring_sync] +// [START resourcemanager_v3_generated_tagvaluesclient_testiampermissions_resourcenameliststring_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.resourcemanager.v3.TagValueName; import com.google.cloud.resourcemanager.v3.TagValuesClient;