diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md index 99150ba386be..2916e17ea2c1 100644 --- a/java-bare-metal-solution/README.md +++ b/java-bare-metal-solution/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bare-metal-solution - 0.3.2 + 0.3.3 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.3.2' +implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.3.3' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.3.2" +libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.3.3" ``` ## Authentication diff --git a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionClient.java b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionClient.java index 84738de21493..cf28bfa2e658 100644 --- a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionClient.java +++ b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionClient.java @@ -52,8 +52,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
  *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
  *   Instance response = bareMetalSolutionClient.getInstance(name);
@@ -90,8 +93,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * BareMetalSolutionSettings bareMetalSolutionSettings =
  *     BareMetalSolutionSettings.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
  * BareMetalSolutionSettings bareMetalSolutionSettings =
  *     BareMetalSolutionSettings.newBuilder().setEndpoint(myEndpoint).build();
  * BareMetalSolutionClient bareMetalSolutionClient =
@@ -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
  * BareMetalSolutionSettings bareMetalSolutionSettings =
  *     BareMetalSolutionSettings.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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Instance element : bareMetalSolutionClient.listInstances(parent).iterateAll()) {
@@ -238,8 +253,11 @@ public final ListInstancesPagedResponse listInstances(LocationName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Instance element : bareMetalSolutionClient.listInstances(parent).iterateAll()) {
@@ -263,8 +281,11 @@ public final ListInstancesPagedResponse listInstances(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -293,8 +314,11 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -324,8 +348,11 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListInstancesRequest request =
    *       ListInstancesRequest.newBuilder()
@@ -361,8 +388,11 @@ public final UnaryCallable listInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   Instance response = bareMetalSolutionClient.getInstance(name);
@@ -385,8 +415,11 @@ public final Instance getInstance(InstanceName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   Instance response = bareMetalSolutionClient.getInstance(name);
@@ -408,8 +441,11 @@ public final Instance getInstance(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetInstanceRequest request =
    *       GetInstanceRequest.newBuilder()
@@ -433,8 +469,11 @@ public final Instance getInstance(GetInstanceRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetInstanceRequest request =
    *       GetInstanceRequest.newBuilder()
@@ -458,8 +497,11 @@ public final UnaryCallable getInstanceCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   Instance instance = Instance.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -488,8 +530,11 @@ public final OperationFuture updateInstanceAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -515,8 +560,11 @@ public final OperationFuture updateInstanceAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -542,8 +590,11 @@ public final OperationFuture updateInstanceAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateInstanceRequest request =
    *       UpdateInstanceRequest.newBuilder()
@@ -569,8 +620,11 @@ public final UnaryCallable updateInstanceCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   ResetInstanceResponse response = bareMetalSolutionClient.resetInstanceAsync(name).get();
@@ -595,8 +649,11 @@ public final OperationFuture resetInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   ResetInstanceResponse response = bareMetalSolutionClient.resetInstanceAsync(name).get();
@@ -620,8 +677,11 @@ public final OperationFuture resetInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ResetInstanceRequest request =
    *       ResetInstanceRequest.newBuilder()
@@ -647,8 +707,11 @@ public final OperationFuture resetInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ResetInstanceRequest request =
    *       ResetInstanceRequest.newBuilder()
@@ -674,8 +737,11 @@ public final OperationFuture resetInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ResetInstanceRequest request =
    *       ResetInstanceRequest.newBuilder()
@@ -699,8 +765,11 @@ public final UnaryCallable resetInstanceCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   StartInstanceResponse response = bareMetalSolutionClient.startInstanceAsync(name).get();
@@ -724,8 +793,11 @@ public final OperationFuture startInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   StartInstanceResponse response = bareMetalSolutionClient.startInstanceAsync(name).get();
@@ -748,8 +820,11 @@ public final OperationFuture startInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   StartInstanceRequest request =
    *       StartInstanceRequest.newBuilder()
@@ -774,8 +849,11 @@ public final OperationFuture startInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   StartInstanceRequest request =
    *       StartInstanceRequest.newBuilder()
@@ -800,8 +878,11 @@ public final OperationFuture startInst
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   StartInstanceRequest request =
    *       StartInstanceRequest.newBuilder()
@@ -825,8 +906,11 @@ public final UnaryCallable startInstanceCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   StopInstanceResponse response = bareMetalSolutionClient.stopInstanceAsync(name).get();
@@ -850,8 +934,11 @@ public final OperationFuture stopInstan
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   StopInstanceResponse response = bareMetalSolutionClient.stopInstanceAsync(name).get();
@@ -874,8 +961,11 @@ public final OperationFuture stopInstan
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   StopInstanceRequest request =
    *       StopInstanceRequest.newBuilder()
@@ -900,8 +990,11 @@ public final OperationFuture stopInstan
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   StopInstanceRequest request =
    *       StopInstanceRequest.newBuilder()
@@ -926,8 +1019,11 @@ public final OperationFuture stopInstan
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   StopInstanceRequest request =
    *       StopInstanceRequest.newBuilder()
@@ -951,8 +1047,11 @@ public final UnaryCallable stopInstanceCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   InstanceName instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   LunName lun = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]");
@@ -981,8 +1080,11 @@ public final OperationFuture detachLunAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   InstanceName instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    *   String lun = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]").toString();
@@ -1011,8 +1113,11 @@ public final OperationFuture detachLunAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   LunName lun = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]");
@@ -1041,8 +1146,11 @@ public final OperationFuture detachLunAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
    *   String lun = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]").toString();
@@ -1068,8 +1176,11 @@ public final OperationFuture detachLunAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   DetachLunRequest request =
    *       DetachLunRequest.newBuilder()
@@ -1095,8 +1206,11 @@ public final OperationFuture detachLunAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   DetachLunRequest request =
    *       DetachLunRequest.newBuilder()
@@ -1122,8 +1236,11 @@ public final OperationFuture detachLunAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   DetachLunRequest request =
    *       DetachLunRequest.newBuilder()
@@ -1147,8 +1264,11 @@ public final UnaryCallable detachLunCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Volume element : bareMetalSolutionClient.listVolumes(parent).iterateAll()) {
@@ -1175,8 +1295,11 @@ public final ListVolumesPagedResponse listVolumes(LocationName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Volume element : bareMetalSolutionClient.listVolumes(parent).iterateAll()) {
@@ -1200,8 +1323,11 @@ public final ListVolumesPagedResponse listVolumes(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListVolumesRequest request =
    *       ListVolumesRequest.newBuilder()
@@ -1230,8 +1356,11 @@ public final ListVolumesPagedResponse listVolumes(ListVolumesRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListVolumesRequest request =
    *       ListVolumesRequest.newBuilder()
@@ -1261,8 +1390,11 @@ public final ListVolumesPagedResponse listVolumes(ListVolumesRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListVolumesRequest request =
    *       ListVolumesRequest.newBuilder()
@@ -1297,8 +1429,11 @@ public final UnaryCallable listVolumesC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   VolumeName name = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]");
    *   Volume response = bareMetalSolutionClient.getVolume(name);
@@ -1321,8 +1456,11 @@ public final Volume getVolume(VolumeName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String name = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]").toString();
    *   Volume response = bareMetalSolutionClient.getVolume(name);
@@ -1344,8 +1482,11 @@ public final Volume getVolume(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetVolumeRequest request =
    *       GetVolumeRequest.newBuilder()
@@ -1369,8 +1510,11 @@ public final Volume getVolume(GetVolumeRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetVolumeRequest request =
    *       GetVolumeRequest.newBuilder()
@@ -1393,8 +1537,11 @@ public final UnaryCallable getVolumeCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   Volume volume = Volume.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1424,8 +1571,11 @@ public final OperationFuture updateVolumeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateVolumeRequest request =
    *       UpdateVolumeRequest.newBuilder()
@@ -1451,8 +1601,11 @@ public final OperationFuture updateVolumeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateVolumeRequest request =
    *       UpdateVolumeRequest.newBuilder()
@@ -1478,8 +1631,11 @@ public final OperationFuture updateVolumeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateVolumeRequest request =
    *       UpdateVolumeRequest.newBuilder()
@@ -1504,8 +1660,11 @@ public final UnaryCallable updateVolumeCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   VolumeName volume = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]");
    *   long sizeGib = 847296130;
@@ -1534,8 +1693,11 @@ public final OperationFuture resizeVolumeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String volume = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]").toString();
    *   long sizeGib = 847296130;
@@ -1561,8 +1723,11 @@ public final OperationFuture resizeVolumeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ResizeVolumeRequest request =
    *       ResizeVolumeRequest.newBuilder()
@@ -1588,8 +1753,11 @@ public final OperationFuture resizeVolumeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ResizeVolumeRequest request =
    *       ResizeVolumeRequest.newBuilder()
@@ -1615,8 +1783,11 @@ public final OperationFuture resizeVolumeAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ResizeVolumeRequest request =
    *       ResizeVolumeRequest.newBuilder()
@@ -1641,8 +1812,11 @@ public final UnaryCallable resizeVolumeCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Network element : bareMetalSolutionClient.listNetworks(parent).iterateAll()) {
@@ -1669,8 +1843,11 @@ public final ListNetworksPagedResponse listNetworks(LocationName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Network element : bareMetalSolutionClient.listNetworks(parent).iterateAll()) {
@@ -1694,8 +1871,11 @@ public final ListNetworksPagedResponse listNetworks(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListNetworksRequest request =
    *       ListNetworksRequest.newBuilder()
@@ -1724,8 +1904,11 @@ public final ListNetworksPagedResponse listNetworks(ListNetworksRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListNetworksRequest request =
    *       ListNetworksRequest.newBuilder()
@@ -1755,8 +1938,11 @@ public final ListNetworksPagedResponse listNetworks(ListNetworksRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListNetworksRequest request =
    *       ListNetworksRequest.newBuilder()
@@ -1793,8 +1979,11 @@ public final UnaryCallable listNetwor
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ListNetworkUsageResponse response = bareMetalSolutionClient.listNetworkUsage(location);
@@ -1820,8 +2009,11 @@ public final ListNetworkUsageResponse listNetworkUsage(LocationName location) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ListNetworkUsageResponse response = bareMetalSolutionClient.listNetworkUsage(location);
@@ -1845,8 +2037,11 @@ public final ListNetworkUsageResponse listNetworkUsage(String location) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListNetworkUsageRequest request =
    *       ListNetworkUsageRequest.newBuilder()
@@ -1871,8 +2066,11 @@ public final ListNetworkUsageResponse listNetworkUsage(ListNetworkUsageRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListNetworkUsageRequest request =
    *       ListNetworkUsageRequest.newBuilder()
@@ -1897,8 +2095,11 @@ public final ListNetworkUsageResponse listNetworkUsage(ListNetworkUsageRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   NetworkName name = NetworkName.of("[PROJECT]", "[LOCATION]", "[NETWORK]");
    *   Network response = bareMetalSolutionClient.getNetwork(name);
@@ -1921,8 +2122,11 @@ public final Network getNetwork(NetworkName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String name = NetworkName.of("[PROJECT]", "[LOCATION]", "[NETWORK]").toString();
    *   Network response = bareMetalSolutionClient.getNetwork(name);
@@ -1944,8 +2148,11 @@ public final Network getNetwork(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetNetworkRequest request =
    *       GetNetworkRequest.newBuilder()
@@ -1969,8 +2176,11 @@ public final Network getNetwork(GetNetworkRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetNetworkRequest request =
    *       GetNetworkRequest.newBuilder()
@@ -1993,8 +2203,11 @@ public final UnaryCallable getNetworkCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   Network network = Network.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2023,8 +2236,11 @@ public final OperationFuture updateNetworkAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateNetworkRequest request =
    *       UpdateNetworkRequest.newBuilder()
@@ -2050,8 +2266,11 @@ public final OperationFuture updateNetworkAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateNetworkRequest request =
    *       UpdateNetworkRequest.newBuilder()
@@ -2077,8 +2296,11 @@ public final OperationFuture updateNetworkAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateNetworkRequest request =
    *       UpdateNetworkRequest.newBuilder()
@@ -2103,8 +2325,11 @@ public final UnaryCallable updateNetworkCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   LunName name = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]");
    *   Lun response = bareMetalSolutionClient.getLun(name);
@@ -2127,8 +2352,11 @@ public final Lun getLun(LunName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String name = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]").toString();
    *   Lun response = bareMetalSolutionClient.getLun(name);
@@ -2150,8 +2378,11 @@ public final Lun getLun(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetLunRequest request =
    *       GetLunRequest.newBuilder()
@@ -2175,8 +2406,11 @@ public final Lun getLun(GetLunRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetLunRequest request =
    *       GetLunRequest.newBuilder()
@@ -2199,8 +2433,11 @@ public final UnaryCallable getLunCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   VolumeName parent = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]");
    *   for (Lun element : bareMetalSolutionClient.listLuns(parent).iterateAll()) {
@@ -2225,8 +2462,11 @@ public final ListLunsPagedResponse listLuns(VolumeName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String parent = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]").toString();
    *   for (Lun element : bareMetalSolutionClient.listLuns(parent).iterateAll()) {
@@ -2250,8 +2490,11 @@ public final ListLunsPagedResponse listLuns(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListLunsRequest request =
    *       ListLunsRequest.newBuilder()
@@ -2279,8 +2522,11 @@ public final ListLunsPagedResponse listLuns(ListLunsRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListLunsRequest request =
    *       ListLunsRequest.newBuilder()
@@ -2307,8 +2553,11 @@ public final UnaryCallable listLunsPaged
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListLunsRequest request =
    *       ListLunsRequest.newBuilder()
@@ -2342,8 +2591,11 @@ public final UnaryCallable listLunsCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   NFSShareName name = NFSShareName.of("[PROJECT]", "[LOCATION]", "[NFS_SHARE]");
    *   NfsShare response = bareMetalSolutionClient.getNfsShare(name);
@@ -2366,8 +2618,11 @@ public final NfsShare getNfsShare(NFSShareName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String name = NFSShareName.of("[PROJECT]", "[LOCATION]", "[NFS_SHARE]").toString();
    *   NfsShare response = bareMetalSolutionClient.getNfsShare(name);
@@ -2389,8 +2644,11 @@ public final NfsShare getNfsShare(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetNfsShareRequest request =
    *       GetNfsShareRequest.newBuilder()
@@ -2414,8 +2672,11 @@ public final NfsShare getNfsShare(GetNfsShareRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   GetNfsShareRequest request =
    *       GetNfsShareRequest.newBuilder()
@@ -2439,8 +2700,11 @@ public final UnaryCallable getNfsShareCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (NfsShare element : bareMetalSolutionClient.listNfsShares(parent).iterateAll()) {
@@ -2467,8 +2731,11 @@ public final ListNfsSharesPagedResponse listNfsShares(LocationName 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (NfsShare element : bareMetalSolutionClient.listNfsShares(parent).iterateAll()) {
@@ -2492,8 +2759,11 @@ public final ListNfsSharesPagedResponse listNfsShares(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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListNfsSharesRequest request =
    *       ListNfsSharesRequest.newBuilder()
@@ -2522,8 +2792,11 @@ public final ListNfsSharesPagedResponse listNfsShares(ListNfsSharesRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListNfsSharesRequest request =
    *       ListNfsSharesRequest.newBuilder()
@@ -2553,8 +2826,11 @@ public final ListNfsSharesPagedResponse listNfsShares(ListNfsSharesRequest 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 (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   ListNfsSharesRequest request =
    *       ListNfsSharesRequest.newBuilder()
@@ -2590,8 +2866,11 @@ public final UnaryCallable listNfsS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   NfsShare nfsShare = NfsShare.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2620,8 +2899,11 @@ public final OperationFuture updateNfsShareAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateNfsShareRequest request =
    *       UpdateNfsShareRequest.newBuilder()
@@ -2647,8 +2929,11 @@ public final OperationFuture updateNfsShareAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateNfsShareRequest request =
    *       UpdateNfsShareRequest.newBuilder()
@@ -2674,8 +2959,11 @@ public final OperationFuture updateNfsShareAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
    *   UpdateNfsShareRequest request =
    *       UpdateNfsShareRequest.newBuilder()
diff --git a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionSettings.java b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionSettings.java
index ead74045577d..fde66f68e552 100644
--- a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionSettings.java
+++ b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionSettings.java
@@ -60,17 +60,17 @@
  * 

For example, to set the total timeout of getInstance 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
  * BareMetalSolutionSettings.Builder bareMetalSolutionSettingsBuilder =
  *     BareMetalSolutionSettings.newBuilder();
  * bareMetalSolutionSettingsBuilder
  *     .getInstanceSettings()
  *     .setRetrySettings(
- *         bareMetalSolutionSettingsBuilder
- *             .getInstanceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         bareMetalSolutionSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * BareMetalSolutionSettings bareMetalSolutionSettings = bareMetalSolutionSettingsBuilder.build();
diff --git a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/package-info.java b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/package-info.java
index 43afa3c3ed18..b02c05c2cf8e 100644
--- a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/package-info.java
+++ b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/package-info.java
@@ -32,8 +32,11 @@
  * 

Sample for BareMetalSolutionClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
  *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
  *   Instance response = bareMetalSolutionClient.getInstance(name);
diff --git a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/BareMetalSolutionStubSettings.java b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/BareMetalSolutionStubSettings.java
index 6866d5cc871a..472f19c71285 100644
--- a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/BareMetalSolutionStubSettings.java
+++ b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/BareMetalSolutionStubSettings.java
@@ -115,17 +115,17 @@
  * 

For example, to set the total timeout of getInstance 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
  * BareMetalSolutionStubSettings.Builder bareMetalSolutionSettingsBuilder =
  *     BareMetalSolutionStubSettings.newBuilder();
  * bareMetalSolutionSettingsBuilder
  *     .getInstanceSettings()
  *     .setRetrySettings(
- *         bareMetalSolutionSettingsBuilder
- *             .getInstanceSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         bareMetalSolutionSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * BareMetalSolutionStubSettings bareMetalSolutionSettings =
diff --git a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/HttpJsonBareMetalSolutionStub.java b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/HttpJsonBareMetalSolutionStub.java
index 819488acc65c..5aa33a1e4802 100644
--- a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/HttpJsonBareMetalSolutionStub.java
+++ b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/HttpJsonBareMetalSolutionStub.java
@@ -203,7 +203,7 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("instance", request.getInstance()))
+                                  .toBody("instance", request.getInstance(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -243,7 +243,7 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -283,7 +283,7 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -322,7 +322,7 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearName().build()))
+                                  .toBody("*", request.toBuilder().clearName().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -360,7 +360,7 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                   .setRequestBodyExtractor(
                       request ->
                           ProtoRestSerializer.create()
-                              .toBody("*", request.toBuilder().clearInstance().build()))
+                              .toBody("*", request.toBuilder().clearInstance().build(), false))
                   .build())
           .setResponseParser(
               ProtoMessageResponseParser.newBuilder()
@@ -468,7 +468,8 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("volume", request.getVolume()))
+                              ProtoRestSerializer.create()
+                                  .toBody("volume", request.getVolume(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -507,7 +508,7 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearVolume().build()))
+                                  .toBody("*", request.toBuilder().clearVolume().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -650,7 +651,8 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                           })
                       .setRequestBodyExtractor(
                           request ->
-                              ProtoRestSerializer.create().toBody("network", request.getNetwork()))
+                              ProtoRestSerializer.create()
+                                  .toBody("network", request.getNetwork(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -829,7 +831,7 @@ public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("nfsShare", request.getNfsShare()))
+                                  .toBody("nfsShare", request.getNfsShare(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetCredentialsProvider.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetCredentialsProvider.java
index a3a87297b183..21e4376659f9 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetCredentialsProvider.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/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
     BareMetalSolutionSettings bareMetalSolutionSettings =
         BareMetalSolutionSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetCredentialsProvider1.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetCredentialsProvider1.java
index 9b387080fde5..82189ceb36da 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetCredentialsProvider1.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.baremetalsolution.v2.samples;
 
-// [START
-// baremetalsolution_v2_generated_baremetalsolutionclient_create_setcredentialsprovider1_sync]
+// [START baremetalsolution_v2_generated_baremetalsolutionclient_create_setcredentialsprovider1_sync]
 import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
 import com.google.cloud.baremetalsolution.v2.BareMetalSolutionSettings;
 
@@ -28,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
     BareMetalSolutionSettings bareMetalSolutionSettings =
         BareMetalSolutionSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetEndpoint.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetEndpoint.java
index 875f49cca737..b984f139cec6 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/create/SyncCreateSetEndpoint.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/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
     BareMetalSolutionSettings bareMetalSolutionSettings =
         BareMetalSolutionSettings.newBuilder().setEndpoint(myEndpoint).build();
     BareMetalSolutionClient bareMetalSolutionClient =
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/AsyncDetachLun.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/AsyncDetachLun.java
index 71244dd3984d..3157f3fc116f 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/AsyncDetachLun.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/AsyncDetachLun.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDetachLun() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       DetachLunRequest request =
           DetachLunRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/AsyncDetachLunLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/AsyncDetachLunLRO.java
index 86555e685603..0560a40e48df 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/AsyncDetachLunLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/AsyncDetachLunLRO.java
@@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDetachLunLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       DetachLunRequest request =
           DetachLunRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLun.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLun.java
index d789e2ce6f9f..770a98f7c3a4 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLun.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLun.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetachLun() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       DetachLunRequest request =
           DetachLunRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunInstancenameLunname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunInstancenameLunname.java
index 35c72e450b01..f87dd872a73f 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunInstancenameLunname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunInstancenameLunname.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetachLunInstancenameLunname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       InstanceName instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       LunName lun = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]");
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunInstancenameString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunInstancenameString.java
index 768a009d308d..6220e5471230 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunInstancenameString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunInstancenameString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetachLunInstancenameString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       InstanceName instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       String lun = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]").toString();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunStringLunname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunStringLunname.java
index 59b2861216d9..626b1051d339 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunStringLunname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunStringLunname.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetachLunStringLunname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       LunName lun = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]");
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunStringString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunStringString.java
index 22ee2a02d5e1..b00df46cc928 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunStringString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/detachlun/SyncDetachLunStringString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDetachLunStringString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String instance = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       String lun = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]").toString();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/AsyncGetInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/AsyncGetInstance.java
index a3945d0d8ca8..40f2a9eb7b31 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/AsyncGetInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/AsyncGetInstance.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetInstanceRequest request =
           GetInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstance.java
index cc3f53c39d93..c95913f1c142 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetInstanceRequest request =
           GetInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstanceInstancename.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstanceInstancename.java
index f0a4992a33c0..0728eba4217a 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstanceInstancename.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstanceInstancename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstanceInstancename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       Instance response = bareMetalSolutionClient.getInstance(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstanceString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstanceString.java
index c1bf2c32e251..a907300ced8f 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstanceString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getinstance/SyncGetInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstanceString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       Instance response = bareMetalSolutionClient.getInstance(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/AsyncGetLun.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/AsyncGetLun.java
index f0ac71ba10da..684ea228f89b 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/AsyncGetLun.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/AsyncGetLun.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLun() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetLunRequest request =
           GetLunRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLun.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLun.java
index 7e1ea7f79393..46751442c1d5 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLun.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLun.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLun() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetLunRequest request =
           GetLunRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLunLunname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLunLunname.java
index bf5634e3667e..85c4179071c5 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLunLunname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLunLunname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLunLunname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       LunName name = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]");
       Lun response = bareMetalSolutionClient.getLun(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLunString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLunString.java
index 960ffadf58bd..ab92aee4fac0 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLunString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getlun/SyncGetLunString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLunString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String name = LunName.of("[PROJECT]", "[LOCATION]", "[VOLUME]", "[LUN]").toString();
       Lun response = bareMetalSolutionClient.getLun(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/AsyncGetNetwork.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/AsyncGetNetwork.java
index f1e0402a1616..6f35605c92bb 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/AsyncGetNetwork.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/AsyncGetNetwork.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetNetwork() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetNetworkRequest request =
           GetNetworkRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetwork.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetwork.java
index e9965414d00e..4e898f6e4b20 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetwork.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetwork.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNetwork() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetNetworkRequest request =
           GetNetworkRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetworkNetworkname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetworkNetworkname.java
index 76671c6164b6..ce15fc8678d7 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetworkNetworkname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetworkNetworkname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNetworkNetworkname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       NetworkName name = NetworkName.of("[PROJECT]", "[LOCATION]", "[NETWORK]");
       Network response = bareMetalSolutionClient.getNetwork(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetworkString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetworkString.java
index 06954a26d1df..6e92ac154c97 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetworkString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnetwork/SyncGetNetworkString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNetworkString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String name = NetworkName.of("[PROJECT]", "[LOCATION]", "[NETWORK]").toString();
       Network response = bareMetalSolutionClient.getNetwork(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/AsyncGetNfsShare.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/AsyncGetNfsShare.java
index 162584bdc153..682a37937933 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/AsyncGetNfsShare.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/AsyncGetNfsShare.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetNfsShare() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetNfsShareRequest request =
           GetNfsShareRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShare.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShare.java
index 020b9765265d..82cb476dc402 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShare.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShare.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNfsShare() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetNfsShareRequest request =
           GetNfsShareRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShareNfssharename.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShareNfssharename.java
index a155120c65ca..73e3d7a83e3c 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShareNfssharename.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShareNfssharename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNfsShareNfssharename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       NFSShareName name = NFSShareName.of("[PROJECT]", "[LOCATION]", "[NFS_SHARE]");
       NfsShare response = bareMetalSolutionClient.getNfsShare(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShareString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShareString.java
index 39f118029f4c..0b52bd153ea9 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShareString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getnfsshare/SyncGetNfsShareString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetNfsShareString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String name = NFSShareName.of("[PROJECT]", "[LOCATION]", "[NFS_SHARE]").toString();
       NfsShare response = bareMetalSolutionClient.getNfsShare(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/AsyncGetVolume.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/AsyncGetVolume.java
index 5f72baf622ea..6d7f6f1a9e91 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/AsyncGetVolume.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/AsyncGetVolume.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetVolume() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetVolumeRequest request =
           GetVolumeRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolume.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolume.java
index a0ee9636e808..2c01abda9c54 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolume.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolume.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolume() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       GetVolumeRequest request =
           GetVolumeRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolumeString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolumeString.java
index c83bd2257dcd..ce242e8dfbc4 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolumeString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolumeString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolumeString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String name = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]").toString();
       Volume response = bareMetalSolutionClient.getVolume(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolumeVolumename.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolumeVolumename.java
index 074a0bcdb7dc..0d62e1e05726 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolumeVolumename.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/getvolume/SyncGetVolumeVolumename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetVolumeVolumename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       VolumeName name = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]");
       Volume response = bareMetalSolutionClient.getVolume(name);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/AsyncListInstances.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/AsyncListInstances.java
index c4750dd008a4..606c0f83bb27 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/AsyncListInstances.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/AsyncListInstances.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListInstances() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/AsyncListInstancesPaged.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/AsyncListInstancesPaged.java
index 9eccd225880e..7e37b8a8548e 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/AsyncListInstancesPaged.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/AsyncListInstancesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListInstancesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstances.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstances.java
index 35af1bed2e71..4e2f6bfa7c9e 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstances.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstances.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstances() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListInstancesRequest request =
           ListInstancesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstancesLocationname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstancesLocationname.java
index 05ed3460ba9d..5ece48721db9 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstancesLocationname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstancesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstancesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Instance element : bareMetalSolutionClient.listInstances(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstancesString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstancesString.java
index 8dfa2e8c4047..36e204b21071 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstancesString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listinstances/SyncListInstancesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListInstancesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Instance element : bareMetalSolutionClient.listInstances(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/AsyncListLuns.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/AsyncListLuns.java
index 69dbb669933b..ee23e0b8d979 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/AsyncListLuns.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/AsyncListLuns.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLuns() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListLunsRequest request =
           ListLunsRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/AsyncListLunsPaged.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/AsyncListLunsPaged.java
index ac2fd3f6b727..1d47bfbb7b90 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/AsyncListLunsPaged.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/AsyncListLunsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLunsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListLunsRequest request =
           ListLunsRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLuns.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLuns.java
index 08db5facff0d..9343af1accbc 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLuns.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLuns.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLuns() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListLunsRequest request =
           ListLunsRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLunsString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLunsString.java
index 9aabcec986ee..01ea034aa836 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLunsString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLunsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLunsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String parent = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]").toString();
       for (Lun element : bareMetalSolutionClient.listLuns(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLunsVolumename.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLunsVolumename.java
index 9b61c7d67ced..d8705d46f708 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLunsVolumename.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listluns/SyncListLunsVolumename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLunsVolumename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       VolumeName parent = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]");
       for (Lun element : bareMetalSolutionClient.listLuns(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/AsyncListNetworks.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/AsyncListNetworks.java
index 74c2b5ec805f..3daaa26edd36 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/AsyncListNetworks.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/AsyncListNetworks.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNetworks() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListNetworksRequest request =
           ListNetworksRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/AsyncListNetworksPaged.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/AsyncListNetworksPaged.java
index 7effaae3822c..eb1fe9be50ca 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/AsyncListNetworksPaged.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/AsyncListNetworksPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNetworksPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListNetworksRequest request =
           ListNetworksRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworks.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworks.java
index c7b6162538ac..7f5c710df9d3 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworks.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworks.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNetworks() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListNetworksRequest request =
           ListNetworksRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworksLocationname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworksLocationname.java
index 5c59e1995ef9..0629747318cc 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworksLocationname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworksLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNetworksLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Network element : bareMetalSolutionClient.listNetworks(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworksString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworksString.java
index a909ba34e051..c082621d8294 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworksString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworks/SyncListNetworksString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNetworksString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Network element : bareMetalSolutionClient.listNetworks(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/AsyncListNetworkUsage.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/AsyncListNetworkUsage.java
index 9d087074ef78..7c0ed35689c9 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/AsyncListNetworkUsage.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/AsyncListNetworkUsage.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNetworkUsage() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListNetworkUsageRequest request =
           ListNetworkUsageRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsage.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsage.java
index 1f8147c05438..025175bc2077 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsage.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsage.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNetworkUsage() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListNetworkUsageRequest request =
           ListNetworkUsageRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsageLocationname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsageLocationname.java
index ca5edbb24f90..0aa25b2f7552 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsageLocationname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsageLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNetworkUsageLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
       ListNetworkUsageResponse response = bareMetalSolutionClient.listNetworkUsage(location);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsageString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsageString.java
index c2fe15b22b20..73cc81e97fef 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsageString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnetworkusage/SyncListNetworkUsageString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNetworkUsageString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       ListNetworkUsageResponse response = bareMetalSolutionClient.listNetworkUsage(location);
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/AsyncListNfsShares.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/AsyncListNfsShares.java
index 1897424cbeba..a07dd803eaad 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/AsyncListNfsShares.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/AsyncListNfsShares.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNfsShares() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListNfsSharesRequest request =
           ListNfsSharesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/AsyncListNfsSharesPaged.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/AsyncListNfsSharesPaged.java
index ed4ee13b222c..1fe35631da75 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/AsyncListNfsSharesPaged.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/AsyncListNfsSharesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListNfsSharesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListNfsSharesRequest request =
           ListNfsSharesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsShares.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsShares.java
index a921557dc43a..adb111c8c904 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsShares.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsShares.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNfsShares() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListNfsSharesRequest request =
           ListNfsSharesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsSharesLocationname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsSharesLocationname.java
index ff457973f5ae..c48cca96bdc8 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsSharesLocationname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsSharesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNfsSharesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (NfsShare element : bareMetalSolutionClient.listNfsShares(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsSharesString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsSharesString.java
index b8404fe0425b..7e26d4a433c0 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsSharesString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listnfsshares/SyncListNfsSharesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListNfsSharesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (NfsShare element : bareMetalSolutionClient.listNfsShares(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/AsyncListVolumes.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/AsyncListVolumes.java
index ed7f526ed826..ea95e04b4e3f 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/AsyncListVolumes.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/AsyncListVolumes.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVolumes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListVolumesRequest request =
           ListVolumesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/AsyncListVolumesPaged.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/AsyncListVolumesPaged.java
index 4a713d04b775..f3e1fe3e5286 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/AsyncListVolumesPaged.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/AsyncListVolumesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListVolumesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListVolumesRequest request =
           ListVolumesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumes.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumes.java
index f9bc042ea109..042f7c7d21cf 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumes.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumes.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumes() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ListVolumesRequest request =
           ListVolumesRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumesLocationname.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumesLocationname.java
index b348d64cc997..9d2a42479d2f 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumesLocationname.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Volume element : bareMetalSolutionClient.listVolumes(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumesString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumesString.java
index b95bdddf4e25..5bb7b346a061 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumesString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/listvolumes/SyncListVolumesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListVolumesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Volume element : bareMetalSolutionClient.listVolumes(parent).iterateAll()) {
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/AsyncResetInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/AsyncResetInstance.java
index b1efbfdf1ef5..8f52423a3c44 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/AsyncResetInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/AsyncResetInstance.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncResetInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ResetInstanceRequest request =
           ResetInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/AsyncResetInstanceLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/AsyncResetInstanceLRO.java
index 0d73bc0f1005..be38a72dea6b 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/AsyncResetInstanceLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/AsyncResetInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncResetInstanceLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ResetInstanceRequest request =
           ResetInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstance.java
index 63e585ae2530..6296eec210e5 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncResetInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ResetInstanceRequest request =
           ResetInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstanceInstancename.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstanceInstancename.java
index b3db96749c6b..fd4a097db119 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstanceInstancename.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstanceInstancename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncResetInstanceInstancename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       ResetInstanceResponse response = bareMetalSolutionClient.resetInstanceAsync(name).get();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstanceString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstanceString.java
index 90671ff06a19..53f762a1f2de 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstanceString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resetinstance/SyncResetInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncResetInstanceString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       ResetInstanceResponse response = bareMetalSolutionClient.resetInstanceAsync(name).get();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/AsyncResizeVolume.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/AsyncResizeVolume.java
index 245f8baa8a13..b1f4fa73b3bf 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/AsyncResizeVolume.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/AsyncResizeVolume.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncResizeVolume() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ResizeVolumeRequest request =
           ResizeVolumeRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/AsyncResizeVolumeLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/AsyncResizeVolumeLRO.java
index 9a6a36075415..a8eba0240abc 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/AsyncResizeVolumeLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/AsyncResizeVolumeLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncResizeVolumeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ResizeVolumeRequest request =
           ResizeVolumeRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolume.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolume.java
index 4dfd66ec2ded..1f3be4fc29af 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolume.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolume.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncResizeVolume() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       ResizeVolumeRequest request =
           ResizeVolumeRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolumeStringLong.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolumeStringLong.java
index 68eff39cd181..d81dc5815eac 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolumeStringLong.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolumeStringLong.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncResizeVolumeStringLong() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String volume = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]").toString();
       long sizeGib = 847296130;
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolumeVolumenameLong.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolumeVolumenameLong.java
index 40bb32cbcb68..702f9beb0713 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolumeVolumenameLong.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/resizevolume/SyncResizeVolumeVolumenameLong.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncResizeVolumeVolumenameLong() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       VolumeName volume = VolumeName.of("[PROJECT]", "[LOCATION]", "[VOLUME]");
       long sizeGib = 847296130;
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/AsyncStartInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/AsyncStartInstance.java
index fc3b15780948..071dabcb75b5 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/AsyncStartInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/AsyncStartInstance.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStartInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       StartInstanceRequest request =
           StartInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/AsyncStartInstanceLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/AsyncStartInstanceLRO.java
index 9b99f8f9026b..8d6adf389734 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/AsyncStartInstanceLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/AsyncStartInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStartInstanceLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       StartInstanceRequest request =
           StartInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstance.java
index 765066825964..c17513d37478 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStartInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       StartInstanceRequest request =
           StartInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstanceInstancename.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstanceInstancename.java
index 566811ce28f7..5c783e580784 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstanceInstancename.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstanceInstancename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStartInstanceInstancename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       StartInstanceResponse response = bareMetalSolutionClient.startInstanceAsync(name).get();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstanceString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstanceString.java
index 545c79a25ce0..7c16d2d6874e 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstanceString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/startinstance/SyncStartInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStartInstanceString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       StartInstanceResponse response = bareMetalSolutionClient.startInstanceAsync(name).get();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/AsyncStopInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/AsyncStopInstance.java
index c76d56b5dc16..33f87c6cc528 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/AsyncStopInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/AsyncStopInstance.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStopInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       StopInstanceRequest request =
           StopInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/AsyncStopInstanceLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/AsyncStopInstanceLRO.java
index 355cc84476a8..829727f986c8 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/AsyncStopInstanceLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/AsyncStopInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncStopInstanceLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       StopInstanceRequest request =
           StopInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstance.java
index 7e58a56dc03d..6c09a3e7aa74 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStopInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       StopInstanceRequest request =
           StopInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstanceInstancename.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstanceInstancename.java
index 3da06d6b8d84..05bb2e1120f5 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstanceInstancename.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstanceInstancename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStopInstanceInstancename() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
       StopInstanceResponse response = bareMetalSolutionClient.stopInstanceAsync(name).get();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstanceString.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstanceString.java
index 8f2b522e73ff..f42716851bd2 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstanceString.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/stopinstance/SyncStopInstanceString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncStopInstanceString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       String name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
       StopInstanceResponse response = bareMetalSolutionClient.stopInstanceAsync(name).get();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/AsyncUpdateInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/AsyncUpdateInstance.java
index 0572427e6ba5..23949ce6f8a4 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/AsyncUpdateInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/AsyncUpdateInstance.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/AsyncUpdateInstanceLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/AsyncUpdateInstanceLRO.java
index 2cdcca217ffb..a686873a3dfe 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/AsyncUpdateInstanceLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/AsyncUpdateInstanceLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateInstanceLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/SyncUpdateInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/SyncUpdateInstance.java
index 0f38ed61a12f..34f97786514c 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/SyncUpdateInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/SyncUpdateInstance.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateInstanceRequest request =
           UpdateInstanceRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java
index 0935bcf5d04f..80ffe07a25f1 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updateinstance/SyncUpdateInstanceInstanceFieldmask.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.baremetalsolution.v2.samples;
 
-// [START
-// baremetalsolution_v2_generated_baremetalsolutionclient_updateinstance_instancefieldmask_sync]
+// [START baremetalsolution_v2_generated_baremetalsolutionclient_updateinstance_instancefieldmask_sync]
 import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
 import com.google.cloud.baremetalsolution.v2.Instance;
 import com.google.protobuf.FieldMask;
@@ -29,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateInstanceInstanceFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       Instance instance = Instance.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
@@ -38,5 +40,4 @@ public static void syncUpdateInstanceInstanceFieldmask() throws Exception {
     }
   }
 }
-// [END
-// baremetalsolution_v2_generated_baremetalsolutionclient_updateinstance_instancefieldmask_sync]
+// [END baremetalsolution_v2_generated_baremetalsolutionclient_updateinstance_instancefieldmask_sync]
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/AsyncUpdateNetwork.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/AsyncUpdateNetwork.java
index 34b1d0865dca..7699411dccfe 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/AsyncUpdateNetwork.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/AsyncUpdateNetwork.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateNetwork() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateNetworkRequest request =
           UpdateNetworkRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/AsyncUpdateNetworkLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/AsyncUpdateNetworkLRO.java
index f6aa5e1f503f..18d917d5eec3 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/AsyncUpdateNetworkLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/AsyncUpdateNetworkLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateNetworkLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateNetworkRequest request =
           UpdateNetworkRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/SyncUpdateNetwork.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/SyncUpdateNetwork.java
index 953e671ae19b..1b5cb352bca2 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/SyncUpdateNetwork.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/SyncUpdateNetwork.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNetwork() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateNetworkRequest request =
           UpdateNetworkRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/SyncUpdateNetworkNetworkFieldmask.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/SyncUpdateNetworkNetworkFieldmask.java
index 9747c601dc4c..e28409a0073e 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/SyncUpdateNetworkNetworkFieldmask.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenetwork/SyncUpdateNetworkNetworkFieldmask.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.baremetalsolution.v2.samples;
 
-// [START
-// baremetalsolution_v2_generated_baremetalsolutionclient_updatenetwork_networkfieldmask_sync]
+// [START baremetalsolution_v2_generated_baremetalsolutionclient_updatenetwork_networkfieldmask_sync]
 import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
 import com.google.cloud.baremetalsolution.v2.Network;
 import com.google.protobuf.FieldMask;
@@ -29,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNetworkNetworkFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       Network network = Network.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/AsyncUpdateNfsShare.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/AsyncUpdateNfsShare.java
index 2aa998723d4a..b183784b1a81 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/AsyncUpdateNfsShare.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/AsyncUpdateNfsShare.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateNfsShare() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateNfsShareRequest request =
           UpdateNfsShareRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/AsyncUpdateNfsShareLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/AsyncUpdateNfsShareLRO.java
index cc15c8a99b4c..d100fcb55e4d 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/AsyncUpdateNfsShareLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/AsyncUpdateNfsShareLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateNfsShareLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateNfsShareRequest request =
           UpdateNfsShareRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/SyncUpdateNfsShare.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/SyncUpdateNfsShare.java
index 7b520913a34c..d2a5c7a318f6 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/SyncUpdateNfsShare.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/SyncUpdateNfsShare.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNfsShare() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateNfsShareRequest request =
           UpdateNfsShareRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/SyncUpdateNfsShareNfsshareFieldmask.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/SyncUpdateNfsShareNfsshareFieldmask.java
index f7da42b4ec48..0b1065097588 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/SyncUpdateNfsShareNfsshareFieldmask.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatenfsshare/SyncUpdateNfsShareNfsshareFieldmask.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.baremetalsolution.v2.samples;
 
-// [START
-// baremetalsolution_v2_generated_baremetalsolutionclient_updatenfsshare_nfssharefieldmask_sync]
+// [START baremetalsolution_v2_generated_baremetalsolutionclient_updatenfsshare_nfssharefieldmask_sync]
 import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
 import com.google.cloud.baremetalsolution.v2.NfsShare;
 import com.google.protobuf.FieldMask;
@@ -29,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateNfsShareNfsshareFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       NfsShare nfsShare = NfsShare.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
@@ -38,5 +40,4 @@ public static void syncUpdateNfsShareNfsshareFieldmask() throws Exception {
     }
   }
 }
-// [END
-// baremetalsolution_v2_generated_baremetalsolutionclient_updatenfsshare_nfssharefieldmask_sync]
+// [END baremetalsolution_v2_generated_baremetalsolutionclient_updatenfsshare_nfssharefieldmask_sync]
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/AsyncUpdateVolume.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/AsyncUpdateVolume.java
index bb556a294f40..0f571b16e02a 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/AsyncUpdateVolume.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/AsyncUpdateVolume.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateVolume() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateVolumeRequest request =
           UpdateVolumeRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/AsyncUpdateVolumeLRO.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/AsyncUpdateVolumeLRO.java
index 928cdc928461..50388f4e2ef8 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/AsyncUpdateVolumeLRO.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/AsyncUpdateVolumeLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateVolumeLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateVolumeRequest request =
           UpdateVolumeRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/SyncUpdateVolume.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/SyncUpdateVolume.java
index 31fd59721aa8..ba5bdd998ada 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/SyncUpdateVolume.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/SyncUpdateVolume.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateVolume() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       UpdateVolumeRequest request =
           UpdateVolumeRequest.newBuilder()
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/SyncUpdateVolumeVolumeFieldmask.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/SyncUpdateVolumeVolumeFieldmask.java
index 85d9b895bc75..bf3e6cdba9ee 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/SyncUpdateVolumeVolumeFieldmask.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionclient/updatevolume/SyncUpdateVolumeVolumeFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateVolumeVolumeFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (BareMetalSolutionClient bareMetalSolutionClient = BareMetalSolutionClient.create()) {
       Volume volume = Volume.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionsettings/getinstance/SyncGetInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionsettings/getinstance/SyncGetInstance.java
index 3ecb44fc7928..8a9eb49aabff 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionsettings/getinstance/SyncGetInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/baremetalsolutionsettings/getinstance/SyncGetInstance.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     BareMetalSolutionSettings.Builder bareMetalSolutionSettingsBuilder =
         BareMetalSolutionSettings.newBuilder();
     bareMetalSolutionSettingsBuilder
         .getInstanceSettings()
         .setRetrySettings(
-            bareMetalSolutionSettingsBuilder
-                .getInstanceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            bareMetalSolutionSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     BareMetalSolutionSettings bareMetalSolutionSettings = bareMetalSolutionSettingsBuilder.build();
diff --git a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/stub/baremetalsolutionstubsettings/getinstance/SyncGetInstance.java b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/stub/baremetalsolutionstubsettings/getinstance/SyncGetInstance.java
index 503f9e10065a..aa5f293102fc 100644
--- a/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/stub/baremetalsolutionstubsettings/getinstance/SyncGetInstance.java
+++ b/java-bare-metal-solution/samples/snippets/generated/com/google/cloud/baremetalsolution/v2/stub/baremetalsolutionstubsettings/getinstance/SyncGetInstance.java
@@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetInstance() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     BareMetalSolutionStubSettings.Builder bareMetalSolutionSettingsBuilder =
         BareMetalSolutionStubSettings.newBuilder();
     bareMetalSolutionSettingsBuilder
         .getInstanceSettings()
         .setRetrySettings(
-            bareMetalSolutionSettingsBuilder
-                .getInstanceSettings()
-                .getRetrySettings()
-                .toBuilder()
+            bareMetalSolutionSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     BareMetalSolutionStubSettings bareMetalSolutionSettings =