From 47b0d4844de9047a0bcf40ba5e52277644d005f5 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 16:30:22 +0000 Subject: [PATCH] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#832) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- .../resourcemanager/v3/FoldersClient.java | 378 +++++++++++++----- .../resourcemanager/v3/FoldersSettings.java | 12 +- .../v3/OrganizationsClient.java | 168 +++++--- .../v3/OrganizationsSettings.java | 12 +- .../resourcemanager/v3/ProjectsClient.java | 378 +++++++++++++----- .../resourcemanager/v3/ProjectsSettings.java | 12 +- .../resourcemanager/v3/TagBindingsClient.java | 126 ++++-- .../v3/TagBindingsSettings.java | 12 +- .../resourcemanager/v3/TagKeysClient.java | 266 ++++++++---- .../resourcemanager/v3/TagKeysSettings.java | 12 +- .../resourcemanager/v3/TagValuesClient.java | 266 ++++++++---- .../resourcemanager/v3/TagValuesSettings.java | 12 +- .../resourcemanager/v3/package-info.java | 42 +- .../v3/stub/FoldersStubSettings.java | 12 +- .../v3/stub/HttpJsonFoldersStub.java | 16 +- .../v3/stub/HttpJsonOrganizationsStub.java | 6 +- .../v3/stub/HttpJsonProjectsStub.java | 16 +- .../v3/stub/HttpJsonTagBindingsStub.java | 2 +- .../v3/stub/HttpJsonTagKeysStub.java | 12 +- .../v3/stub/HttpJsonTagValuesStub.java | 10 +- .../v3/stub/OrganizationsStubSettings.java | 12 +- .../v3/stub/ProjectsStubSettings.java | 12 +- .../v3/stub/TagBindingsStubSettings.java | 12 +- .../v3/stub/TagKeysStubSettings.java | 12 +- .../v3/stub/TagValuesStubSettings.java | 12 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createfolder/AsyncCreateFolder.java | 7 +- .../createfolder/AsyncCreateFolderLRO.java | 7 +- .../createfolder/SyncCreateFolder.java | 7 +- .../createfolder/SyncCreateFolderFolder.java | 7 +- .../deletefolder/AsyncDeleteFolder.java | 7 +- .../deletefolder/AsyncDeleteFolderLRO.java | 7 +- .../deletefolder/SyncDeleteFolder.java | 7 +- .../SyncDeleteFolderFoldername.java | 7 +- .../deletefolder/SyncDeleteFolderString.java | 7 +- .../getfolder/AsyncGetFolder.java | 7 +- .../getfolder/SyncGetFolder.java | 7 +- .../getfolder/SyncGetFolderFoldername.java | 7 +- .../getfolder/SyncGetFolderString.java | 7 +- .../getiampolicy/AsyncGetIamPolicy.java | 7 +- .../getiampolicy/SyncGetIamPolicy.java | 7 +- .../SyncGetIamPolicyResourcename.java | 7 +- .../getiampolicy/SyncGetIamPolicyString.java | 7 +- .../listfolders/AsyncListFolders.java | 7 +- .../listfolders/AsyncListFoldersPaged.java | 7 +- .../listfolders/SyncListFolders.java | 7 +- .../SyncListFoldersResourcename.java | 7 +- .../listfolders/SyncListFoldersString.java | 7 +- .../movefolder/AsyncMoveFolder.java | 7 +- .../movefolder/AsyncMoveFolderLRO.java | 7 +- .../movefolder/SyncMoveFolder.java | 7 +- .../SyncMoveFolderFoldernameResourcename.java | 7 +- .../SyncMoveFolderFoldernameString.java | 7 +- .../SyncMoveFolderStringResourcename.java | 7 +- .../SyncMoveFolderStringString.java | 7 +- .../searchfolders/AsyncSearchFolders.java | 7 +- .../AsyncSearchFoldersPaged.java | 7 +- .../searchfolders/SyncSearchFolders.java | 7 +- .../SyncSearchFoldersString.java | 7 +- .../setiampolicy/AsyncSetIamPolicy.java | 7 +- .../setiampolicy/SyncSetIamPolicy.java | 7 +- .../SyncSetIamPolicyResourcenamePolicy.java | 7 +- .../SyncSetIamPolicyStringPolicy.java | 7 +- .../AsyncTestIamPermissions.java | 7 +- .../SyncTestIamPermissions.java | 7 +- ...tIamPermissionsResourcenameListstring.java | 7 +- ...yncTestIamPermissionsStringListstring.java | 7 +- .../undeletefolder/AsyncUndeleteFolder.java | 7 +- .../AsyncUndeleteFolderLRO.java | 7 +- .../undeletefolder/SyncUndeleteFolder.java | 7 +- .../SyncUndeleteFolderFoldername.java | 7 +- .../SyncUndeleteFolderString.java | 7 +- .../updatefolder/AsyncUpdateFolder.java | 7 +- .../updatefolder/AsyncUpdateFolderLRO.java | 7 +- .../updatefolder/SyncUpdateFolder.java | 7 +- .../SyncUpdateFolderFolderFieldmask.java | 7 +- .../getfolder/SyncGetFolder.java | 12 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../getiampolicy/AsyncGetIamPolicy.java | 7 +- .../getiampolicy/SyncGetIamPolicy.java | 7 +- .../SyncGetIamPolicyResourcename.java | 7 +- .../getiampolicy/SyncGetIamPolicyString.java | 7 +- .../getorganization/AsyncGetOrganization.java | 7 +- .../getorganization/SyncGetOrganization.java | 7 +- .../SyncGetOrganizationOrganizationname.java | 7 +- .../SyncGetOrganizationString.java | 7 +- .../AsyncSearchOrganizations.java | 7 +- .../AsyncSearchOrganizationsPaged.java | 7 +- .../SyncSearchOrganizations.java | 7 +- .../SyncSearchOrganizationsString.java | 7 +- .../setiampolicy/AsyncSetIamPolicy.java | 7 +- .../setiampolicy/SyncSetIamPolicy.java | 7 +- .../SyncSetIamPolicyResourcename.java | 7 +- .../setiampolicy/SyncSetIamPolicyString.java | 7 +- .../AsyncTestIamPermissions.java | 7 +- .../SyncTestIamPermissions.java | 7 +- ...tIamPermissionsResourcenameListstring.java | 7 +- ...yncTestIamPermissionsStringListstring.java | 7 +- .../getorganization/SyncGetOrganization.java | 12 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createproject/AsyncCreateProject.java | 7 +- .../createproject/AsyncCreateProjectLRO.java | 7 +- .../createproject/SyncCreateProject.java | 7 +- .../SyncCreateProjectProject.java | 7 +- .../deleteproject/AsyncDeleteProject.java | 7 +- .../deleteproject/AsyncDeleteProjectLRO.java | 7 +- .../deleteproject/SyncDeleteProject.java | 7 +- .../SyncDeleteProjectProjectname.java | 7 +- .../SyncDeleteProjectString.java | 7 +- .../getiampolicy/AsyncGetIamPolicy.java | 7 +- .../getiampolicy/SyncGetIamPolicy.java | 7 +- .../SyncGetIamPolicyResourcename.java | 7 +- .../getiampolicy/SyncGetIamPolicyString.java | 7 +- .../getproject/AsyncGetProject.java | 7 +- .../getproject/SyncGetProject.java | 7 +- .../getproject/SyncGetProjectProjectname.java | 7 +- .../getproject/SyncGetProjectString.java | 7 +- .../listprojects/AsyncListProjects.java | 7 +- .../listprojects/AsyncListProjectsPaged.java | 7 +- .../listprojects/SyncListProjects.java | 7 +- .../SyncListProjectsResourcename.java | 7 +- .../listprojects/SyncListProjectsString.java | 7 +- .../moveproject/AsyncMoveProject.java | 7 +- .../moveproject/AsyncMoveProjectLRO.java | 7 +- .../moveproject/SyncMoveProject.java | 7 +- ...yncMoveProjectProjectnameResourcename.java | 7 +- .../SyncMoveProjectProjectnameString.java | 7 +- .../SyncMoveProjectStringResourcename.java | 7 +- .../SyncMoveProjectStringString.java | 7 +- .../searchprojects/AsyncSearchProjects.java | 7 +- .../AsyncSearchProjectsPaged.java | 7 +- .../searchprojects/SyncSearchProjects.java | 7 +- .../SyncSearchProjectsString.java | 7 +- .../setiampolicy/AsyncSetIamPolicy.java | 7 +- .../setiampolicy/SyncSetIamPolicy.java | 7 +- .../SyncSetIamPolicyResourcenamePolicy.java | 7 +- .../SyncSetIamPolicyStringPolicy.java | 7 +- .../AsyncTestIamPermissions.java | 7 +- .../SyncTestIamPermissions.java | 7 +- ...tIamPermissionsResourcenameListstring.java | 7 +- ...yncTestIamPermissionsStringListstring.java | 7 +- .../undeleteproject/AsyncUndeleteProject.java | 7 +- .../AsyncUndeleteProjectLRO.java | 7 +- .../undeleteproject/SyncUndeleteProject.java | 7 +- .../SyncUndeleteProjectProjectname.java | 7 +- .../SyncUndeleteProjectString.java | 7 +- .../updateproject/AsyncUpdateProject.java | 7 +- .../updateproject/AsyncUpdateProjectLRO.java | 7 +- .../updateproject/SyncUpdateProject.java | 7 +- .../SyncUpdateProjectProjectFieldmask.java | 7 +- .../getproject/SyncGetProject.java | 12 +- .../getfolder/SyncGetFolder.java | 12 +- .../getorganization/SyncGetOrganization.java | 12 +- .../getproject/SyncGetProject.java | 12 +- .../listtagbindings/SyncListTagBindings.java | 12 +- .../gettagkey/SyncGetTagKey.java | 12 +- .../gettagvalue/SyncGetTagValue.java | 12 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../AsyncCreateTagBinding.java | 7 +- .../AsyncCreateTagBindingLRO.java | 7 +- .../SyncCreateTagBinding.java | 7 +- .../SyncCreateTagBindingTagbinding.java | 7 +- .../AsyncDeleteTagBinding.java | 7 +- .../AsyncDeleteTagBindingLRO.java | 7 +- .../SyncDeleteTagBinding.java | 7 +- .../SyncDeleteTagBindingString.java | 7 +- .../SyncDeleteTagBindingTagbindingname.java | 7 +- .../listtagbindings/AsyncListTagBindings.java | 7 +- .../AsyncListTagBindingsPaged.java | 7 +- .../listtagbindings/SyncListTagBindings.java | 7 +- .../SyncListTagBindingsResourcename.java | 7 +- .../SyncListTagBindingsString.java | 7 +- .../listtagbindings/SyncListTagBindings.java | 12 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createtagkey/AsyncCreateTagKey.java | 7 +- .../createtagkey/AsyncCreateTagKeyLRO.java | 7 +- .../createtagkey/SyncCreateTagKey.java | 7 +- .../createtagkey/SyncCreateTagKeyTagkey.java | 7 +- .../deletetagkey/AsyncDeleteTagKey.java | 7 +- .../deletetagkey/AsyncDeleteTagKeyLRO.java | 7 +- .../deletetagkey/SyncDeleteTagKey.java | 7 +- .../deletetagkey/SyncDeleteTagKeyString.java | 7 +- .../SyncDeleteTagKeyTagkeyname.java | 7 +- .../getiampolicy/AsyncGetIamPolicy.java | 7 +- .../getiampolicy/SyncGetIamPolicy.java | 7 +- .../SyncGetIamPolicyResourcename.java | 7 +- .../getiampolicy/SyncGetIamPolicyString.java | 7 +- .../gettagkey/AsyncGetTagKey.java | 7 +- .../gettagkey/SyncGetTagKey.java | 7 +- .../gettagkey/SyncGetTagKeyString.java | 7 +- .../gettagkey/SyncGetTagKeyTagkeyname.java | 7 +- .../listtagkeys/AsyncListTagKeys.java | 7 +- .../listtagkeys/AsyncListTagKeysPaged.java | 7 +- .../listtagkeys/SyncListTagKeys.java | 7 +- .../SyncListTagKeysResourcename.java | 7 +- .../listtagkeys/SyncListTagKeysString.java | 7 +- .../setiampolicy/AsyncSetIamPolicy.java | 7 +- .../setiampolicy/SyncSetIamPolicy.java | 7 +- .../SyncSetIamPolicyResourcenamePolicy.java | 7 +- .../SyncSetIamPolicyStringPolicy.java | 7 +- .../AsyncTestIamPermissions.java | 7 +- .../SyncTestIamPermissions.java | 7 +- ...tIamPermissionsResourcenameListstring.java | 7 +- ...yncTestIamPermissionsStringListstring.java | 7 +- .../updatetagkey/AsyncUpdateTagKey.java | 7 +- .../updatetagkey/AsyncUpdateTagKeyLRO.java | 7 +- .../updatetagkey/SyncUpdateTagKey.java | 7 +- .../SyncUpdateTagKeyTagkeyFieldmask.java | 7 +- .../gettagkey/SyncGetTagKey.java | 12 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createtagvalue/AsyncCreateTagValue.java | 7 +- .../AsyncCreateTagValueLRO.java | 7 +- .../createtagvalue/SyncCreateTagValue.java | 7 +- .../SyncCreateTagValueTagvalue.java | 7 +- .../deletetagvalue/AsyncDeleteTagValue.java | 7 +- .../AsyncDeleteTagValueLRO.java | 7 +- .../deletetagvalue/SyncDeleteTagValue.java | 7 +- .../SyncDeleteTagValueString.java | 7 +- .../SyncDeleteTagValueTagvaluename.java | 7 +- .../getiampolicy/AsyncGetIamPolicy.java | 7 +- .../getiampolicy/SyncGetIamPolicy.java | 7 +- .../SyncGetIamPolicyResourcename.java | 7 +- .../getiampolicy/SyncGetIamPolicyString.java | 7 +- .../gettagvalue/AsyncGetTagValue.java | 7 +- .../gettagvalue/SyncGetTagValue.java | 7 +- .../gettagvalue/SyncGetTagValueString.java | 7 +- .../SyncGetTagValueTagvaluename.java | 7 +- .../listtagvalues/AsyncListTagValues.java | 7 +- .../AsyncListTagValuesPaged.java | 7 +- .../listtagvalues/SyncListTagValues.java | 7 +- .../SyncListTagValuesResourcename.java | 7 +- .../SyncListTagValuesString.java | 7 +- .../setiampolicy/AsyncSetIamPolicy.java | 7 +- .../setiampolicy/SyncSetIamPolicy.java | 7 +- .../SyncSetIamPolicyResourcenamePolicy.java | 7 +- .../SyncSetIamPolicyStringPolicy.java | 7 +- .../AsyncTestIamPermissions.java | 7 +- .../SyncTestIamPermissions.java | 7 +- ...tIamPermissionsResourcenameListstring.java | 7 +- ...yncTestIamPermissionsStringListstring.java | 7 +- .../updatetagvalue/AsyncUpdateTagValue.java | 7 +- .../AsyncUpdateTagValueLRO.java | 7 +- .../updatetagvalue/SyncUpdateTagValue.java | 7 +- .../SyncUpdateTagValueTagvalueFieldmask.java | 7 +- .../gettagvalue/SyncGetTagValue.java | 12 +- 257 files changed, 2438 insertions(+), 1076 deletions(-) diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersClient.java index f60a8dc9..34dcfa8a 100644 --- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersClient.java +++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersClient.java @@ -53,8 +53,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (FoldersClient foldersClient = FoldersClient.create()) {
  *   FolderName name = FolderName.of("[FOLDER]");
  *   Folder response = foldersClient.getFolder(name);
