diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java index aba5d6b99be0..6d7cbbfbfa74 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java @@ -54,8 +54,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
  *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
  *   Source source = Source.newBuilder().build();
@@ -92,8 +95,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -104,8 +110,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SecurityCenterClient securityCenterClient = SecurityCenterClient.create(securityCenterSettings);
@@ -115,8 +124,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -211,8 +223,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName parent = FolderName.of("[FOLDER]");
    *   BulkMuteFindingsResponse response = securityCenterClient.bulkMuteFindingsAsync(parent).get();
@@ -241,8 +256,11 @@ public final OperationFuture bulkMuteFindingsAs
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = FolderName.of("[FOLDER]").toString();
    *   BulkMuteFindingsResponse response = securityCenterClient.bulkMuteFindingsAsync(parent).get();
@@ -269,8 +287,11 @@ public final OperationFuture bulkMuteFindingsAs
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   BulkMuteFindingsRequest request =
    *       BulkMuteFindingsRequest.newBuilder()
@@ -299,8 +320,11 @@ public final OperationFuture bulkMuteFindingsAs
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   BulkMuteFindingsRequest request =
    *       BulkMuteFindingsRequest.newBuilder()
@@ -329,8 +353,11 @@ public final OperationFuture bulkMuteFindingsAs
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   BulkMuteFindingsRequest request =
    *       BulkMuteFindingsRequest.newBuilder()
