From e7b01676f4b4ea0863aebc320b0da0b710821802 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 17:32:24 +0000 Subject: [PATCH] chore: Set `rest_numeric_enums = False` for all gapic rules explicitly (#911) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 485623855 Source-Link: https://togithub.com/googleapis/googleapis/commit/807125e7953e32535710924fe4bf0362ac93754d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9 --- .../secretmanager/v1/SecretManagerServiceClient.java | 5 +---- .../accesssecretversion/AsyncAccessSecretVersion.java | 4 ++-- .../accesssecretversion/SyncAccessSecretVersion.java | 4 ++-- .../SyncAccessSecretVersionSecretversionname.java | 4 ++-- .../SyncAccessSecretVersionString.java | 4 ++-- .../addsecretversion/AsyncAddSecretVersion.java | 4 ++-- .../addsecretversion/SyncAddSecretVersion.java | 4 ++-- .../SyncAddSecretVersionSecretnameSecretpayload.java | 4 ++-- .../SyncAddSecretVersionStringSecretpayload.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider1.java | 9 +++------ .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createsecret/AsyncCreateSecret.java | 4 ++-- .../createsecret/SyncCreateSecret.java | 4 ++-- .../SyncCreateSecretProjectnameStringSecret.java | 4 ++-- .../createsecret/SyncCreateSecretStringStringSecret.java | 4 ++-- .../deletesecret/AsyncDeleteSecret.java | 4 ++-- .../deletesecret/SyncDeleteSecret.java | 4 ++-- .../deletesecret/SyncDeleteSecretSecretname.java | 4 ++-- .../deletesecret/SyncDeleteSecretString.java | 4 ++-- .../destroysecretversion/AsyncDestroySecretVersion.java | 4 ++-- .../destroysecretversion/SyncDestroySecretVersion.java | 4 ++-- .../SyncDestroySecretVersionSecretversionname.java | 4 ++-- .../SyncDestroySecretVersionString.java | 4 ++-- .../disablesecretversion/AsyncDisableSecretVersion.java | 4 ++-- .../disablesecretversion/SyncDisableSecretVersion.java | 4 ++-- .../SyncDisableSecretVersionSecretversionname.java | 4 ++-- .../SyncDisableSecretVersionString.java | 4 ++-- .../enablesecretversion/AsyncEnableSecretVersion.java | 4 ++-- .../enablesecretversion/SyncEnableSecretVersion.java | 4 ++-- .../SyncEnableSecretVersionSecretversionname.java | 4 ++-- .../SyncEnableSecretVersionString.java | 4 ++-- .../getiampolicy/AsyncGetIamPolicy.java | 4 ++-- .../getiampolicy/SyncGetIamPolicy.java | 4 ++-- .../getsecret/AsyncGetSecret.java | 4 ++-- .../getsecret/SyncGetSecret.java | 4 ++-- .../getsecret/SyncGetSecretSecretname.java | 4 ++-- .../getsecret/SyncGetSecretString.java | 4 ++-- .../getsecretversion/AsyncGetSecretVersion.java | 4 ++-- .../getsecretversion/SyncGetSecretVersion.java | 4 ++-- .../SyncGetSecretVersionSecretversionname.java | 4 ++-- .../getsecretversion/SyncGetSecretVersionString.java | 4 ++-- .../listsecrets/AsyncListSecrets.java | 4 ++-- .../listsecrets/AsyncListSecretsPaged.java | 4 ++-- .../listsecrets/SyncListSecrets.java | 4 ++-- .../listsecrets/SyncListSecretsProjectname.java | 4 ++-- .../listsecrets/SyncListSecretsString.java | 4 ++-- .../listsecretversions/AsyncListSecretVersions.java | 4 ++-- .../listsecretversions/AsyncListSecretVersionsPaged.java | 4 ++-- .../listsecretversions/SyncListSecretVersions.java | 4 ++-- .../SyncListSecretVersionsSecretname.java | 4 ++-- .../listsecretversions/SyncListSecretVersionsString.java | 4 ++-- .../setiampolicy/AsyncSetIamPolicy.java | 4 ++-- .../setiampolicy/SyncSetIamPolicy.java | 4 ++-- .../testiampermissions/AsyncTestIamPermissions.java | 4 ++-- .../testiampermissions/SyncTestIamPermissions.java | 4 ++-- .../updatesecret/AsyncUpdateSecret.java | 4 ++-- .../updatesecret/SyncUpdateSecret.java | 4 ++-- .../updatesecret/SyncUpdateSecretSecretFieldmask.java | 4 ++-- .../createsecret/SyncCreateSecret.java | 4 ++-- .../createsecret/SyncCreateSecret.java | 4 ++-- 61 files changed, 122 insertions(+), 128 deletions(-) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/accesssecretversion/AsyncAccessSecretVersion.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/accesssecretversion/SyncAccessSecretVersion.java (91%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/accesssecretversion/SyncAccessSecretVersionSecretversionname.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/accesssecretversion/SyncAccessSecretVersionString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/addsecretversion/AsyncAddSecretVersion.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/addsecretversion/SyncAddSecretVersion.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/addsecretversion/SyncAddSecretVersionSecretnameSecretpayload.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/addsecretversion/SyncAddSecretVersionStringSecretpayload.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/create/SyncCreateSetCredentialsProvider.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/create/SyncCreateSetCredentialsProvider1.java (79%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/create/SyncCreateSetEndpoint.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/createsecret/AsyncCreateSecret.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/createsecret/SyncCreateSecret.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/createsecret/SyncCreateSecretProjectnameStringSecret.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/createsecret/SyncCreateSecretStringStringSecret.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/deletesecret/AsyncDeleteSecret.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/deletesecret/SyncDeleteSecret.java (91%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/deletesecret/SyncDeleteSecretSecretname.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/deletesecret/SyncDeleteSecretString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/destroysecretversion/AsyncDestroySecretVersion.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/destroysecretversion/SyncDestroySecretVersion.java (91%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/destroysecretversion/SyncDestroySecretVersionSecretversionname.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/destroysecretversion/SyncDestroySecretVersionString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/disablesecretversion/AsyncDisableSecretVersion.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/disablesecretversion/SyncDisableSecretVersion.java (91%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/disablesecretversion/SyncDisableSecretVersionSecretversionname.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/disablesecretversion/SyncDisableSecretVersionString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/enablesecretversion/AsyncEnableSecretVersion.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/enablesecretversion/SyncEnableSecretVersion.java (91%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/enablesecretversion/SyncEnableSecretVersionSecretversionname.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/enablesecretversion/SyncEnableSecretVersionString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getiampolicy/AsyncGetIamPolicy.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getiampolicy/SyncGetIamPolicy.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getsecret/AsyncGetSecret.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getsecret/SyncGetSecret.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getsecret/SyncGetSecretSecretname.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getsecret/SyncGetSecretString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getsecretversion/AsyncGetSecretVersion.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getsecretversion/SyncGetSecretVersion.java (91%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getsecretversion/SyncGetSecretVersionSecretversionname.java (89%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/getsecretversion/SyncGetSecretVersionString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecrets/AsyncListSecrets.java (93%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecrets/AsyncListSecretsPaged.java (93%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecrets/SyncListSecrets.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecrets/SyncListSecretsProjectname.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecrets/SyncListSecretsString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecretversions/AsyncListSecretVersions.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecretversions/AsyncListSecretVersionsPaged.java (93%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecretversions/SyncListSecretVersions.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecretversions/SyncListSecretVersionsSecretname.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/listsecretversions/SyncListSecretVersionsString.java (90%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/setiampolicy/AsyncSetIamPolicy.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/setiampolicy/SyncSetIamPolicy.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/testiampermissions/AsyncTestIamPermissions.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/testiampermissions/SyncTestIamPermissions.java (91%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/updatesecret/AsyncUpdateSecret.java (92%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/updatesecret/SyncUpdateSecret.java (91%) rename java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/{secretmanagerserviceclient => secretmanagerservice}/updatesecret/SyncUpdateSecretSecretFieldmask.java (90%) diff --git a/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1/SecretManagerServiceClient.java b/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1/SecretManagerServiceClient.java index 75c850f335a0..ab5169fc96e7 100644 --- a/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1/SecretManagerServiceClient.java +++ b/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1/SecretManagerServiceClient.java @@ -136,10 +136,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * SecretManagerServiceSettings secretManagerServiceSettings = - * SecretManagerServiceSettings.newBuilder() - * .setTransportChannelProvider( - * SecretManagerServiceSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * SecretManagerServiceSettings.newHttpJsonBuilder().build(); * SecretManagerServiceClient secretManagerServiceClient = * SecretManagerServiceClient.create(secretManagerServiceSettings); * } diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/AsyncAccessSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/AsyncAccessSecretVersion.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/AsyncAccessSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/AsyncAccessSecretVersion.java index e59cded6a7bf..bab1efcdd7c2 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/AsyncAccessSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/AsyncAccessSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_accesssecretversion_async] +// [START secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.AccessSecretVersionRequest; import com.google.cloud.secretmanager.v1.AccessSecretVersionResponse; @@ -48,4 +48,4 @@ public static void asyncAccessSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_accesssecretversion_async] +// [END secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersion.java similarity index 91% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersion.java index d900c29e18d9..7ef675aff4a3 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_accesssecretversion_sync] +// [START secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_sync] import com.google.cloud.secretmanager.v1.AccessSecretVersionRequest; import com.google.cloud.secretmanager.v1.AccessSecretVersionResponse; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -45,4 +45,4 @@ public static void syncAccessSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_accesssecretversion_sync] +// [END secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersionSecretversionname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersionSecretversionname.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersionSecretversionname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersionSecretversionname.java index 0ab630a02f8f..c002c5c1d114 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersionSecretversionname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersionSecretversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_accesssecretversion_secretversionname_sync] +// [START secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_Secretversionname_sync] import com.google.cloud.secretmanager.v1.AccessSecretVersionResponse; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncAccessSecretVersionSecretversionname() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_accesssecretversion_secretversionname_sync] +// [END secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_Secretversionname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersionString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersionString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersionString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersionString.java index 20e3edc5afc8..2957c11aa999 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/accesssecretversion/SyncAccessSecretVersionString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/accesssecretversion/SyncAccessSecretVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_accesssecretversion_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_String_sync] import com.google.cloud.secretmanager.v1.AccessSecretVersionResponse; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncAccessSecretVersionString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_accesssecretversion_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/AsyncAddSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/AsyncAddSecretVersion.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/AsyncAddSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/AsyncAddSecretVersion.java index a2fcabfe66da..aa33d20a84bf 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/AsyncAddSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/AsyncAddSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_addsecretversion_async] +// [START secretmanager_v1_generated_SecretManagerService_AddSecretVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.AddSecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -50,4 +50,4 @@ public static void asyncAddSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_addsecretversion_async] +// [END secretmanager_v1_generated_SecretManagerService_AddSecretVersion_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersion.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersion.java index 0735a58c7615..1538ba9bf5b2 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_addsecretversion_sync] +// [START secretmanager_v1_generated_SecretManagerService_AddSecretVersion_sync] import com.google.cloud.secretmanager.v1.AddSecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; @@ -46,4 +46,4 @@ public static void syncAddSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_addsecretversion_sync] +// [END secretmanager_v1_generated_SecretManagerService_AddSecretVersion_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersionSecretnameSecretpayload.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersionSecretnameSecretpayload.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersionSecretnameSecretpayload.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersionSecretnameSecretpayload.java index a56cd26fe8a0..0138fab83eb1 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersionSecretnameSecretpayload.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersionSecretnameSecretpayload.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_addsecretversion_secretnamesecretpayload_sync] +// [START secretmanager_v1_generated_SecretManagerService_AddSecretVersion_SecretnameSecretpayload_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.cloud.secretmanager.v1.SecretPayload; @@ -42,4 +42,4 @@ public static void syncAddSecretVersionSecretnameSecretpayload() throws Exceptio } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_addsecretversion_secretnamesecretpayload_sync] +// [END secretmanager_v1_generated_SecretManagerService_AddSecretVersion_SecretnameSecretpayload_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersionStringSecretpayload.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersionStringSecretpayload.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersionStringSecretpayload.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersionStringSecretpayload.java index f0aab525e23b..30e95271810c 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/addsecretversion/SyncAddSecretVersionStringSecretpayload.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/addsecretversion/SyncAddSecretVersionStringSecretpayload.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_addsecretversion_stringsecretpayload_sync] +// [START secretmanager_v1_generated_SecretManagerService_AddSecretVersion_StringSecretpayload_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.cloud.secretmanager.v1.SecretPayload; @@ -42,4 +42,4 @@ public static void syncAddSecretVersionStringSecretpayload() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_addsecretversion_stringsecretpayload_sync] +// [END secretmanager_v1_generated_SecretManagerService_AddSecretVersion_StringSecretpayload_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetCredentialsProvider.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetCredentialsProvider.java index b1575e4feb76..aa0519ddea01 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_create_setcredentialsprovider_sync] +// [START secretmanager_v1_generated_SecretManagerService_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretManagerServiceSettings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { SecretManagerServiceClient.create(secretManagerServiceSettings); } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_create_setcredentialsprovider_sync] +// [END secretmanager_v1_generated_SecretManagerService_Create_SetCredentialsProvider_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetCredentialsProvider1.java similarity index 79% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetCredentialsProvider1.java index 7c0a256d5695..3b0fea88e9c7 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_create_setcredentialsprovider1_sync] +// [START secretmanager_v1_generated_SecretManagerService_Create_SetCredentialsProvider1_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretManagerServiceSettings; @@ -33,12 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library SecretManagerServiceSettings secretManagerServiceSettings = - SecretManagerServiceSettings.newBuilder() - .setTransportChannelProvider( - SecretManagerServiceSettings.defaultHttpJsonTransportProviderBuilder().build()) - .build(); + SecretManagerServiceSettings.newHttpJsonBuilder().build(); SecretManagerServiceClient secretManagerServiceClient = SecretManagerServiceClient.create(secretManagerServiceSettings); } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_create_setcredentialsprovider1_sync] +// [END secretmanager_v1_generated_SecretManagerService_Create_SetCredentialsProvider1_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetEndpoint.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetEndpoint.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetEndpoint.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetEndpoint.java index f1ffdcd79fcb..d52267a05016 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/create/SyncCreateSetEndpoint.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_create_setendpoint_sync] +// [START secretmanager_v1_generated_SecretManagerService_Create_SetEndpoint_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretManagerServiceSettings; import com.google.cloud.secretmanager.v1.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { SecretManagerServiceClient.create(secretManagerServiceSettings); } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_create_setendpoint_sync] +// [END secretmanager_v1_generated_SecretManagerService_Create_SetEndpoint_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/AsyncCreateSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/AsyncCreateSecret.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/AsyncCreateSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/AsyncCreateSecret.java index 6c78a8758604..cd670dad81e8 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/AsyncCreateSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/AsyncCreateSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_createsecret_async] +// [START secretmanager_v1_generated_SecretManagerService_CreateSecret_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.CreateSecretRequest; import com.google.cloud.secretmanager.v1.ProjectName; @@ -50,4 +50,4 @@ public static void asyncCreateSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_createsecret_async] +// [END secretmanager_v1_generated_SecretManagerService_CreateSecret_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecret.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecret.java index 93f4c9f79069..bc715d146caf 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_createsecret_sync] +// [START secretmanager_v1_generated_SecretManagerService_CreateSecret_sync] import com.google.cloud.secretmanager.v1.CreateSecretRequest; import com.google.cloud.secretmanager.v1.ProjectName; import com.google.cloud.secretmanager.v1.Secret; @@ -46,4 +46,4 @@ public static void syncCreateSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_createsecret_sync] +// [END secretmanager_v1_generated_SecretManagerService_CreateSecret_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecretProjectnameStringSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecretProjectnameStringSecret.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecretProjectnameStringSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecretProjectnameStringSecret.java index 49d256a61d7c..8efa16fc354f 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecretProjectnameStringSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecretProjectnameStringSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_createsecret_projectnamestringsecret_sync] +// [START secretmanager_v1_generated_SecretManagerService_CreateSecret_ProjectnameStringSecret_sync] import com.google.cloud.secretmanager.v1.ProjectName; import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -42,4 +42,4 @@ public static void syncCreateSecretProjectnameStringSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_createsecret_projectnamestringsecret_sync] +// [END secretmanager_v1_generated_SecretManagerService_CreateSecret_ProjectnameStringSecret_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecretStringStringSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecretStringStringSecret.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecretStringStringSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecretStringStringSecret.java index 4fa816b65103..c16c29cfe65f 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/createsecret/SyncCreateSecretStringStringSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/createsecret/SyncCreateSecretStringStringSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_createsecret_stringstringsecret_sync] +// [START secretmanager_v1_generated_SecretManagerService_CreateSecret_StringStringSecret_sync] import com.google.cloud.secretmanager.v1.ProjectName; import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -42,4 +42,4 @@ public static void syncCreateSecretStringStringSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_createsecret_stringstringsecret_sync] +// [END secretmanager_v1_generated_SecretManagerService_CreateSecret_StringStringSecret_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/AsyncDeleteSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/AsyncDeleteSecret.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/AsyncDeleteSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/AsyncDeleteSecret.java index 044ff7929b61..74d7ae88c6cb 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/AsyncDeleteSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/AsyncDeleteSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_deletesecret_async] +// [START secretmanager_v1_generated_SecretManagerService_DeleteSecret_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.DeleteSecretRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -49,4 +49,4 @@ public static void asyncDeleteSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_deletesecret_async] +// [END secretmanager_v1_generated_SecretManagerService_DeleteSecret_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecret.java similarity index 91% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecret.java index 88eca7991ab0..ae3c60cc1d65 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_deletesecret_sync] +// [START secretmanager_v1_generated_SecretManagerService_DeleteSecret_sync] import com.google.cloud.secretmanager.v1.DeleteSecretRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; @@ -45,4 +45,4 @@ public static void syncDeleteSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_deletesecret_sync] +// [END secretmanager_v1_generated_SecretManagerService_DeleteSecret_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecretSecretname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecretSecretname.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecretSecretname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecretSecretname.java index 9b2b7ac00577..726831fd5788 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecretSecretname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecretSecretname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_deletesecret_secretname_sync] +// [START secretmanager_v1_generated_SecretManagerService_DeleteSecret_Secretname_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.protobuf.Empty; @@ -40,4 +40,4 @@ public static void syncDeleteSecretSecretname() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_deletesecret_secretname_sync] +// [END secretmanager_v1_generated_SecretManagerService_DeleteSecret_Secretname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecretString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecretString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecretString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecretString.java index efc4eb51c766..1e19a9e5adf5 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/deletesecret/SyncDeleteSecretString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/deletesecret/SyncDeleteSecretString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_deletesecret_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_DeleteSecret_String_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.protobuf.Empty; @@ -40,4 +40,4 @@ public static void syncDeleteSecretString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_deletesecret_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_DeleteSecret_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/AsyncDestroySecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/AsyncDestroySecretVersion.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/AsyncDestroySecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/AsyncDestroySecretVersion.java index 1ba6050a0c6c..567ae811f737 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/AsyncDestroySecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/AsyncDestroySecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_destroysecretversion_async] +// [START secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.DestroySecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -49,4 +49,4 @@ public static void asyncDestroySecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_destroysecretversion_async] +// [END secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersion.java similarity index 91% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersion.java index 7f2a2ebb8348..732bcf55fc9c 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_destroysecretversion_sync] +// [START secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_sync] import com.google.cloud.secretmanager.v1.DestroySecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; @@ -45,4 +45,4 @@ public static void syncDestroySecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_destroysecretversion_sync] +// [END secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersionSecretversionname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersionSecretversionname.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersionSecretversionname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersionSecretversionname.java index 9b387f45e75b..b41e5738a921 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersionSecretversionname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersionSecretversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_destroysecretversion_secretversionname_sync] +// [START secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_Secretversionname_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncDestroySecretVersionSecretversionname() throws Exception } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_destroysecretversion_secretversionname_sync] +// [END secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_Secretversionname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersionString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersionString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersionString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersionString.java index 9ef4fa7e248b..6332da1cbc8d 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/destroysecretversion/SyncDestroySecretVersionString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/destroysecretversion/SyncDestroySecretVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_destroysecretversion_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_String_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncDestroySecretVersionString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_destroysecretversion_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/AsyncDisableSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/AsyncDisableSecretVersion.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/AsyncDisableSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/AsyncDisableSecretVersion.java index c30a18cc97ab..207e152e3673 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/AsyncDisableSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/AsyncDisableSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_disablesecretversion_async] +// [START secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.DisableSecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -49,4 +49,4 @@ public static void asyncDisableSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_disablesecretversion_async] +// [END secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersion.java similarity index 91% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersion.java index d32b76cf0981..a47aa122780c 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_disablesecretversion_sync] +// [START secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_sync] import com.google.cloud.secretmanager.v1.DisableSecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; @@ -45,4 +45,4 @@ public static void syncDisableSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_disablesecretversion_sync] +// [END secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersionSecretversionname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersionSecretversionname.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersionSecretversionname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersionSecretversionname.java index 6634104cf213..0b6a9becb4e1 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersionSecretversionname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersionSecretversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_disablesecretversion_secretversionname_sync] +// [START secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_Secretversionname_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncDisableSecretVersionSecretversionname() throws Exception } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_disablesecretversion_secretversionname_sync] +// [END secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_Secretversionname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersionString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersionString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersionString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersionString.java index 96d04629866b..746a7aea6c83 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/disablesecretversion/SyncDisableSecretVersionString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/disablesecretversion/SyncDisableSecretVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_disablesecretversion_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_String_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncDisableSecretVersionString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_disablesecretversion_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/AsyncEnableSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/AsyncEnableSecretVersion.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/AsyncEnableSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/AsyncEnableSecretVersion.java index e80129080254..da036e66c768 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/AsyncEnableSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/AsyncEnableSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_enablesecretversion_async] +// [START secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.EnableSecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -49,4 +49,4 @@ public static void asyncEnableSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_enablesecretversion_async] +// [END secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersion.java similarity index 91% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersion.java index 0124846f7ed5..f99fc7c2b893 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_enablesecretversion_sync] +// [START secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_sync] import com.google.cloud.secretmanager.v1.EnableSecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; @@ -45,4 +45,4 @@ public static void syncEnableSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_enablesecretversion_sync] +// [END secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersionSecretversionname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersionSecretversionname.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersionSecretversionname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersionSecretversionname.java index 23c5eeb0b947..fee77ec5c8ff 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersionSecretversionname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersionSecretversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_enablesecretversion_secretversionname_sync] +// [START secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_Secretversionname_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncEnableSecretVersionSecretversionname() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_enablesecretversion_secretversionname_sync] +// [END secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_Secretversionname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersionString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersionString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersionString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersionString.java index 54a7ad132e65..bc99ff69397b 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/enablesecretversion/SyncEnableSecretVersionString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/enablesecretversion/SyncEnableSecretVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_enablesecretversion_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_String_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncEnableSecretVersionString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_enablesecretversion_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getiampolicy/AsyncGetIamPolicy.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getiampolicy/AsyncGetIamPolicy.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getiampolicy/AsyncGetIamPolicy.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getiampolicy/AsyncGetIamPolicy.java index 8509f1ac35d6..b3b00f71cf35 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getiampolicy/AsyncGetIamPolicy.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getiampolicy_async] +// [START secretmanager_v1_generated_SecretManagerService_GetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; @@ -50,4 +50,4 @@ public static void asyncGetIamPolicy() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getiampolicy_async] +// [END secretmanager_v1_generated_SecretManagerService_GetIamPolicy_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getiampolicy/SyncGetIamPolicy.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getiampolicy/SyncGetIamPolicy.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getiampolicy/SyncGetIamPolicy.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getiampolicy/SyncGetIamPolicy.java index ed0be73da38c..d4ad83306438 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getiampolicy/SyncGetIamPolicy.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getiampolicy_sync] +// [START secretmanager_v1_generated_SecretManagerService_GetIamPolicy_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.iam.v1.GetIamPolicyRequest; @@ -46,4 +46,4 @@ public static void syncGetIamPolicy() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getiampolicy_sync] +// [END secretmanager_v1_generated_SecretManagerService_GetIamPolicy_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/AsyncGetSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/AsyncGetSecret.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/AsyncGetSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/AsyncGetSecret.java index 1f812a364356..56b2027daf0b 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/AsyncGetSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/AsyncGetSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getsecret_async] +// [START secretmanager_v1_generated_SecretManagerService_GetSecret_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.GetSecretRequest; import com.google.cloud.secretmanager.v1.Secret; @@ -47,4 +47,4 @@ public static void asyncGetSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getsecret_async] +// [END secretmanager_v1_generated_SecretManagerService_GetSecret_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecret.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecret.java index 2c7397434d09..62b6538ec68b 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getsecret_sync] +// [START secretmanager_v1_generated_SecretManagerService_GetSecret_sync] import com.google.cloud.secretmanager.v1.GetSecretRequest; import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -44,4 +44,4 @@ public static void syncGetSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getsecret_sync] +// [END secretmanager_v1_generated_SecretManagerService_GetSecret_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecretSecretname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecretSecretname.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecretSecretname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecretSecretname.java index 912959bd05db..c51db29a05b3 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecretSecretname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecretSecretname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getsecret_secretname_sync] +// [START secretmanager_v1_generated_SecretManagerService_GetSecret_Secretname_sync] import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; @@ -40,4 +40,4 @@ public static void syncGetSecretSecretname() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getsecret_secretname_sync] +// [END secretmanager_v1_generated_SecretManagerService_GetSecret_Secretname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecretString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecretString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecretString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecretString.java index b1f2ea1f5815..863a7ce9a712 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecret/SyncGetSecretString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecret/SyncGetSecretString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getsecret_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_GetSecret_String_sync] import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; @@ -40,4 +40,4 @@ public static void syncGetSecretString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getsecret_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_GetSecret_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/AsyncGetSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/AsyncGetSecretVersion.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/AsyncGetSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/AsyncGetSecretVersion.java index 4732fc51f322..09dd9ed9d198 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/AsyncGetSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/AsyncGetSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getsecretversion_async] +// [START secretmanager_v1_generated_SecretManagerService_GetSecretVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.GetSecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -48,4 +48,4 @@ public static void asyncGetSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getsecretversion_async] +// [END secretmanager_v1_generated_SecretManagerService_GetSecretVersion_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersion.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersion.java similarity index 91% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersion.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersion.java index 162ff940f766..ad9b3c50db40 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersion.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getsecretversion_sync] +// [START secretmanager_v1_generated_SecretManagerService_GetSecretVersion_sync] import com.google.cloud.secretmanager.v1.GetSecretVersionRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; @@ -44,4 +44,4 @@ public static void syncGetSecretVersion() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getsecretversion_sync] +// [END secretmanager_v1_generated_SecretManagerService_GetSecretVersion_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersionSecretversionname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersionSecretversionname.java similarity index 89% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersionSecretversionname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersionSecretversionname.java index 384c2bad48ee..0c3ce1af6fe1 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersionSecretversionname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersionSecretversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getsecretversion_secretversionname_sync] +// [START secretmanager_v1_generated_SecretManagerService_GetSecretVersion_Secretversionname_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncGetSecretVersionSecretversionname() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getsecretversion_secretversionname_sync] +// [END secretmanager_v1_generated_SecretManagerService_GetSecretVersion_Secretversionname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersionString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersionString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersionString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersionString.java index fff131f9de61..0d7e25bfba29 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/getsecretversion/SyncGetSecretVersionString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/getsecretversion/SyncGetSecretVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_getsecretversion_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_GetSecretVersion_String_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretVersion; import com.google.cloud.secretmanager.v1.SecretVersionName; @@ -40,4 +40,4 @@ public static void syncGetSecretVersionString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_getsecretversion_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_GetSecretVersion_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/AsyncListSecrets.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/AsyncListSecrets.java similarity index 93% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/AsyncListSecrets.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/AsyncListSecrets.java index 26e416cf2286..5a53183e8dcb 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/AsyncListSecrets.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/AsyncListSecrets.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_async] +// [START secretmanager_v1_generated_SecretManagerService_ListSecrets_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.ListSecretsRequest; import com.google.cloud.secretmanager.v1.ProjectName; @@ -53,4 +53,4 @@ public static void asyncListSecrets() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_async] +// [END secretmanager_v1_generated_SecretManagerService_ListSecrets_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/AsyncListSecretsPaged.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/AsyncListSecretsPaged.java similarity index 93% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/AsyncListSecretsPaged.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/AsyncListSecretsPaged.java index 13afe7066a67..360ccf5d5ab5 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/AsyncListSecretsPaged.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/AsyncListSecretsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_paged_async] +// [START secretmanager_v1_generated_SecretManagerService_ListSecrets_Paged_async] import com.google.cloud.secretmanager.v1.ListSecretsRequest; import com.google.cloud.secretmanager.v1.ListSecretsResponse; import com.google.cloud.secretmanager.v1.ProjectName; @@ -61,4 +61,4 @@ public static void asyncListSecretsPaged() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_paged_async] +// [END secretmanager_v1_generated_SecretManagerService_ListSecrets_Paged_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecrets.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecrets.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecrets.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecrets.java index f41fdbecaed0..90e8e0fe401f 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecrets.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecrets.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_sync] +// [START secretmanager_v1_generated_SecretManagerService_ListSecrets_sync] import com.google.cloud.secretmanager.v1.ListSecretsRequest; import com.google.cloud.secretmanager.v1.ProjectName; import com.google.cloud.secretmanager.v1.Secret; @@ -49,4 +49,4 @@ public static void syncListSecrets() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_sync] +// [END secretmanager_v1_generated_SecretManagerService_ListSecrets_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecretsProjectname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecretsProjectname.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecretsProjectname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecretsProjectname.java index 45dc0daccda5..7a19d8193524 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecretsProjectname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecretsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_projectname_sync] +// [START secretmanager_v1_generated_SecretManagerService_ListSecrets_Projectname_sync] import com.google.cloud.secretmanager.v1.ProjectName; import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -42,4 +42,4 @@ public static void syncListSecretsProjectname() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_projectname_sync] +// [END secretmanager_v1_generated_SecretManagerService_ListSecrets_Projectname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecretsString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecretsString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecretsString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecretsString.java index 7b60b647c4be..39e4859d94ac 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecrets/SyncListSecretsString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecrets/SyncListSecretsString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_ListSecrets_String_sync] import com.google.cloud.secretmanager.v1.ProjectName; import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -42,4 +42,4 @@ public static void syncListSecretsString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecrets_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_ListSecrets_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/AsyncListSecretVersions.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/AsyncListSecretVersions.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/AsyncListSecretVersions.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/AsyncListSecretVersions.java index 1d4964c45565..7583b49004c6 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/AsyncListSecretVersions.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/AsyncListSecretVersions.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_async] +// [START secretmanager_v1_generated_SecretManagerService_ListSecretVersions_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.ListSecretVersionsRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -53,4 +53,4 @@ public static void asyncListSecretVersions() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_async] +// [END secretmanager_v1_generated_SecretManagerService_ListSecretVersions_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/AsyncListSecretVersionsPaged.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/AsyncListSecretVersionsPaged.java similarity index 93% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/AsyncListSecretVersionsPaged.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/AsyncListSecretVersionsPaged.java index 5dc0761699c6..113042dedcde 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/AsyncListSecretVersionsPaged.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/AsyncListSecretVersionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_paged_async] +// [START secretmanager_v1_generated_SecretManagerService_ListSecretVersions_Paged_async] import com.google.cloud.secretmanager.v1.ListSecretVersionsRequest; import com.google.cloud.secretmanager.v1.ListSecretVersionsResponse; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -61,4 +61,4 @@ public static void asyncListSecretVersionsPaged() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_paged_async] +// [END secretmanager_v1_generated_SecretManagerService_ListSecretVersions_Paged_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersions.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersions.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersions.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersions.java index b39375297cdb..0877b681cc0e 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersions.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersions.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_sync] +// [START secretmanager_v1_generated_SecretManagerService_ListSecretVersions_sync] import com.google.cloud.secretmanager.v1.ListSecretVersionsRequest; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; @@ -50,4 +50,4 @@ public static void syncListSecretVersions() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_sync] +// [END secretmanager_v1_generated_SecretManagerService_ListSecretVersions_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersionsSecretname.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersionsSecretname.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersionsSecretname.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersionsSecretname.java index 4f812d0da9e3..3b36c372589c 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersionsSecretname.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersionsSecretname.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_secretname_sync] +// [START secretmanager_v1_generated_SecretManagerService_ListSecretVersions_Secretname_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.cloud.secretmanager.v1.SecretVersion; @@ -43,4 +43,4 @@ public static void syncListSecretVersionsSecretname() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_secretname_sync] +// [END secretmanager_v1_generated_SecretManagerService_ListSecretVersions_Secretname_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersionsString.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersionsString.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersionsString.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersionsString.java index 77f1a1035643..27fb1c582c52 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/listsecretversions/SyncListSecretVersionsString.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/listsecretversions/SyncListSecretVersionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_string_sync] +// [START secretmanager_v1_generated_SecretManagerService_ListSecretVersions_String_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.cloud.secretmanager.v1.SecretVersion; @@ -43,4 +43,4 @@ public static void syncListSecretVersionsString() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_listsecretversions_string_sync] +// [END secretmanager_v1_generated_SecretManagerService_ListSecretVersions_String_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/setiampolicy/AsyncSetIamPolicy.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/setiampolicy/AsyncSetIamPolicy.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/setiampolicy/AsyncSetIamPolicy.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/setiampolicy/AsyncSetIamPolicy.java index a97b0cb760b4..6f11b60934f2 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/setiampolicy/AsyncSetIamPolicy.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_setiampolicy_async] +// [START secretmanager_v1_generated_SecretManagerService_SetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; @@ -51,4 +51,4 @@ public static void asyncSetIamPolicy() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_setiampolicy_async] +// [END secretmanager_v1_generated_SecretManagerService_SetIamPolicy_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/setiampolicy/SyncSetIamPolicy.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/setiampolicy/SyncSetIamPolicy.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/setiampolicy/SyncSetIamPolicy.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/setiampolicy/SyncSetIamPolicy.java index ae4ef8ed1900..6cc11de3e817 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/setiampolicy/SyncSetIamPolicy.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_setiampolicy_sync] +// [START secretmanager_v1_generated_SecretManagerService_SetIamPolicy_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.iam.v1.Policy; @@ -47,4 +47,4 @@ public static void syncSetIamPolicy() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_setiampolicy_sync] +// [END secretmanager_v1_generated_SecretManagerService_SetIamPolicy_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/testiampermissions/AsyncTestIamPermissions.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/testiampermissions/AsyncTestIamPermissions.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/testiampermissions/AsyncTestIamPermissions.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/testiampermissions/AsyncTestIamPermissions.java index 165c77a1e194..cc249f71e45d 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/testiampermissions/AsyncTestIamPermissions.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_testiampermissions_async] +// [START secretmanager_v1_generated_SecretManagerService_TestIamPermissions_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; @@ -50,4 +50,4 @@ public static void asyncTestIamPermissions() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_testiampermissions_async] +// [END secretmanager_v1_generated_SecretManagerService_TestIamPermissions_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/testiampermissions/SyncTestIamPermissions.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/testiampermissions/SyncTestIamPermissions.java similarity index 91% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/testiampermissions/SyncTestIamPermissions.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/testiampermissions/SyncTestIamPermissions.java index 9957aa8d32d0..6d0b2ba83e33 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/testiampermissions/SyncTestIamPermissions.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_testiampermissions_sync] +// [START secretmanager_v1_generated_SecretManagerService_TestIamPermissions_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.SecretName; import com.google.iam.v1.TestIamPermissionsRequest; @@ -46,4 +46,4 @@ public static void syncTestIamPermissions() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_testiampermissions_sync] +// [END secretmanager_v1_generated_SecretManagerService_TestIamPermissions_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/AsyncUpdateSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/AsyncUpdateSecret.java similarity index 92% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/AsyncUpdateSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/AsyncUpdateSecret.java index 5e9546ecd660..097d3b943c88 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/AsyncUpdateSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/AsyncUpdateSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_updatesecret_async] +// [START secretmanager_v1_generated_SecretManagerService_UpdateSecret_async] import com.google.api.core.ApiFuture; import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; @@ -49,4 +49,4 @@ public static void asyncUpdateSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_updatesecret_async] +// [END secretmanager_v1_generated_SecretManagerService_UpdateSecret_async] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/SyncUpdateSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/SyncUpdateSecret.java similarity index 91% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/SyncUpdateSecret.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/SyncUpdateSecret.java index 0237c25d88fc..90bbe2aa4c32 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/SyncUpdateSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/SyncUpdateSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_updatesecret_sync] +// [START secretmanager_v1_generated_SecretManagerService_UpdateSecret_sync] import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.cloud.secretmanager.v1.UpdateSecretRequest; @@ -45,4 +45,4 @@ public static void syncUpdateSecret() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_updatesecret_sync] +// [END secretmanager_v1_generated_SecretManagerService_UpdateSecret_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/SyncUpdateSecretSecretFieldmask.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/SyncUpdateSecretSecretFieldmask.java similarity index 90% rename from java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/SyncUpdateSecretSecretFieldmask.java rename to java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/SyncUpdateSecretSecretFieldmask.java index 84cc1ea8effd..b98d2f8788b1 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerserviceclient/updatesecret/SyncUpdateSecretSecretFieldmask.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservice/updatesecret/SyncUpdateSecretSecretFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerserviceclient_updatesecret_secretfieldmask_sync] +// [START secretmanager_v1_generated_SecretManagerService_UpdateSecret_SecretFieldmask_sync] import com.google.cloud.secretmanager.v1.Secret; import com.google.cloud.secretmanager.v1.SecretManagerServiceClient; import com.google.protobuf.FieldMask; @@ -41,4 +41,4 @@ public static void syncUpdateSecretSecretFieldmask() throws Exception { } } } -// [END secretmanager_v1_generated_secretmanagerserviceclient_updatesecret_secretfieldmask_sync] +// [END secretmanager_v1_generated_SecretManagerService_UpdateSecret_SecretFieldmask_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservicesettings/createsecret/SyncCreateSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservicesettings/createsecret/SyncCreateSecret.java index 6ed61ea39697..3ab590feae7f 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservicesettings/createsecret/SyncCreateSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/secretmanagerservicesettings/createsecret/SyncCreateSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.samples; -// [START secretmanager_v1_generated_secretmanagerservicesettings_createsecret_sync] +// [START secretmanager_v1_generated_SecretManagerServiceSettings_CreateSecret_sync] import com.google.cloud.secretmanager.v1.SecretManagerServiceSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncCreateSecret() throws Exception { secretManagerServiceSettingsBuilder.build(); } } -// [END secretmanager_v1_generated_secretmanagerservicesettings_createsecret_sync] +// [END secretmanager_v1_generated_SecretManagerServiceSettings_CreateSecret_sync] diff --git a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/stub/secretmanagerservicestubsettings/createsecret/SyncCreateSecret.java b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/stub/secretmanagerservicestubsettings/createsecret/SyncCreateSecret.java index 7296e9b2ab1a..75e9fcc0b4fd 100644 --- a/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/stub/secretmanagerservicestubsettings/createsecret/SyncCreateSecret.java +++ b/java-secretmanager/samples/snippets/generated/com/google/cloud/secretmanager/v1/stub/secretmanagerservicestubsettings/createsecret/SyncCreateSecret.java @@ -16,7 +16,7 @@ package com.google.cloud.secretmanager.v1.stub.samples; -// [START secretmanager_v1_generated_secretmanagerservicestubsettings_createsecret_sync] +// [START secretmanager_v1_generated_SecretManagerServiceStubSettings_CreateSecret_sync] import com.google.cloud.secretmanager.v1.stub.SecretManagerServiceStubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncCreateSecret() throws Exception { secretManagerServiceSettingsBuilder.build(); } } -// [END secretmanager_v1_generated_secretmanagerservicestubsettings_createsecret_sync] +// [END secretmanager_v1_generated_SecretManagerServiceStubSettings_CreateSecret_sync]