@@ -90,8 +93,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * FoldersSettings foldersSettings =
  *     FoldersSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -102,8 +108,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * FoldersSettings foldersSettings = FoldersSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FoldersClient foldersClient = FoldersClient.create(foldersSettings);
  * }
@@ -112,8 +121,11 @@ * the wire: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * FoldersSettings foldersSettings =
  *     FoldersSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -206,8 +218,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   FolderName name = FolderName.of("[FOLDER]");
    *   Folder response = foldersClient.getFolder(name);
@@ -233,8 +248,11 @@ public final Folder getFolder(FolderName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String name = FolderName.of("[FOLDER]").toString();
    *   Folder response = foldersClient.getFolder(name);
@@ -259,8 +277,11 @@ public final Folder getFolder(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   GetFolderRequest request =
    *       GetFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
@@ -284,8 +305,11 @@ public final Folder getFolder(GetFolderRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   GetFolderRequest request =
    *       GetFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
@@ -309,8 +333,11 @@ public final UnaryCallable getFolderCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   ResourceName parent = FolderName.of("[FOLDER]");
    *   for (Folder element : foldersClient.listFolders(parent).iterateAll()) {
@@ -343,8 +370,11 @@ public final ListFoldersPagedResponse listFolders(ResourceName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String parent = FolderName.of("[FOLDER]").toString();
    *   for (Folder element : foldersClient.listFolders(parent).iterateAll()) {
@@ -374,8 +404,11 @@ public final ListFoldersPagedResponse listFolders(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   ListFoldersRequest request =
    *       ListFoldersRequest.newBuilder()
@@ -407,8 +440,11 @@ public final ListFoldersPagedResponse listFolders(ListFoldersRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   ListFoldersRequest request =
    *       ListFoldersRequest.newBuilder()
@@ -440,8 +476,11 @@ public final ListFoldersPagedResponse listFolders(ListFoldersRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   ListFoldersRequest request =
    *       ListFoldersRequest.newBuilder()
@@ -480,8 +519,11 @@ public final UnaryCallable listFoldersC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String query = "query107944136";
    *   for (Folder element : foldersClient.searchFolders(query).iterateAll()) {
@@ -532,8 +574,11 @@ public final SearchFoldersPagedResponse searchFolders(String query) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   SearchFoldersRequest request =
    *       SearchFoldersRequest.newBuilder()
@@ -565,8 +610,11 @@ public final SearchFoldersPagedResponse searchFolders(SearchFoldersRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   SearchFoldersRequest request =
    *       SearchFoldersRequest.newBuilder()
@@ -598,8 +646,11 @@ public final SearchFoldersPagedResponse searchFolders(SearchFoldersRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   SearchFoldersRequest request =
    *       SearchFoldersRequest.newBuilder()
@@ -651,8 +702,11 @@ public final UnaryCallable searchFo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   Folder folder = Folder.newBuilder().build();
    *   Folder response = foldersClient.createFolderAsync(folder).get();
@@ -693,8 +747,11 @@ public final OperationFuture createFolderAsync(Fol
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   CreateFolderRequest request =
    *       CreateFolderRequest.newBuilder().setFolder(Folder.newBuilder().build()).build();
@@ -735,8 +792,11 @@ public final OperationFuture createFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   CreateFolderRequest request =
    *       CreateFolderRequest.newBuilder().setFolder(Folder.newBuilder().build()).build();
@@ -777,8 +837,11 @@ public final OperationFuture createFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   CreateFolderRequest request =
    *       CreateFolderRequest.newBuilder().setFolder(Folder.newBuilder().build()).build();
@@ -810,8 +873,11 @@ public final UnaryCallable createFolderCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   Folder folder = Folder.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -849,8 +915,11 @@ public final OperationFuture updateFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   UpdateFolderRequest request =
    *       UpdateFolderRequest.newBuilder()
@@ -887,8 +956,11 @@ public final OperationFuture updateFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   UpdateFolderRequest request =
    *       UpdateFolderRequest.newBuilder()
@@ -925,8 +997,11 @@ public final OperationFuture updateFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   UpdateFolderRequest request =
    *       UpdateFolderRequest.newBuilder()
@@ -961,8 +1036,11 @@ public final UnaryCallable updateFolderCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   FolderName name = FolderName.of("[FOLDER]");
    *   ResourceName destinationParent = FolderName.of("[FOLDER]");
@@ -1005,8 +1083,11 @@ public final OperationFuture moveFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   FolderName name = FolderName.of("[FOLDER]");
    *   String destinationParent = FolderName.of("[FOLDER]").toString();
@@ -1049,8 +1130,11 @@ public final OperationFuture moveFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String name = FolderName.of("[FOLDER]").toString();
    *   ResourceName destinationParent = FolderName.of("[FOLDER]");
@@ -1093,8 +1177,11 @@ public final OperationFuture moveFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String name = FolderName.of("[FOLDER]").toString();
    *   String destinationParent = FolderName.of("[FOLDER]").toString();
@@ -1137,8 +1224,11 @@ public final OperationFuture moveFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   MoveFolderRequest request =
    *       MoveFolderRequest.newBuilder()
@@ -1175,8 +1265,11 @@ public final OperationFuture moveFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   MoveFolderRequest request =
    *       MoveFolderRequest.newBuilder()
@@ -1213,8 +1306,11 @@ public final OperationFuture moveFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   MoveFolderRequest request =
    *       MoveFolderRequest.newBuilder()
@@ -1245,8 +1341,11 @@ public final UnaryCallable moveFolderCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   FolderName name = FolderName.of("[FOLDER]");
    *   Folder response = foldersClient.deleteFolderAsync(name).get();
@@ -1277,8 +1376,11 @@ public final OperationFuture deleteFolderAsync(Fol
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String name = FolderName.of("[FOLDER]").toString();
    *   Folder response = foldersClient.deleteFolderAsync(name).get();
@@ -1308,8 +1410,11 @@ public final OperationFuture deleteFolderAsync(Str
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   DeleteFolderRequest request =
    *       DeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
@@ -1339,8 +1444,11 @@ public final OperationFuture deleteFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   DeleteFolderRequest request =
    *       DeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
@@ -1370,8 +1478,11 @@ public final OperationFuture deleteFolderAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   DeleteFolderRequest request =
    *       DeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
@@ -1399,8 +1510,11 @@ public final UnaryCallable deleteFolderCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   FolderName name = FolderName.of("[FOLDER]");
    *   Folder response = foldersClient.undeleteFolderAsync(name).get();
@@ -1432,8 +1546,11 @@ public final OperationFuture undeleteFolderAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String name = FolderName.of("[FOLDER]").toString();
    *   Folder response = foldersClient.undeleteFolderAsync(name).get();
@@ -1463,8 +1580,11 @@ public final OperationFuture undeleteFolderAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   UndeleteFolderRequest request =
    *       UndeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
@@ -1494,8 +1614,11 @@ public final OperationFuture undeleteFolderAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   UndeleteFolderRequest request =
    *       UndeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
@@ -1525,8 +1648,11 @@ public final OperationFuture undeleteFolderAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   UndeleteFolderRequest request =
    *       UndeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
@@ -1550,8 +1676,11 @@ public final UnaryCallable undeleteFolderCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   ResourceName resource = FolderName.of("[FOLDER]");
    *   Policy response = foldersClient.getIamPolicy(resource);
@@ -1580,8 +1709,11 @@ public final Policy getIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = foldersClient.getIamPolicy(resource);
@@ -1607,8 +1739,11 @@ public final Policy getIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1636,8 +1771,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1663,8 +1801,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   ResourceName resource = FolderName.of("[FOLDER]");
    *   Policy policy = Policy.newBuilder().build();
@@ -1697,8 +1838,11 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy policy = Policy.newBuilder().build();
@@ -1728,8 +1872,11 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1757,8 +1904,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1786,8 +1936,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   ResourceName resource = FolderName.of("[FOLDER]");
    *   List permissions = new ArrayList<>();
@@ -1822,8 +1975,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
@@ -1858,8 +2014,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1887,8 +2046,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (FoldersClient foldersClient = FoldersClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersSettings.java
index 29ae9503..249d7fc9 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/FoldersSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of getFolder to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * FoldersSettings.Builder foldersSettingsBuilder = FoldersSettings.newBuilder();
  * foldersSettingsBuilder
  *     .getFolderSettings()
  *     .setRetrySettings(
- *         foldersSettingsBuilder
- *             .getFolderSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         foldersSettingsBuilder.getFolderSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FoldersSettings foldersSettings = foldersSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsClient.java
index 81f1939e..fa7a6a2b 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsClient.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsClient.java
@@ -46,8 +46,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
  *   OrganizationName name = OrganizationName.of("[ORGANIZATION]");
  *   Organization response = organizationsClient.getOrganization(name);
@@ -83,8 +86,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * OrganizationsSettings organizationsSettings =
  *     OrganizationsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -95,8 +101,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * OrganizationsSettings organizationsSettings =
  *     OrganizationsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * OrganizationsClient organizationsClient = OrganizationsClient.create(organizationsSettings);
@@ -106,8 +115,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * OrganizationsSettings organizationsSettings =
  *     OrganizationsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -175,8 +187,11 @@ public OrganizationsStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   OrganizationName name = OrganizationName.of("[ORGANIZATION]");
    *   Organization response = organizationsClient.getOrganization(name);
@@ -201,8 +216,11 @@ public final Organization getOrganization(OrganizationName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   String name = OrganizationName.of("[ORGANIZATION]").toString();
    *   Organization response = organizationsClient.getOrganization(name);
@@ -226,8 +244,11 @@ public final Organization getOrganization(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   GetOrganizationRequest request =
    *       GetOrganizationRequest.newBuilder()
@@ -251,8 +272,11 @@ public final Organization getOrganization(GetOrganizationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   GetOrganizationRequest request =
    *       GetOrganizationRequest.newBuilder()
@@ -281,8 +305,11 @@ public final UnaryCallable getOrganization
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   String query = "query107944136";
    *   for (Organization element : organizationsClient.searchOrganizations(query).iterateAll()) {
@@ -326,8 +353,11 @@ public final SearchOrganizationsPagedResponse searchOrganizations(String query)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   SearchOrganizationsRequest request =
    *       SearchOrganizationsRequest.newBuilder()
@@ -361,8 +391,11 @@ public final SearchOrganizationsPagedResponse searchOrganizations(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   SearchOrganizationsRequest request =
    *       SearchOrganizationsRequest.newBuilder()
@@ -396,8 +429,11 @@ public final SearchOrganizationsPagedResponse searchOrganizations(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   SearchOrganizationsRequest request =
    *       SearchOrganizationsRequest.newBuilder()
@@ -438,8 +474,11 @@ public final SearchOrganizationsPagedResponse searchOrganizations(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   ResourceName resource = OrganizationName.of("[ORGANIZATION]");
    *   Policy response = organizationsClient.getIamPolicy(resource);
@@ -470,8 +509,11 @@ public final Policy getIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = organizationsClient.getIamPolicy(resource);
@@ -499,8 +541,11 @@ public final Policy getIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -530,8 +575,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -559,8 +607,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   ResourceName resource = OrganizationName.of("[ORGANIZATION]");
    *   Policy response = organizationsClient.setIamPolicy(resource);
@@ -590,8 +641,11 @@ public final Policy setIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = organizationsClient.setIamPolicy(resource);
@@ -618,8 +672,11 @@ public final Policy setIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -649,8 +706,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -678,8 +738,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   ResourceName resource = OrganizationName.of("[ORGANIZATION]");
    *   List permissions = new ArrayList<>();
@@ -715,8 +778,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
@@ -752,8 +818,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -781,8 +850,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsSettings.java
index 661eeb0e..0ad46992 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsSettings.java
@@ -59,16 +59,16 @@
  * 

For example, to set the total timeout of getOrganization to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * OrganizationsSettings.Builder organizationsSettingsBuilder = OrganizationsSettings.newBuilder();
  * organizationsSettingsBuilder
  *     .getOrganizationSettings()
  *     .setRetrySettings(
- *         organizationsSettingsBuilder
- *             .getOrganizationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         organizationsSettingsBuilder.getOrganizationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * OrganizationsSettings organizationsSettings = organizationsSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java
index fba402a2..c6d51fde 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java
@@ -52,8 +52,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (ProjectsClient projectsClient = ProjectsClient.create()) {
  *   ProjectName name = ProjectName.of("[PROJECT]");
  *   Project response = projectsClient.getProject(name);
@@ -89,8 +92,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * ProjectsSettings projectsSettings =
  *     ProjectsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * ProjectsSettings projectsSettings =
  *     ProjectsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ProjectsClient projectsClient = ProjectsClient.create(projectsSettings);
@@ -112,8 +121,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * ProjectsSettings projectsSettings =
  *     ProjectsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -207,8 +219,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ProjectName name = ProjectName.of("[PROJECT]");
    *   Project response = projectsClient.getProject(name);
@@ -234,8 +249,11 @@ public final Project getProject(ProjectName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String name = ProjectName.of("[PROJECT]").toString();
    *   Project response = projectsClient.getProject(name);
@@ -260,8 +278,11 @@ public final Project getProject(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   GetProjectRequest request =
    *       GetProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
@@ -286,8 +307,11 @@ public final Project getProject(GetProjectRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   GetProjectRequest request =
    *       GetProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
@@ -312,8 +336,11 @@ public final UnaryCallable getProjectCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ResourceName parent = FolderName.of("[FOLDER]");
    *   for (Project element : projectsClient.listProjects(parent).iterateAll()) {
@@ -346,8 +373,11 @@ public final ListProjectsPagedResponse listProjects(ResourceName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String parent = FolderName.of("[FOLDER]").toString();
    *   for (Project element : projectsClient.listProjects(parent).iterateAll()) {
@@ -377,8 +407,11 @@ public final ListProjectsPagedResponse listProjects(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ListProjectsRequest request =
    *       ListProjectsRequest.newBuilder()
@@ -411,8 +444,11 @@ public final ListProjectsPagedResponse listProjects(ListProjectsRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ListProjectsRequest request =
    *       ListProjectsRequest.newBuilder()
@@ -445,8 +481,11 @@ public final ListProjectsPagedResponse listProjects(ListProjectsRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ListProjectsRequest request =
    *       ListProjectsRequest.newBuilder()
@@ -489,8 +528,11 @@ public final UnaryCallable listProjec
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String query = "query107944136";
    *   for (Project element : projectsClient.searchProjects(query).iterateAll()) {
@@ -544,8 +586,11 @@ public final SearchProjectsPagedResponse searchProjects(String query) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   SearchProjectsRequest request =
    *       SearchProjectsRequest.newBuilder()
@@ -581,8 +626,11 @@ public final SearchProjectsPagedResponse searchProjects(SearchProjectsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   SearchProjectsRequest request =
    *       SearchProjectsRequest.newBuilder()
@@ -618,8 +666,11 @@ public final SearchProjectsPagedResponse searchProjects(SearchProjectsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   SearchProjectsRequest request =
    *       SearchProjectsRequest.newBuilder()
@@ -657,8 +708,11 @@ public final SearchProjectsPagedResponse searchProjects(SearchProjectsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   Project project = Project.newBuilder().build();
    *   Project response = projectsClient.createProjectAsync(project).get();
@@ -687,8 +741,11 @@ public final OperationFuture createProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   CreateProjectRequest request =
    *       CreateProjectRequest.newBuilder().setProject(Project.newBuilder().build()).build();
@@ -714,8 +771,11 @@ public final OperationFuture createProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   CreateProjectRequest request =
    *       CreateProjectRequest.newBuilder().setProject(Project.newBuilder().build()).build();
@@ -741,8 +801,11 @@ public final OperationFuture createProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   CreateProjectRequest request =
    *       CreateProjectRequest.newBuilder().setProject(Project.newBuilder().build()).build();
@@ -767,8 +830,11 @@ public final UnaryCallable createProjectCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   Project project = Project.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -798,8 +864,11 @@ public final OperationFuture updateProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   UpdateProjectRequest request =
    *       UpdateProjectRequest.newBuilder()
@@ -829,8 +898,11 @@ public final OperationFuture updateProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   UpdateProjectRequest request =
    *       UpdateProjectRequest.newBuilder()
@@ -860,8 +932,11 @@ public final OperationFuture updateProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   UpdateProjectRequest request =
    *       UpdateProjectRequest.newBuilder()
@@ -891,8 +966,11 @@ public final UnaryCallable updateProjectCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ProjectName name = ProjectName.of("[PROJECT]");
    *   ResourceName destinationParent = ProjectName.of("[PROJECT]");
@@ -927,8 +1005,11 @@ public final OperationFuture moveProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ProjectName name = ProjectName.of("[PROJECT]");
    *   String destinationParent = FolderName.of("[FOLDER]").toString();
@@ -963,8 +1044,11 @@ public final OperationFuture moveProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String name = ProjectName.of("[PROJECT]").toString();
    *   ResourceName destinationParent = ProjectName.of("[PROJECT]");
@@ -999,8 +1083,11 @@ public final OperationFuture moveProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String name = ProjectName.of("[PROJECT]").toString();
    *   String destinationParent = FolderName.of("[FOLDER]").toString();
@@ -1035,8 +1122,11 @@ public final OperationFuture moveProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   MoveProjectRequest request =
    *       MoveProjectRequest.newBuilder()
@@ -1068,8 +1158,11 @@ public final OperationFuture moveProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   MoveProjectRequest request =
    *       MoveProjectRequest.newBuilder()
@@ -1101,8 +1194,11 @@ public final OperationFuture moveProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   MoveProjectRequest request =
    *       MoveProjectRequest.newBuilder()
@@ -1151,8 +1247,11 @@ public final UnaryCallable moveProjectCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ProjectName name = ProjectName.of("[PROJECT]");
    *   Project response = projectsClient.deleteProjectAsync(name).get();
@@ -1201,8 +1300,11 @@ public final OperationFuture deleteProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String name = ProjectName.of("[PROJECT]").toString();
    *   Project response = projectsClient.deleteProjectAsync(name).get();
@@ -1249,8 +1351,11 @@ public final OperationFuture deleteProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   DeleteProjectRequest request =
    *       DeleteProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
@@ -1298,8 +1403,11 @@ public final OperationFuture deleteProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   DeleteProjectRequest request =
    *       DeleteProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
@@ -1347,8 +1455,11 @@ public final OperationFuture deleteProjectAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   DeleteProjectRequest request =
    *       DeleteProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
@@ -1373,8 +1484,11 @@ public final UnaryCallable deleteProjectCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ProjectName name = ProjectName.of("[PROJECT]");
    *   Project response = projectsClient.undeleteProjectAsync(name).get();
@@ -1403,8 +1517,11 @@ public final OperationFuture undeleteProjectAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String name = ProjectName.of("[PROJECT]").toString();
    *   Project response = projectsClient.undeleteProjectAsync(name).get();
@@ -1431,8 +1548,11 @@ public final OperationFuture undeleteProjectAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   UndeleteProjectRequest request =
    *       UndeleteProjectRequest.newBuilder()
@@ -1461,8 +1581,11 @@ public final OperationFuture undeleteProjectAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   UndeleteProjectRequest request =
    *       UndeleteProjectRequest.newBuilder()
@@ -1491,8 +1614,11 @@ public final OperationFuture undeleteProjectAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   UndeleteProjectRequest request =
    *       UndeleteProjectRequest.newBuilder()
@@ -1516,8 +1642,11 @@ public final UnaryCallable undeleteProjectCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ResourceName resource = ProjectName.of("[PROJECT]");
    *   Policy response = projectsClient.getIamPolicy(resource);
@@ -1544,8 +1673,11 @@ public final Policy getIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = projectsClient.getIamPolicy(resource);
@@ -1569,8 +1701,11 @@ public final Policy getIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1596,8 +1731,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1659,8 +1797,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ResourceName resource = ProjectName.of("[PROJECT]");
    *   Policy policy = Policy.newBuilder().build();
@@ -1729,8 +1870,11 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy policy = Policy.newBuilder().build();
@@ -1796,8 +1940,11 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1861,8 +2008,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1887,8 +2037,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   ResourceName resource = ProjectName.of("[PROJECT]");
    *   List permissions = new ArrayList<>();
@@ -1921,8 +2074,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
@@ -1955,8 +2111,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1981,8 +2140,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (ProjectsClient projectsClient = ProjectsClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsSettings.java
index 962721d3..fc190826 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsSettings.java
@@ -62,16 +62,16 @@
  * 

For example, to set the total timeout of getProject to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * ProjectsSettings.Builder projectsSettingsBuilder = ProjectsSettings.newBuilder();
  * projectsSettingsBuilder
  *     .getProjectSettings()
  *     .setRetrySettings(
- *         projectsSettingsBuilder
- *             .getProjectSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         projectsSettingsBuilder.getProjectSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ProjectsSettings projectsSettings = projectsSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsClient.java
index 51072f0b..cf99c42c 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsClient.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsClient.java
@@ -48,8 +48,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
  *   ResourceName parent = FolderName.of("[FOLDER]");
  *   for (TagBinding element : tagBindingsClient.listTagBindings(parent).iterateAll()) {
@@ -87,8 +90,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagBindingsSettings tagBindingsSettings =
  *     TagBindingsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -99,8 +105,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagBindingsSettings tagBindingsSettings =
  *     TagBindingsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * TagBindingsClient tagBindingsClient = TagBindingsClient.create(tagBindingsSettings);
@@ -110,8 +119,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagBindingsSettings tagBindingsSettings =
  *     TagBindingsSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -206,8 +218,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   ResourceName parent = FolderName.of("[FOLDER]");
    *   for (TagBinding element : tagBindingsClient.listTagBindings(parent).iterateAll()) {
@@ -238,8 +253,11 @@ public final ListTagBindingsPagedResponse listTagBindings(ResourceName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   String parent = FolderName.of("[FOLDER]").toString();
    *   for (TagBinding element : tagBindingsClient.listTagBindings(parent).iterateAll()) {
@@ -267,8 +285,11 @@ public final ListTagBindingsPagedResponse listTagBindings(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   ListTagBindingsRequest request =
    *       ListTagBindingsRequest.newBuilder()
@@ -299,8 +320,11 @@ public final ListTagBindingsPagedResponse listTagBindings(ListTagBindingsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   ListTagBindingsRequest request =
    *       ListTagBindingsRequest.newBuilder()
@@ -332,8 +356,11 @@ public final ListTagBindingsPagedResponse listTagBindings(ListTagBindingsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   ListTagBindingsRequest request =
    *       ListTagBindingsRequest.newBuilder()
@@ -370,8 +397,11 @@ public final ListTagBindingsPagedResponse listTagBindings(ListTagBindingsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   TagBinding tagBinding = TagBinding.newBuilder().build();
    *   TagBinding response = tagBindingsClient.createTagBindingAsync(tagBinding).get();
@@ -396,8 +426,11 @@ public final OperationFuture createTagBind
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   CreateTagBindingRequest request =
    *       CreateTagBindingRequest.newBuilder()
@@ -424,8 +457,11 @@ public final OperationFuture createTagBind
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   CreateTagBindingRequest request =
    *       CreateTagBindingRequest.newBuilder()
@@ -452,8 +488,11 @@ public final OperationFuture createTagBind
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   CreateTagBindingRequest request =
    *       CreateTagBindingRequest.newBuilder()
@@ -478,8 +517,11 @@ public final UnaryCallable createTagBindingC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   TagBindingName name = TagBindingName.of("[TAG_BINDING]");
    *   tagBindingsClient.deleteTagBindingAsync(name).get();
@@ -505,8 +547,11 @@ public final OperationFuture deleteTagBindingAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   String name = TagBindingName.of("[TAG_BINDING]").toString();
    *   tagBindingsClient.deleteTagBindingAsync(name).get();
@@ -530,8 +575,11 @@ public final OperationFuture deleteTagBindingAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   DeleteTagBindingRequest request =
    *       DeleteTagBindingRequest.newBuilder()
@@ -556,8 +604,11 @@ public final OperationFuture deleteTagBindingAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   DeleteTagBindingRequest request =
    *       DeleteTagBindingRequest.newBuilder()
@@ -582,8 +633,11 @@ public final OperationFuture deleteTagBindingAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
    *   DeleteTagBindingRequest request =
    *       DeleteTagBindingRequest.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsSettings.java
index 08dceb6f..25d3e99d 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsSettings.java
@@ -57,16 +57,16 @@
  * 

For example, to set the total timeout of listTagBindings to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagBindingsSettings.Builder tagBindingsSettingsBuilder = TagBindingsSettings.newBuilder();
  * tagBindingsSettingsBuilder
  *     .listTagBindingsSettings()
  *     .setRetrySettings(
- *         tagBindingsSettingsBuilder
- *             .listTagBindingsSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tagBindingsSettingsBuilder.listTagBindingsSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TagBindingsSettings tagBindingsSettings = tagBindingsSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysClient.java
index a9d03663..863686b5 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysClient.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysClient.java
@@ -52,8 +52,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
  *   TagKeyName name = TagKeyName.of("[TAG_KEY]");
  *   TagKey response = tagKeysClient.getTagKey(name);
@@ -89,8 +92,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagKeysSettings tagKeysSettings =
  *     TagKeysSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagKeysSettings tagKeysSettings = TagKeysSettings.newBuilder().setEndpoint(myEndpoint).build();
  * TagKeysClient tagKeysClient = TagKeysClient.create(tagKeysSettings);
  * }
@@ -111,8 +120,11 @@ * the wire: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagKeysSettings tagKeysSettings =
  *     TagKeysSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -203,8 +215,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   ResourceName parent = FolderName.of("[FOLDER]");
    *   for (TagKey element : tagKeysClient.listTagKeys(parent).iterateAll()) {
@@ -232,8 +247,11 @@ public final ListTagKeysPagedResponse listTagKeys(ResourceName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   String parent = FolderName.of("[FOLDER]").toString();
    *   for (TagKey element : tagKeysClient.listTagKeys(parent).iterateAll()) {
@@ -258,8 +276,11 @@ public final ListTagKeysPagedResponse listTagKeys(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   ListTagKeysRequest request =
    *       ListTagKeysRequest.newBuilder()
@@ -287,8 +308,11 @@ public final ListTagKeysPagedResponse listTagKeys(ListTagKeysRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   ListTagKeysRequest request =
    *       ListTagKeysRequest.newBuilder()
@@ -316,8 +340,11 @@ public final ListTagKeysPagedResponse listTagKeys(ListTagKeysRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   ListTagKeysRequest request =
    *       ListTagKeysRequest.newBuilder()
@@ -352,8 +379,11 @@ public final UnaryCallable listTagKeysC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   TagKeyName name = TagKeyName.of("[TAG_KEY]");
    *   TagKey response = tagKeysClient.getTagKey(name);
@@ -377,8 +407,11 @@ public final TagKey getTagKey(TagKeyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   String name = TagKeyName.of("[TAG_KEY]").toString();
    *   TagKey response = tagKeysClient.getTagKey(name);
@@ -401,8 +434,11 @@ public final TagKey getTagKey(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   GetTagKeyRequest request =
    *       GetTagKeyRequest.newBuilder().setName(TagKeyName.of("[TAG_KEY]").toString()).build();
@@ -425,8 +461,11 @@ public final TagKey getTagKey(GetTagKeyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   GetTagKeyRequest request =
    *       GetTagKeyRequest.newBuilder().setName(TagKeyName.of("[TAG_KEY]").toString()).build();
@@ -449,8 +488,11 @@ public final UnaryCallable getTagKeyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   TagKey tagKey = TagKey.newBuilder().build();
    *   TagKey response = tagKeysClient.createTagKeyAsync(tagKey).get();
@@ -475,8 +517,11 @@ public final OperationFuture createTagKeyAsync(Tag
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   CreateTagKeyRequest request =
    *       CreateTagKeyRequest.newBuilder()
@@ -504,8 +549,11 @@ public final OperationFuture createTagKeyAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   CreateTagKeyRequest request =
    *       CreateTagKeyRequest.newBuilder()
@@ -533,8 +581,11 @@ public final OperationFuture createTagKeyAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   CreateTagKeyRequest request =
    *       CreateTagKeyRequest.newBuilder()
@@ -558,8 +609,11 @@ public final UnaryCallable createTagKeyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   TagKey tagKey = TagKey.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -588,8 +642,11 @@ public final OperationFuture updateTagKeyAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   UpdateTagKeyRequest request =
    *       UpdateTagKeyRequest.newBuilder()
@@ -616,8 +673,11 @@ public final OperationFuture updateTagKeyAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   UpdateTagKeyRequest request =
    *       UpdateTagKeyRequest.newBuilder()
@@ -644,8 +704,11 @@ public final OperationFuture updateTagKeyAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   UpdateTagKeyRequest request =
    *       UpdateTagKeyRequest.newBuilder()
@@ -670,8 +733,11 @@ public final UnaryCallable updateTagKeyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   TagKeyName name = TagKeyName.of("[TAG_KEY]");
    *   TagKey response = tagKeysClient.deleteTagKeyAsync(name).get();
@@ -696,8 +762,11 @@ public final OperationFuture deleteTagKeyAsync(Tag
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   String name = TagKeyName.of("[TAG_KEY]").toString();
    *   TagKey response = tagKeysClient.deleteTagKeyAsync(name).get();
@@ -721,8 +790,11 @@ public final OperationFuture deleteTagKeyAsync(Str
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   DeleteTagKeyRequest request =
    *       DeleteTagKeyRequest.newBuilder()
@@ -749,8 +821,11 @@ public final OperationFuture deleteTagKeyAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   DeleteTagKeyRequest request =
    *       DeleteTagKeyRequest.newBuilder()
@@ -777,8 +852,11 @@ public final OperationFuture deleteTagKeyAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   DeleteTagKeyRequest request =
    *       DeleteTagKeyRequest.newBuilder()
@@ -806,8 +884,11 @@ public final UnaryCallable deleteTagKeyCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   ResourceName resource = TagKeyName.of("[TAG_KEY]");
    *   Policy response = tagKeysClient.getIamPolicy(resource);
@@ -836,8 +917,11 @@ public final Policy getIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = tagKeysClient.getIamPolicy(resource);
@@ -863,8 +947,11 @@ public final Policy getIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -892,8 +979,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -919,8 +1009,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   ResourceName resource = TagKeyName.of("[TAG_KEY]");
    *   Policy policy = Policy.newBuilder().build();
@@ -953,8 +1046,11 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy policy = Policy.newBuilder().build();
@@ -984,8 +1080,11 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1013,8 +1112,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1042,8 +1144,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   ResourceName resource = TagKeyName.of("[TAG_KEY]");
    *   List permissions = new ArrayList<>();
@@ -1078,8 +1183,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
@@ -1114,8 +1222,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1143,8 +1254,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysSettings.java
index 5f234572..ac33feb9 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysSettings.java
@@ -61,16 +61,16 @@
  * 

For example, to set the total timeout of getTagKey to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagKeysSettings.Builder tagKeysSettingsBuilder = TagKeysSettings.newBuilder();
  * tagKeysSettingsBuilder
  *     .getTagKeySettings()
  *     .setRetrySettings(
- *         tagKeysSettingsBuilder
- *             .getTagKeySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tagKeysSettingsBuilder.getTagKeySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TagKeysSettings tagKeysSettings = tagKeysSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesClient.java
index 627ab4c0..3e0a5ccb 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesClient.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesClient.java
@@ -52,8 +52,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
  *   TagValueName name = TagValueName.of("[TAG_VALUE]");
  *   TagValue response = tagValuesClient.getTagValue(name);
@@ -89,8 +92,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagValuesSettings tagValuesSettings =
  *     TagValuesSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -101,8 +107,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagValuesSettings tagValuesSettings =
  *     TagValuesSettings.newBuilder().setEndpoint(myEndpoint).build();
  * TagValuesClient tagValuesClient = TagValuesClient.create(tagValuesSettings);
@@ -112,8 +121,11 @@
  * the wire:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagValuesSettings tagValuesSettings =
  *     TagValuesSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -204,8 +216,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   ResourceName parent = FolderName.of("[FOLDER]");
    *   for (TagValue element : tagValuesClient.listTagValues(parent).iterateAll()) {
@@ -233,8 +248,11 @@ public final ListTagValuesPagedResponse listTagValues(ResourceName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   String parent = FolderName.of("[FOLDER]").toString();
    *   for (TagValue element : tagValuesClient.listTagValues(parent).iterateAll()) {
@@ -259,8 +277,11 @@ public final ListTagValuesPagedResponse listTagValues(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   ListTagValuesRequest request =
    *       ListTagValuesRequest.newBuilder()
@@ -288,8 +309,11 @@ public final ListTagValuesPagedResponse listTagValues(ListTagValuesRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   ListTagValuesRequest request =
    *       ListTagValuesRequest.newBuilder()
@@ -317,8 +341,11 @@ public final ListTagValuesPagedResponse listTagValues(ListTagValuesRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   ListTagValuesRequest request =
    *       ListTagValuesRequest.newBuilder()
@@ -353,8 +380,11 @@ public final UnaryCallable listTagV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   TagValueName name = TagValueName.of("[TAG_VALUE]");
    *   TagValue response = tagValuesClient.getTagValue(name);
@@ -378,8 +408,11 @@ public final TagValue getTagValue(TagValueName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   String name = TagValueName.of("[TAG_VALUE]").toString();
    *   TagValue response = tagValuesClient.getTagValue(name);
@@ -402,8 +435,11 @@ public final TagValue getTagValue(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   GetTagValueRequest request =
    *       GetTagValueRequest.newBuilder()
@@ -428,8 +464,11 @@ public final TagValue getTagValue(GetTagValueRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   GetTagValueRequest request =
    *       GetTagValueRequest.newBuilder()
@@ -454,8 +493,11 @@ public final UnaryCallable getTagValueCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   TagValue tagValue = TagValue.newBuilder().build();
    *   TagValue response = tagValuesClient.createTagValueAsync(tagValue).get();
@@ -482,8 +524,11 @@ public final OperationFuture createTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   CreateTagValueRequest request =
    *       CreateTagValueRequest.newBuilder()
@@ -511,8 +556,11 @@ public final OperationFuture createTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   CreateTagValueRequest request =
    *       CreateTagValueRequest.newBuilder()
@@ -540,8 +588,11 @@ public final OperationFuture createTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   CreateTagValueRequest request =
    *       CreateTagValueRequest.newBuilder()
@@ -565,8 +616,11 @@ public final UnaryCallable createTagValueCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   TagValue tagValue = TagValue.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -595,8 +649,11 @@ public final OperationFuture updateTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   UpdateTagValueRequest request =
    *       UpdateTagValueRequest.newBuilder()
@@ -623,8 +680,11 @@ public final OperationFuture updateTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   UpdateTagValueRequest request =
    *       UpdateTagValueRequest.newBuilder()
@@ -651,8 +711,11 @@ public final OperationFuture updateTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   UpdateTagValueRequest request =
    *       UpdateTagValueRequest.newBuilder()
@@ -677,8 +740,11 @@ public final UnaryCallable updateTagValueCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   TagValueName name = TagValueName.of("[TAG_VALUE]");
    *   TagValue response = tagValuesClient.deleteTagValueAsync(name).get();
@@ -702,8 +768,11 @@ public final OperationFuture deleteTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   String name = TagValueName.of("[TAG_VALUE]").toString();
    *   TagValue response = tagValuesClient.deleteTagValueAsync(name).get();
@@ -725,8 +794,11 @@ public final OperationFuture deleteTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   DeleteTagValueRequest request =
    *       DeleteTagValueRequest.newBuilder()
@@ -753,8 +825,11 @@ public final OperationFuture deleteTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   DeleteTagValueRequest request =
    *       DeleteTagValueRequest.newBuilder()
@@ -781,8 +856,11 @@ public final OperationFuture deleteTagValueAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   DeleteTagValueRequest request =
    *       DeleteTagValueRequest.newBuilder()
@@ -811,8 +889,11 @@ public final UnaryCallable deleteTagValueCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   ResourceName resource = TagValueName.of("[TAG_VALUE]");
    *   Policy response = tagValuesClient.getIamPolicy(resource);
@@ -842,8 +923,11 @@ public final Policy getIamPolicy(ResourceName resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = tagValuesClient.getIamPolicy(resource);
@@ -870,8 +954,11 @@ public final Policy getIamPolicy(String resource) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -900,8 +987,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -927,8 +1017,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   ResourceName resource = TagValueName.of("[TAG_VALUE]");
    *   Policy policy = Policy.newBuilder().build();
@@ -961,8 +1054,11 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy policy = Policy.newBuilder().build();
@@ -992,8 +1088,11 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1021,8 +1120,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1050,8 +1152,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   ResourceName resource = TagValueName.of("[TAG_VALUE]");
    *   List permissions = new ArrayList<>();
@@ -1087,8 +1192,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
@@ -1124,8 +1232,11 @@ public final TestIamPermissionsResponse testIamPermissions(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1153,8 +1264,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - 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
    * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesSettings.java
index 0ee41817..be02040f 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesSettings.java
@@ -61,16 +61,16 @@
  * 

For example, to set the total timeout of getTagValue to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagValuesSettings.Builder tagValuesSettingsBuilder = TagValuesSettings.newBuilder();
  * tagValuesSettingsBuilder
  *     .getTagValueSettings()
  *     .setRetrySettings(
- *         tagValuesSettingsBuilder
- *             .getTagValueSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tagValuesSettingsBuilder.getTagValueSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TagValuesSettings tagValuesSettings = tagValuesSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/package-info.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/package-info.java
index 4cc26ae3..11d7e907 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/package-info.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/package-info.java
@@ -25,8 +25,11 @@
  * 

Sample for FoldersClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (FoldersClient foldersClient = FoldersClient.create()) {
  *   FolderName name = FolderName.of("[FOLDER]");
  *   Folder response = foldersClient.getFolder(name);
@@ -40,8 +43,11 @@
  * 

Sample for OrganizationsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
  *   OrganizationName name = OrganizationName.of("[ORGANIZATION]");
  *   Organization response = organizationsClient.getOrganization(name);
@@ -55,8 +61,11 @@
  * 

Sample for ProjectsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (ProjectsClient projectsClient = ProjectsClient.create()) {
  *   ProjectName name = ProjectName.of("[PROJECT]");
  *   Project response = projectsClient.getProject(name);
@@ -71,8 +80,11 @@
  * 

Sample for TagBindingsClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
  *   ResourceName parent = FolderName.of("[FOLDER]");
  *   for (TagBinding element : tagBindingsClient.listTagBindings(parent).iterateAll()) {
@@ -88,8 +100,11 @@
  * 

Sample for TagKeysClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
  *   TagKeyName name = TagKeyName.of("[TAG_KEY]");
  *   TagKey response = tagKeysClient.getTagKey(name);
@@ -103,8 +118,11 @@
  * 

Sample for TagValuesClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
  *   TagValueName name = TagValueName.of("[TAG_VALUE]");
  *   TagValue response = tagValuesClient.getTagValue(name);
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/FoldersStubSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/FoldersStubSettings.java
index 55a0531d..f953d1e0 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/FoldersStubSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/FoldersStubSettings.java
@@ -98,16 +98,16 @@
  * 

For example, to set the total timeout of getFolder to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * FoldersStubSettings.Builder foldersSettingsBuilder = FoldersStubSettings.newBuilder();
  * foldersSettingsBuilder
  *     .getFolderSettings()
  *     .setRetrySettings(
- *         foldersSettingsBuilder
- *             .getFolderSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         foldersSettingsBuilder.getFolderSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * FoldersStubSettings foldersSettings = foldersSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonFoldersStub.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonFoldersStub.java
index 7180585d..b6123562 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonFoldersStub.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonFoldersStub.java
@@ -213,7 +213,8 @@ public class HttpJsonFoldersStub extends FoldersStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("folder", request.getFolder()))
+                              ProtoRestSerializer.create()
+                                  .toBody("folder", request.getFolder(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -253,7 +254,8 @@ public class HttpJsonFoldersStub extends FoldersStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("folder", request.getFolder()))
+                              ProtoRestSerializer.create()
+                                  .toBody("folder", request.getFolder(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -292,7 +294,7 @@ public class HttpJsonFoldersStub extends FoldersStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -367,7 +369,7 @@ public class HttpJsonFoldersStub extends FoldersStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -406,7 +408,7 @@ public class HttpJsonFoldersStub extends FoldersStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -442,7 +444,7 @@ public class HttpJsonFoldersStub extends FoldersStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -478,7 +480,7 @@ public class HttpJsonFoldersStub extends FoldersStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonOrganizationsStub.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonOrganizationsStub.java
index a9cb9e86..f4be5d3a 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonOrganizationsStub.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonOrganizationsStub.java
@@ -155,7 +155,7 @@ public class HttpJsonOrganizationsStub extends OrganizationsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -191,7 +191,7 @@ public class HttpJsonOrganizationsStub extends OrganizationsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -227,7 +227,7 @@ public class HttpJsonOrganizationsStub extends OrganizationsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonProjectsStub.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonProjectsStub.java
index a605aa35..ca17f263 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonProjectsStub.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonProjectsStub.java
@@ -213,7 +213,8 @@ public class HttpJsonProjectsStub extends ProjectsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("project", request.getProject()))
+                              ProtoRestSerializer.create()
+                                  .toBody("project", request.getProject(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -253,7 +254,8 @@ public class HttpJsonProjectsStub extends ProjectsStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("project", request.getProject()))
+                              ProtoRestSerializer.create()
+                                  .toBody("project", request.getProject(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -292,7 +294,7 @@ public class HttpJsonProjectsStub extends ProjectsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -367,7 +369,7 @@ public class HttpJsonProjectsStub extends ProjectsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -406,7 +408,7 @@ public class HttpJsonProjectsStub extends ProjectsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -442,7 +444,7 @@ public class HttpJsonProjectsStub extends ProjectsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -478,7 +480,7 @@ public class HttpJsonProjectsStub extends ProjectsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagBindingsStub.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagBindingsStub.java
index 4934305c..0c7a9bf9 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagBindingsStub.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagBindingsStub.java
@@ -131,7 +131,7 @@ public class HttpJsonTagBindingsStub extends TagBindingsStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagBinding", request.getTagBinding()))
+                                  .toBody("tagBinding", request.getTagBinding(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagKeysStub.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagKeysStub.java
index 6327f35a..c05aae44 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagKeysStub.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagKeysStub.java
@@ -169,7 +169,8 @@ public class HttpJsonTagKeysStub extends TagKeysStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("tagKey", request.getTagKey()))
+                              ProtoRestSerializer.create()
+                                  .toBody("tagKey", request.getTagKey(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -211,7 +212,8 @@ public class HttpJsonTagKeysStub extends TagKeysStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("tagKey", request.getTagKey()))
+                              ProtoRestSerializer.create()
+                                  .toBody("tagKey", request.getTagKey(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -289,7 +291,7 @@ public class HttpJsonTagKeysStub extends TagKeysStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -325,7 +327,7 @@ public class HttpJsonTagKeysStub extends TagKeysStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -361,7 +363,7 @@ public class HttpJsonTagKeysStub extends TagKeysStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagValuesStub.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagValuesStub.java
index 52ebee83..2cd8e9af 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagValuesStub.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/HttpJsonTagValuesStub.java
@@ -171,7 +171,7 @@ public class HttpJsonTagValuesStub extends TagValuesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagValue", request.getTagValue()))
+                                  .toBody("tagValue", request.getTagValue(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -214,7 +214,7 @@ public class HttpJsonTagValuesStub extends TagValuesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("tagValue", request.getTagValue()))
+                                  .toBody("tagValue", request.getTagValue(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -292,7 +292,7 @@ public class HttpJsonTagValuesStub extends TagValuesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -328,7 +328,7 @@ public class HttpJsonTagValuesStub extends TagValuesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -364,7 +364,7 @@ public class HttpJsonTagValuesStub extends TagValuesStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/OrganizationsStubSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/OrganizationsStubSettings.java
index afd05d34..58b07dc5 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/OrganizationsStubSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/OrganizationsStubSettings.java
@@ -80,17 +80,17 @@
  * 

For example, to set the total timeout of getOrganization to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * OrganizationsStubSettings.Builder organizationsSettingsBuilder =
  *     OrganizationsStubSettings.newBuilder();
  * organizationsSettingsBuilder
  *     .getOrganizationSettings()
  *     .setRetrySettings(
- *         organizationsSettingsBuilder
- *             .getOrganizationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         organizationsSettingsBuilder.getOrganizationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * OrganizationsStubSettings organizationsSettings = organizationsSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/ProjectsStubSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/ProjectsStubSettings.java
index 34e3089c..5b178c70 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/ProjectsStubSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/ProjectsStubSettings.java
@@ -98,16 +98,16 @@
  * 

For example, to set the total timeout of getProject to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * ProjectsStubSettings.Builder projectsSettingsBuilder = ProjectsStubSettings.newBuilder();
  * projectsSettingsBuilder
  *     .getProjectSettings()
  *     .setRetrySettings(
- *         projectsSettingsBuilder
- *             .getProjectSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         projectsSettingsBuilder.getProjectSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ProjectsStubSettings projectsSettings = projectsSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagBindingsStubSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagBindingsStubSettings.java
index 08605efe..e8e276d9 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagBindingsStubSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagBindingsStubSettings.java
@@ -84,17 +84,17 @@
  * 

For example, to set the total timeout of listTagBindings to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagBindingsStubSettings.Builder tagBindingsSettingsBuilder =
  *     TagBindingsStubSettings.newBuilder();
  * tagBindingsSettingsBuilder
  *     .listTagBindingsSettings()
  *     .setRetrySettings(
- *         tagBindingsSettingsBuilder
- *             .listTagBindingsSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tagBindingsSettingsBuilder.listTagBindingsSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TagBindingsStubSettings tagBindingsSettings = tagBindingsSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagKeysStubSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagKeysStubSettings.java
index 8db81a79..1502d64f 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagKeysStubSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagKeysStubSettings.java
@@ -91,16 +91,16 @@
  * 

For example, to set the total timeout of getTagKey to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagKeysStubSettings.Builder tagKeysSettingsBuilder = TagKeysStubSettings.newBuilder();
  * tagKeysSettingsBuilder
  *     .getTagKeySettings()
  *     .setRetrySettings(
- *         tagKeysSettingsBuilder
- *             .getTagKeySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tagKeysSettingsBuilder.getTagKeySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TagKeysStubSettings tagKeysSettings = tagKeysSettingsBuilder.build();
diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagValuesStubSettings.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagValuesStubSettings.java
index 3265ef6d..0d536841 100644
--- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagValuesStubSettings.java
+++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/TagValuesStubSettings.java
@@ -91,16 +91,16 @@
  * 

For example, to set the total timeout of getTagValue to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - 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
  * TagValuesStubSettings.Builder tagValuesSettingsBuilder = TagValuesStubSettings.newBuilder();
  * tagValuesSettingsBuilder
  *     .getTagValueSettings()
  *     .setRetrySettings(
- *         tagValuesSettingsBuilder
- *             .getTagValueSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         tagValuesSettingsBuilder.getTagValueSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * TagValuesStubSettings tagValuesSettings = tagValuesSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetCredentialsProvider.java
index 6bbbe86a..e9536973 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     FoldersSettings foldersSettings =
         FoldersSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetCredentialsProvider1.java
index c12b8dd7..55ea04fe 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     FoldersSettings foldersSettings =
         FoldersSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetEndpoint.java
index 3d24f6c9..5fb0f47d 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     FoldersSettings foldersSettings = FoldersSettings.newBuilder().setEndpoint(myEndpoint).build();
     FoldersClient foldersClient = FoldersClient.create(foldersSettings);
   }
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/AsyncCreateFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/AsyncCreateFolder.java
index bc4ee251..4b2bedf0 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/AsyncCreateFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/AsyncCreateFolder.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       CreateFolderRequest request =
           CreateFolderRequest.newBuilder().setFolder(Folder.newBuilder().build()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/AsyncCreateFolderLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/AsyncCreateFolderLRO.java
index b937a3ee..92154fdb 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/AsyncCreateFolderLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/AsyncCreateFolderLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFolderLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       CreateFolderRequest request =
           CreateFolderRequest.newBuilder().setFolder(Folder.newBuilder().build()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/SyncCreateFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/SyncCreateFolder.java
index f9f0f579..6b8fba39 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/SyncCreateFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/SyncCreateFolder.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       CreateFolderRequest request =
           CreateFolderRequest.newBuilder().setFolder(Folder.newBuilder().build()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/SyncCreateFolderFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/SyncCreateFolderFolder.java
index d7bcd4c5..69b0dd85 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/SyncCreateFolderFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/createfolder/SyncCreateFolderFolder.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFolderFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       Folder folder = Folder.newBuilder().build();
       Folder response = foldersClient.createFolderAsync(folder).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/AsyncDeleteFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/AsyncDeleteFolder.java
index 559111e8..9090d54d 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/AsyncDeleteFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/AsyncDeleteFolder.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       DeleteFolderRequest request =
           DeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/AsyncDeleteFolderLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/AsyncDeleteFolderLRO.java
index 14504e0e..0de11b7a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/AsyncDeleteFolderLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/AsyncDeleteFolderLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteFolderLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       DeleteFolderRequest request =
           DeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolder.java
index f473a295..0646b458 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolder.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       DeleteFolderRequest request =
           DeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolderFoldername.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolderFoldername.java
index dba7668b..ee0ecd7d 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolderFoldername.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolderFoldername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFolderFoldername() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       FolderName name = FolderName.of("[FOLDER]");
       Folder response = foldersClient.deleteFolderAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolderString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolderString.java
index 5cb28d72..d2123c87 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolderString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/deletefolder/SyncDeleteFolderString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteFolderString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String name = FolderName.of("[FOLDER]").toString();
       Folder response = foldersClient.deleteFolderAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/AsyncGetFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/AsyncGetFolder.java
index 69ec3fdc..43781c61 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/AsyncGetFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/AsyncGetFolder.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       GetFolderRequest request =
           GetFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolder.java
index 27941e2b..219ae1f9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolder.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       GetFolderRequest request =
           GetFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolderFoldername.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolderFoldername.java
index 5b45e0ae..a77471dd 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolderFoldername.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolderFoldername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFolderFoldername() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       FolderName name = FolderName.of("[FOLDER]");
       Folder response = foldersClient.getFolder(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolderString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolderString.java
index adc26166..3ec42a62 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolderString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getfolder/SyncGetFolderString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFolderString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String name = FolderName.of("[FOLDER]").toString();
       Folder response = foldersClient.getFolder(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/AsyncGetIamPolicy.java
index 6b7ffd9d..457c61ec 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicy.java
index 3eca2543..d7626a2d 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicyResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicyResourcename.java
index 7f9b1b9e..79ba8651 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicyResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       ResourceName resource = FolderName.of("[FOLDER]");
       Policy response = foldersClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicyString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicyString.java
index 76c06411..b06b1615 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/getiampolicy/SyncGetIamPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy response = foldersClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/AsyncListFolders.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/AsyncListFolders.java
index cdabf24f..c221645e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/AsyncListFolders.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/AsyncListFolders.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFolders() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       ListFoldersRequest request =
           ListFoldersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/AsyncListFoldersPaged.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/AsyncListFoldersPaged.java
index 712a02be..533cc9fd 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/AsyncListFoldersPaged.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/AsyncListFoldersPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFoldersPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       ListFoldersRequest request =
           ListFoldersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFolders.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFolders.java
index 58bd70c3..b0d60f7c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFolders.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFolders.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFolders() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       ListFoldersRequest request =
           ListFoldersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFoldersResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFoldersResourcename.java
index e577f1f3..ed303c64 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFoldersResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFoldersResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFoldersResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       ResourceName parent = FolderName.of("[FOLDER]");
       for (Folder element : foldersClient.listFolders(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFoldersString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFoldersString.java
index 67344f42..15a15245 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFoldersString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/listfolders/SyncListFoldersString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFoldersString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String parent = FolderName.of("[FOLDER]").toString();
       for (Folder element : foldersClient.listFolders(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/AsyncMoveFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/AsyncMoveFolder.java
index 470d7f1d..bcb7cef8 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/AsyncMoveFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/AsyncMoveFolder.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncMoveFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       MoveFolderRequest request =
           MoveFolderRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/AsyncMoveFolderLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/AsyncMoveFolderLRO.java
index 6eb438af..fd98ddcf 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/AsyncMoveFolderLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/AsyncMoveFolderLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncMoveFolderLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       MoveFolderRequest request =
           MoveFolderRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolder.java
index 1ad56d22..48a4da60 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolder.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       MoveFolderRequest request =
           MoveFolderRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderFoldernameResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderFoldernameResourcename.java
index ebca16a0..9f7a2b6c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderFoldernameResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderFoldernameResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveFolderFoldernameResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       FolderName name = FolderName.of("[FOLDER]");
       ResourceName destinationParent = FolderName.of("[FOLDER]");
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderFoldernameString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderFoldernameString.java
index 20a334c8..85716659 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderFoldernameString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderFoldernameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveFolderFoldernameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       FolderName name = FolderName.of("[FOLDER]");
       String destinationParent = FolderName.of("[FOLDER]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderStringResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderStringResourcename.java
index 57568413..d9303885 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderStringResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderStringResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveFolderStringResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String name = FolderName.of("[FOLDER]").toString();
       ResourceName destinationParent = FolderName.of("[FOLDER]");
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderStringString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderStringString.java
index 0e53d503..88bb4fa8 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderStringString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/movefolder/SyncMoveFolderStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveFolderStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String name = FolderName.of("[FOLDER]").toString();
       String destinationParent = FolderName.of("[FOLDER]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/AsyncSearchFolders.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/AsyncSearchFolders.java
index 441ef3ef..8a2dcccc 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/AsyncSearchFolders.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/AsyncSearchFolders.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchFolders() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       SearchFoldersRequest request =
           SearchFoldersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/AsyncSearchFoldersPaged.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/AsyncSearchFoldersPaged.java
index 9a29374d..68f1af05 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/AsyncSearchFoldersPaged.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/AsyncSearchFoldersPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchFoldersPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       SearchFoldersRequest request =
           SearchFoldersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/SyncSearchFolders.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/SyncSearchFolders.java
index ede91846..c9c9a69b 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/SyncSearchFolders.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/SyncSearchFolders.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchFolders() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       SearchFoldersRequest request =
           SearchFoldersRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/SyncSearchFoldersString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/SyncSearchFoldersString.java
index c40b7904..58cb8e92 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/SyncSearchFoldersString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/searchfolders/SyncSearchFoldersString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchFoldersString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String query = "query107944136";
       for (Folder element : foldersClient.searchFolders(query).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/AsyncSetIamPolicy.java
index c4dab747..73cb3082 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicy.java
index 5727d1f4..ad79411f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index c6fcd384..66ef3330 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyResourcenamePolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       ResourceName resource = FolderName.of("[FOLDER]");
       Policy policy = Policy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index 27c614dd..66a75054 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyStringPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy policy = Policy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/AsyncTestIamPermissions.java
index c78c581a..13e6776e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissions.java
index 445e06cb..aa22a1aa 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
index e145dffc..b1a84b5f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsResourcenameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       ResourceName resource = FolderName.of("[FOLDER]");
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
index 0a9d5473..1ee65417 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/AsyncUndeleteFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/AsyncUndeleteFolder.java
index ddc9a47a..a8b4c97e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/AsyncUndeleteFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/AsyncUndeleteFolder.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeleteFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       UndeleteFolderRequest request =
           UndeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/AsyncUndeleteFolderLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/AsyncUndeleteFolderLRO.java
index 87ac56d8..1f140a2a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/AsyncUndeleteFolderLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/AsyncUndeleteFolderLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeleteFolderLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       UndeleteFolderRequest request =
           UndeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolder.java
index a9c74420..054a5166 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolder.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeleteFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       UndeleteFolderRequest request =
           UndeleteFolderRequest.newBuilder().setName(FolderName.of("[FOLDER]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolderFoldername.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolderFoldername.java
index 82ec019c..ad65276b 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolderFoldername.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolderFoldername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeleteFolderFoldername() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       FolderName name = FolderName.of("[FOLDER]");
       Folder response = foldersClient.undeleteFolderAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolderString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolderString.java
index 6a9bfebb..30d65a2e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolderString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/undeletefolder/SyncUndeleteFolderString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeleteFolderString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       String name = FolderName.of("[FOLDER]").toString();
       Folder response = foldersClient.undeleteFolderAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/AsyncUpdateFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/AsyncUpdateFolder.java
index c90fae7a..55459c6c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/AsyncUpdateFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/AsyncUpdateFolder.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       UpdateFolderRequest request =
           UpdateFolderRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/AsyncUpdateFolderLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/AsyncUpdateFolderLRO.java
index c3d70625..85e7fb69 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/AsyncUpdateFolderLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/AsyncUpdateFolderLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFolderLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       UpdateFolderRequest request =
           UpdateFolderRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/SyncUpdateFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/SyncUpdateFolder.java
index 68f8ab01..758a2923 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/SyncUpdateFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/SyncUpdateFolder.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       UpdateFolderRequest request =
           UpdateFolderRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/SyncUpdateFolderFolderFieldmask.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/SyncUpdateFolderFolderFieldmask.java
index 77983bac..b838a90f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/SyncUpdateFolderFolderFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/foldersclient/updatefolder/SyncUpdateFolderFolderFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFolderFolderFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (FoldersClient foldersClient = FoldersClient.create()) {
       Folder folder = Folder.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/folderssettings/getfolder/SyncGetFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/folderssettings/getfolder/SyncGetFolder.java
index 2b3bd22e..982b7ddf 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/folderssettings/getfolder/SyncGetFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/folderssettings/getfolder/SyncGetFolder.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     FoldersSettings.Builder foldersSettingsBuilder = FoldersSettings.newBuilder();
     foldersSettingsBuilder
         .getFolderSettings()
         .setRetrySettings(
-            foldersSettingsBuilder
-                .getFolderSettings()
-                .getRetrySettings()
-                .toBuilder()
+            foldersSettingsBuilder.getFolderSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FoldersSettings foldersSettings = foldersSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetCredentialsProvider.java
index e75f8028..570ee18c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     OrganizationsSettings organizationsSettings =
         OrganizationsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetCredentialsProvider1.java
index 73551b8c..86f2d95c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     OrganizationsSettings organizationsSettings =
         OrganizationsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetEndpoint.java
index 1228a335..b7c770f6 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     OrganizationsSettings organizationsSettings =
         OrganizationsSettings.newBuilder().setEndpoint(myEndpoint).build();
     OrganizationsClient organizationsClient = OrganizationsClient.create(organizationsSettings);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/AsyncGetIamPolicy.java
index f98c39c9..43b7ee18 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicy.java
index ce7bd48e..b1cda209 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicyResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicyResourcename.java
index 29e53f12..727f8e8a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicyResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       ResourceName resource = OrganizationName.of("[ORGANIZATION]");
       Policy response = organizationsClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicyString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicyString.java
index 4c782faa..c9f3f09a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getiampolicy/SyncGetIamPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy response = organizationsClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/AsyncGetOrganization.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/AsyncGetOrganization.java
index 6092cc25..5a4d1e0c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/AsyncGetOrganization.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/AsyncGetOrganization.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetOrganization() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       GetOrganizationRequest request =
           GetOrganizationRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganization.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganization.java
index f4da29ed..e8b25079 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganization.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganization.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganization() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       GetOrganizationRequest request =
           GetOrganizationRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganizationOrganizationname.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganizationOrganizationname.java
index 7130cfc4..3cd8d7e0 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganizationOrganizationname.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganizationOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationOrganizationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       OrganizationName name = OrganizationName.of("[ORGANIZATION]");
       Organization response = organizationsClient.getOrganization(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganizationString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganizationString.java
index b7136d46..ddb13880 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganizationString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/getorganization/SyncGetOrganizationString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       String name = OrganizationName.of("[ORGANIZATION]").toString();
       Organization response = organizationsClient.getOrganization(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/AsyncSearchOrganizations.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/AsyncSearchOrganizations.java
index cefa8dc0..1f193a42 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/AsyncSearchOrganizations.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/AsyncSearchOrganizations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchOrganizations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       SearchOrganizationsRequest request =
           SearchOrganizationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/AsyncSearchOrganizationsPaged.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/AsyncSearchOrganizationsPaged.java
index 6baa9430..93906087 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/AsyncSearchOrganizationsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/AsyncSearchOrganizationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchOrganizationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       SearchOrganizationsRequest request =
           SearchOrganizationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/SyncSearchOrganizations.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/SyncSearchOrganizations.java
index e6d5f11f..581a65f9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/SyncSearchOrganizations.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/SyncSearchOrganizations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchOrganizations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       SearchOrganizationsRequest request =
           SearchOrganizationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/SyncSearchOrganizationsString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/SyncSearchOrganizationsString.java
index 7a42bd28..58c846fd 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/SyncSearchOrganizationsString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/searchorganizations/SyncSearchOrganizationsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchOrganizationsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       String query = "query107944136";
       for (Organization element : organizationsClient.searchOrganizations(query).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/AsyncSetIamPolicy.java
index 87bf7748..fbfa1fc9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicy.java
index e50aeff5..4e9601c8 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicyResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicyResourcename.java
index f8f2e4b0..3f581177 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicyResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicyResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       ResourceName resource = OrganizationName.of("[ORGANIZATION]");
       Policy response = organizationsClient.setIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicyString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicyString.java
index ead00cee..73574e3e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/setiampolicy/SyncSetIamPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy response = organizationsClient.setIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/AsyncTestIamPermissions.java
index 6c4337ee..0a49fec0 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissions.java
index 0b4378c4..1e915fd7 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
index 9c14e1ce..297deede 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsResourcenameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       ResourceName resource = OrganizationName.of("[ORGANIZATION]");
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
index 5d27d486..93e1c26a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationsclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationssettings/getorganization/SyncGetOrganization.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationssettings/getorganization/SyncGetOrganization.java
index 2234b747..778ae722 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationssettings/getorganization/SyncGetOrganization.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/organizationssettings/getorganization/SyncGetOrganization.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganization() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     OrganizationsSettings.Builder organizationsSettingsBuilder = OrganizationsSettings.newBuilder();
     organizationsSettingsBuilder
         .getOrganizationSettings()
         .setRetrySettings(
-            organizationsSettingsBuilder
-                .getOrganizationSettings()
-                .getRetrySettings()
-                .toBuilder()
+            organizationsSettingsBuilder.getOrganizationSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     OrganizationsSettings organizationsSettings = organizationsSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetCredentialsProvider.java
index 86865590..c3c6431f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     ProjectsSettings projectsSettings =
         ProjectsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetCredentialsProvider1.java
index aaf22744..f3f2b525 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     ProjectsSettings projectsSettings =
         ProjectsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetEndpoint.java
index 3e440235..e73f4be0 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     ProjectsSettings projectsSettings =
         ProjectsSettings.newBuilder().setEndpoint(myEndpoint).build();
     ProjectsClient projectsClient = ProjectsClient.create(projectsSettings);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/AsyncCreateProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/AsyncCreateProject.java
index 0dac5f87..5daa653b 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/AsyncCreateProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/AsyncCreateProject.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       CreateProjectRequest request =
           CreateProjectRequest.newBuilder().setProject(Project.newBuilder().build()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/AsyncCreateProjectLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/AsyncCreateProjectLRO.java
index e7fb979e..02627c5f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/AsyncCreateProjectLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/AsyncCreateProjectLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateProjectLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       CreateProjectRequest request =
           CreateProjectRequest.newBuilder().setProject(Project.newBuilder().build()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/SyncCreateProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/SyncCreateProject.java
index 223c05b8..df6672d8 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/SyncCreateProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/SyncCreateProject.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       CreateProjectRequest request =
           CreateProjectRequest.newBuilder().setProject(Project.newBuilder().build()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/SyncCreateProjectProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/SyncCreateProjectProject.java
index f1f1d478..f1096f05 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/SyncCreateProjectProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/createproject/SyncCreateProjectProject.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateProjectProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       Project project = Project.newBuilder().build();
       Project response = projectsClient.createProjectAsync(project).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/AsyncDeleteProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/AsyncDeleteProject.java
index 526a8f01..898a4eee 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/AsyncDeleteProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/AsyncDeleteProject.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       DeleteProjectRequest request =
           DeleteProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/AsyncDeleteProjectLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/AsyncDeleteProjectLRO.java
index 078615cb..0f21b7a9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/AsyncDeleteProjectLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/AsyncDeleteProjectLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteProjectLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       DeleteProjectRequest request =
           DeleteProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProject.java
index 6481c3f6..37928778 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProject.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       DeleteProjectRequest request =
           DeleteProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProjectProjectname.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProjectProjectname.java
index 7f435c2d..90de5022 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProjectProjectname.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProjectProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProjectProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ProjectName name = ProjectName.of("[PROJECT]");
       Project response = projectsClient.deleteProjectAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProjectString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProjectString.java
index a4c59bf3..c94b1ba5 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProjectString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/deleteproject/SyncDeleteProjectString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteProjectString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String name = ProjectName.of("[PROJECT]").toString();
       Project response = projectsClient.deleteProjectAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/AsyncGetIamPolicy.java
index b7907935..414e4a54 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicy.java
index 91b9709e..df237ac2 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicyResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicyResourcename.java
index 9b1c6802..90e8853b 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicyResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ResourceName resource = ProjectName.of("[PROJECT]");
       Policy response = projectsClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicyString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicyString.java
index 958b919c..e0a9b152 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getiampolicy/SyncGetIamPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy response = projectsClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/AsyncGetProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/AsyncGetProject.java
index 0dc502c0..72030408 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/AsyncGetProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/AsyncGetProject.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       GetProjectRequest request =
           GetProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProject.java
index b375268b..c3cbe7ea 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProject.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       GetProjectRequest request =
           GetProjectRequest.newBuilder().setName(ProjectName.of("[PROJECT]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProjectProjectname.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProjectProjectname.java
index e1d53ec0..d020a9a9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProjectProjectname.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProjectProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProjectProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ProjectName name = ProjectName.of("[PROJECT]");
       Project response = projectsClient.getProject(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProjectString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProjectString.java
index c7972861..fcb229e0 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProjectString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/getproject/SyncGetProjectString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProjectString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String name = ProjectName.of("[PROJECT]").toString();
       Project response = projectsClient.getProject(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/AsyncListProjects.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/AsyncListProjects.java
index e6455367..c95f4219 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/AsyncListProjects.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/AsyncListProjects.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProjects() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ListProjectsRequest request =
           ListProjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/AsyncListProjectsPaged.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/AsyncListProjectsPaged.java
index ea994132..a9eea7d2 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/AsyncListProjectsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/AsyncListProjectsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListProjectsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ListProjectsRequest request =
           ListProjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjects.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjects.java
index 3746dcbe..d5ebb0f9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjects.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjects.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProjects() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ListProjectsRequest request =
           ListProjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjectsResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjectsResourcename.java
index 079cf57f..16de1688 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjectsResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjectsResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProjectsResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ResourceName parent = FolderName.of("[FOLDER]");
       for (Project element : projectsClient.listProjects(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjectsString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjectsString.java
index cf4557b3..36983ea1 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjectsString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/listprojects/SyncListProjectsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListProjectsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String parent = FolderName.of("[FOLDER]").toString();
       for (Project element : projectsClient.listProjects(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/AsyncMoveProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/AsyncMoveProject.java
index f36394e4..6dbb4375 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/AsyncMoveProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/AsyncMoveProject.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncMoveProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       MoveProjectRequest request =
           MoveProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/AsyncMoveProjectLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/AsyncMoveProjectLRO.java
index e84a0e19..2709abf7 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/AsyncMoveProjectLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/AsyncMoveProjectLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncMoveProjectLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       MoveProjectRequest request =
           MoveProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProject.java
index 4a8e7a10..6dd47269 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProject.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       MoveProjectRequest request =
           MoveProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectProjectnameResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectProjectnameResourcename.java
index 885e145c..7c6ac934 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectProjectnameResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectProjectnameResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveProjectProjectnameResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ProjectName name = ProjectName.of("[PROJECT]");
       ResourceName destinationParent = ProjectName.of("[PROJECT]");
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectProjectnameString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectProjectnameString.java
index e30b52bd..4ab9e1e7 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectProjectnameString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectProjectnameString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveProjectProjectnameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ProjectName name = ProjectName.of("[PROJECT]");
       String destinationParent = FolderName.of("[FOLDER]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectStringResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectStringResourcename.java
index fcc92d5c..51d285fe 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectStringResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectStringResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveProjectStringResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String name = ProjectName.of("[PROJECT]").toString();
       ResourceName destinationParent = ProjectName.of("[PROJECT]");
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectStringString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectStringString.java
index a7cf29f8..a6353206 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectStringString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/moveproject/SyncMoveProjectStringString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncMoveProjectStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String name = ProjectName.of("[PROJECT]").toString();
       String destinationParent = FolderName.of("[FOLDER]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/AsyncSearchProjects.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/AsyncSearchProjects.java
index 7de3ef2e..d7152e69 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/AsyncSearchProjects.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/AsyncSearchProjects.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchProjects() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       SearchProjectsRequest request =
           SearchProjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/AsyncSearchProjectsPaged.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/AsyncSearchProjectsPaged.java
index 5a402bcf..8ad04b87 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/AsyncSearchProjectsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/AsyncSearchProjectsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSearchProjectsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       SearchProjectsRequest request =
           SearchProjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/SyncSearchProjects.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/SyncSearchProjects.java
index cbd38942..bb7491ab 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/SyncSearchProjects.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/SyncSearchProjects.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchProjects() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       SearchProjectsRequest request =
           SearchProjectsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/SyncSearchProjectsString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/SyncSearchProjectsString.java
index e6257253..a9e12ce9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/SyncSearchProjectsString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/searchprojects/SyncSearchProjectsString.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSearchProjectsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String query = "query107944136";
       for (Project element : projectsClient.searchProjects(query).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/AsyncSetIamPolicy.java
index 06cc11fe..d2dc154e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicy.java
index aa0d3fd4..b876a9e0 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index e3c79fd2..e7dab78c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyResourcenamePolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ResourceName resource = ProjectName.of("[PROJECT]");
       Policy policy = Policy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index a31c2ec3..54ab9239 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyStringPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy policy = Policy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/AsyncTestIamPermissions.java
index 0e37e419..0b2cdbbf 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissions.java
index 86c7e837..19d67c1f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
index e2e6e67d..36c98caf 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsResourcenameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ResourceName resource = ProjectName.of("[PROJECT]");
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
index bcab1fee..72c2f014 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/AsyncUndeleteProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/AsyncUndeleteProject.java
index ea419933..cac9c720 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/AsyncUndeleteProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/AsyncUndeleteProject.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeleteProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       UndeleteProjectRequest request =
           UndeleteProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/AsyncUndeleteProjectLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/AsyncUndeleteProjectLRO.java
index c9b7ba07..9f03e808 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/AsyncUndeleteProjectLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/AsyncUndeleteProjectLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUndeleteProjectLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       UndeleteProjectRequest request =
           UndeleteProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProject.java
index b137865c..c7ff9968 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProject.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeleteProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       UndeleteProjectRequest request =
           UndeleteProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProjectProjectname.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProjectProjectname.java
index 6abc8809..5c341d96 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProjectProjectname.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProjectProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeleteProjectProjectname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       ProjectName name = ProjectName.of("[PROJECT]");
       Project response = projectsClient.undeleteProjectAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProjectString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProjectString.java
index 14eac8e2..8c748a57 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProjectString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/undeleteproject/SyncUndeleteProjectString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUndeleteProjectString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       String name = ProjectName.of("[PROJECT]").toString();
       Project response = projectsClient.undeleteProjectAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/AsyncUpdateProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/AsyncUpdateProject.java
index b69ba814..674ea3cf 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/AsyncUpdateProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/AsyncUpdateProject.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       UpdateProjectRequest request =
           UpdateProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/AsyncUpdateProjectLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/AsyncUpdateProjectLRO.java
index 4993012d..2b2b30b8 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/AsyncUpdateProjectLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/AsyncUpdateProjectLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateProjectLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       UpdateProjectRequest request =
           UpdateProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/SyncUpdateProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/SyncUpdateProject.java
index a5a27720..ab652f2f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/SyncUpdateProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/SyncUpdateProject.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       UpdateProjectRequest request =
           UpdateProjectRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/SyncUpdateProjectProjectFieldmask.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/SyncUpdateProjectProjectFieldmask.java
index 52db091d..192973d5 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/SyncUpdateProjectProjectFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectsclient/updateproject/SyncUpdateProjectProjectFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateProjectProjectFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (ProjectsClient projectsClient = ProjectsClient.create()) {
       Project project = Project.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectssettings/getproject/SyncGetProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectssettings/getproject/SyncGetProject.java
index 6b89d03a..8bfbca6f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectssettings/getproject/SyncGetProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/projectssettings/getproject/SyncGetProject.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     ProjectsSettings.Builder projectsSettingsBuilder = ProjectsSettings.newBuilder();
     projectsSettingsBuilder
         .getProjectSettings()
         .setRetrySettings(
-            projectsSettingsBuilder
-                .getProjectSettings()
-                .getRetrySettings()
-                .toBuilder()
+            projectsSettingsBuilder.getProjectSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ProjectsSettings projectsSettings = projectsSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/foldersstubsettings/getfolder/SyncGetFolder.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/foldersstubsettings/getfolder/SyncGetFolder.java
index 2436230b..912e9701 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/foldersstubsettings/getfolder/SyncGetFolder.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/foldersstubsettings/getfolder/SyncGetFolder.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetFolder() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     FoldersStubSettings.Builder foldersSettingsBuilder = FoldersStubSettings.newBuilder();
     foldersSettingsBuilder
         .getFolderSettings()
         .setRetrySettings(
-            foldersSettingsBuilder
-                .getFolderSettings()
-                .getRetrySettings()
-                .toBuilder()
+            foldersSettingsBuilder.getFolderSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FoldersStubSettings foldersSettings = foldersSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/organizationsstubsettings/getorganization/SyncGetOrganization.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/organizationsstubsettings/getorganization/SyncGetOrganization.java
index 0fd9d282..bc03d2fb 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/organizationsstubsettings/getorganization/SyncGetOrganization.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/organizationsstubsettings/getorganization/SyncGetOrganization.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganization() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     OrganizationsStubSettings.Builder organizationsSettingsBuilder =
         OrganizationsStubSettings.newBuilder();
     organizationsSettingsBuilder
         .getOrganizationSettings()
         .setRetrySettings(
-            organizationsSettingsBuilder
-                .getOrganizationSettings()
-                .getRetrySettings()
-                .toBuilder()
+            organizationsSettingsBuilder.getOrganizationSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     OrganizationsStubSettings organizationsSettings = organizationsSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/projectsstubsettings/getproject/SyncGetProject.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/projectsstubsettings/getproject/SyncGetProject.java
index bf01071b..e819ef08 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/projectsstubsettings/getproject/SyncGetProject.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/projectsstubsettings/getproject/SyncGetProject.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetProject() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     ProjectsStubSettings.Builder projectsSettingsBuilder = ProjectsStubSettings.newBuilder();
     projectsSettingsBuilder
         .getProjectSettings()
         .setRetrySettings(
-            projectsSettingsBuilder
-                .getProjectSettings()
-                .getRetrySettings()
-                .toBuilder()
+            projectsSettingsBuilder.getProjectSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     ProjectsStubSettings projectsSettings = projectsSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagbindingsstubsettings/listtagbindings/SyncListTagBindings.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagbindingsstubsettings/listtagbindings/SyncListTagBindings.java
index 93145dca..05cfb7f8 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagbindingsstubsettings/listtagbindings/SyncListTagBindings.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagbindingsstubsettings/listtagbindings/SyncListTagBindings.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagBindings() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagBindingsStubSettings.Builder tagBindingsSettingsBuilder =
         TagBindingsStubSettings.newBuilder();
     tagBindingsSettingsBuilder
         .listTagBindingsSettings()
         .setRetrySettings(
-            tagBindingsSettingsBuilder
-                .listTagBindingsSettings()
-                .getRetrySettings()
-                .toBuilder()
+            tagBindingsSettingsBuilder.listTagBindingsSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TagBindingsStubSettings tagBindingsSettings = tagBindingsSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagkeysstubsettings/gettagkey/SyncGetTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagkeysstubsettings/gettagkey/SyncGetTagKey.java
index 4433c1cc..83724821 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagkeysstubsettings/gettagkey/SyncGetTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagkeysstubsettings/gettagkey/SyncGetTagKey.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagKeysStubSettings.Builder tagKeysSettingsBuilder = TagKeysStubSettings.newBuilder();
     tagKeysSettingsBuilder
         .getTagKeySettings()
         .setRetrySettings(
-            tagKeysSettingsBuilder
-                .getTagKeySettings()
-                .getRetrySettings()
-                .toBuilder()
+            tagKeysSettingsBuilder.getTagKeySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TagKeysStubSettings tagKeysSettings = tagKeysSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagvaluesstubsettings/gettagvalue/SyncGetTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagvaluesstubsettings/gettagvalue/SyncGetTagValue.java
index d7dce38f..5271fa67 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagvaluesstubsettings/gettagvalue/SyncGetTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/stub/tagvaluesstubsettings/gettagvalue/SyncGetTagValue.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagValuesStubSettings.Builder tagValuesSettingsBuilder = TagValuesStubSettings.newBuilder();
     tagValuesSettingsBuilder
         .getTagValueSettings()
         .setRetrySettings(
-            tagValuesSettingsBuilder
-                .getTagValueSettings()
-                .getRetrySettings()
-                .toBuilder()
+            tagValuesSettingsBuilder.getTagValueSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TagValuesStubSettings tagValuesSettings = tagValuesSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetCredentialsProvider.java
index 3c3b34e9..0b0bc074 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagBindingsSettings tagBindingsSettings =
         TagBindingsSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetCredentialsProvider1.java
index f519f011..fb5a692a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagBindingsSettings tagBindingsSettings =
         TagBindingsSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetEndpoint.java
index d0f737f8..31022204 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagBindingsSettings tagBindingsSettings =
         TagBindingsSettings.newBuilder().setEndpoint(myEndpoint).build();
     TagBindingsClient tagBindingsClient = TagBindingsClient.create(tagBindingsSettings);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/AsyncCreateTagBinding.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/AsyncCreateTagBinding.java
index fc4b2b7a..5f5df5f4 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/AsyncCreateTagBinding.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/AsyncCreateTagBinding.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagBinding() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       CreateTagBindingRequest request =
           CreateTagBindingRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/AsyncCreateTagBindingLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/AsyncCreateTagBindingLRO.java
index d08f6f42..d1cfe92f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/AsyncCreateTagBindingLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/AsyncCreateTagBindingLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagBindingLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       CreateTagBindingRequest request =
           CreateTagBindingRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/SyncCreateTagBinding.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/SyncCreateTagBinding.java
index 6ba22006..ae0247df 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/SyncCreateTagBinding.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/SyncCreateTagBinding.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagBinding() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       CreateTagBindingRequest request =
           CreateTagBindingRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/SyncCreateTagBindingTagbinding.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/SyncCreateTagBindingTagbinding.java
index bb982615..37c1027a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/SyncCreateTagBindingTagbinding.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/createtagbinding/SyncCreateTagBindingTagbinding.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagBindingTagbinding() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       TagBinding tagBinding = TagBinding.newBuilder().build();
       TagBinding response = tagBindingsClient.createTagBindingAsync(tagBinding).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/AsyncDeleteTagBinding.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/AsyncDeleteTagBinding.java
index cde0cb4f..0b04cdc1 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/AsyncDeleteTagBinding.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/AsyncDeleteTagBinding.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagBinding() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       DeleteTagBindingRequest request =
           DeleteTagBindingRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/AsyncDeleteTagBindingLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/AsyncDeleteTagBindingLRO.java
index 49d19ea6..f5d41302 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/AsyncDeleteTagBindingLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/AsyncDeleteTagBindingLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagBindingLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       DeleteTagBindingRequest request =
           DeleteTagBindingRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBinding.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBinding.java
index f74b3d1e..7ee85be0 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBinding.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBinding.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagBinding() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       DeleteTagBindingRequest request =
           DeleteTagBindingRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingString.java
index 66c0ba52..0c3bd826 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagBindingString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       String name = TagBindingName.of("[TAG_BINDING]").toString();
       tagBindingsClient.deleteTagBindingAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingTagbindingname.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingTagbindingname.java
index 665fcf52..177319e1 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingTagbindingname.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/deletetagbinding/SyncDeleteTagBindingTagbindingname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagBindingTagbindingname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       TagBindingName name = TagBindingName.of("[TAG_BINDING]");
       tagBindingsClient.deleteTagBindingAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/AsyncListTagBindings.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/AsyncListTagBindings.java
index d9d2fc23..e45745b9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/AsyncListTagBindings.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/AsyncListTagBindings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTagBindings() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       ListTagBindingsRequest request =
           ListTagBindingsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/AsyncListTagBindingsPaged.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/AsyncListTagBindingsPaged.java
index 4687f5bf..c8baff0e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/AsyncListTagBindingsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/AsyncListTagBindingsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTagBindingsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       ListTagBindingsRequest request =
           ListTagBindingsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindings.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindings.java
index ccb975e5..b2041fc6 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindings.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindings.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagBindings() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       ListTagBindingsRequest request =
           ListTagBindingsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindingsResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindingsResourcename.java
index 5ad9218a..a6338cb6 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindingsResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindingsResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagBindingsResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       ResourceName parent = FolderName.of("[FOLDER]");
       for (TagBinding element : tagBindingsClient.listTagBindings(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindingsString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindingsString.java
index 9cc240b1..c8208c29 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindingsString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingsclient/listtagbindings/SyncListTagBindingsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagBindingsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagBindingsClient tagBindingsClient = TagBindingsClient.create()) {
       String parent = FolderName.of("[FOLDER]").toString();
       for (TagBinding element : tagBindingsClient.listTagBindings(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingssettings/listtagbindings/SyncListTagBindings.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingssettings/listtagbindings/SyncListTagBindings.java
index b41d75dc..4c62aebd 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingssettings/listtagbindings/SyncListTagBindings.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagbindingssettings/listtagbindings/SyncListTagBindings.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagBindings() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagBindingsSettings.Builder tagBindingsSettingsBuilder = TagBindingsSettings.newBuilder();
     tagBindingsSettingsBuilder
         .listTagBindingsSettings()
         .setRetrySettings(
-            tagBindingsSettingsBuilder
-                .listTagBindingsSettings()
-                .getRetrySettings()
-                .toBuilder()
+            tagBindingsSettingsBuilder.listTagBindingsSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TagBindingsSettings tagBindingsSettings = tagBindingsSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetCredentialsProvider.java
index 6885bdb9..f6c46e54 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagKeysSettings tagKeysSettings =
         TagKeysSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetCredentialsProvider1.java
index b5f93fa0..af892129 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagKeysSettings tagKeysSettings =
         TagKeysSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetEndpoint.java
index 564f0c16..7cb4fb5b 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagKeysSettings tagKeysSettings = TagKeysSettings.newBuilder().setEndpoint(myEndpoint).build();
     TagKeysClient tagKeysClient = TagKeysClient.create(tagKeysSettings);
   }
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/AsyncCreateTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/AsyncCreateTagKey.java
index fa86b8aa..6ac72b84 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/AsyncCreateTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/AsyncCreateTagKey.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       CreateTagKeyRequest request =
           CreateTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/AsyncCreateTagKeyLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/AsyncCreateTagKeyLRO.java
index 2c771986..33a8e381 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/AsyncCreateTagKeyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/AsyncCreateTagKeyLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagKeyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       CreateTagKeyRequest request =
           CreateTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/SyncCreateTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/SyncCreateTagKey.java
index c786894a..731a162e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/SyncCreateTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/SyncCreateTagKey.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       CreateTagKeyRequest request =
           CreateTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/SyncCreateTagKeyTagkey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/SyncCreateTagKeyTagkey.java
index 16f245f9..b9680c66 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/SyncCreateTagKeyTagkey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/createtagkey/SyncCreateTagKeyTagkey.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagKeyTagkey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       TagKey tagKey = TagKey.newBuilder().build();
       TagKey response = tagKeysClient.createTagKeyAsync(tagKey).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/AsyncDeleteTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/AsyncDeleteTagKey.java
index 1033df08..ea3ac559 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/AsyncDeleteTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/AsyncDeleteTagKey.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       DeleteTagKeyRequest request =
           DeleteTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/AsyncDeleteTagKeyLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/AsyncDeleteTagKeyLRO.java
index f9448db4..34803411 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/AsyncDeleteTagKeyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/AsyncDeleteTagKeyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagKeyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       DeleteTagKeyRequest request =
           DeleteTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKey.java
index 5e3eea6c..94d3a86a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKey.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       DeleteTagKeyRequest request =
           DeleteTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKeyString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKeyString.java
index 3129cc0f..d5847254 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKeyString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKeyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagKeyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       String name = TagKeyName.of("[TAG_KEY]").toString();
       TagKey response = tagKeysClient.deleteTagKeyAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKeyTagkeyname.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKeyTagkeyname.java
index 82125943..e3c6eb2b 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKeyTagkeyname.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/deletetagkey/SyncDeleteTagKeyTagkeyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagKeyTagkeyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       TagKeyName name = TagKeyName.of("[TAG_KEY]");
       TagKey response = tagKeysClient.deleteTagKeyAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/AsyncGetIamPolicy.java
index 3b255994..8a77f1a4 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicy.java
index 229e6ac6..d583e206 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicyResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicyResourcename.java
index a810c2df..75d60da9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicyResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       ResourceName resource = TagKeyName.of("[TAG_KEY]");
       Policy response = tagKeysClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicyString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicyString.java
index 56f160ed..76d85ea5 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/getiampolicy/SyncGetIamPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy response = tagKeysClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/AsyncGetTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/AsyncGetTagKey.java
index 6ae18053..eadbc0de 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/AsyncGetTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/AsyncGetTagKey.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       GetTagKeyRequest request =
           GetTagKeyRequest.newBuilder().setName(TagKeyName.of("[TAG_KEY]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKey.java
index b85d18a7..b6301583 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKey.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       GetTagKeyRequest request =
           GetTagKeyRequest.newBuilder().setName(TagKeyName.of("[TAG_KEY]").toString()).build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKeyString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKeyString.java
index 081407d6..b1f1c6c7 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKeyString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKeyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagKeyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       String name = TagKeyName.of("[TAG_KEY]").toString();
       TagKey response = tagKeysClient.getTagKey(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKeyTagkeyname.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKeyTagkeyname.java
index af143722..51fedf54 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKeyTagkeyname.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/gettagkey/SyncGetTagKeyTagkeyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagKeyTagkeyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       TagKeyName name = TagKeyName.of("[TAG_KEY]");
       TagKey response = tagKeysClient.getTagKey(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/AsyncListTagKeys.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/AsyncListTagKeys.java
index 8b0168b0..eafed9f6 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/AsyncListTagKeys.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/AsyncListTagKeys.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTagKeys() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       ListTagKeysRequest request =
           ListTagKeysRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/AsyncListTagKeysPaged.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/AsyncListTagKeysPaged.java
index 2d989044..b2bd7453 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/AsyncListTagKeysPaged.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/AsyncListTagKeysPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTagKeysPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       ListTagKeysRequest request =
           ListTagKeysRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeys.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeys.java
index b18ab6af..c4b0a55a 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeys.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeys.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagKeys() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       ListTagKeysRequest request =
           ListTagKeysRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeysResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeysResourcename.java
index 682419db..57348137 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeysResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeysResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagKeysResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       ResourceName parent = FolderName.of("[FOLDER]");
       for (TagKey element : tagKeysClient.listTagKeys(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeysString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeysString.java
index 6721f589..c6813864 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeysString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/listtagkeys/SyncListTagKeysString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagKeysString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       String parent = FolderName.of("[FOLDER]").toString();
       for (TagKey element : tagKeysClient.listTagKeys(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/AsyncSetIamPolicy.java
index 76855656..08540846 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicy.java
index 90b9cc90..37c7dd17 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index 24aa5493..8192a342 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyResourcenamePolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       ResourceName resource = TagKeyName.of("[TAG_KEY]");
       Policy policy = Policy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index b1733f17..d6114580 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyStringPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy policy = Policy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/AsyncTestIamPermissions.java
index 04bb7a82..6bbd5340 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissions.java
index f2258625..6ab437f7 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
index 0c5d6de8..55c70382 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsResourcenameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       ResourceName resource = TagKeyName.of("[TAG_KEY]");
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
index 4b1b01df..69c368e9 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/AsyncUpdateTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/AsyncUpdateTagKey.java
index 72572dbd..25b401cc 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/AsyncUpdateTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/AsyncUpdateTagKey.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       UpdateTagKeyRequest request =
           UpdateTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/AsyncUpdateTagKeyLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/AsyncUpdateTagKeyLRO.java
index f465fdbe..82be0eca 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/AsyncUpdateTagKeyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/AsyncUpdateTagKeyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTagKeyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       UpdateTagKeyRequest request =
           UpdateTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/SyncUpdateTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/SyncUpdateTagKey.java
index e37032aa..504c9d48 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/SyncUpdateTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/SyncUpdateTagKey.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       UpdateTagKeyRequest request =
           UpdateTagKeyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/SyncUpdateTagKeyTagkeyFieldmask.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/SyncUpdateTagKeyTagkeyFieldmask.java
index 17076bf3..e4d5b9fc 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/SyncUpdateTagKeyTagkeyFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeysclient/updatetagkey/SyncUpdateTagKeyTagkeyFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagKeyTagkeyFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagKeysClient tagKeysClient = TagKeysClient.create()) {
       TagKey tagKey = TagKey.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeyssettings/gettagkey/SyncGetTagKey.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeyssettings/gettagkey/SyncGetTagKey.java
index 52771e3b..9b7f5c5c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeyssettings/gettagkey/SyncGetTagKey.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagkeyssettings/gettagkey/SyncGetTagKey.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagKey() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagKeysSettings.Builder tagKeysSettingsBuilder = TagKeysSettings.newBuilder();
     tagKeysSettingsBuilder
         .getTagKeySettings()
         .setRetrySettings(
-            tagKeysSettingsBuilder
-                .getTagKeySettings()
-                .getRetrySettings()
-                .toBuilder()
+            tagKeysSettingsBuilder.getTagKeySettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TagKeysSettings tagKeysSettings = tagKeysSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetCredentialsProvider.java
index f7f8a30b..e16007ca 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagValuesSettings tagValuesSettings =
         TagValuesSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetCredentialsProvider1.java
index 3bd70ecc..dd3c73f4 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagValuesSettings tagValuesSettings =
         TagValuesSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetEndpoint.java
index b2556613..e0d5422e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagValuesSettings tagValuesSettings =
         TagValuesSettings.newBuilder().setEndpoint(myEndpoint).build();
     TagValuesClient tagValuesClient = TagValuesClient.create(tagValuesSettings);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/AsyncCreateTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/AsyncCreateTagValue.java
index 61c77ef9..f7ae3ae1 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/AsyncCreateTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/AsyncCreateTagValue.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       CreateTagValueRequest request =
           CreateTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/AsyncCreateTagValueLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/AsyncCreateTagValueLRO.java
index 1e02aba7..3790f549 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/AsyncCreateTagValueLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/AsyncCreateTagValueLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateTagValueLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       CreateTagValueRequest request =
           CreateTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/SyncCreateTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/SyncCreateTagValue.java
index 1608cb4e..529abbe4 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/SyncCreateTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/SyncCreateTagValue.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       CreateTagValueRequest request =
           CreateTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/SyncCreateTagValueTagvalue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/SyncCreateTagValueTagvalue.java
index 28f0565a..69601ef1 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/SyncCreateTagValueTagvalue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/createtagvalue/SyncCreateTagValueTagvalue.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateTagValueTagvalue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       TagValue tagValue = TagValue.newBuilder().build();
       TagValue response = tagValuesClient.createTagValueAsync(tagValue).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/AsyncDeleteTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/AsyncDeleteTagValue.java
index f6474b54..b91a2f43 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/AsyncDeleteTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/AsyncDeleteTagValue.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       DeleteTagValueRequest request =
           DeleteTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/AsyncDeleteTagValueLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/AsyncDeleteTagValueLRO.java
index 2832b884..76779ca4 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/AsyncDeleteTagValueLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/AsyncDeleteTagValueLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteTagValueLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       DeleteTagValueRequest request =
           DeleteTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValue.java
index 64a4bca5..2d4a6556 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValue.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       DeleteTagValueRequest request =
           DeleteTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValueString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValueString.java
index 634b4739..dc43af4f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValueString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValueString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagValueString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       String name = TagValueName.of("[TAG_VALUE]").toString();
       TagValue response = tagValuesClient.deleteTagValueAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValueTagvaluename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValueTagvaluename.java
index 8d36ca5f..38356380 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValueTagvaluename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/deletetagvalue/SyncDeleteTagValueTagvaluename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteTagValueTagvaluename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       TagValueName name = TagValueName.of("[TAG_VALUE]");
       TagValue response = tagValuesClient.deleteTagValueAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/AsyncGetIamPolicy.java
index 600d56f3..6ee306f0 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicy.java
index e1dbb54c..12431ba7 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicyResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicyResourcename.java
index d959ba85..9aafd317 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicyResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       ResourceName resource = TagValueName.of("[TAG_VALUE]");
       Policy response = tagValuesClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicyString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicyString.java
index b35e9700..e254b10e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/getiampolicy/SyncGetIamPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy response = tagValuesClient.getIamPolicy(resource);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/AsyncGetTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/AsyncGetTagValue.java
index 3995b693..08efcee3 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/AsyncGetTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/AsyncGetTagValue.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       GetTagValueRequest request =
           GetTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValue.java
index fe0af953..01e57616 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValue.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       GetTagValueRequest request =
           GetTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValueString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValueString.java
index 39373e28..5de9f2e3 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValueString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValueString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagValueString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       String name = TagValueName.of("[TAG_VALUE]").toString();
       TagValue response = tagValuesClient.getTagValue(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValueTagvaluename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValueTagvaluename.java
index 3aa1ca31..b13a8105 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValueTagvaluename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/gettagvalue/SyncGetTagValueTagvaluename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagValueTagvaluename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       TagValueName name = TagValueName.of("[TAG_VALUE]");
       TagValue response = tagValuesClient.getTagValue(name);
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/AsyncListTagValues.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/AsyncListTagValues.java
index 79aaaa4d..274faa04 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/AsyncListTagValues.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/AsyncListTagValues.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTagValues() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       ListTagValuesRequest request =
           ListTagValuesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/AsyncListTagValuesPaged.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/AsyncListTagValuesPaged.java
index e01c01e4..fd300ba8 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/AsyncListTagValuesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/AsyncListTagValuesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListTagValuesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       ListTagValuesRequest request =
           ListTagValuesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValues.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValues.java
index 913cab85..b908afa6 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValues.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValues.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagValues() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       ListTagValuesRequest request =
           ListTagValuesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValuesResourcename.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValuesResourcename.java
index c2407fed..a2428358 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValuesResourcename.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValuesResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagValuesResourcename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       ResourceName parent = FolderName.of("[FOLDER]");
       for (TagValue element : tagValuesClient.listTagValues(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValuesString.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValuesString.java
index 2492e1c6..7111221c 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValuesString.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/listtagvalues/SyncListTagValuesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListTagValuesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       String parent = FolderName.of("[FOLDER]").toString();
       for (TagValue element : tagValuesClient.listTagValues(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/AsyncSetIamPolicy.java
index e056032f..1108cbe8 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicy.java
index ab5027cc..17b2e869 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index 2afd6006..37ae35cd 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyResourcenamePolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       ResourceName resource = TagValueName.of("[TAG_VALUE]");
       Policy policy = Policy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index 89e73267..8f8fc4cc 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicyStringPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy policy = Policy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/AsyncTestIamPermissions.java
index abedb9f3..c3ce4822 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissions.java
index a04b224a..10497e0b 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
index af93bb43..6ce3e16e 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsResourcenameListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       ResourceName resource = TagValueName.of("[TAG_VALUE]");
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
index a60a68b8..4301a681 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissionsStringListstring() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       List permissions = new ArrayList<>();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/AsyncUpdateTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/AsyncUpdateTagValue.java
index 8b9857c4..12877d7f 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/AsyncUpdateTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/AsyncUpdateTagValue.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       UpdateTagValueRequest request =
           UpdateTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/AsyncUpdateTagValueLRO.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/AsyncUpdateTagValueLRO.java
index f89103a3..1a708e09 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/AsyncUpdateTagValueLRO.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/AsyncUpdateTagValueLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateTagValueLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       UpdateTagValueRequest request =
           UpdateTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/SyncUpdateTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/SyncUpdateTagValue.java
index 3958864a..725408aa 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/SyncUpdateTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/SyncUpdateTagValue.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       UpdateTagValueRequest request =
           UpdateTagValueRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/SyncUpdateTagValueTagvalueFieldmask.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/SyncUpdateTagValueTagvalueFieldmask.java
index d0182387..9bb47048 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/SyncUpdateTagValueTagvalueFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluesclient/updatetagvalue/SyncUpdateTagValueTagvalueFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateTagValueTagvalueFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     try (TagValuesClient tagValuesClient = TagValuesClient.create()) {
       TagValue tagValue = TagValue.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluessettings/gettagvalue/SyncGetTagValue.java b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluessettings/gettagvalue/SyncGetTagValue.java
index db6325e6..9e146800 100644
--- a/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluessettings/gettagvalue/SyncGetTagValue.java
+++ b/samples/snippets/generated/com/google/cloud/resourcemanager/v3/tagvaluessettings/gettagvalue/SyncGetTagValue.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetTagValue() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - 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
     TagValuesSettings.Builder tagValuesSettingsBuilder = TagValuesSettings.newBuilder();
     tagValuesSettingsBuilder
         .getTagValueSettings()
         .setRetrySettings(
-            tagValuesSettingsBuilder
-                .getTagValueSettings()
-                .getRetrySettings()
-                .toBuilder()
+            tagValuesSettingsBuilder.getTagValueSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     TagValuesSettings tagValuesSettings = tagValuesSettingsBuilder.build();