@@ -356,8 +383,11 @@ public final UnaryCallable bulkMuteFindingsC
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   Source source = Source.newBuilder().build();
@@ -387,8 +417,11 @@ public final Source createSource(OrganizationName parent, Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   Source source = Source.newBuilder().build();
@@ -415,8 +448,11 @@ public final Source createSource(String parent, Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateSourceRequest request =
    *       CreateSourceRequest.newBuilder()
@@ -441,8 +477,11 @@ public final Source createSource(CreateSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateSourceRequest request =
    *       CreateSourceRequest.newBuilder()
@@ -466,8 +505,11 @@ public final UnaryCallable createSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   String findingId = "findingId439150212";
@@ -502,8 +544,11 @@ public final Finding createFinding(SourceName parent, String findingId, Finding
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
    *   String findingId = "findingId439150212";
@@ -538,8 +583,11 @@ public final Finding createFinding(String parent, String findingId, Finding find
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateFindingRequest request =
    *       CreateFindingRequest.newBuilder()
@@ -566,8 +614,11 @@ public final Finding createFinding(CreateFindingRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateFindingRequest request =
    *       CreateFindingRequest.newBuilder()
@@ -593,8 +644,11 @@ public final UnaryCallable createFindingCallable(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FolderName parent = FolderName.of("[FOLDER]");
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
@@ -623,8 +677,11 @@ public final MuteConfig createMuteConfig(FolderName parent, MuteConfig muteConfi
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
@@ -653,8 +710,11 @@ public final MuteConfig createMuteConfig(OrganizationName parent, MuteConfig mut
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
@@ -683,8 +743,11 @@ public final MuteConfig createMuteConfig(ProjectName parent, MuteConfig muteConf
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
@@ -710,8 +773,11 @@ public final MuteConfig createMuteConfig(String parent, MuteConfig muteConfig) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FolderName parent = FolderName.of("[FOLDER]");
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
@@ -746,8 +812,11 @@ public final MuteConfig createMuteConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
@@ -782,8 +851,11 @@ public final MuteConfig createMuteConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
@@ -818,8 +890,11 @@ public final MuteConfig createMuteConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
@@ -854,8 +929,11 @@ public final MuteConfig createMuteConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateMuteConfigRequest request =
    *       CreateMuteConfigRequest.newBuilder()
@@ -881,8 +959,11 @@ public final MuteConfig createMuteConfig(CreateMuteConfigRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateMuteConfigRequest request =
    *       CreateMuteConfigRequest.newBuilder()
@@ -908,8 +989,11 @@ public final UnaryCallable createMuteConfig
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
@@ -941,8 +1025,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
@@ -974,8 +1061,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   String configId = "configId-580140035";
@@ -1012,8 +1102,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   String configId = "configId-580140035";
@@ -1050,8 +1143,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateNotificationConfigRequest request =
    *       CreateNotificationConfigRequest.newBuilder()
@@ -1078,8 +1174,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateNotificationConfigRequest request =
    *       CreateNotificationConfigRequest.newBuilder()
@@ -1106,8 +1205,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   MuteConfigName name =
    *       MuteConfigName.ofOrganizationMuteConfigName("[ORGANIZATION]", "[MUTE_CONFIG]");
@@ -1133,8 +1235,11 @@ public final void deleteMuteConfig(MuteConfigName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name =
    *       MuteConfigName.ofOrganizationMuteConfigName("[ORGANIZATION]", "[MUTE_CONFIG]").toString();
@@ -1159,8 +1264,11 @@ public final void deleteMuteConfig(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   DeleteMuteConfigRequest request =
    *       DeleteMuteConfigRequest.newBuilder()
@@ -1186,8 +1294,11 @@ public final void deleteMuteConfig(DeleteMuteConfigRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   DeleteMuteConfigRequest request =
    *       DeleteMuteConfigRequest.newBuilder()
@@ -1212,8 +1323,11 @@ public final UnaryCallable deleteMuteConfigCalla
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   NotificationConfigName name =
    *       NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]");
@@ -1240,8 +1354,11 @@ public final void deleteNotificationConfig(NotificationConfigName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]").toString();
    *   securityCenterClient.deleteNotificationConfig(name);
@@ -1265,8 +1382,11 @@ public final void deleteNotificationConfig(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   DeleteNotificationConfigRequest request =
    *       DeleteNotificationConfigRequest.newBuilder()
@@ -1291,8 +1411,11 @@ public final void deleteNotificationConfig(DeleteNotificationConfigRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   DeleteNotificationConfigRequest request =
    *       DeleteNotificationConfigRequest.newBuilder()
@@ -1318,8 +1441,11 @@ public final void deleteNotificationConfig(DeleteNotificationConfigRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   BigQueryExportName name =
    *       BigQueryExportName.ofOrganizationExportName("[ORGANIZATION]", "[EXPORT]");
@@ -1348,8 +1474,11 @@ public final BigQueryExport getBigQueryExport(BigQueryExportName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name =
    *       BigQueryExportName.ofOrganizationExportName("[ORGANIZATION]", "[EXPORT]").toString();
@@ -1375,8 +1504,11 @@ public final BigQueryExport getBigQueryExport(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetBigQueryExportRequest request =
    *       GetBigQueryExportRequest.newBuilder()
@@ -1402,8 +1534,11 @@ public final BigQueryExport getBigQueryExport(GetBigQueryExportRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetBigQueryExportRequest request =
    *       GetBigQueryExportRequest.newBuilder()
@@ -1429,8 +1564,11 @@ public final UnaryCallable getBigQuery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   Policy response = securityCenterClient.getIamPolicy(resource);
@@ -1456,8 +1594,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = securityCenterClient.getIamPolicy(resource);
@@ -1480,8 +1621,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1507,8 +1651,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1533,8 +1680,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   MuteConfigName name =
    *       MuteConfigName.ofOrganizationMuteConfigName("[ORGANIZATION]", "[MUTE_CONFIG]");
@@ -1560,8 +1710,11 @@ public final MuteConfig getMuteConfig(MuteConfigName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name =
    *       MuteConfigName.ofOrganizationMuteConfigName("[ORGANIZATION]", "[MUTE_CONFIG]").toString();
@@ -1586,8 +1739,11 @@ public final MuteConfig getMuteConfig(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetMuteConfigRequest request =
    *       GetMuteConfigRequest.newBuilder()
@@ -1613,8 +1769,11 @@ public final MuteConfig getMuteConfig(GetMuteConfigRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetMuteConfigRequest request =
    *       GetMuteConfigRequest.newBuilder()
@@ -1640,8 +1799,11 @@ public final UnaryCallable getMuteConfigCallab
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   NotificationConfigName name =
    *       NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]");
@@ -1668,8 +1830,11 @@ public final NotificationConfig getNotificationConfig(NotificationConfigName nam
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]").toString();
    *   NotificationConfig response = securityCenterClient.getNotificationConfig(name);
@@ -1693,8 +1858,11 @@ public final NotificationConfig getNotificationConfig(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetNotificationConfigRequest request =
    *       GetNotificationConfigRequest.newBuilder()
@@ -1719,8 +1887,11 @@ public final NotificationConfig getNotificationConfig(GetNotificationConfigReque
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetNotificationConfigRequest request =
    *       GetNotificationConfigRequest.newBuilder()
@@ -1746,8 +1917,11 @@ public final NotificationConfig getNotificationConfig(GetNotificationConfigReque
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationSettingsName name = OrganizationSettingsName.of("[ORGANIZATION]");
    *   OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
@@ -1773,8 +1947,11 @@ public final OrganizationSettings getOrganizationSettings(OrganizationSettingsNa
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = OrganizationSettingsName.of("[ORGANIZATION]").toString();
    *   OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
@@ -1798,8 +1975,11 @@ public final OrganizationSettings getOrganizationSettings(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetOrganizationSettingsRequest request =
    *       GetOrganizationSettingsRequest.newBuilder()
@@ -1824,8 +2004,11 @@ public final OrganizationSettings getOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetOrganizationSettingsRequest request =
    *       GetOrganizationSettingsRequest.newBuilder()
@@ -1850,8 +2033,11 @@ public final OrganizationSettings getOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName name = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   Source response = securityCenterClient.getSource(name);
@@ -1875,8 +2061,11 @@ public final Source getSource(SourceName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
    *   Source response = securityCenterClient.getSource(name);
@@ -1899,8 +2088,11 @@ public final Source getSource(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetSourceRequest request =
    *       GetSourceRequest.newBuilder()
@@ -1924,8 +2116,11 @@ public final Source getSource(GetSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetSourceRequest request =
    *       GetSourceRequest.newBuilder()
@@ -1948,8 +2143,11 @@ public final UnaryCallable getSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -1981,8 +2179,11 @@ public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -2015,8 +2216,11 @@ public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -2058,8 +2262,11 @@ public final UnaryCallable groupAssetsC
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   String groupBy = "groupBy293428022";
@@ -2113,8 +2320,11 @@ public final GroupFindingsPagedResponse groupFindings(SourceName parent, String
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
    *   String groupBy = "groupBy293428022";
@@ -2165,8 +2375,11 @@ public final GroupFindingsPagedResponse groupFindings(String parent, String grou
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -2203,8 +2416,11 @@ public final GroupFindingsPagedResponse groupFindings(GroupFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -2242,8 +2458,11 @@ public final GroupFindingsPagedResponse groupFindings(GroupFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -2282,8 +2501,11 @@ public final UnaryCallable groupFin
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -2317,8 +2539,11 @@ public final ListAssetsPagedResponse listAssets(ListAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -2351,8 +2576,11 @@ public final UnaryCallable listAsset
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -2394,8 +2622,11 @@ public final UnaryCallable listAssetsCall
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -2433,8 +2664,11 @@ public final ListFindingsPagedResponse listFindings(ListFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -2472,8 +2706,11 @@ public final ListFindingsPagedResponse listFindings(ListFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -2514,8 +2751,11 @@ public final UnaryCallable listFindin
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FolderName parent = FolderName.of("[FOLDER]");
    *   for (MuteConfig element : securityCenterClient.listMuteConfigs(parent).iterateAll()) {
@@ -2543,8 +2783,11 @@ public final ListMuteConfigsPagedResponse listMuteConfigs(FolderName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   for (MuteConfig element : securityCenterClient.listMuteConfigs(parent).iterateAll()) {
@@ -2572,8 +2815,11 @@ public final ListMuteConfigsPagedResponse listMuteConfigs(OrganizationName paren
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   for (MuteConfig element : securityCenterClient.listMuteConfigs(parent).iterateAll()) {
@@ -2601,8 +2847,11 @@ public final ListMuteConfigsPagedResponse listMuteConfigs(ProjectName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   for (MuteConfig element : securityCenterClient.listMuteConfigs(parent).iterateAll()) {
@@ -2627,8 +2876,11 @@ public final ListMuteConfigsPagedResponse listMuteConfigs(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListMuteConfigsRequest request =
    *       ListMuteConfigsRequest.newBuilder()
@@ -2656,8 +2908,11 @@ public final ListMuteConfigsPagedResponse listMuteConfigs(ListMuteConfigsRequest
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListMuteConfigsRequest request =
    *       ListMuteConfigsRequest.newBuilder()
@@ -2686,8 +2941,11 @@ public final ListMuteConfigsPagedResponse listMuteConfigs(ListMuteConfigsRequest
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListMuteConfigsRequest request =
    *       ListMuteConfigsRequest.newBuilder()
@@ -2723,8 +2981,11 @@ public final ListMuteConfigsPagedResponse listMuteConfigs(ListMuteConfigsRequest
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   for (NotificationConfig element :
@@ -2754,8 +3015,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   for (NotificationConfig element :
@@ -2782,8 +3046,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(String
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListNotificationConfigsRequest request =
    *       ListNotificationConfigsRequest.newBuilder()
@@ -2813,8 +3080,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListNotificationConfigsRequest request =
    *       ListNotificationConfigsRequest.newBuilder()
@@ -2843,8 +3113,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListNotificationConfigsRequest request =
    *       ListNotificationConfigsRequest.newBuilder()
@@ -2880,8 +3153,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FolderName parent = FolderName.of("[FOLDER]");
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -2909,8 +3185,11 @@ public final ListSourcesPagedResponse listSources(FolderName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -2938,8 +3217,11 @@ public final ListSourcesPagedResponse listSources(OrganizationName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -2967,8 +3249,11 @@ public final ListSourcesPagedResponse listSources(ProjectName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -2993,8 +3278,11 @@ public final ListSourcesPagedResponse listSources(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -3022,8 +3310,11 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -3052,8 +3343,11 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -3090,8 +3384,11 @@ public final UnaryCallable listSourcesC
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   RunAssetDiscoveryResponse response =
@@ -3122,8 +3419,11 @@ public final OperationFuture runAssetDiscovery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   RunAssetDiscoveryResponse response =
@@ -3152,8 +3452,11 @@ public final OperationFuture runAssetDiscovery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -3182,8 +3485,11 @@ public final OperationFuture runAssetDiscovery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -3211,8 +3517,11 @@ public final OperationFuture runAssetDiscovery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -3236,8 +3545,11 @@ public final UnaryCallable runAssetDiscover
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FindingName name =
    *       FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]");
@@ -3271,8 +3583,11 @@ public final Finding setFindingState(FindingName name, Finding.State state, Time
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name =
    *       FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]")
@@ -3307,8 +3622,11 @@ public final Finding setFindingState(String name, Finding.State state, Timestamp
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetFindingStateRequest request =
    *       SetFindingStateRequest.newBuilder()
@@ -3336,8 +3654,11 @@ public final Finding setFindingState(SetFindingStateRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetFindingStateRequest request =
    *       SetFindingStateRequest.newBuilder()
@@ -3365,8 +3686,11 @@ public final UnaryCallable setFindingStateCalla
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FindingName name =
    *       FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]");
@@ -3399,8 +3723,11 @@ public final Finding setMute(FindingName name, Finding.Mute mute) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name =
    *       FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]")
@@ -3430,8 +3757,11 @@ public final Finding setMute(String name, Finding.Mute mute) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetMuteRequest request =
    *       SetMuteRequest.newBuilder()
@@ -3458,8 +3788,11 @@ public final Finding setMute(SetMuteRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetMuteRequest request =
    *       SetMuteRequest.newBuilder()
@@ -3485,8 +3818,11 @@ public final UnaryCallable setMuteCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   Policy policy = Policy.newBuilder().build();
@@ -3517,8 +3853,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy policy = Policy.newBuilder().build();
@@ -3546,8 +3885,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -3574,8 +3916,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -3601,8 +3946,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   List permissions = new ArrayList<>();
@@ -3635,8 +3983,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
@@ -3669,8 +4020,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -3696,8 +4050,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -3724,8 +4081,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ExternalSystem externalSystem = ExternalSystem.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -3756,8 +4116,11 @@ public final ExternalSystem updateExternalSystem(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateExternalSystemRequest request =
    *       UpdateExternalSystemRequest.newBuilder()
@@ -3782,8 +4145,11 @@ public final ExternalSystem updateExternalSystem(UpdateExternalSystemRequest req
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateExternalSystemRequest request =
    *       UpdateExternalSystemRequest.newBuilder()
@@ -3810,8 +4176,11 @@ public final ExternalSystem updateExternalSystem(UpdateExternalSystemRequest req
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   Finding finding = Finding.newBuilder().build();
    *   Finding response = securityCenterClient.updateFinding(finding);
@@ -3837,8 +4206,11 @@ public final Finding updateFinding(Finding finding) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateFindingRequest request =
    *       UpdateFindingRequest.newBuilder()
@@ -3864,8 +4236,11 @@ public final Finding updateFinding(UpdateFindingRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateFindingRequest request =
    *       UpdateFindingRequest.newBuilder()
@@ -3889,8 +4264,11 @@ public final UnaryCallable updateFindingCallable(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   MuteConfig muteConfig = MuteConfig.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -3919,8 +4297,11 @@ public final MuteConfig updateMuteConfig(MuteConfig muteConfig, FieldMask update
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateMuteConfigRequest request =
    *       UpdateMuteConfigRequest.newBuilder()
@@ -3945,8 +4326,11 @@ public final MuteConfig updateMuteConfig(UpdateMuteConfigRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateMuteConfigRequest request =
    *       UpdateMuteConfigRequest.newBuilder()
@@ -3972,8 +4356,11 @@ public final UnaryCallable updateMuteConfig
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
    *   NotificationConfig response =
@@ -4000,8 +4387,11 @@ public final NotificationConfig updateNotificationConfig(NotificationConfig noti
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -4033,8 +4423,11 @@ public final NotificationConfig updateNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateNotificationConfigRequest request =
    *       UpdateNotificationConfigRequest.newBuilder()
@@ -4061,8 +4454,11 @@ public final NotificationConfig updateNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateNotificationConfigRequest request =
    *       UpdateNotificationConfigRequest.newBuilder()
@@ -4088,8 +4484,11 @@ public final NotificationConfig updateNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationSettings organizationSettings = OrganizationSettings.newBuilder().build();
    *   OrganizationSettings response =
@@ -4116,8 +4515,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateOrganizationSettingsRequest request =
    *       UpdateOrganizationSettingsRequest.newBuilder()
@@ -4143,8 +4545,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateOrganizationSettingsRequest request =
    *       UpdateOrganizationSettingsRequest.newBuilder()
@@ -4170,8 +4575,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   Source source = Source.newBuilder().build();
    *   Source response = securityCenterClient.updateSource(source);
@@ -4193,8 +4601,11 @@ public final Source updateSource(Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSourceRequest request =
    *       UpdateSourceRequest.newBuilder()
@@ -4219,8 +4630,11 @@ public final Source updateSource(UpdateSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSourceRequest request =
    *       UpdateSourceRequest.newBuilder()
@@ -4244,8 +4658,11 @@ public final UnaryCallable updateSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
    *   SecurityMarks response = securityCenterClient.updateSecurityMarks(securityMarks);
@@ -4268,8 +4685,11 @@ public final SecurityMarks updateSecurityMarks(SecurityMarks securityMarks) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSecurityMarksRequest request =
    *       UpdateSecurityMarksRequest.newBuilder()
@@ -4295,8 +4715,11 @@ public final SecurityMarks updateSecurityMarks(UpdateSecurityMarksRequest reques
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSecurityMarksRequest request =
    *       UpdateSecurityMarksRequest.newBuilder()
@@ -4323,8 +4746,11 @@ public final SecurityMarks updateSecurityMarks(UpdateSecurityMarksRequest reques
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FolderName parent = FolderName.of("[FOLDER]");
    *   BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
@@ -4360,8 +4786,11 @@ public final BigQueryExport createBigQueryExport(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
@@ -4397,8 +4826,11 @@ public final BigQueryExport createBigQueryExport(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
@@ -4434,8 +4866,11 @@ public final BigQueryExport createBigQueryExport(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
@@ -4471,8 +4906,11 @@ public final BigQueryExport createBigQueryExport(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateBigQueryExportRequest request =
    *       CreateBigQueryExportRequest.newBuilder()
@@ -4498,8 +4936,11 @@ public final BigQueryExport createBigQueryExport(CreateBigQueryExportRequest req
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateBigQueryExportRequest request =
    *       CreateBigQueryExportRequest.newBuilder()
@@ -4526,8 +4967,11 @@ public final BigQueryExport createBigQueryExport(CreateBigQueryExportRequest req
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   BigQueryExportName name =
    *       BigQueryExportName.ofOrganizationExportName("[ORGANIZATION]", "[EXPORT]");
@@ -4556,8 +5000,11 @@ public final void deleteBigQueryExport(BigQueryExportName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name =
    *       BigQueryExportName.ofOrganizationExportName("[ORGANIZATION]", "[EXPORT]").toString();
@@ -4584,8 +5031,11 @@ public final void deleteBigQueryExport(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   DeleteBigQueryExportRequest request =
    *       DeleteBigQueryExportRequest.newBuilder()
@@ -4611,8 +5061,11 @@ public final void deleteBigQueryExport(DeleteBigQueryExportRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   DeleteBigQueryExportRequest request =
    *       DeleteBigQueryExportRequest.newBuilder()
@@ -4638,8 +5091,11 @@ public final UnaryCallable deleteBigQueryExp
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -4670,8 +5126,11 @@ public final BigQueryExport updateBigQueryExport(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateBigQueryExportRequest request =
    *       UpdateBigQueryExportRequest.newBuilder()
@@ -4696,8 +5155,11 @@ public final BigQueryExport updateBigQueryExport(UpdateBigQueryExportRequest req
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateBigQueryExportRequest request =
    *       UpdateBigQueryExportRequest.newBuilder()
@@ -4726,8 +5188,11 @@ public final BigQueryExport updateBigQueryExport(UpdateBigQueryExportRequest req
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FolderName parent = FolderName.of("[FOLDER]");
    *   for (BigQueryExport element : securityCenterClient.listBigQueryExports(parent).iterateAll()) {
@@ -4758,8 +5223,11 @@ public final ListBigQueryExportsPagedResponse listBigQueryExports(FolderName par
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   for (BigQueryExport element : securityCenterClient.listBigQueryExports(parent).iterateAll()) {
@@ -4790,8 +5258,11 @@ public final ListBigQueryExportsPagedResponse listBigQueryExports(OrganizationNa
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   for (BigQueryExport element : securityCenterClient.listBigQueryExports(parent).iterateAll()) {
@@ -4822,8 +5293,11 @@ public final ListBigQueryExportsPagedResponse listBigQueryExports(ProjectName pa
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   for (BigQueryExport element : securityCenterClient.listBigQueryExports(parent).iterateAll()) {
@@ -4852,8 +5326,11 @@ public final ListBigQueryExportsPagedResponse listBigQueryExports(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListBigQueryExportsRequest request =
    *       ListBigQueryExportsRequest.newBuilder()
@@ -4886,8 +5363,11 @@ public final ListBigQueryExportsPagedResponse listBigQueryExports(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListBigQueryExportsRequest request =
    *       ListBigQueryExportsRequest.newBuilder()
@@ -4919,8 +5399,11 @@ public final ListBigQueryExportsPagedResponse listBigQueryExports(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListBigQueryExportsRequest request =
    *       ListBigQueryExportsRequest.newBuilder()
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java
index 380ad1d6d421..e42ef771620b 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java
@@ -69,17 +69,17 @@
  * 

For example, to set the total timeout of createSource 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
  * SecurityCenterSettings.Builder securityCenterSettingsBuilder =
  *     SecurityCenterSettings.newBuilder();
  * securityCenterSettingsBuilder
  *     .createSourceSettings()
  *     .setRetrySettings(
- *         securityCenterSettingsBuilder
- *             .createSourceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SecurityCenterSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java
index dae109d826b8..ebc78a4b25ab 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for SecurityCenterClient: * *

{@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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
  *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
  *   Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java
index e1cb0e6cb020..b28fb3c2f8b7 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java
@@ -153,7 +153,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -191,7 +191,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("source", request.getSource()))
+                              ProtoRestSerializer.create()
+                                  .toBody("source", request.getSource(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -227,7 +228,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("finding", request.getFinding()))
+                              ProtoRestSerializer.create()
+                                  .toBody("finding", request.getFinding(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -268,7 +270,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("muteConfig", request.getMuteConfig()))
+                                  .toBody("muteConfig", request.getMuteConfig(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -306,7 +308,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("notificationConfig", request.getNotificationConfig()))
+                                  .toBody(
+                                      "notificationConfig", request.getNotificationConfig(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -448,7 +451,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -623,7 +626,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -662,7 +665,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -898,7 +901,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -940,7 +943,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -978,7 +981,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                   .setRequestBodyExtractor(
                       request ->
                           ProtoRestSerializer.create()
-                              .toBody("*", request.toBuilder().clearName().build()))
+                              .toBody("*", request.toBuilder().clearName().build(), false))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -1014,7 +1017,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1050,7 +1053,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1094,7 +1097,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("externalSystem", request.getExternalSystem()))
+                                  .toBody("externalSystem", request.getExternalSystem(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1134,7 +1137,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("finding", request.getFinding()))
+                              ProtoRestSerializer.create()
+                                  .toBody("finding", request.getFinding(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1175,7 +1179,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("muteConfig", request.getMuteConfig()))
+                                  .toBody("muteConfig", request.getMuteConfig(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1216,7 +1220,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("notificationConfig", request.getNotificationConfig()))
+                                  .toBody(
+                                      "notificationConfig", request.getNotificationConfig(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1258,7 +1263,9 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "organizationSettings", request.getOrganizationSettings()))
+                                      "organizationSettings",
+                                      request.getOrganizationSettings(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1295,7 +1302,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("source", request.getSource()))
+                              ProtoRestSerializer.create()
+                                  .toBody("source", request.getSource(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1341,7 +1349,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("securityMarks", request.getSecurityMarks()))
+                                  .toBody("securityMarks", request.getSecurityMarks(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1383,7 +1391,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("bigQueryExport", request.getBigQueryExport()))
+                                  .toBody("bigQueryExport", request.getBigQueryExport(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -1464,7 +1472,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("bigQueryExport", request.getBigQueryExport()))
+                                  .toBody("bigQueryExport", request.getBigQueryExport(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
index ddb4873ae4ef..4d1042fa4dcc 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
@@ -141,17 +141,17 @@
  * 

For example, to set the total timeout of createSource 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
  * SecurityCenterStubSettings.Builder securityCenterSettingsBuilder =
  *     SecurityCenterStubSettings.newBuilder();
  * securityCenterSettingsBuilder
  *     .createSourceSettings()
  *     .setRetrySettings(
- *         securityCenterSettingsBuilder
- *             .createSourceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SecurityCenterStubSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java
index 5c6cac1d1aa5..6028b757e9b2 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
  *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
  *   Source source = Source.newBuilder().build();
@@ -91,8 +94,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -103,8 +109,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SecurityCenterClient securityCenterClient = SecurityCenterClient.create(securityCenterSettings);
@@ -114,8 +123,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -209,8 +221,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   Source source = Source.newBuilder().build();
@@ -240,8 +255,11 @@ public final Source createSource(OrganizationName parent, Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   Source source = Source.newBuilder().build();
@@ -268,8 +286,11 @@ public final Source createSource(String parent, Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateSourceRequest request =
    *       CreateSourceRequest.newBuilder()
@@ -294,8 +315,11 @@ public final Source createSource(CreateSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateSourceRequest request =
    *       CreateSourceRequest.newBuilder()
@@ -319,8 +343,11 @@ public final UnaryCallable createSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName parent = SourceName.of("[ORGANIZATION]", "[SOURCE]");
    *   String findingId = "findingId439150212";
@@ -355,8 +382,11 @@ public final Finding createFinding(SourceName parent, String findingId, Finding
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
    *   String findingId = "findingId439150212";
@@ -391,8 +421,11 @@ public final Finding createFinding(String parent, String findingId, Finding find
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateFindingRequest request =
    *       CreateFindingRequest.newBuilder()
@@ -418,8 +451,11 @@ public final Finding createFinding(CreateFindingRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateFindingRequest request =
    *       CreateFindingRequest.newBuilder()
@@ -444,8 +480,11 @@ public final UnaryCallable createFindingCallable(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
    *   Policy response = securityCenterClient.getIamPolicy(resource);
@@ -471,8 +510,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = OrganizationName.of("[ORGANIZATION]").toString();
    *   Policy response = securityCenterClient.getIamPolicy(resource);
@@ -495,8 +537,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -521,8 +566,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -546,8 +594,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationSettingsName name = OrganizationSettingsName.of("[ORGANIZATION]");
    *   OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
@@ -573,8 +624,11 @@ public final OrganizationSettings getOrganizationSettings(OrganizationSettingsNa
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = OrganizationSettingsName.of("[ORGANIZATION]").toString();
    *   OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
@@ -598,8 +652,11 @@ public final OrganizationSettings getOrganizationSettings(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetOrganizationSettingsRequest request =
    *       GetOrganizationSettingsRequest.newBuilder()
@@ -624,8 +681,11 @@ public final OrganizationSettings getOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetOrganizationSettingsRequest request =
    *       GetOrganizationSettingsRequest.newBuilder()
@@ -650,8 +710,11 @@ public final OrganizationSettings getOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName name = SourceName.of("[ORGANIZATION]", "[SOURCE]");
    *   Source response = securityCenterClient.getSource(name);
@@ -675,8 +738,11 @@ public final Source getSource(SourceName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
    *   Source response = securityCenterClient.getSource(name);
@@ -699,8 +765,11 @@ public final Source getSource(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetSourceRequest request =
    *       GetSourceRequest.newBuilder()
@@ -724,8 +793,11 @@ public final Source getSource(GetSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetSourceRequest request =
    *       GetSourceRequest.newBuilder()
@@ -748,8 +820,11 @@ public final UnaryCallable getSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -781,8 +856,11 @@ public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -815,8 +893,11 @@ public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -857,8 +938,11 @@ public final UnaryCallable groupAssetsC
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName parent = SourceName.of("[ORGANIZATION]", "[SOURCE]");
    *   String groupBy = "groupBy293428022";
@@ -903,8 +987,11 @@ public final GroupFindingsPagedResponse groupFindings(SourceName parent, String
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
    *   String groupBy = "groupBy293428022";
@@ -946,8 +1033,11 @@ public final GroupFindingsPagedResponse groupFindings(String parent, String grou
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -981,8 +1071,11 @@ public final GroupFindingsPagedResponse groupFindings(GroupFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -1017,8 +1110,11 @@ public final GroupFindingsPagedResponse groupFindings(GroupFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -1055,8 +1151,11 @@ public final UnaryCallable groupFin
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -1090,8 +1189,11 @@ public final ListAssetsPagedResponse listAssets(ListAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -1124,8 +1226,11 @@ public final UnaryCallable listAsset
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -1167,8 +1272,11 @@ public final UnaryCallable listAssetsCall
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -1203,8 +1311,11 @@ public final ListFindingsPagedResponse listFindings(ListFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -1240,8 +1351,11 @@ public final ListFindingsPagedResponse listFindings(ListFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -1279,8 +1393,11 @@ public final UnaryCallable listFindin
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -1308,8 +1425,11 @@ public final ListSourcesPagedResponse listSources(OrganizationName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -1334,8 +1454,11 @@ public final ListSourcesPagedResponse listSources(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -1363,8 +1486,11 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -1393,8 +1519,11 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -1431,8 +1560,11 @@ public final UnaryCallable listSourcesC
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   securityCenterClient.runAssetDiscoveryAsync(parent).get();
@@ -1461,8 +1593,11 @@ public final OperationFuture runAssetDiscoveryAsync(OrganizationNa
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   securityCenterClient.runAssetDiscoveryAsync(parent).get();
@@ -1489,8 +1624,11 @@ public final OperationFuture runAssetDiscoveryAsync(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -1518,8 +1656,11 @@ public final OperationFuture runAssetDiscoveryAsync(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -1547,8 +1688,11 @@ public final OperationFuture runAssetDiscoveryAsync(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -1572,8 +1716,11 @@ public final UnaryCallable runAssetDiscover
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FindingName name = FindingName.of("[ORGANIZATION]", "[SOURCE]", "[FINDING]");
    *   Finding.State state = Finding.State.forNumber(0);
@@ -1606,8 +1753,11 @@ public final Finding setFindingState(FindingName name, Finding.State state, Time
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = FindingName.of("[ORGANIZATION]", "[SOURCE]", "[FINDING]").toString();
    *   Finding.State state = Finding.State.forNumber(0);
@@ -1640,8 +1790,11 @@ public final Finding setFindingState(String name, Finding.State state, Timestamp
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetFindingStateRequest request =
    *       SetFindingStateRequest.newBuilder()
@@ -1666,8 +1819,11 @@ public final Finding setFindingState(SetFindingStateRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetFindingStateRequest request =
    *       SetFindingStateRequest.newBuilder()
@@ -1692,8 +1848,11 @@ public final UnaryCallable setFindingStateCalla
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
    *   Policy policy = Policy.newBuilder().build();
@@ -1724,8 +1883,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = OrganizationName.of("[ORGANIZATION]").toString();
    *   Policy policy = Policy.newBuilder().build();
@@ -1753,8 +1915,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1780,8 +1945,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1806,8 +1974,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
    *   List permissions = new ArrayList<>();
@@ -1840,8 +2011,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = OrganizationName.of("[ORGANIZATION]").toString();
    *   List permissions = new ArrayList<>();
@@ -1874,8 +2048,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1900,8 +2077,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1928,8 +2108,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   Finding finding = Finding.newBuilder().build();
    *   Finding response = securityCenterClient.updateFinding(finding);
@@ -1955,8 +2138,11 @@ public final Finding updateFinding(Finding finding) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateFindingRequest request =
    *       UpdateFindingRequest.newBuilder()
@@ -1982,8 +2168,11 @@ public final Finding updateFinding(UpdateFindingRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateFindingRequest request =
    *       UpdateFindingRequest.newBuilder()
@@ -2007,8 +2196,11 @@ public final UnaryCallable updateFindingCallable(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationSettings organizationSettings = OrganizationSettings.newBuilder().build();
    *   OrganizationSettings response =
@@ -2035,8 +2227,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateOrganizationSettingsRequest request =
    *       UpdateOrganizationSettingsRequest.newBuilder()
@@ -2062,8 +2257,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateOrganizationSettingsRequest request =
    *       UpdateOrganizationSettingsRequest.newBuilder()
@@ -2089,8 +2287,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   Source source = Source.newBuilder().build();
    *   Source response = securityCenterClient.updateSource(source);
@@ -2112,8 +2313,11 @@ public final Source updateSource(Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSourceRequest request =
    *       UpdateSourceRequest.newBuilder()
@@ -2138,8 +2342,11 @@ public final Source updateSource(UpdateSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSourceRequest request =
    *       UpdateSourceRequest.newBuilder()
@@ -2163,8 +2370,11 @@ public final UnaryCallable updateSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
    *   SecurityMarks response = securityCenterClient.updateSecurityMarks(securityMarks);
@@ -2187,8 +2397,11 @@ public final SecurityMarks updateSecurityMarks(SecurityMarks securityMarks) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSecurityMarksRequest request =
    *       UpdateSecurityMarksRequest.newBuilder()
@@ -2214,8 +2427,11 @@ public final SecurityMarks updateSecurityMarks(UpdateSecurityMarksRequest reques
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSecurityMarksRequest request =
    *       UpdateSecurityMarksRequest.newBuilder()
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java
index f9ddee450e8d..70382027bc5d 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java
@@ -66,17 +66,17 @@
  * 

For example, to set the total timeout of createSource 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
  * SecurityCenterSettings.Builder securityCenterSettingsBuilder =
  *     SecurityCenterSettings.newBuilder();
  * securityCenterSettingsBuilder
  *     .createSourceSettings()
  *     .setRetrySettings(
- *         securityCenterSettingsBuilder
- *             .createSourceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SecurityCenterSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java
index 1631a9bc208c..9375d49f3501 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java
@@ -24,8 +24,11 @@
  * 

Sample for SecurityCenterClient: * *

{@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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
  *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
  *   Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java
index 2e5ecc29dcab..1fdb34ec5da0 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java
@@ -115,7 +115,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("source", request.getSource()))
+                              ProtoRestSerializer.create()
+                                  .toBody("source", request.getSource(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -151,7 +152,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("finding", request.getFinding()))
+                              ProtoRestSerializer.create()
+                                  .toBody("finding", request.getFinding(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -187,7 +189,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -289,7 +291,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -325,7 +327,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -477,7 +479,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -517,7 +519,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -553,7 +555,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -590,7 +592,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -627,7 +629,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("finding", request.getFinding()))
+                              ProtoRestSerializer.create()
+                                  .toBody("finding", request.getFinding(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -669,7 +672,9 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "organizationSettings", request.getOrganizationSettings()))
+                                      "organizationSettings",
+                                      request.getOrganizationSettings(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -706,7 +711,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("source", request.getSource()))
+                              ProtoRestSerializer.create()
+                                  .toBody("source", request.getSource(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -748,7 +754,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("securityMarks", request.getSecurityMarks()))
+                                  .toBody("securityMarks", request.getSecurityMarks(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java
index 9a679e91ce35..44ff7c5e3c6d 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java
@@ -111,17 +111,17 @@
  * 

For example, to set the total timeout of createSource 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
  * SecurityCenterStubSettings.Builder securityCenterSettingsBuilder =
  *     SecurityCenterStubSettings.newBuilder();
  * securityCenterSettingsBuilder
  *     .createSourceSettings()
  *     .setRetrySettings(
- *         securityCenterSettingsBuilder
- *             .createSourceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SecurityCenterStubSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java
index 3e1c00091680..f0007aa1ac6a 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java
@@ -54,8 +54,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
  *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
  *   Source source = Source.newBuilder().build();
@@ -92,8 +95,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -104,8 +110,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SecurityCenterClient securityCenterClient = SecurityCenterClient.create(securityCenterSettings);
@@ -115,8 +124,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
  * SecurityCenterSettings securityCenterSettings =
  *     SecurityCenterSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -210,8 +222,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   Source source = Source.newBuilder().build();
@@ -241,8 +256,11 @@ public final Source createSource(OrganizationName parent, Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   Source source = Source.newBuilder().build();
@@ -269,8 +287,11 @@ public final Source createSource(String parent, Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateSourceRequest request =
    *       CreateSourceRequest.newBuilder()
@@ -295,8 +316,11 @@ public final Source createSource(CreateSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateSourceRequest request =
    *       CreateSourceRequest.newBuilder()
@@ -320,8 +344,11 @@ public final UnaryCallable createSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   Finding finding = Finding.newBuilder().build();
@@ -354,8 +381,11 @@ public final Finding createFinding(SourceName parent, Finding finding, String fi
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   String findingId = "findingId439150212";
@@ -388,8 +418,11 @@ public final Finding createFinding(SourceName parent, String findingId, Finding
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
    *   Finding finding = Finding.newBuilder().build();
@@ -422,8 +455,11 @@ public final Finding createFinding(String parent, Finding finding, String findin
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
    *   String findingId = "findingId439150212";
@@ -456,8 +492,11 @@ public final Finding createFinding(String parent, String findingId, Finding find
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateFindingRequest request =
    *       CreateFindingRequest.newBuilder()
@@ -484,8 +523,11 @@ public final Finding createFinding(CreateFindingRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateFindingRequest request =
    *       CreateFindingRequest.newBuilder()
@@ -511,8 +553,11 @@ public final UnaryCallable createFindingCallable(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
@@ -544,8 +589,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
@@ -577,8 +625,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   String configId = "configId-580140035";
@@ -615,8 +666,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   String configId = "configId-580140035";
@@ -653,8 +707,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateNotificationConfigRequest request =
    *       CreateNotificationConfigRequest.newBuilder()
@@ -681,8 +738,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   CreateNotificationConfigRequest request =
    *       CreateNotificationConfigRequest.newBuilder()
@@ -709,8 +769,11 @@ public final NotificationConfig createNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   NotificationConfigName name =
    *       NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]");
@@ -737,8 +800,11 @@ public final void deleteNotificationConfig(NotificationConfigName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]").toString();
    *   securityCenterClient.deleteNotificationConfig(name);
@@ -762,8 +828,11 @@ public final void deleteNotificationConfig(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   DeleteNotificationConfigRequest request =
    *       DeleteNotificationConfigRequest.newBuilder()
@@ -788,8 +857,11 @@ public final void deleteNotificationConfig(DeleteNotificationConfigRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   DeleteNotificationConfigRequest request =
    *       DeleteNotificationConfigRequest.newBuilder()
@@ -815,8 +887,11 @@ public final void deleteNotificationConfig(DeleteNotificationConfigRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   Policy response = securityCenterClient.getIamPolicy(resource);
@@ -842,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = securityCenterClient.getIamPolicy(resource);
@@ -866,8 +944,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -893,8 +974,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -919,8 +1003,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   NotificationConfigName name =
    *       NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]");
@@ -947,8 +1034,11 @@ public final NotificationConfig getNotificationConfig(NotificationConfigName nam
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]").toString();
    *   NotificationConfig response = securityCenterClient.getNotificationConfig(name);
@@ -972,8 +1062,11 @@ public final NotificationConfig getNotificationConfig(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetNotificationConfigRequest request =
    *       GetNotificationConfigRequest.newBuilder()
@@ -998,8 +1091,11 @@ public final NotificationConfig getNotificationConfig(GetNotificationConfigReque
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetNotificationConfigRequest request =
    *       GetNotificationConfigRequest.newBuilder()
@@ -1025,8 +1121,11 @@ public final NotificationConfig getNotificationConfig(GetNotificationConfigReque
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationSettingsName name = OrganizationSettingsName.of("[ORGANIZATION]");
    *   OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
@@ -1052,8 +1151,11 @@ public final OrganizationSettings getOrganizationSettings(OrganizationSettingsNa
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = OrganizationSettingsName.of("[ORGANIZATION]").toString();
    *   OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
@@ -1077,8 +1179,11 @@ public final OrganizationSettings getOrganizationSettings(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetOrganizationSettingsRequest request =
    *       GetOrganizationSettingsRequest.newBuilder()
@@ -1103,8 +1208,11 @@ public final OrganizationSettings getOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetOrganizationSettingsRequest request =
    *       GetOrganizationSettingsRequest.newBuilder()
@@ -1129,8 +1237,11 @@ public final OrganizationSettings getOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName name = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   Source response = securityCenterClient.getSource(name);
@@ -1154,8 +1265,11 @@ public final Source getSource(SourceName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
    *   Source response = securityCenterClient.getSource(name);
@@ -1178,8 +1292,11 @@ public final Source getSource(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetSourceRequest request =
    *       GetSourceRequest.newBuilder()
@@ -1203,8 +1320,11 @@ public final Source getSource(GetSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GetSourceRequest request =
    *       GetSourceRequest.newBuilder()
@@ -1227,8 +1347,11 @@ public final UnaryCallable getSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -1260,8 +1383,11 @@ public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -1294,8 +1420,11 @@ public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupAssetsRequest request =
    *       GroupAssetsRequest.newBuilder()
@@ -1337,8 +1466,11 @@ public final UnaryCallable groupAssetsC
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   String groupBy = "groupBy293428022";
@@ -1392,8 +1524,11 @@ public final GroupFindingsPagedResponse groupFindings(SourceName parent, String
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
    *   String groupBy = "groupBy293428022";
@@ -1444,8 +1579,11 @@ public final GroupFindingsPagedResponse groupFindings(String parent, String grou
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -1482,8 +1620,11 @@ public final GroupFindingsPagedResponse groupFindings(GroupFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -1521,8 +1662,11 @@ public final GroupFindingsPagedResponse groupFindings(GroupFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   GroupFindingsRequest request =
    *       GroupFindingsRequest.newBuilder()
@@ -1561,8 +1705,11 @@ public final UnaryCallable groupFin
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FolderName parent = FolderName.of("[FOLDER]");
    *   for (ListAssetsResponse.ListAssetsResult element :
@@ -1589,8 +1736,11 @@ public final ListAssetsPagedResponse listAssets(FolderName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   for (ListAssetsResponse.ListAssetsResult element :
@@ -1617,8 +1767,11 @@ public final ListAssetsPagedResponse listAssets(OrganizationName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   for (ListAssetsResponse.ListAssetsResult element :
@@ -1645,8 +1798,11 @@ public final ListAssetsPagedResponse listAssets(ProjectName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   for (ListAssetsResponse.ListAssetsResult element :
@@ -1672,8 +1828,11 @@ public final ListAssetsPagedResponse listAssets(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -1707,8 +1866,11 @@ public final ListAssetsPagedResponse listAssets(ListAssetsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -1741,8 +1903,11 @@ public final UnaryCallable listAsset
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListAssetsRequest request =
    *       ListAssetsRequest.newBuilder()
@@ -1784,8 +1949,11 @@ public final UnaryCallable listAssetsCall
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   for (ListFindingsResponse.ListFindingsResult element :
@@ -1821,8 +1989,11 @@ public final ListFindingsPagedResponse listFindings(SourceName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
    *   for (ListFindingsResponse.ListFindingsResult element :
@@ -1855,8 +2026,11 @@ public final ListFindingsPagedResponse listFindings(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -1894,8 +2068,11 @@ public final ListFindingsPagedResponse listFindings(ListFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -1933,8 +2110,11 @@ public final ListFindingsPagedResponse listFindings(ListFindingsRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListFindingsRequest request =
    *       ListFindingsRequest.newBuilder()
@@ -1975,8 +2155,11 @@ public final UnaryCallable listFindin
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   for (NotificationConfig element :
@@ -2006,8 +2189,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   for (NotificationConfig element :
@@ -2034,8 +2220,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(String
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListNotificationConfigsRequest request =
    *       ListNotificationConfigsRequest.newBuilder()
@@ -2065,8 +2254,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListNotificationConfigsRequest request =
    *       ListNotificationConfigsRequest.newBuilder()
@@ -2095,8 +2287,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListNotificationConfigsRequest request =
    *       ListNotificationConfigsRequest.newBuilder()
@@ -2132,8 +2327,11 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FolderName parent = FolderName.of("[FOLDER]");
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -2161,8 +2359,11 @@ public final ListSourcesPagedResponse listSources(FolderName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -2190,8 +2391,11 @@ public final ListSourcesPagedResponse listSources(OrganizationName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -2219,8 +2423,11 @@ public final ListSourcesPagedResponse listSources(ProjectName 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
@@ -2245,8 +2452,11 @@ public final ListSourcesPagedResponse listSources(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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -2274,8 +2484,11 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -2304,8 +2517,11 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ListSourcesRequest request =
    *       ListSourcesRequest.newBuilder()
@@ -2342,8 +2558,11 @@ public final UnaryCallable listSourcesC
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
    *   RunAssetDiscoveryResponse response =
@@ -2374,8 +2593,11 @@ public final OperationFuture runAssetDiscovery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String parent = OrganizationName.of("[ORGANIZATION]").toString();
    *   RunAssetDiscoveryResponse response =
@@ -2404,8 +2626,11 @@ public final OperationFuture runAssetDiscovery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -2434,8 +2659,11 @@ public final OperationFuture runAssetDiscovery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -2463,8 +2691,11 @@ public final OperationFuture runAssetDiscovery
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   RunAssetDiscoveryRequest request =
    *       RunAssetDiscoveryRequest.newBuilder()
@@ -2488,8 +2719,11 @@ public final UnaryCallable runAssetDiscover
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   FindingName name =
    *       FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]");
@@ -2523,8 +2757,11 @@ public final Finding setFindingState(FindingName name, Finding.State state, Time
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String name =
    *       FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]")
@@ -2559,8 +2796,11 @@ public final Finding setFindingState(String name, Finding.State state, Timestamp
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetFindingStateRequest request =
    *       SetFindingStateRequest.newBuilder()
@@ -2588,8 +2828,11 @@ public final Finding setFindingState(SetFindingStateRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetFindingStateRequest request =
    *       SetFindingStateRequest.newBuilder()
@@ -2617,8 +2860,11 @@ public final UnaryCallable setFindingStateCalla
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   Policy policy = Policy.newBuilder().build();
@@ -2649,8 +2895,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy policy = Policy.newBuilder().build();
@@ -2678,8 +2927,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -2706,8 +2958,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -2733,8 +2988,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
    *   List permissions = new ArrayList<>();
@@ -2767,8 +3025,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
@@ -2801,8 +3062,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -2828,8 +3092,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -2857,8 +3124,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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   Finding finding = Finding.newBuilder().build();
    *   Finding response = securityCenterClient.updateFinding(finding);
@@ -2884,8 +3154,11 @@ public final Finding updateFinding(Finding finding) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   Finding finding = Finding.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2918,8 +3191,11 @@ public final Finding updateFinding(Finding finding, FieldMask updateMask) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateFindingRequest request =
    *       UpdateFindingRequest.newBuilder()
@@ -2945,8 +3221,11 @@ public final Finding updateFinding(UpdateFindingRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateFindingRequest request =
    *       UpdateFindingRequest.newBuilder()
@@ -2971,8 +3250,11 @@ public final UnaryCallable updateFindingCallable(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
    *   NotificationConfig response =
@@ -2999,8 +3281,11 @@ public final NotificationConfig updateNotificationConfig(NotificationConfig noti
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -3032,8 +3317,11 @@ public final NotificationConfig updateNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateNotificationConfigRequest request =
    *       UpdateNotificationConfigRequest.newBuilder()
@@ -3060,8 +3348,11 @@ public final NotificationConfig updateNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateNotificationConfigRequest request =
    *       UpdateNotificationConfigRequest.newBuilder()
@@ -3087,8 +3378,11 @@ public final NotificationConfig updateNotificationConfig(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationSettings organizationSettings = OrganizationSettings.newBuilder().build();
    *   OrganizationSettings response =
@@ -3115,8 +3409,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateOrganizationSettingsRequest request =
    *       UpdateOrganizationSettingsRequest.newBuilder()
@@ -3142,8 +3439,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateOrganizationSettingsRequest request =
    *       UpdateOrganizationSettingsRequest.newBuilder()
@@ -3169,8 +3469,11 @@ public final OrganizationSettings updateOrganizationSettings(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   Source source = Source.newBuilder().build();
    *   Source response = securityCenterClient.updateSource(source);
@@ -3192,8 +3495,11 @@ public final Source updateSource(Source source) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   Source source = Source.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -3219,8 +3525,11 @@ public final Source updateSource(Source source, FieldMask updateMask) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSourceRequest request =
    *       UpdateSourceRequest.newBuilder()
@@ -3245,8 +3554,11 @@ public final Source updateSource(UpdateSourceRequest 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSourceRequest request =
    *       UpdateSourceRequest.newBuilder()
@@ -3270,8 +3582,11 @@ public final UnaryCallable updateSourceCallable() {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
    *   SecurityMarks response = securityCenterClient.updateSecurityMarks(securityMarks);
@@ -3294,8 +3609,11 @@ public final SecurityMarks updateSecurityMarks(SecurityMarks securityMarks) {
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -3326,8 +3644,11 @@ public final SecurityMarks updateSecurityMarks(
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSecurityMarksRequest request =
    *       UpdateSecurityMarksRequest.newBuilder()
@@ -3353,8 +3674,11 @@ public final SecurityMarks updateSecurityMarks(UpdateSecurityMarksRequest reques
    * 

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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   UpdateSecurityMarksRequest request =
    *       UpdateSecurityMarksRequest.newBuilder()
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterSettings.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterSettings.java
index 475a1c90e7c8..16a3337cf9c7 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterSettings.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterSettings.java
@@ -67,17 +67,17 @@
  * 

For example, to set the total timeout of createSource 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
  * SecurityCenterSettings.Builder securityCenterSettingsBuilder =
  *     SecurityCenterSettings.newBuilder();
  * securityCenterSettingsBuilder
  *     .createSourceSettings()
  *     .setRetrySettings(
- *         securityCenterSettingsBuilder
- *             .createSourceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SecurityCenterSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/package-info.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/package-info.java
index cb0831923ef6..36390880b627 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/package-info.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/package-info.java
@@ -24,8 +24,11 @@
  * 

Sample for SecurityCenterClient: * *

{@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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
  *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
  *   Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java
index 4e376ba4df5a..b1c1b28d4129 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java
@@ -128,7 +128,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("source", request.getSource()))
+                              ProtoRestSerializer.create()
+                                  .toBody("source", request.getSource(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -165,7 +166,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("finding", request.getFinding()))
+                              ProtoRestSerializer.create()
+                                  .toBody("finding", request.getFinding(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -203,7 +205,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("notificationConfig", request.getNotificationConfig()))
+                                  .toBody(
+                                      "notificationConfig", request.getNotificationConfig(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -274,7 +277,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -413,7 +416,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -453,7 +456,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -655,7 +658,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearParent().build()))
+                                  .toBody("*", request.toBuilder().clearParent().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -698,7 +701,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -735,7 +738,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -772,7 +775,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -813,7 +816,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("finding", request.getFinding()))
+                              ProtoRestSerializer.create()
+                                  .toBody("finding", request.getFinding(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -854,7 +858,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("notificationConfig", request.getNotificationConfig()))
+                                  .toBody(
+                                      "notificationConfig", request.getNotificationConfig(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -896,7 +901,9 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           request ->
                               ProtoRestSerializer.create()
                                   .toBody(
-                                      "organizationSettings", request.getOrganizationSettings()))
+                                      "organizationSettings",
+                                      request.getOrganizationSettings(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -934,7 +941,8 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("source", request.getSource()))
+                              ProtoRestSerializer.create()
+                                  .toBody("source", request.getSource(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -980,7 +988,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("securityMarks", request.getSecurityMarks()))
+                                  .toBody("securityMarks", request.getSecurityMarks(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java
index f8610c6dab87..5a4ac4bae428 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java
@@ -120,17 +120,17 @@
  * 

For example, to set the total timeout of createSource 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
  * SecurityCenterStubSettings.Builder securityCenterSettingsBuilder =
  *     SecurityCenterStubSettings.newBuilder();
  * securityCenterSettingsBuilder
  *     .createSourceSettings()
  *     .setRetrySettings(
- *         securityCenterSettingsBuilder
- *             .createSourceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * SecurityCenterStubSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindings.java
index c6442a81f54b..3ad3a9fc7972 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBulkMuteFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       BulkMuteFindingsRequest request =
           BulkMuteFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindingsLRO.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindingsLRO.java
index 59ec5b8c8abf..ce3b2d15b59b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindingsLRO.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindingsLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncBulkMuteFindingsLRO() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       BulkMuteFindingsRequest request =
           BulkMuteFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindings.java
index 2a6f935d90ca..c180c39aadfe 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindings.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBulkMuteFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       BulkMuteFindingsRequest request =
           BulkMuteFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsResourcename.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsResourcename.java
index c4de3b47714f..745053f589f4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsResourcename.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsResourcename.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBulkMuteFindingsResourcename() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName parent = FolderName.of("[FOLDER]");
       BulkMuteFindingsResponse response = securityCenterClient.bulkMuteFindingsAsync(parent).get();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsString.java
index b439aa3249df..68524393b3ae 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncBulkMuteFindingsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = FolderName.of("[FOLDER]").toString();
       BulkMuteFindingsResponse response = securityCenterClient.bulkMuteFindingsAsync(parent).get();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java
index 0303ea32ae81..3b5639e09b03 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java
index 444ebf04418c..80aae66ed385 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetEndpoint.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetEndpoint.java
index 99623442016d..644cd425b6e1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetEndpoint.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder().setEndpoint(myEndpoint).build();
     SecurityCenterClient securityCenterClient = SecurityCenterClient.create(securityCenterSettings);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/AsyncCreateBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/AsyncCreateBigQueryExport.java
index 944fae5bcb1d..9e7aa6c462ef 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/AsyncCreateBigQueryExport.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/AsyncCreateBigQueryExport.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateBigQueryExport() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateBigQueryExportRequest request =
           CreateBigQueryExportRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExport.java
index 5a3e85856ca3..b0600a67387e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExport.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExport.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBigQueryExport() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateBigQueryExportRequest request =
           CreateBigQueryExportRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java
index f30a70db0076..d8ceba84ede5 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBigQueryExportFoldernameBigqueryexportString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FolderName parent = FolderName.of("[FOLDER]");
       BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java
index 22ebe1bb03e7..0e30cadb7784 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateBigQueryExportOrganizationnameBigqueryexportString()
       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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java
index 6488ecab7185..5bdf78f8c6a1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBigQueryExportProjectnameBigqueryexportString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java
index ea7afc7e4a0f..449f5c8d46f1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateBigQueryExportStringBigqueryexportString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/AsyncCreateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/AsyncCreateFinding.java
index fdc81fbc3d7e..e434bc80c415 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/AsyncCreateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/AsyncCreateFinding.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateFindingRequest request =
           CreateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFinding.java
index 1b85f486764e..2a26ab1c033d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFinding.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateFindingRequest request =
           CreateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
index 68f11acc8595..a191f5a13309 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFindingSourcenameStringFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       String findingId = "findingId439150212";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
index 140966924526..88f50d3d4912 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFindingStringStringFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
       String findingId = "findingId439150212";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/AsyncCreateMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/AsyncCreateMuteConfig.java
index 57c32d9fef7c..b3b4017211aa 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/AsyncCreateMuteConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/AsyncCreateMuteConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateMuteConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateMuteConfigRequest request =
           CreateMuteConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfig.java
index c8711891c663..864c716f1af4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateMuteConfigRequest request =
           CreateMuteConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java
index 28ed3bb0f0bb..5d83fd6ef104 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfigFoldernameMuteconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FolderName parent = FolderName.of("[FOLDER]");
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java
index 514cd1d91606..31575ef29260 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfigFoldernameMuteconfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FolderName parent = FolderName.of("[FOLDER]");
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java
index 89c4e8b64d61..ca040d9a43de 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfigOrganizationnameMuteconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java
index 5148cacc0bc2..50d7a62446ba 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfigOrganizationnameMuteconfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java
index ca1ba18a667f..88f057cdaa6e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfigProjectnameMuteconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java
index ec328ffad356..85dbacb046e7 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfigProjectnameMuteconfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfig.java
index 35ef03af3260..c78375e3b382 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfigStringMuteconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java
index dcc0b2caf6e6..36071abd8f06 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateMuteConfigStringMuteconfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java
index e180cb232755..8a06ab3f100e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateNotificationConfigRequest request =
           CreateNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java
index c6547af1d61a..a5d252b4f2c4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateNotificationConfigRequest request =
           CreateNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java
index edcb7cdfb5ca..578f874de217 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateNotificationConfigOrganizationnameNotificationconfig()
       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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java
index bd283204e452..2c0e216c3d94 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateNotificationConfigOrganizationnameStringNotificationconfig()
       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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       String configId = "configId-580140035";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java
index 44f21752a4f5..f98011118e3a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateNotificationConfigStringNotificationconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java
index 8e27ff79fc09..35d46dd8bbb6 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateNotificationConfigStringStringNotificationconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       String configId = "configId-580140035";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/AsyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/AsyncCreateSource.java
index 2e2d2bcf0811..964d271b4ee9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/AsyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/AsyncCreateSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateSourceRequest request =
           CreateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSource.java
index 2eddbe7030f1..3169b1183064 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateSourceRequest request =
           CreateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
index 9a9a94d4a932..61e9647b6e0d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSourceOrganizationnameSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceStringSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
index f3d5cfd399ce..0830f7f45f7b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSourceStringSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/AsyncDeleteBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/AsyncDeleteBigQueryExport.java
index 865d5cc4e1cc..3bb7a634c564 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/AsyncDeleteBigQueryExport.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/AsyncDeleteBigQueryExport.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteBigQueryExport() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       DeleteBigQueryExportRequest request =
           DeleteBigQueryExportRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java
index 8cc22eda33c9..b330a25b67c9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBigQueryExport() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       DeleteBigQueryExportRequest request =
           DeleteBigQueryExportRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java
index 52fcdd720d65..dc1389929554 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBigQueryExportBigqueryexportname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       BigQueryExportName name =
           BigQueryExportName.ofOrganizationExportName("[ORGANIZATION]", "[EXPORT]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java
index e45486337d9d..bbc119f5933e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteBigQueryExportString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name =
           BigQueryExportName.ofOrganizationExportName("[ORGANIZATION]", "[EXPORT]").toString();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/AsyncDeleteMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/AsyncDeleteMuteConfig.java
index e0448668759b..69f7a1abedcf 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/AsyncDeleteMuteConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/AsyncDeleteMuteConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteMuteConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       DeleteMuteConfigRequest request =
           DeleteMuteConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java
index bb4c5559ea9c..32abdd5c1ac5 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteMuteConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       DeleteMuteConfigRequest request =
           DeleteMuteConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java
index 2e5c46b8d4f2..43b84862c66e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteMuteConfigMuteconfigname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       MuteConfigName name =
           MuteConfigName.ofOrganizationMuteConfigName("[ORGANIZATION]", "[MUTE_CONFIG]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java
index c611229778cd..2213f18de2f1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteMuteConfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name =
           MuteConfigName.ofOrganizationMuteConfigName("[ORGANIZATION]", "[MUTE_CONFIG]").toString();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java
index a2569af3dbc7..e26e0ca313aa 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       DeleteNotificationConfigRequest request =
           DeleteNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java
index 91b0cd3f47aa..4b965fcee6a1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       DeleteNotificationConfigRequest request =
           DeleteNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java
index cc1c094c6d04..e668db3dc9f8 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteNotificationConfigNotificationconfigname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       NotificationConfigName name =
           NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java
index 55d9040a3faf..654bff308fe2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteNotificationConfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]").toString();
       securityCenterClient.deleteNotificationConfig(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/AsyncGetBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/AsyncGetBigQueryExport.java
index abcc7c333529..1366dc9b2718 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/AsyncGetBigQueryExport.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/AsyncGetBigQueryExport.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetBigQueryExport() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetBigQueryExportRequest request =
           GetBigQueryExportRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExport.java
index d84f188fa5d3..d2d5aa32bd7b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExport.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExport.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBigQueryExport() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetBigQueryExportRequest request =
           GetBigQueryExportRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java
index 7dd4b0b6bbf9..ffb4fe39148d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBigQueryExportBigqueryexportname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       BigQueryExportName name =
           BigQueryExportName.ofOrganizationExportName("[ORGANIZATION]", "[EXPORT]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportString.java
index 6181d573608c..03e067bc1005 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetBigQueryExportString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name =
           BigQueryExportName.ofOrganizationExportName("[ORGANIZATION]", "[EXPORT]").toString();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java
index ab71ffe618a0..98e8d2fb2eee 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java
index b310462863be..b894eb1e6db6 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java
index bd01436858fa..4cf03563d6d2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       Policy response = securityCenterClient.getIamPolicy(resource);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java
index 3db986cd8f98..e0d0e246d266 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy response = securityCenterClient.getIamPolicy(resource);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/AsyncGetMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/AsyncGetMuteConfig.java
index c5ddeda13614..a3364e1a92ad 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/AsyncGetMuteConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/AsyncGetMuteConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetMuteConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetMuteConfigRequest request =
           GetMuteConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfig.java
index 9b9292da7024..cba5d2d0ccc4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetMuteConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetMuteConfigRequest request =
           GetMuteConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigMuteconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigMuteconfigname.java
index c14b7e199d9e..f54f4c4f864b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigMuteconfigname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigMuteconfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetMuteConfigMuteconfigname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       MuteConfigName name =
           MuteConfigName.ofOrganizationMuteConfigName("[ORGANIZATION]", "[MUTE_CONFIG]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigString.java
index cad370c9763f..c15eedf38576 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetMuteConfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name =
           MuteConfigName.ofOrganizationMuteConfigName("[ORGANIZATION]", "[MUTE_CONFIG]").toString();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java
index 47acef37f26b..870957046194 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetNotificationConfigRequest request =
           GetNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java
index 2bb7672b10f0..a4926322beda 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetNotificationConfigRequest request =
           GetNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java
index 507e2bad8350..aec3d074c439 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNotificationConfigNotificationconfigname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       NotificationConfigName name =
           NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java
index 9969bd782d3a..8b3919e4231e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNotificationConfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]").toString();
       NotificationConfig response = securityCenterClient.getNotificationConfig(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
index 69bb59b2af1b..abc32ecd22a2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetOrganizationSettingsRequest request =
           GetOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
index 941a0314d487..faa6390c6eeb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetOrganizationSettingsRequest request =
           GetOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
index dc5076afaace..7d39e9ac9f54 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettingsOrganizationsettingsname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationSettingsName name = OrganizationSettingsName.of("[ORGANIZATION]");
       OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
index 7c6cde6ad3c6..b2eee3fea36c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettingsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = OrganizationSettingsName.of("[ORGANIZATION]").toString();
       OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/AsyncGetSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/AsyncGetSource.java
index 226f27795a96..9aed0543a923 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/AsyncGetSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/AsyncGetSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetSourceRequest request =
           GetSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSource.java
index c32bc11c6b1f..4b087b2558ba 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetSourceRequest request =
           GetSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceSourcename.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceSourcename.java
index 3b9ecdbc11e2..9e4bc8c63b8c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceSourcename.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceSourcename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSourceSourcename() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName name = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       Source response = securityCenterClient.getSource(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceString.java
index c2e7f94fa087..7ea4ebb1a5a2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSourceString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
       Source response = securityCenterClient.getSource(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssets.java
index 895702ced452..3cff8229bb3b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssets.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
index e00f13d02943..75d19961760c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupAssetsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/SyncGroupAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/SyncGroupAssets.java
index 3a20531887f3..6c0c6e36ce91 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/SyncGroupAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/SyncGroupAssets.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindings.java
index c13adfe19563..3e8a4d8bb944 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindings.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
index d236895d6b1f..bbca0a810028 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupFindingsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindings.java
index bd0dcd08bd50..a25e36851ac9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindings.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
index 8603c1231ed9..e8ccd8d283cb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindingsSourcenameString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       String groupBy = "groupBy293428022";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
index 5eda0bedd82d..49f30d2b0e0a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindingsStringString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
       String groupBy = "groupBy293428022";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssets.java
index 04cb213bf458..097eaabd4c63 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssets.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssetsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssetsPaged.java
index 98397f36409a..1d13cf595c3d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssetsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssetsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAssetsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/SyncListAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/SyncListAssets.java
index 7b483d008a41..8a6aa82a6edb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/SyncListAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/SyncListAssets.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExports.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExports.java
index 729a83509ded..362611957cd8 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExports.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExports.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListBigQueryExports() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListBigQueryExportsRequest request =
           ListBigQueryExportsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExportsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExportsPaged.java
index 5e8de8ccbcf8..d81418a9a53f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExportsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExportsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListBigQueryExportsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListBigQueryExportsRequest request =
           ListBigQueryExportsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExports.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExports.java
index 8ff14d0e03b1..d3398c1ae2da 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExports.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExports.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBigQueryExports() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListBigQueryExportsRequest request =
           ListBigQueryExportsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsFoldername.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsFoldername.java
index 0b460786878a..0cecb46d7695 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsFoldername.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsFoldername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBigQueryExportsFoldername() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FolderName parent = FolderName.of("[FOLDER]");
       for (BigQueryExport element : securityCenterClient.listBigQueryExports(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java
index 470fbb52b7a3..f35424619af7 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBigQueryExportsOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       for (BigQueryExport element : securityCenterClient.listBigQueryExports(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsProjectname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsProjectname.java
index ce8c0514f38a..e2283ba7ca58 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsProjectname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBigQueryExportsProjectname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (BigQueryExport element : securityCenterClient.listBigQueryExports(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsString.java
index ae18f64e76d1..f1d1d6342071 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListBigQueryExportsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       for (BigQueryExport element : securityCenterClient.listBigQueryExports(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindings.java
index be611932455e..2a748f8e4231 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindings.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindingsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
index e6bd21b897e0..40208d36e498 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFindingsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/SyncListFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/SyncListFindings.java
index e715c470d577..574007baae29 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/SyncListFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/SyncListFindings.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigs.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigs.java
index aacc5b034c6c..b996fb54f471 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigs.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListMuteConfigs() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListMuteConfigsRequest request =
           ListMuteConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigsPaged.java
index 0fe17ccbcddc..19ce02a22377 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListMuteConfigsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListMuteConfigsRequest request =
           ListMuteConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigs.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigs.java
index c4a7f38a80d2..09aba3111402 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigs.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigs.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMuteConfigs() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListMuteConfigsRequest request =
           ListMuteConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsFoldername.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsFoldername.java
index e2dcb46d200f..23afaaed3a27 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsFoldername.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsFoldername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMuteConfigsFoldername() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FolderName parent = FolderName.of("[FOLDER]");
       for (MuteConfig element : securityCenterClient.listMuteConfigs(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsOrganizationname.java
index d1c9e4adece2..38c7fcb6885a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMuteConfigsOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       for (MuteConfig element : securityCenterClient.listMuteConfigs(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsProjectname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsProjectname.java
index eaa075bf53cc..7fc232a5071f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsProjectname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMuteConfigsProjectname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (MuteConfig element : securityCenterClient.listMuteConfigs(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsString.java
index 6ead853dd7dc..3c868bebaa35 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListMuteConfigsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       for (MuteConfig element : securityCenterClient.listMuteConfigs(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java
index 8b89ce519386..34dde12290fe 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNotificationConfigs() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListNotificationConfigsRequest request =
           ListNotificationConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java
index 7edab2ebf51e..5d77c1b16c3f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNotificationConfigsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListNotificationConfigsRequest request =
           ListNotificationConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java
index 18009cc65ccf..285bb9817df0 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNotificationConfigs() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListNotificationConfigsRequest request =
           ListNotificationConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java
index b33eb99a6e99..084298fa4cea 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNotificationConfigsOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       for (NotificationConfig element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java
index 1a5ff84cc56c..eac5adbf672f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNotificationConfigsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       for (NotificationConfig element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSources.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSources.java
index 7e852d5a592c..f7db2600b47c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSources.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSources.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSources() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSourcesPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSourcesPaged.java
index 6af7f38e29da..a6ef8e204aaa 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSourcesPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSourcesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSourcesPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSources.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSources.java
index 354c82f927b4..600b5fdfc4f9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSources.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSources.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSources() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesFoldername.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesFoldername.java
index 44087573a674..647fbd1270b0 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesFoldername.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesFoldername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesFoldername() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FolderName parent = FolderName.of("[FOLDER]");
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
index 2ae71e950ad2..ba294c20bf5a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesProjectname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesProjectname.java
index 1d4bbc0bfccb..86b3275767c2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesProjectname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesProjectname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesString.java
index 8b48eaa0e193..c8b435ea65d9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
index a0dc92c9fc26..9e96a572b8f2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRunAssetDiscovery() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
index 6e296b223cea..1b54a5a89544 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRunAssetDiscoveryLRO() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
index 9ee05cbe46a4..5694d5e2069d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscovery() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
index a63bae64279d..02d3cb7115e1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscoveryOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       RunAssetDiscoveryResponse response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
index dbc42e284ab4..94d11c303798 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscoveryString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       RunAssetDiscoveryResponse response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/AsyncSetFindingState.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
index 8651049b8e1c..bfd36025a666 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetFindingState() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetFindingStateRequest request =
           SetFindingStateRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingState.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingState.java
index 6079e61e845a..d5c5de9e6f91 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingState.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingState.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingState() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetFindingStateRequest request =
           SetFindingStateRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
index 1557c8549d66..78139c84bd48 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingStateFindingnameFindingstateTimestamp() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FindingName name =
           FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
index 424140bf68c3..149f41bb9dc3 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingStateStringFindingstateTimestamp() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name =
           FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]")
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java
index 61af4e960a2e..fcbcee0e15e4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java
index 1ea1f69e7f9d..ba5dbb4d93c2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index 52e226016d48..1082c11ccb81 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       Policy policy = Policy.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index 8f22b1998dd7..35540fa806e0 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy policy = Policy.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/AsyncSetMute.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/AsyncSetMute.java
index a256f9716b08..17b51c255732 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/AsyncSetMute.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/AsyncSetMute.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetMute() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetMuteRequest request =
           SetMuteRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMute.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMute.java
index dc5a6e11630c..8cea0cdb54fe 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMute.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMute.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetMute() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetMuteRequest request =
           SetMuteRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteFindingnameFindingmute.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteFindingnameFindingmute.java
index 1ddedd5c3e2d..d7d28bab2520 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteFindingnameFindingmute.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteFindingnameFindingmute.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetMuteFindingnameFindingmute() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FindingName name =
           FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteStringFindingmute.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteStringFindingmute.java
index ec05363660c9..5e6761f5ae9e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteStringFindingmute.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteStringFindingmute.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetMuteStringFindingmute() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name =
           FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]")
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java
index 876842dac6e5..853fe9e2ffe8 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java
index 503f5defab90..83bc5c42de7f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
index 6099c89e4ac8..77dda73a3499 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       List permissions = new ArrayList<>();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
index 501f4b5b7493..4d45cc34998f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       List permissions = new ArrayList<>();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/AsyncUpdateBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/AsyncUpdateBigQueryExport.java
index a83c7bee8f10..bf1fb6825786 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/AsyncUpdateBigQueryExport.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/AsyncUpdateBigQueryExport.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateBigQueryExport() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateBigQueryExportRequest request =
           UpdateBigQueryExportRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExport.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExport.java
index 5fc0c7c31461..ddd4c6707ea4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExport.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExport.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateBigQueryExport() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateBigQueryExportRequest request =
           UpdateBigQueryExportRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java
index 4ee5fb78c6cd..67e27fe8a9fd 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateBigQueryExportBigqueryexportFieldmask() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       BigQueryExport bigQueryExport = BigQueryExport.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/AsyncUpdateExternalSystem.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/AsyncUpdateExternalSystem.java
index 1106adfe1a70..14a456dc45e9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/AsyncUpdateExternalSystem.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/AsyncUpdateExternalSystem.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateExternalSystem() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateExternalSystemRequest request =
           UpdateExternalSystemRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystem.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystem.java
index 174f667e7267..124ad7e0840f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystem.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystem.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateExternalSystem() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateExternalSystemRequest request =
           UpdateExternalSystemRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java
index 3c0041128dee..f7f0611a589f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateExternalSystemExternalsystemFieldmask() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ExternalSystem externalSystem = ExternalSystem.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/AsyncUpdateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
index 613572319ec6..ef889d39a90a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateFindingRequest request =
           UpdateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFinding.java
index b0c7f133c4cc..b6eb7ce33fb1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFinding.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateFindingRequest request =
           UpdateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
index 81831009a2b3..a9e41d84acb2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFindingFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       Finding finding = Finding.newBuilder().build();
       Finding response = securityCenterClient.updateFinding(finding);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/AsyncUpdateMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/AsyncUpdateMuteConfig.java
index dfca37599e25..d8462ea1bc40 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/AsyncUpdateMuteConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/AsyncUpdateMuteConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateMuteConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateMuteConfigRequest request =
           UpdateMuteConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfig.java
index a4af570e45e3..7f38bddebc10 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateMuteConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateMuteConfigRequest request =
           UpdateMuteConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java
index 112f89bb793a..249e2666bbe3 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateMuteConfigMuteconfigFieldmask() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       MuteConfig muteConfig = MuteConfig.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java
index 988888ec113e..b00ecf95f930 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateNotificationConfigRequest request =
           UpdateNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java
index 527c4b06878c..ac5685ce76de 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateNotificationConfigRequest request =
           UpdateNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java
index 6b31ecd764c6..243d1ffd2245 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNotificationConfigNotificationconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
       NotificationConfig response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java
index 72ec82a7d855..3baff20cbe5d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNotificationConfigNotificationconfigFieldmask() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
index 80cb585f060e..d8dfc0ebb105 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateOrganizationSettingsRequest request =
           UpdateOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
index 7004bb78327c..0513701e8b01 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateOrganizationSettingsRequest request =
           UpdateOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
index 59b7db298413..afa16e00ae86 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateOrganizationSettingsOrganizationsettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationSettings organizationSettings = OrganizationSettings.newBuilder().build();
       OrganizationSettings response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
index 2283acd7943d..70cb5fa60006 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSecurityMarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSecurityMarksRequest request =
           UpdateSecurityMarksRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
index 2ff9cd0417fe..046f5aba990b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSecurityMarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSecurityMarksRequest request =
           UpdateSecurityMarksRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
index 5db60660e4e9..193f144e6c41 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSecurityMarksSecuritymarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
       SecurityMarks response = securityCenterClient.updateSecurityMarks(securityMarks);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/AsyncUpdateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/AsyncUpdateSource.java
index 2c2bf2e9f70b..a91f2d9cf73b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/AsyncUpdateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/AsyncUpdateSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSourceRequest request =
           UpdateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSource.java
index d38c0e678528..dd5c94283ed1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSourceRequest request =
           UpdateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSourceSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
index 95a923ad7ba0..e896f0c9755e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSourceSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       Source source = Source.newBuilder().build();
       Source response = securityCenterClient.updateSource(source);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycentersettings/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycentersettings/createsource/SyncCreateSource.java
index 2f743d249ff2..62c0d409e00c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycentersettings/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycentersettings/createsource/SyncCreateSource.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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
     SecurityCenterSettings.Builder securityCenterSettingsBuilder =
         SecurityCenterSettings.newBuilder();
     securityCenterSettingsBuilder
         .createSourceSettings()
         .setRetrySettings(
-            securityCenterSettingsBuilder
-                .createSourceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SecurityCenterSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
index 52d7f414c7f6..f8e3e01694af 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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
     SecurityCenterStubSettings.Builder securityCenterSettingsBuilder =
         SecurityCenterStubSettings.newBuilder();
     securityCenterSettingsBuilder
         .createSourceSettings()
         .setRetrySettings(
-            securityCenterSettingsBuilder
-                .createSourceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SecurityCenterStubSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java
index fad6f8db298d..b4f64cb5dbd4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java
index 89f1d8669889..44d1aac699b6 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetEndpoint.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetEndpoint.java
index 44720964de66..c738f371cf0a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetEndpoint.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder().setEndpoint(myEndpoint).build();
     SecurityCenterClient securityCenterClient = SecurityCenterClient.create(securityCenterSettings);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java
index bd107b490126..e6f09e2c1903 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateFindingRequest request =
           CreateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFinding.java
index 6b8a4227bc90..8772465703a3 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFinding.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateFindingRequest request =
           CreateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
index d998974d4568..bdf9c045aa22 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFindingSourcenameStringFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName parent = SourceName.of("[ORGANIZATION]", "[SOURCE]");
       String findingId = "findingId439150212";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
index e0dfe8c53c47..358b0964f21d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFindingStringStringFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
       String findingId = "findingId439150212";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/AsyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/AsyncCreateSource.java
index 1b3229e95576..c8509032bd45 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/AsyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/AsyncCreateSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateSourceRequest request =
           CreateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSource.java
index fae418991a7f..00669179c274 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateSourceRequest request =
           CreateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
index 20c0ebe90615..7918a06fdbab 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSourceOrganizationnameSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
index 23dc8c491961..297a0828437f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSourceStringSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java
index 6f33f808a425..6597423f623e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java
index 7151eb372bcd..852fae6a25ef 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java
index ad52ceed94a8..fdbbe24520b3 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
       Policy response = securityCenterClient.getIamPolicy(resource);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java
index e6949873d743..98caab151b0f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = OrganizationName.of("[ORGANIZATION]").toString();
       Policy response = securityCenterClient.getIamPolicy(resource);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
index ee4e41d850e0..2741aea04628 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetOrganizationSettingsRequest request =
           GetOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
index 6a75281bb48b..11f79a08129a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetOrganizationSettingsRequest request =
           GetOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
index 818fdd4300dd..e9a50dcda0cf 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettingsOrganizationsettingsname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationSettingsName name = OrganizationSettingsName.of("[ORGANIZATION]");
       OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
index 91ad522880a6..363c31dd9115 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettingsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = OrganizationSettingsName.of("[ORGANIZATION]").toString();
       OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/AsyncGetSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/AsyncGetSource.java
index d39af64f0d03..edd74f422e9a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/AsyncGetSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/AsyncGetSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetSourceRequest request =
           GetSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSource.java
index 6d57e51f6af5..3e9c654fac72 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetSourceRequest request =
           GetSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java
index 815d8e5536d0..5e4d59d21abb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSourceSourcename() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName name = SourceName.of("[ORGANIZATION]", "[SOURCE]");
       Source response = securityCenterClient.getSource(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceString.java
index 7f6a383e0699..4296fc3e5978 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSourceString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
       Source response = securityCenterClient.getSource(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java
index 6313d3866a1a..425a8a5a17ef 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
index 57cb758beaa9..5200fb5cc5cf 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupAssetsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/SyncGroupAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/SyncGroupAssets.java
index 08bc766f26ee..768861a40c8f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/SyncGroupAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/SyncGroupAssets.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java
index 8646cd7dd01a..db121869c8f2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
index deedcbc9e487..bfca7fb4b0de 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupFindingsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java
index 16dbb8c4583a..ed3f5f422ce5 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
index 4d3b46116c6c..dcead7a013a5 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindingsSourcenameString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName parent = SourceName.of("[ORGANIZATION]", "[SOURCE]");
       String groupBy = "groupBy293428022";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
index 23a8d703d0c1..72c3ce785cf3 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindingsStringString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
       String groupBy = "groupBy293428022";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssets.java
index 4d18047e47dc..af2a8c91e10a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssets.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java
index 377a46f1b90f..1ff055c07d43 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAssetsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/SyncListAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/SyncListAssets.java
index c7ac274b720e..90cf197f62a0 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/SyncListAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/SyncListAssets.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindings.java
index 5b3811773b37..1dfff0b730b1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindings.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
index f83e131a6bce..45452ab3bf14 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFindingsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/SyncListFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/SyncListFindings.java
index 01f5cf15664b..e2cbe0e1a70f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/SyncListFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/SyncListFindings.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSources.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSources.java
index df3cfd5685e9..d131a402f7a7 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSources.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSources.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSources() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java
index 9a5a85e63eda..119cdc9a099c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSourcesPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSources.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSources.java
index 199a94c39b30..9b296d063b12 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSources.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSources.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSources() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
index a4556b72c926..a9c481296283 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesString.java
index 21b53ccd7103..6f6e0932a748 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
index 588a9573f556..3cd598c76749 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRunAssetDiscovery() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
index c788fe3c4bcb..0dba2de7ee69 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRunAssetDiscoveryLRO() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
index be67bdf6b3ea..781ea790bb5e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscovery() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
index 43c993e7440b..8db947057e61 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscoveryOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       securityCenterClient.runAssetDiscoveryAsync(parent).get();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
index 1f7094c34165..bd33eeb3ef6c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscoveryString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       securityCenterClient.runAssetDiscoveryAsync(parent).get();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
index 9447b8345474..4ef4300734b9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetFindingState() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetFindingStateRequest request =
           SetFindingStateRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java
index c3e710d1c61e..b0ce6305fd4a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingState() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetFindingStateRequest request =
           SetFindingStateRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
index e809b3853722..76111c5cc236 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingStateFindingnameFindingstateTimestamp() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FindingName name = FindingName.of("[ORGANIZATION]", "[SOURCE]", "[FINDING]");
       Finding.State state = Finding.State.forNumber(0);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
index 3f7313341ea5..69ec7f317c2a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingStateStringFindingstateTimestamp() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = FindingName.of("[ORGANIZATION]", "[SOURCE]", "[FINDING]").toString();
       Finding.State state = Finding.State.forNumber(0);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java
index 5ac3cea3f6a4..99999b3500d2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java
index 66e240abe022..401a03eeaaac 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index 5ca6e153687d..83475e40e8b2 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
       Policy policy = Policy.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index 65586d8773e3..7889fbe21f4a 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = OrganizationName.of("[ORGANIZATION]").toString();
       Policy policy = Policy.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java
index a8b19f01b480..7f8003482210 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java
index 08e674d9cb65..398e8a66b2c5 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
index cece044b7a3b..365eb6a9f560 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
       List permissions = new ArrayList<>();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
index 8ba110764663..5881ca03be25 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = OrganizationName.of("[ORGANIZATION]").toString();
       List permissions = new ArrayList<>();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
index 238434985086..5f20364fde91 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateFindingRequest request =
           UpdateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java
index 7c311d9e1dbc..449fd9815689 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateFindingRequest request =
           UpdateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
index da674e83380d..83bbecb8c0b7 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFindingFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       Finding finding = Finding.newBuilder().build();
       Finding response = securityCenterClient.updateFinding(finding);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
index 89a350a5c4d6..1bfb4ccacbc1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateOrganizationSettingsRequest request =
           UpdateOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
index ca9e61374d8c..428a988ae938 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateOrganizationSettingsRequest request =
           UpdateOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
index 9c8af6b38898..a23f6fae0047 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateOrganizationSettingsOrganizationsettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationSettings organizationSettings = OrganizationSettings.newBuilder().build();
       OrganizationSettings response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
index bb1bf78d0d44..6539d9a903a0 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSecurityMarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSecurityMarksRequest request =
           UpdateSecurityMarksRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
index b2b1fb54d908..89125287dcbf 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSecurityMarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSecurityMarksRequest request =
           UpdateSecurityMarksRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
index e4e31da058e7..71275f43e72c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSecurityMarksSecuritymarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
       SecurityMarks response = securityCenterClient.updateSecurityMarks(securityMarks);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java
index 784c7c0fed8c..f3abb0946a3d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSourceRequest request =
           UpdateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSource.java
index 68bb2792048b..c55f5479d361 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSourceRequest request =
           UpdateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
index e5d3144cc3c5..f5e1f9529095 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSourceSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       Source source = Source.newBuilder().build();
       Source response = securityCenterClient.updateSource(source);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycentersettings/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycentersettings/createsource/SyncCreateSource.java
index 9a86b663302e..d06c4b9bcf99 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycentersettings/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycentersettings/createsource/SyncCreateSource.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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
     SecurityCenterSettings.Builder securityCenterSettingsBuilder =
         SecurityCenterSettings.newBuilder();
     securityCenterSettingsBuilder
         .createSourceSettings()
         .setRetrySettings(
-            securityCenterSettingsBuilder
-                .createSourceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SecurityCenterSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
index cde1aaa101e5..184fb0bf091f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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
     SecurityCenterStubSettings.Builder securityCenterSettingsBuilder =
         SecurityCenterStubSettings.newBuilder();
     securityCenterSettingsBuilder
         .createSourceSettings()
         .setRetrySettings(
-            securityCenterSettingsBuilder
-                .createSourceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SecurityCenterStubSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java
index b9239f55893f..7514cc2790e3 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java
index 14c0d53f4b07..824b74b726a5 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetEndpoint.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetEndpoint.java
index 0e9faceab5c1..5b58297def3b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetEndpoint.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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
     SecurityCenterSettings securityCenterSettings =
         SecurityCenterSettings.newBuilder().setEndpoint(myEndpoint).build();
     SecurityCenterClient securityCenterClient = SecurityCenterClient.create(securityCenterSettings);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java
index 155e97ec0de1..73b32ed67697 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateFindingRequest request =
           CreateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFinding.java
index cc47ac560211..ad04e5305e11 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFinding.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateFindingRequest request =
           CreateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java
index e2baf3651dcf..4de39856bcc7 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFindingSourcenameFindingString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       Finding finding = Finding.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
index b228feae36ad..ac432e405949 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFindingSourcenameStringFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       String findingId = "findingId439150212";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java
index b7d696af62cc..5e737f8b1f1d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFindingStringFindingString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
       Finding finding = Finding.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
index 799dc6a9733b..d399387920c3 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateFindingStringStringFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
       String findingId = "findingId439150212";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java
index 0126f3dd7f40..ec38c82191de 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateNotificationConfigRequest request =
           CreateNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java
index 62a039bfbf0c..2013b456a98d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateNotificationConfigRequest request =
           CreateNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java
index 4c8536f7199a..19356a0752e4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateNotificationConfigOrganizationnameNotificationconfig()
       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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java
index 79c228b5f52d..c594bcaf5e71 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateNotificationConfigOrganizationnameStringNotificationconfig()
       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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       String configId = "configId-580140035";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java
index 5562a91a37e6..5c8376acbd3c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateNotificationConfigStringNotificationconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java
index cb1ca7e72c32..066e6cc8e018 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateNotificationConfigStringStringNotificationconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       String configId = "configId-580140035";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/AsyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/AsyncCreateSource.java
index d5adb99b5e30..6a74f1216213 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/AsyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/AsyncCreateSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateSourceRequest request =
           CreateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSource.java
index 30f4a1fe5ec0..44f1dc719870 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       CreateSourceRequest request =
           CreateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
index 98bad43dd865..7ce27fbd8feb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSourceOrganizationnameSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
index c8e89a94529a..eed7420341d1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSourceStringSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       Source source = Source.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java
index 08dbb80960a3..e7a7ea75c59e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       DeleteNotificationConfigRequest request =
           DeleteNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java
index 5f125933fadc..d6db13dd8116 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       DeleteNotificationConfigRequest request =
           DeleteNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java
index c00e150dcad5..86684a0192af 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteNotificationConfigNotificationconfigname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       NotificationConfigName name =
           NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java
index 3b3e947b8a94..3b0b4478612d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteNotificationConfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]").toString();
       securityCenterClient.deleteNotificationConfig(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java
index 657b8158ea4a..8ba9caa3c508 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java
index 6f6d9480a0c5..2d849d8c750c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java
index d4feef0da127..1c4c4cfd2c17 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       Policy response = securityCenterClient.getIamPolicy(resource);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java
index 6a08effa9af0..35fdfc5e88d9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy response = securityCenterClient.getIamPolicy(resource);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java
index 66248040a286..8033cdeceb80 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetNotificationConfigRequest request =
           GetNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java
index d2fef798bba1..c70659c1e9b9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetNotificationConfigRequest request =
           GetNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java
index c8b4940039a5..1eaa68d1dac6 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNotificationConfigNotificationconfigname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       NotificationConfigName name =
           NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java
index e2a8deabcd8f..45279b609ba3 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNotificationConfigString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = NotificationConfigName.of("[ORGANIZATION]", "[NOTIFICATION_CONFIG]").toString();
       NotificationConfig response = securityCenterClient.getNotificationConfig(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
index ced3e3a23f3e..ea33fdde12b4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetOrganizationSettingsRequest request =
           GetOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
index bd9df50fc9fe..fe089f9ac9f9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetOrganizationSettingsRequest request =
           GetOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
index 55d0d4717e4b..561ab2452840 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettingsOrganizationsettingsname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationSettingsName name = OrganizationSettingsName.of("[ORGANIZATION]");
       OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
index 6634444381fe..e9bc800b49c1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetOrganizationSettingsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = OrganizationSettingsName.of("[ORGANIZATION]").toString();
       OrganizationSettings response = securityCenterClient.getOrganizationSettings(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/AsyncGetSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/AsyncGetSource.java
index caf50489d99d..eca2a9da8035 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/AsyncGetSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/AsyncGetSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetSourceRequest request =
           GetSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSource.java
index a60c517d0ebd..4e6f5257dd07 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GetSourceRequest request =
           GetSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java
index 9312e47f7fa1..bf9f62f095bb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSourceSourcename() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName name = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       Source response = securityCenterClient.getSource(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceString.java
index b506eaab7349..7eab2df7a9a9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetSourceString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
       Source response = securityCenterClient.getSource(name);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java
index 2e2d74265c9e..11e32552efea 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
index 1cc7768e9de3..cf85ff7e8bea 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupAssetsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/SyncGroupAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/SyncGroupAssets.java
index 5b4e242c53c5..eb9ea07689bb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/SyncGroupAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/SyncGroupAssets.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupAssetsRequest request =
           GroupAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java
index 4b4e88efd866..699617c9efdf 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
index d1c602f5cc84..371cb1803e5e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGroupFindingsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java
index 1b8942f30424..6979ea165ae4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       GroupFindingsRequest request =
           GroupFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
index 1c7f66d01a4f..8d313c207d03 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindingsSourcenameString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       String groupBy = "groupBy293428022";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
index 6571341b24df..7c971e2749c4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGroupFindingsStringString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
       String groupBy = "groupBy293428022";
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssets.java
index f7853ddb1f6c..95323b97c882 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssets.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java
index 7900d6e59364..6c34e7b297fd 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAssetsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssets.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssets.java
index 3e01f528d262..135194f60404 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssets.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssets.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAssets() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListAssetsRequest request =
           ListAssetsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsFoldername.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsFoldername.java
index 93fa81c04d5e..731433028c2f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsFoldername.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsFoldername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAssetsFoldername() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FolderName parent = FolderName.of("[FOLDER]");
       for (ListAssetsResponse.ListAssetsResult element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsOrganizationname.java
index 126f01b2aeaa..3033b187b650 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAssetsOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       for (ListAssetsResponse.ListAssetsResult element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsProjectname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsProjectname.java
index 0933c3e5cd94..307ba3812f20 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsProjectname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAssetsProjectname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (ListAssetsResponse.ListAssetsResult element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsString.java
index 1a0394669287..4cecf22aad6e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAssetsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       for (ListAssetsResponse.ListAssetsResult element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindings.java
index 8bfe7503b941..1361957bb631 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindings.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
index bc61ecd98116..be59862abaa9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java
@@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListFindingsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindings.java
index 189954bb9e39..be6da19bd9de 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindings.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFindings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsSourcename.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsSourcename.java
index 16a33f01547d..399e2049299d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsSourcename.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsSourcename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFindingsSourcename() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SourceName parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       for (ListFindingsResponse.ListFindingsResult element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsString.java
index b34b26366ab8..f16b04cc05fd 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListFindingsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]").toString();
       for (ListFindingsResponse.ListFindingsResult element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java
index c26244fe1866..5dfa55e3e0d4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNotificationConfigs() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListNotificationConfigsRequest request =
           ListNotificationConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java
index 61c649ccfafb..bcfec99e9a9c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNotificationConfigsPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListNotificationConfigsRequest request =
           ListNotificationConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java
index 3bc416451fd1..b229284a08c9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNotificationConfigs() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListNotificationConfigsRequest request =
           ListNotificationConfigsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java
index bc8d18cb4861..806241f9d880 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNotificationConfigsOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       for (NotificationConfig element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java
index b5aae5797e32..a4b84ef245da 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNotificationConfigsString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       for (NotificationConfig element :
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSources.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSources.java
index c0ff8d2052b5..815644a8c424 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSources.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSources.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSources() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java
index 8f4900ae6b9b..cf8fb2049bff 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListSourcesPaged() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSources.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSources.java
index 716ca95ae621..fc16aba6bc0d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSources.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSources.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSources() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ListSourcesRequest request =
           ListSourcesRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesFoldername.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesFoldername.java
index 52799cf99790..903b6caf014e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesFoldername.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesFoldername.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesFoldername() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FolderName parent = FolderName.of("[FOLDER]");
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
index 22d44b9d38b3..9a5bab3cdfbd 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesProjectname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesProjectname.java
index 6ae2cadc8732..ccfb7dd85ccb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesProjectname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesProjectname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesProjectname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesString.java
index cfa3be8b373f..0e1cc06a996b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListSourcesString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       for (Source element : securityCenterClient.listSources(parent).iterateAll()) {
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
index ad3a6b27e9a8..5b8044e88c1c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRunAssetDiscovery() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
index 60c8c3944942..7bc09281f6f6 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncRunAssetDiscoveryLRO() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
index 6cf20f904890..1fc0a8611930 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscovery() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       RunAssetDiscoveryRequest request =
           RunAssetDiscoveryRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
index 4bd79677c381..f1e42bc982fb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscoveryOrganizationname() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
       RunAssetDiscoveryResponse response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
index 9793e94d592f..8fe38a7f0910 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncRunAssetDiscoveryString() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String parent = OrganizationName.of("[ORGANIZATION]").toString();
       RunAssetDiscoveryResponse response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
index ff29de42cc44..9afbc098b37b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetFindingState() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetFindingStateRequest request =
           SetFindingStateRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java
index 9bb761c2f563..ae001ebad393 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingState() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetFindingStateRequest request =
           SetFindingStateRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
index b9659db7b2c6..3ee3a3769703 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingStateFindingnameFindingstateTimestamp() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       FindingName name =
           FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]");
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
index 30d152846859..f6dc84b86b91 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetFindingStateStringFindingstateTimestamp() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String name =
           FindingName.ofOrganizationSourceFindingName("[ORGANIZATION]", "[SOURCE]", "[FINDING]")
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java
index 7d6ee8d41836..ac6287d7ee33 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java
index e52356bbf4eb..e0247bee6831 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
index 3e4e773963f5..de7a8bc48d20 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       Policy policy = Policy.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
index ca0336f1db17..13d5521adc34 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       Policy policy = Policy.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java
index 66eef964800a..51768a4f2992 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java
index 6588b315d113..569a24ef453d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
index 82245e7c4184..a2b1bf5b7849 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]");
       List permissions = new ArrayList<>();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
index ab8500175f20..21066cba3b2b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       String resource = FolderName.of("[FOLDER]").toString();
       List permissions = new ArrayList<>();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
index cad8a131203e..01b6b7ee5913 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateFindingRequest request =
           UpdateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java
index aa3b273f3e65..7372c5e9ce01 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateFindingRequest request =
           UpdateFindingRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
index c0c59d54bbee..0e47a94f1000 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFindingFinding() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       Finding finding = Finding.newBuilder().build();
       Finding response = securityCenterClient.updateFinding(finding);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java
index 0178689cb014..2a138c03b212 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateFindingFindingFieldmask() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       Finding finding = Finding.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java
index b4aec5ca2ece..bf69f04df4df 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateNotificationConfigRequest request =
           UpdateNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java
index ee5ff4e8e5ee..29e0ff862a8e 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNotificationConfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateNotificationConfigRequest request =
           UpdateNotificationConfigRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java
index 89c12fa15b65..ea8be2d0f36f 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNotificationConfigNotificationconfig() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
       NotificationConfig response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java
index 60be3cfb5764..c3edfedd1650 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNotificationConfigNotificationconfigFieldmask() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       NotificationConfig notificationConfig = NotificationConfig.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
index 8d735bf7f4dd..3463177ea041 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateOrganizationSettingsRequest request =
           UpdateOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
index 2d866ccab460..65d421a0657b 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateOrganizationSettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateOrganizationSettingsRequest request =
           UpdateOrganizationSettingsRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
index 95167830e5a7..70b40ff06678 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateOrganizationSettingsOrganizationsettings() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       OrganizationSettings organizationSettings = OrganizationSettings.newBuilder().build();
       OrganizationSettings response =
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
index 571a072719c5..5e1fa1e1f8f4 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSecurityMarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSecurityMarksRequest request =
           UpdateSecurityMarksRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
index dda031b9a49b..218226976ffb 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSecurityMarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSecurityMarksRequest request =
           UpdateSecurityMarksRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
index 3ad3e87ac1e9..22f3198733f9 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSecurityMarksSecuritymarks() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
       SecurityMarks response = securityCenterClient.updateSecurityMarks(securityMarks);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java
index 4958aa18ad26..c105df8f1e9d 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSecurityMarksSecuritymarksFieldmask() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java
index ce7d450ae33b..ab6ba27ebaad 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSourceRequest request =
           UpdateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSource.java
index ab56c23d88fa..74e6e980f754 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSource.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       UpdateSourceRequest request =
           UpdateSourceRequest.newBuilder()
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
index 000c19b3bcd3..662e6ffad0e1 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSourceSource() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       Source source = Source.newBuilder().build();
       Source response = securityCenterClient.updateSource(source);
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSourceFieldmask.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSourceFieldmask.java
index 83521b0262b8..7e1468b10d83 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSourceFieldmask.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSourceFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateSourceSourceFieldmask() 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 (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
       Source source = Source.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycentersettings/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycentersettings/createsource/SyncCreateSource.java
index f2f56e394fe2..e4fe8ebc4475 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycentersettings/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycentersettings/createsource/SyncCreateSource.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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
     SecurityCenterSettings.Builder securityCenterSettingsBuilder =
         SecurityCenterSettings.newBuilder();
     securityCenterSettingsBuilder
         .createSourceSettings()
         .setRetrySettings(
-            securityCenterSettingsBuilder
-                .createSourceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SecurityCenterSettings securityCenterSettings = securityCenterSettingsBuilder.build();
diff --git a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
index 7d988d9cb114..d54996b1245c 100644
--- a/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
+++ b/java-securitycenter/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSource() 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
     SecurityCenterStubSettings.Builder securityCenterSettingsBuilder =
         SecurityCenterStubSettings.newBuilder();
     securityCenterSettingsBuilder
         .createSourceSettings()
         .setRetrySettings(
-            securityCenterSettingsBuilder
-                .createSourceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     SecurityCenterStubSettings securityCenterSettings = securityCenterSettingsBuilder.build();