From 07b16d96b12a1af24a5907001fff528ba33893e1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 14:54:13 +0000 Subject: [PATCH 1/5] chore(main): release 0.6.2-SNAPSHOT (#197) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-network-security-bom/pom.xml | 12 ++++++------ google-cloud-network-security/pom.xml | 4 ++-- grpc-google-cloud-network-security-v1/pom.xml | 4 ++-- grpc-google-cloud-network-security-v1beta1/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-network-security-v1/pom.xml | 4 ++-- proto-google-cloud-network-security-v1beta1/pom.xml | 4 ++-- versions.txt | 10 +++++----- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/google-cloud-network-security-bom/pom.xml b/google-cloud-network-security-bom/pom.xml index fb333519..052298a6 100644 --- a/google-cloud-network-security-bom/pom.xml +++ b/google-cloud-network-security-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-network-security-bom - 0.6.1 + 0.6.2-SNAPSHOT pom com.google.cloud @@ -56,27 +56,27 @@ com.google.cloud google-cloud-network-security - 0.6.1 + 0.6.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.6.1 + 0.6.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.6.1 + 0.6.2-SNAPSHOT com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.6.1 + 0.6.2-SNAPSHOT com.google.api.grpc proto-google-cloud-network-security-v1 - 0.6.1 + 0.6.2-SNAPSHOT diff --git a/google-cloud-network-security/pom.xml b/google-cloud-network-security/pom.xml index 4388d33d..3b449885 100644 --- a/google-cloud-network-security/pom.xml +++ b/google-cloud-network-security/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-network-security - 0.6.1 + 0.6.2-SNAPSHOT jar Google Network Security API https://github.com/googleapis/java-network-security @@ -11,7 +11,7 @@ com.google.cloud google-cloud-network-security-parent - 0.6.1 + 0.6.2-SNAPSHOT google-cloud-network-security diff --git a/grpc-google-cloud-network-security-v1/pom.xml b/grpc-google-cloud-network-security-v1/pom.xml index 5fbc6ce8..99301298 100644 --- a/grpc-google-cloud-network-security-v1/pom.xml +++ b/grpc-google-cloud-network-security-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.6.1 + 0.6.2-SNAPSHOT grpc-google-cloud-network-security-v1 GRPC library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.6.1 + 0.6.2-SNAPSHOT diff --git a/grpc-google-cloud-network-security-v1beta1/pom.xml b/grpc-google-cloud-network-security-v1beta1/pom.xml index 608c9370..90c7d9d3 100644 --- a/grpc-google-cloud-network-security-v1beta1/pom.xml +++ b/grpc-google-cloud-network-security-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.6.1 + 0.6.2-SNAPSHOT grpc-google-cloud-network-security-v1beta1 GRPC library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.6.1 + 0.6.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index b48caa3b..a171db7c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-network-security-parent pom - 0.6.1 + 0.6.2-SNAPSHOT Google Network Security API Parent https://github.com/googleapis/java-network-security @@ -69,27 +69,27 @@ com.google.cloud google-cloud-network-security - 0.6.1 + 0.6.2-SNAPSHOT com.google.api.grpc proto-google-cloud-network-security-v1 - 0.6.1 + 0.6.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.6.1 + 0.6.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.6.1 + 0.6.2-SNAPSHOT com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.6.1 + 0.6.2-SNAPSHOT diff --git a/proto-google-cloud-network-security-v1/pom.xml b/proto-google-cloud-network-security-v1/pom.xml index 3fb97f5c..b721a27d 100644 --- a/proto-google-cloud-network-security-v1/pom.xml +++ b/proto-google-cloud-network-security-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-network-security-v1 - 0.6.1 + 0.6.2-SNAPSHOT proto-google-cloud-network-security-v1 Proto library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.6.1 + 0.6.2-SNAPSHOT diff --git a/proto-google-cloud-network-security-v1beta1/pom.xml b/proto-google-cloud-network-security-v1beta1/pom.xml index 32645435..3d3483e8 100644 --- a/proto-google-cloud-network-security-v1beta1/pom.xml +++ b/proto-google-cloud-network-security-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.6.1 + 0.6.2-SNAPSHOT proto-google-cloud-network-security-v1beta1 Proto library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.6.1 + 0.6.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index 96f8945e..06b53f52 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-network-security:0.6.1:0.6.1 -grpc-google-cloud-network-security-v1beta1:0.6.1:0.6.1 -proto-google-cloud-network-security-v1beta1:0.6.1:0.6.1 -proto-google-cloud-network-security-v1:0.6.1:0.6.1 -grpc-google-cloud-network-security-v1:0.6.1:0.6.1 +google-cloud-network-security:0.6.1:0.6.2-SNAPSHOT +grpc-google-cloud-network-security-v1beta1:0.6.1:0.6.2-SNAPSHOT +proto-google-cloud-network-security-v1beta1:0.6.1:0.6.2-SNAPSHOT +proto-google-cloud-network-security-v1:0.6.1:0.6.2-SNAPSHOT +grpc-google-cloud-network-security-v1:0.6.1:0.6.2-SNAPSHOT From 07f1214d7404658bc691c1ffd50e0eb9b2f5c17d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 16:26:12 +0000 Subject: [PATCH 2/5] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#194) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- .../v1/NetworkSecurityClient.java | 504 ++++++++++----- .../v1/NetworkSecuritySettings.java | 7 +- .../networksecurity/v1/package-info.java | 7 +- .../v1/stub/NetworkSecurityStubSettings.java | 7 +- .../v1beta1/NetworkSecurityClient.java | 588 +++++++++++++----- .../v1beta1/NetworkSecuritySettings.java | 7 +- .../networksecurity/v1beta1/package-info.java | 7 +- .../stub/HttpJsonNetworkSecurityStub.java | 22 +- .../stub/NetworkSecurityStubSettings.java | 7 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../AsyncCreateAuthorizationPolicy.java | 7 +- .../AsyncCreateAuthorizationPolicyLRO.java | 7 +- .../SyncCreateAuthorizationPolicy.java | 7 +- ...LocationnameAuthorizationpolicyString.java | 7 +- ...PolicyStringAuthorizationpolicyString.java | 7 +- .../AsyncCreateClientTlsPolicy.java | 7 +- .../AsyncCreateClientTlsPolicyLRO.java | 7 +- .../SyncCreateClientTlsPolicy.java | 7 +- ...licyLocationnameClienttlspolicyString.java | 7 +- ...tTlsPolicyStringClienttlspolicyString.java | 7 +- .../AsyncCreateServerTlsPolicy.java | 7 +- .../AsyncCreateServerTlsPolicyLRO.java | 7 +- .../SyncCreateServerTlsPolicy.java | 7 +- ...licyLocationnameServertlspolicyString.java | 7 +- ...rTlsPolicyStringServertlspolicyString.java | 7 +- .../AsyncDeleteAuthorizationPolicy.java | 7 +- .../AsyncDeleteAuthorizationPolicyLRO.java | 7 +- .../SyncDeleteAuthorizationPolicy.java | 7 +- ...rizationPolicyAuthorizationpolicyname.java | 7 +- .../SyncDeleteAuthorizationPolicyString.java | 7 +- .../AsyncDeleteClientTlsPolicy.java | 7 +- .../AsyncDeleteClientTlsPolicyLRO.java | 7 +- .../SyncDeleteClientTlsPolicy.java | 7 +- ...eteClientTlsPolicyClienttlspolicyname.java | 7 +- .../SyncDeleteClientTlsPolicyString.java | 7 +- .../AsyncDeleteServerTlsPolicy.java | 7 +- .../AsyncDeleteServerTlsPolicyLRO.java | 7 +- .../SyncDeleteServerTlsPolicy.java | 7 +- ...eteServerTlsPolicyServertlspolicyname.java | 7 +- .../SyncDeleteServerTlsPolicyString.java | 7 +- .../AsyncGetAuthorizationPolicy.java | 7 +- .../SyncGetAuthorizationPolicy.java | 7 +- ...rizationPolicyAuthorizationpolicyname.java | 7 +- .../SyncGetAuthorizationPolicyString.java | 7 +- .../AsyncGetClientTlsPolicy.java | 7 +- .../SyncGetClientTlsPolicy.java | 7 +- ...GetClientTlsPolicyClienttlspolicyname.java | 7 +- .../SyncGetClientTlsPolicyString.java | 7 +- .../getiampolicy/AsyncGetIamPolicy.java | 7 +- .../getiampolicy/SyncGetIamPolicy.java | 7 +- .../getlocation/AsyncGetLocation.java | 7 +- .../getlocation/SyncGetLocation.java | 7 +- .../AsyncGetServerTlsPolicy.java | 7 +- .../SyncGetServerTlsPolicy.java | 7 +- ...GetServerTlsPolicyServertlspolicyname.java | 7 +- .../SyncGetServerTlsPolicyString.java | 7 +- .../AsyncListAuthorizationPolicies.java | 7 +- .../AsyncListAuthorizationPoliciesPaged.java | 7 +- .../SyncListAuthorizationPolicies.java | 7 +- ...ListAuthorizationPoliciesLocationname.java | 7 +- .../SyncListAuthorizationPoliciesString.java | 7 +- .../AsyncListClientTlsPolicies.java | 7 +- .../AsyncListClientTlsPoliciesPaged.java | 7 +- .../SyncListClientTlsPolicies.java | 7 +- ...SyncListClientTlsPoliciesLocationname.java | 7 +- .../SyncListClientTlsPoliciesString.java | 7 +- .../listlocations/AsyncListLocations.java | 7 +- .../AsyncListLocationsPaged.java | 7 +- .../listlocations/SyncListLocations.java | 7 +- .../AsyncListServerTlsPolicies.java | 7 +- .../AsyncListServerTlsPoliciesPaged.java | 7 +- .../SyncListServerTlsPolicies.java | 7 +- ...SyncListServerTlsPoliciesLocationname.java | 7 +- .../SyncListServerTlsPoliciesString.java | 7 +- .../setiampolicy/AsyncSetIamPolicy.java | 7 +- .../setiampolicy/SyncSetIamPolicy.java | 7 +- .../AsyncTestIamPermissions.java | 7 +- .../SyncTestIamPermissions.java | 7 +- .../AsyncUpdateAuthorizationPolicy.java | 7 +- .../AsyncUpdateAuthorizationPolicyLRO.java | 7 +- .../SyncUpdateAuthorizationPolicy.java | 7 +- ...ionPolicyAuthorizationpolicyFieldmask.java | 7 +- .../AsyncUpdateClientTlsPolicy.java | 7 +- .../AsyncUpdateClientTlsPolicyLRO.java | 7 +- .../SyncUpdateClientTlsPolicy.java | 7 +- ...ientTlsPolicyClienttlspolicyFieldmask.java | 7 +- .../AsyncUpdateServerTlsPolicy.java | 7 +- .../AsyncUpdateServerTlsPolicyLRO.java | 7 +- .../SyncUpdateServerTlsPolicy.java | 7 +- ...rverTlsPolicyServertlspolicyFieldmask.java | 7 +- .../SyncGetAuthorizationPolicy.java | 7 +- .../SyncGetAuthorizationPolicy.java | 7 +- 94 files changed, 1249 insertions(+), 502 deletions(-) diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityClient.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityClient.java index 0a1fe58f..9c34f47f 100644 --- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityClient.java +++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityClient.java @@ -47,8 +47,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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
  *   AuthorizationPolicyName name =
  *       AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]");
@@ -86,8 +89,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
  * NetworkSecuritySettings networkSecuritySettings =
  *     NetworkSecuritySettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -99,8 +105,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * NetworkSecuritySettings networkSecuritySettings =
  *     NetworkSecuritySettings.newBuilder().setEndpoint(myEndpoint).build();
  * NetworkSecurityClient networkSecurityClient =
@@ -177,8 +186,11 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   String name =
    *       AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]")
@@ -390,8 +420,11 @@ public final AuthorizationPolicy getAuthorizationPolicy(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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   GetAuthorizationPolicyRequest request =
    *       GetAuthorizationPolicyRequest.newBuilder()
@@ -417,8 +450,11 @@ public final AuthorizationPolicy getAuthorizationPolicy(GetAuthorizationPolicyRe
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   String name =
    *       AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]")
@@ -790,8 +859,11 @@ public final OperationFuture deleteAuthorizationPolicy
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   ServerTlsPolicyName name =
    *       ServerTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[SERVER_TLS_POLICY]");
@@ -1058,8 +1154,11 @@ public final ServerTlsPolicy getServerTlsPolicy(ServerTlsPolicyName 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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   String name =
    *       ServerTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[SERVER_TLS_POLICY]").toString();
@@ -1084,8 +1183,11 @@ public final ServerTlsPolicy getServerTlsPolicy(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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   GetServerTlsPolicyRequest request =
    *       GetServerTlsPolicyRequest.newBuilder()
@@ -1111,8 +1213,11 @@ public final ServerTlsPolicy getServerTlsPolicy(GetServerTlsPolicyRequest reques
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   ClientTlsPolicyName name =
    *       ClientTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[CLIENT_TLS_POLICY]");
@@ -1739,8 +1904,11 @@ public final ClientTlsPolicy getClientTlsPolicy(ClientTlsPolicyName 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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   String name =
    *       ClientTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[CLIENT_TLS_POLICY]").toString();
@@ -1765,8 +1933,11 @@ public final ClientTlsPolicy getClientTlsPolicy(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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   GetClientTlsPolicyRequest request =
    *       GetClientTlsPolicyRequest.newBuilder()
@@ -1792,8 +1963,11 @@ public final ClientTlsPolicy getClientTlsPolicy(GetClientTlsPolicyRequest reques
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   DeleteClientTlsPolicyRequest request =
    *       DeleteClientTlsPolicyRequest.newBuilder()
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java
index 5dce47f8..14b96070 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java
@@ -58,8 +58,11 @@
  * 

For example, to set the total timeout of getAuthorizationPolicy 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
  * NetworkSecuritySettings.Builder networkSecuritySettingsBuilder =
  *     NetworkSecuritySettings.newBuilder();
  * networkSecuritySettingsBuilder
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/package-info.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/package-info.java
index 3afe2545..599ddb1b 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/package-info.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/package-info.java
@@ -25,8 +25,11 @@
  * 

Sample for NetworkSecurityClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
  *   AuthorizationPolicyName name =
  *       AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]");
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java
index d9c8897c..cfd1fd0f 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java
@@ -98,8 +98,11 @@
  * 

For example, to set the total timeout of getAuthorizationPolicy 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
  * NetworkSecurityStubSettings.Builder networkSecuritySettingsBuilder =
  *     NetworkSecurityStubSettings.newBuilder();
  * networkSecuritySettingsBuilder
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java
index cf60672e..c0d0a9ba 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java
@@ -57,8 +57,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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
  *   AuthorizationPolicyName name =
  *       AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]");
@@ -96,8 +99,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
  * NetworkSecuritySettings networkSecuritySettings =
  *     NetworkSecuritySettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -109,8 +115,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
  * NetworkSecuritySettings networkSecuritySettings =
  *     NetworkSecuritySettings.newBuilder().setEndpoint(myEndpoint).build();
  * NetworkSecurityClient networkSecurityClient =
@@ -121,8 +130,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
  * NetworkSecuritySettings networkSecuritySettings =
  *     NetworkSecuritySettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -217,8 +229,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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (AuthorizationPolicy element :
@@ -248,8 +263,11 @@ public final ListAuthorizationPoliciesPagedResponse listAuthorizationPolicies(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   String name =
    *       AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]")
@@ -430,8 +463,11 @@ public final AuthorizationPolicy getAuthorizationPolicy(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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   GetAuthorizationPolicyRequest request =
    *       GetAuthorizationPolicyRequest.newBuilder()
@@ -457,8 +493,11 @@ public final AuthorizationPolicy getAuthorizationPolicy(GetAuthorizationPolicyRe
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   String name =
    *       AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]")
@@ -830,8 +902,11 @@ public final OperationFuture deleteAuthorizationPolicy
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   ServerTlsPolicyName name =
    *       ServerTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[SERVER_TLS_POLICY]");
@@ -1098,8 +1197,11 @@ public final ServerTlsPolicy getServerTlsPolicy(ServerTlsPolicyName 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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   String name =
    *       ServerTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[SERVER_TLS_POLICY]").toString();
@@ -1124,8 +1226,11 @@ public final ServerTlsPolicy getServerTlsPolicy(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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   GetServerTlsPolicyRequest request =
    *       GetServerTlsPolicyRequest.newBuilder()
@@ -1151,8 +1256,11 @@ public final ServerTlsPolicy getServerTlsPolicy(GetServerTlsPolicyRequest reques
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   ClientTlsPolicyName name =
    *       ClientTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[CLIENT_TLS_POLICY]");
@@ -1779,8 +1947,11 @@ public final ClientTlsPolicy getClientTlsPolicy(ClientTlsPolicyName 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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   String name =
    *       ClientTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[CLIENT_TLS_POLICY]").toString();
@@ -1805,8 +1976,11 @@ public final ClientTlsPolicy getClientTlsPolicy(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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   GetClientTlsPolicyRequest request =
    *       GetClientTlsPolicyRequest.newBuilder()
@@ -1832,8 +2006,11 @@ public final ClientTlsPolicy getClientTlsPolicy(GetClientTlsPolicyRequest reques
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -2306,8 +2528,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest 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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -2337,8 +2562,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest 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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -2374,8 +2602,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = networkSecurityClient.getLocation(request);
@@ -2396,8 +2627,11 @@ public final Location getLocation(GetLocationRequest 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 (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = networkSecurityClient.getLocationCallable().futureCall(request);
@@ -2419,8 +2653,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java
index 9d121096..46b0128d 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java
@@ -69,8 +69,11 @@
  * 

For example, to set the total timeout of getAuthorizationPolicy 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
  * NetworkSecuritySettings.Builder networkSecuritySettingsBuilder =
  *     NetworkSecuritySettings.newBuilder();
  * networkSecuritySettingsBuilder
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
index d31f1e36..4652f2ea 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
@@ -27,8 +27,11 @@
  * 

Sample for NetworkSecurityClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
  *   AuthorizationPolicyName name =
  *       AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]");
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java
index 8a129fbd..d1f5b423 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java
@@ -200,7 +200,10 @@ public class HttpJsonNetworkSecurityStub extends NetworkSecurityStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("authorizationPolicy", request.getAuthorizationPolicy()))
+                                  .toBody(
+                                      "authorizationPolicy",
+                                      request.getAuthorizationPolicy(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -244,7 +247,10 @@ public class HttpJsonNetworkSecurityStub extends NetworkSecurityStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("authorizationPolicy", request.getAuthorizationPolicy()))
+                                  .toBody(
+                                      "authorizationPolicy",
+                                      request.getAuthorizationPolicy(),
+                                      false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -395,7 +401,7 @@ public class HttpJsonNetworkSecurityStub extends NetworkSecurityStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("serverTlsPolicy", request.getServerTlsPolicy()))
+                                  .toBody("serverTlsPolicy", request.getServerTlsPolicy(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -439,7 +445,7 @@ public class HttpJsonNetworkSecurityStub extends NetworkSecurityStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("serverTlsPolicy", request.getServerTlsPolicy()))
+                                  .toBody("serverTlsPolicy", request.getServerTlsPolicy(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -590,7 +596,7 @@ public class HttpJsonNetworkSecurityStub extends NetworkSecurityStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("clientTlsPolicy", request.getClientTlsPolicy()))
+                                  .toBody("clientTlsPolicy", request.getClientTlsPolicy(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -634,7 +640,7 @@ public class HttpJsonNetworkSecurityStub extends NetworkSecurityStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("clientTlsPolicy", request.getClientTlsPolicy()))
+                                  .toBody("clientTlsPolicy", request.getClientTlsPolicy(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -779,7 +785,7 @@ public class HttpJsonNetworkSecurityStub extends NetworkSecurityStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
@@ -854,7 +860,7 @@ public class HttpJsonNetworkSecurityStub extends NetworkSecurityStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("*", request.toBuilder().clearResource().build()))
+                                  .toBody("*", request.toBuilder().clearResource().build(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java
index 1541921e..4eef7598 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java
@@ -111,8 +111,11 @@
  * 

For example, to set the total timeout of getAuthorizationPolicy 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
  * NetworkSecurityStubSettings.Builder networkSecuritySettingsBuilder =
  *     NetworkSecurityStubSettings.newBuilder();
  * networkSecuritySettingsBuilder
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetCredentialsProvider.java
index 75b43ca5..36ae1951 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/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
     NetworkSecuritySettings networkSecuritySettings =
         NetworkSecuritySettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetCredentialsProvider1.java
index 6b436f37..0ac50257 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetCredentialsProvider1.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateSetCredentialsProvider1() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     NetworkSecuritySettings networkSecuritySettings =
         NetworkSecuritySettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetEndpoint.java
index da11cdd6..57bf903f 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/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
     NetworkSecuritySettings networkSecuritySettings =
         NetworkSecuritySettings.newBuilder().setEndpoint(myEndpoint).build();
     NetworkSecurityClient networkSecurityClient =
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/AsyncCreateAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/AsyncCreateAuthorizationPolicy.java
index 21139726..bc34caf6 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/AsyncCreateAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/AsyncCreateAuthorizationPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateAuthorizationPolicyRequest request =
           CreateAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/AsyncCreateAuthorizationPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/AsyncCreateAuthorizationPolicyLRO.java
index 7c00d5e8..18a5002d 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/AsyncCreateAuthorizationPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/AsyncCreateAuthorizationPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateAuthorizationPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateAuthorizationPolicyRequest request =
           CreateAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicy.java
index 828f3195..c1b222ad 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateAuthorizationPolicyRequest request =
           CreateAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicyLocationnameAuthorizationpolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicyLocationnameAuthorizationpolicyString.java
index d70559ae..73c08325 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicyLocationnameAuthorizationpolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicyLocationnameAuthorizationpolicyString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateAuthorizationPolicyLocationnameAuthorizationpolicyString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       AuthorizationPolicy authorizationPolicy = AuthorizationPolicy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicyStringAuthorizationpolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicyStringAuthorizationpolicyString.java
index 41d7ce7b..70b7583e 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicyStringAuthorizationpolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createauthorizationpolicy/SyncCreateAuthorizationPolicyStringAuthorizationpolicyString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
 
   public static void syncCreateAuthorizationPolicyStringAuthorizationpolicyString()
       throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       AuthorizationPolicy authorizationPolicy = AuthorizationPolicy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/AsyncCreateClientTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/AsyncCreateClientTlsPolicy.java
index 00cc0937..a3342b4b 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/AsyncCreateClientTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/AsyncCreateClientTlsPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateClientTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateClientTlsPolicyRequest request =
           CreateClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/AsyncCreateClientTlsPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/AsyncCreateClientTlsPolicyLRO.java
index b424c0ab..47f0475e 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/AsyncCreateClientTlsPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/AsyncCreateClientTlsPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateClientTlsPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateClientTlsPolicyRequest request =
           CreateClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicy.java
index 8bde4306..0efe261b 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateClientTlsPolicyRequest request =
           CreateClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicyLocationnameClienttlspolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicyLocationnameClienttlspolicyString.java
index 64e8a29c..7ec487b8 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicyLocationnameClienttlspolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicyLocationnameClienttlspolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientTlsPolicyLocationnameClienttlspolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       ClientTlsPolicy clientTlsPolicy = ClientTlsPolicy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicyStringClienttlspolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicyStringClienttlspolicyString.java
index 2cd2a43f..5bd0e2e5 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicyStringClienttlspolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createclienttlspolicy/SyncCreateClientTlsPolicyStringClienttlspolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateClientTlsPolicyStringClienttlspolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       ClientTlsPolicy clientTlsPolicy = ClientTlsPolicy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/AsyncCreateServerTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/AsyncCreateServerTlsPolicy.java
index 0dafd358..51b773bb 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/AsyncCreateServerTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/AsyncCreateServerTlsPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateServerTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateServerTlsPolicyRequest request =
           CreateServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/AsyncCreateServerTlsPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/AsyncCreateServerTlsPolicyLRO.java
index 81f6283f..f65ee35a 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/AsyncCreateServerTlsPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/AsyncCreateServerTlsPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateServerTlsPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateServerTlsPolicyRequest request =
           CreateServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicy.java
index abfa3359..051c9fdb 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateServerTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       CreateServerTlsPolicyRequest request =
           CreateServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicyLocationnameServertlspolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicyLocationnameServertlspolicyString.java
index 99011883..dcb26268 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicyLocationnameServertlspolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicyLocationnameServertlspolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateServerTlsPolicyLocationnameServertlspolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       ServerTlsPolicy serverTlsPolicy = ServerTlsPolicy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicyStringServertlspolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicyStringServertlspolicyString.java
index 778fc498..491f9000 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicyStringServertlspolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/createservertlspolicy/SyncCreateServerTlsPolicyStringServertlspolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateServerTlsPolicyStringServertlspolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       ServerTlsPolicy serverTlsPolicy = ServerTlsPolicy.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/AsyncDeleteAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/AsyncDeleteAuthorizationPolicy.java
index b47623c4..e7bb5bc1 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/AsyncDeleteAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/AsyncDeleteAuthorizationPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteAuthorizationPolicyRequest request =
           DeleteAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/AsyncDeleteAuthorizationPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/AsyncDeleteAuthorizationPolicyLRO.java
index bf8636ff..4c27b922 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/AsyncDeleteAuthorizationPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/AsyncDeleteAuthorizationPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteAuthorizationPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteAuthorizationPolicyRequest request =
           DeleteAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicy.java
index de48eb00..e836b376 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteAuthorizationPolicyRequest request =
           DeleteAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicyAuthorizationpolicyname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicyAuthorizationpolicyname.java
index ce548508..4c001b3c 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicyAuthorizationpolicyname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicyAuthorizationpolicyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAuthorizationPolicyAuthorizationpolicyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       AuthorizationPolicyName name =
           AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]");
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicyString.java
index 78eac36a..af52c121 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteauthorizationpolicy/SyncDeleteAuthorizationPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteAuthorizationPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String name =
           AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]")
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/AsyncDeleteClientTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/AsyncDeleteClientTlsPolicy.java
index 2e56e6ad..b978ef37 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/AsyncDeleteClientTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/AsyncDeleteClientTlsPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteClientTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteClientTlsPolicyRequest request =
           DeleteClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/AsyncDeleteClientTlsPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/AsyncDeleteClientTlsPolicyLRO.java
index 60dbb3b6..44a55ffc 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/AsyncDeleteClientTlsPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/AsyncDeleteClientTlsPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteClientTlsPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteClientTlsPolicyRequest request =
           DeleteClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicy.java
index cf07c342..569bafd5 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteClientTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteClientTlsPolicyRequest request =
           DeleteClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicyClienttlspolicyname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicyClienttlspolicyname.java
index 464507ab..fed3319d 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicyClienttlspolicyname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicyClienttlspolicyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteClientTlsPolicyClienttlspolicyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ClientTlsPolicyName name =
           ClientTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[CLIENT_TLS_POLICY]");
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicyString.java
index a0d928f5..8ed550f1 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteclienttlspolicy/SyncDeleteClientTlsPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteClientTlsPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String name =
           ClientTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[CLIENT_TLS_POLICY]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/AsyncDeleteServerTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/AsyncDeleteServerTlsPolicy.java
index 3c60d793..3ebb59ba 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/AsyncDeleteServerTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/AsyncDeleteServerTlsPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteServerTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteServerTlsPolicyRequest request =
           DeleteServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/AsyncDeleteServerTlsPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/AsyncDeleteServerTlsPolicyLRO.java
index f43f1c79..e6178486 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/AsyncDeleteServerTlsPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/AsyncDeleteServerTlsPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteServerTlsPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteServerTlsPolicyRequest request =
           DeleteServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicy.java
index 7a2cd5cb..c53c0e09 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteServerTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       DeleteServerTlsPolicyRequest request =
           DeleteServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicyServertlspolicyname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicyServertlspolicyname.java
index 9bfe8efd..5ddb55e7 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicyServertlspolicyname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicyServertlspolicyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteServerTlsPolicyServertlspolicyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ServerTlsPolicyName name =
           ServerTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[SERVER_TLS_POLICY]");
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicyString.java
index 59605ae3..84ca0bb9 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/deleteservertlspolicy/SyncDeleteServerTlsPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteServerTlsPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String name =
           ServerTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[SERVER_TLS_POLICY]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/AsyncGetAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/AsyncGetAuthorizationPolicy.java
index 05d54a62..9e480483 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/AsyncGetAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/AsyncGetAuthorizationPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetAuthorizationPolicyRequest request =
           GetAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
index 9785908b..44d7a7a8 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetAuthorizationPolicyRequest request =
           GetAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicyAuthorizationpolicyname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicyAuthorizationpolicyname.java
index a147e190..cb405fb5 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicyAuthorizationpolicyname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicyAuthorizationpolicyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAuthorizationPolicyAuthorizationpolicyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       AuthorizationPolicyName name =
           AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]");
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicyString.java
index b8099aee..de15fc51 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getauthorizationpolicy/SyncGetAuthorizationPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAuthorizationPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String name =
           AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]")
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/AsyncGetClientTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/AsyncGetClientTlsPolicy.java
index 0a46f2ec..7330fbf8 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/AsyncGetClientTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/AsyncGetClientTlsPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetClientTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetClientTlsPolicyRequest request =
           GetClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicy.java
index 97f1f137..798ef99a 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetClientTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetClientTlsPolicyRequest request =
           GetClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicyClienttlspolicyname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicyClienttlspolicyname.java
index e79b00f1..90b85266 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicyClienttlspolicyname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicyClienttlspolicyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetClientTlsPolicyClienttlspolicyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ClientTlsPolicyName name =
           ClientTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[CLIENT_TLS_POLICY]");
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicyString.java
index 07db8ba6..ec4bb193 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getclienttlspolicy/SyncGetClientTlsPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetClientTlsPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String name =
           ClientTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[CLIENT_TLS_POLICY]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getiampolicy/AsyncGetIamPolicy.java
index 9dc29e2f..f6831174 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getiampolicy/AsyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getiampolicy/AsyncGetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getiampolicy/SyncGetIamPolicy.java
index deb52a06..3d4050f4 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getiampolicy/SyncGetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getiampolicy/SyncGetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetIamPolicyRequest request =
           GetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getlocation/AsyncGetLocation.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getlocation/AsyncGetLocation.java
index b4ee9eae..9a1cd088 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getlocation/AsyncGetLocation.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getlocation/AsyncGetLocation.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       ApiFuture future = networkSecurityClient.getLocationCallable().futureCall(request);
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getlocation/SyncGetLocation.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getlocation/SyncGetLocation.java
index b8e22b31..78bb961c 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getlocation/SyncGetLocation.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getlocation/SyncGetLocation.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetLocation() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
       Location response = networkSecurityClient.getLocation(request);
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/AsyncGetServerTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/AsyncGetServerTlsPolicy.java
index dbf52e3d..1f5cacef 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/AsyncGetServerTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/AsyncGetServerTlsPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetServerTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetServerTlsPolicyRequest request =
           GetServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicy.java
index dfef44c6..0ccb68db 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetServerTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       GetServerTlsPolicyRequest request =
           GetServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicyServertlspolicyname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicyServertlspolicyname.java
index e6e725ab..d83e6766 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicyServertlspolicyname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicyServertlspolicyname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetServerTlsPolicyServertlspolicyname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ServerTlsPolicyName name =
           ServerTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[SERVER_TLS_POLICY]");
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicyString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicyString.java
index 1c202e80..f10578d9 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicyString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/getservertlspolicy/SyncGetServerTlsPolicyString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetServerTlsPolicyString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String name =
           ServerTlsPolicyName.of("[PROJECT]", "[LOCATION]", "[SERVER_TLS_POLICY]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/AsyncListAuthorizationPolicies.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/AsyncListAuthorizationPolicies.java
index 34af8e34..8ece1c42 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/AsyncListAuthorizationPolicies.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/AsyncListAuthorizationPolicies.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAuthorizationPolicies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListAuthorizationPoliciesRequest request =
           ListAuthorizationPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/AsyncListAuthorizationPoliciesPaged.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/AsyncListAuthorizationPoliciesPaged.java
index e78eef58..e5fc00f6 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/AsyncListAuthorizationPoliciesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/AsyncListAuthorizationPoliciesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListAuthorizationPoliciesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListAuthorizationPoliciesRequest request =
           ListAuthorizationPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPolicies.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPolicies.java
index 8db22dd7..54171d7e 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPolicies.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPolicies.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAuthorizationPolicies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListAuthorizationPoliciesRequest request =
           ListAuthorizationPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPoliciesLocationname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPoliciesLocationname.java
index 2495e8f3..434f0548 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPoliciesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPoliciesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAuthorizationPoliciesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (AuthorizationPolicy element :
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPoliciesString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPoliciesString.java
index 74a5b357..f4ff9c43 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPoliciesString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listauthorizationpolicies/SyncListAuthorizationPoliciesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListAuthorizationPoliciesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (AuthorizationPolicy element :
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/AsyncListClientTlsPolicies.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/AsyncListClientTlsPolicies.java
index 013db8b6..be6f9dd4 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/AsyncListClientTlsPolicies.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/AsyncListClientTlsPolicies.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListClientTlsPolicies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListClientTlsPoliciesRequest request =
           ListClientTlsPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/AsyncListClientTlsPoliciesPaged.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/AsyncListClientTlsPoliciesPaged.java
index 48065743..55298796 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/AsyncListClientTlsPoliciesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/AsyncListClientTlsPoliciesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListClientTlsPoliciesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListClientTlsPoliciesRequest request =
           ListClientTlsPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPolicies.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPolicies.java
index 8ddbb2ab..6359b451 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPolicies.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPolicies.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListClientTlsPolicies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListClientTlsPoliciesRequest request =
           ListClientTlsPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPoliciesLocationname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPoliciesLocationname.java
index 76847084..60eb64be 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPoliciesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPoliciesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListClientTlsPoliciesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (ClientTlsPolicy element :
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPoliciesString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPoliciesString.java
index 91070966..e20b08fd 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPoliciesString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listclienttlspolicies/SyncListClientTlsPoliciesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListClientTlsPoliciesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (ClientTlsPolicy element :
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/AsyncListLocations.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/AsyncListLocations.java
index dc382319..6a055a52 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/AsyncListLocations.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/AsyncListLocations.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/AsyncListLocationsPaged.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/AsyncListLocationsPaged.java
index 5157ef85..e58aee14 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/AsyncListLocationsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/AsyncListLocationsPaged.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListLocationsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/SyncListLocations.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/SyncListLocations.java
index 9cd01181..92aa799b 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/SyncListLocations.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listlocations/SyncListLocations.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListLocations() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListLocationsRequest request =
           ListLocationsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/AsyncListServerTlsPolicies.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/AsyncListServerTlsPolicies.java
index 2952222a..ac03bb83 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/AsyncListServerTlsPolicies.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/AsyncListServerTlsPolicies.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListServerTlsPolicies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListServerTlsPoliciesRequest request =
           ListServerTlsPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/AsyncListServerTlsPoliciesPaged.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/AsyncListServerTlsPoliciesPaged.java
index 0d40acda..cb02c02f 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/AsyncListServerTlsPoliciesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/AsyncListServerTlsPoliciesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListServerTlsPoliciesPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListServerTlsPoliciesRequest request =
           ListServerTlsPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPolicies.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPolicies.java
index 3909b300..37fbebb1 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPolicies.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPolicies.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListServerTlsPolicies() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ListServerTlsPoliciesRequest request =
           ListServerTlsPoliciesRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPoliciesLocationname.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPoliciesLocationname.java
index efe82605..b5c17893 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPoliciesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPoliciesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListServerTlsPoliciesLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (ServerTlsPolicy element :
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPoliciesString.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPoliciesString.java
index 220f14cf..52db087e 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPoliciesString.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/listservertlspolicies/SyncListServerTlsPoliciesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListServerTlsPoliciesString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (ServerTlsPolicy element :
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/setiampolicy/AsyncSetIamPolicy.java
index 94670d43..345c8525 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/setiampolicy/AsyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/setiampolicy/AsyncSetIamPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/setiampolicy/SyncSetIamPolicy.java
index d23430c8..8f63685e 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/setiampolicy/SyncSetIamPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/setiampolicy/SyncSetIamPolicy.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncSetIamPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       SetIamPolicyRequest request =
           SetIamPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/testiampermissions/AsyncTestIamPermissions.java
index dbd9629b..4d4d4faf 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/testiampermissions/AsyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/testiampermissions/AsyncTestIamPermissions.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/testiampermissions/SyncTestIamPermissions.java
index a3d3d3cf..525ee9b4 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/testiampermissions/SyncTestIamPermissions.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/testiampermissions/SyncTestIamPermissions.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncTestIamPermissions() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       TestIamPermissionsRequest request =
           TestIamPermissionsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/AsyncUpdateAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/AsyncUpdateAuthorizationPolicy.java
index 7d2875d9..904d4b6e 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/AsyncUpdateAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/AsyncUpdateAuthorizationPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateAuthorizationPolicyRequest request =
           UpdateAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/AsyncUpdateAuthorizationPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/AsyncUpdateAuthorizationPolicyLRO.java
index 6a6b3f7b..8330273a 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/AsyncUpdateAuthorizationPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/AsyncUpdateAuthorizationPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateAuthorizationPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateAuthorizationPolicyRequest request =
           UpdateAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/SyncUpdateAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/SyncUpdateAuthorizationPolicy.java
index 9b7f0137..4402e250 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/SyncUpdateAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/SyncUpdateAuthorizationPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateAuthorizationPolicyRequest request =
           UpdateAuthorizationPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/SyncUpdateAuthorizationPolicyAuthorizationpolicyFieldmask.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/SyncUpdateAuthorizationPolicyAuthorizationpolicyFieldmask.java
index 6e5bc1b5..b4554383 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/SyncUpdateAuthorizationPolicyAuthorizationpolicyFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateauthorizationpolicy/SyncUpdateAuthorizationPolicyAuthorizationpolicyFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateAuthorizationPolicyAuthorizationpolicyFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       AuthorizationPolicy authorizationPolicy = AuthorizationPolicy.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/AsyncUpdateClientTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/AsyncUpdateClientTlsPolicy.java
index ee36efb5..76e8accd 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/AsyncUpdateClientTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/AsyncUpdateClientTlsPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateClientTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateClientTlsPolicyRequest request =
           UpdateClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/AsyncUpdateClientTlsPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/AsyncUpdateClientTlsPolicyLRO.java
index e12cf5c6..f8fb4efc 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/AsyncUpdateClientTlsPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/AsyncUpdateClientTlsPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateClientTlsPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateClientTlsPolicyRequest request =
           UpdateClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/SyncUpdateClientTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/SyncUpdateClientTlsPolicy.java
index e690b7cf..64c2683f 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/SyncUpdateClientTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/SyncUpdateClientTlsPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateClientTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateClientTlsPolicyRequest request =
           UpdateClientTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/SyncUpdateClientTlsPolicyClienttlspolicyFieldmask.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/SyncUpdateClientTlsPolicyClienttlspolicyFieldmask.java
index f8d0f0b9..bc1dd7c7 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/SyncUpdateClientTlsPolicyClienttlspolicyFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateclienttlspolicy/SyncUpdateClientTlsPolicyClienttlspolicyFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateClientTlsPolicyClienttlspolicyFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ClientTlsPolicy clientTlsPolicy = ClientTlsPolicy.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/AsyncUpdateServerTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/AsyncUpdateServerTlsPolicy.java
index 462fc65a..255a9a9c 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/AsyncUpdateServerTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/AsyncUpdateServerTlsPolicy.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateServerTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateServerTlsPolicyRequest request =
           UpdateServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/AsyncUpdateServerTlsPolicyLRO.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/AsyncUpdateServerTlsPolicyLRO.java
index f84eed6a..9a6b5847 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/AsyncUpdateServerTlsPolicyLRO.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/AsyncUpdateServerTlsPolicyLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncUpdateServerTlsPolicyLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateServerTlsPolicyRequest request =
           UpdateServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/SyncUpdateServerTlsPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/SyncUpdateServerTlsPolicy.java
index b1c1eea6..67c65abb 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/SyncUpdateServerTlsPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/SyncUpdateServerTlsPolicy.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateServerTlsPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       UpdateServerTlsPolicyRequest request =
           UpdateServerTlsPolicyRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/SyncUpdateServerTlsPolicyServertlspolicyFieldmask.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/SyncUpdateServerTlsPolicyServertlspolicyFieldmask.java
index 1b9c99fc..a2c8a7ea 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/SyncUpdateServerTlsPolicyServertlspolicyFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecurityclient/updateservertlspolicy/SyncUpdateServerTlsPolicyServertlspolicyFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncUpdateServerTlsPolicyServertlspolicyFieldmask() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
       ServerTlsPolicy serverTlsPolicy = ServerTlsPolicy.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecuritysettings/getauthorizationpolicy/SyncGetAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecuritysettings/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
index 70d790a8..9a75f838 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecuritysettings/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/networksecuritysettings/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     NetworkSecuritySettings.Builder networkSecuritySettingsBuilder =
         NetworkSecuritySettings.newBuilder();
     networkSecuritySettingsBuilder
diff --git a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/stub/networksecuritystubsettings/getauthorizationpolicy/SyncGetAuthorizationPolicy.java b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/stub/networksecuritystubsettings/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
index 587bda19..07ebe772 100644
--- a/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/stub/networksecuritystubsettings/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
+++ b/samples/snippets/generated/com/google/cloud/networksecurity/v1beta1/stub/networksecuritystubsettings/getauthorizationpolicy/SyncGetAuthorizationPolicy.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetAuthorizationPolicy() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     NetworkSecurityStubSettings.Builder networkSecuritySettingsBuilder =
         NetworkSecurityStubSettings.newBuilder();
     networkSecuritySettingsBuilder

From 5c8cf90d6facb422306a3e92af74e89f5dee7e1d Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Sat, 10 Sep 2022 02:10:14 +0000
Subject: [PATCH 3/5] chore: Generated snippets should not be owned by samples
 reviewers (#1575) (#199)

Source-Link: https://github.com/googleapis/synthtool/commit/2e9ac19d5b8181af77cdc5337cf922517813cc49
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
---
 .github/.OwlBot.lock.yaml | 3 +--
 .github/CODEOWNERS        | 3 +++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index de9173d9..62592923 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,4 @@
 # limitations under the License.
 docker:
   image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
-  digest: sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00
-# created: 2022-07-13T13:53:17.676447481Z
+  digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 30fdb7b9..db2d8ad1 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -8,3 +8,6 @@
 
 # The java-samples-reviewers team is the default owner for samples changes
 samples/**/*.java       @googleapis/java-samples-reviewers
+
+# Generated snippets should not be owned by samples reviewers
+samples/snippets/generated/       @googleapis/yoshi-java

From a10f027883fefb7371dec4fc7d0bcf8e24a31f16 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Thu, 15 Sep 2022 14:16:42 +0200
Subject: [PATCH 4/5] deps: update dependency
 com.google.cloud:google-cloud-shared-dependencies to v3.0.3 (#200)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.2` -> `3.0.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/compatibility-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/confidence-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

googleapis/java-shared-dependencies ### [`v3.0.3`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​303-httpsgithubcomgoogleapisjava-shared-dependenciescomparev302v303-2022-09-14) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) ##### Dependencies - Google-cloud-core 2.8.12 ([#​799](https://togithub.com/googleapis/java-shared-dependencies/issues/799)) ([1b3db8d](https://togithub.com/googleapis/java-shared-dependencies/commit/1b3db8d1e17c49ebae79fc96164fa9058e1df6e3)) - Moving gson to first-party-dependencies ([#​800](https://togithub.com/googleapis/java-shared-dependencies/issues/800)) ([a41fcc1](https://togithub.com/googleapis/java-shared-dependencies/commit/a41fcc11d32e02e5af2837561792e3919f6d4b3f)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​797](https://togithub.com/googleapis/java-shared-dependencies/issues/797)) ([bc5fdc9](https://togithub.com/googleapis/java-shared-dependencies/commit/bc5fdc9b3af7973c28f063a9ac156fe2af562814)) - Update gax.version to v2.19.1 ([#​798](https://togithub.com/googleapis/java-shared-dependencies/issues/798)) ([84e5487](https://togithub.com/googleapis/java-shared-dependencies/commit/84e5487b2e3dce4bb60badecebde788c3cb702b8)) - Update google.core.version to v2.8.11 ([#​793](https://togithub.com/googleapis/java-shared-dependencies/issues/793)) ([63c1297](https://togithub.com/googleapis/java-shared-dependencies/commit/63c129722aa0b821031ff5b4c11004adf7b12044))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-network-security). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a171db7c..1b5ef4bd 100644 --- a/pom.xml +++ b/pom.xml @@ -95,7 +95,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.2 + 3.0.3 pom import From 252d93f85bf7dfa1abef67288642f192211a2638 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 15 Sep 2022 12:34:39 +0000 Subject: [PATCH 5/5] chore(main): release 0.6.2 (#201) :robot: I have created a release *beep* *boop* --- ## [0.6.2](https://github.com/googleapis/java-network-security/compare/v0.6.1...v0.6.2) (2022-09-15) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#200](https://github.com/googleapis/java-network-security/issues/200)) ([a10f027](https://github.com/googleapis/java-network-security/commit/a10f027883fefb7371dec4fc7d0bcf8e24a31f16)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 7 +++++++ google-cloud-network-security-bom/pom.xml | 12 ++++++------ google-cloud-network-security/pom.xml | 4 ++-- grpc-google-cloud-network-security-v1/pom.xml | 4 ++-- grpc-google-cloud-network-security-v1beta1/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-network-security-v1/pom.xml | 4 ++-- proto-google-cloud-network-security-v1beta1/pom.xml | 4 ++-- versions.txt | 10 +++++----- 9 files changed, 34 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 728393c0..967c61d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.6.2](https://github.com/googleapis/java-network-security/compare/v0.6.1...v0.6.2) (2022-09-15) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#200](https://github.com/googleapis/java-network-security/issues/200)) ([a10f027](https://github.com/googleapis/java-network-security/commit/a10f027883fefb7371dec4fc7d0bcf8e24a31f16)) + ## [0.6.1](https://github.com/googleapis/java-network-security/compare/v0.6.0...v0.6.1) (2022-09-09) diff --git a/google-cloud-network-security-bom/pom.xml b/google-cloud-network-security-bom/pom.xml index 052298a6..288a0cb2 100644 --- a/google-cloud-network-security-bom/pom.xml +++ b/google-cloud-network-security-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-network-security-bom - 0.6.2-SNAPSHOT + 0.6.2 pom com.google.cloud @@ -56,27 +56,27 @@ com.google.cloud google-cloud-network-security - 0.6.2-SNAPSHOT + 0.6.2 com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.6.2-SNAPSHOT + 0.6.2 com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.6.2-SNAPSHOT + 0.6.2 com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.6.2-SNAPSHOT + 0.6.2 com.google.api.grpc proto-google-cloud-network-security-v1 - 0.6.2-SNAPSHOT + 0.6.2 diff --git a/google-cloud-network-security/pom.xml b/google-cloud-network-security/pom.xml index 3b449885..0a6c7c9b 100644 --- a/google-cloud-network-security/pom.xml +++ b/google-cloud-network-security/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-network-security - 0.6.2-SNAPSHOT + 0.6.2 jar Google Network Security API https://github.com/googleapis/java-network-security @@ -11,7 +11,7 @@ com.google.cloud google-cloud-network-security-parent - 0.6.2-SNAPSHOT + 0.6.2 google-cloud-network-security diff --git a/grpc-google-cloud-network-security-v1/pom.xml b/grpc-google-cloud-network-security-v1/pom.xml index 99301298..6b9f2bf9 100644 --- a/grpc-google-cloud-network-security-v1/pom.xml +++ b/grpc-google-cloud-network-security-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.6.2-SNAPSHOT + 0.6.2 grpc-google-cloud-network-security-v1 GRPC library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.6.2-SNAPSHOT + 0.6.2 diff --git a/grpc-google-cloud-network-security-v1beta1/pom.xml b/grpc-google-cloud-network-security-v1beta1/pom.xml index 90c7d9d3..d083cbe5 100644 --- a/grpc-google-cloud-network-security-v1beta1/pom.xml +++ b/grpc-google-cloud-network-security-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.6.2-SNAPSHOT + 0.6.2 grpc-google-cloud-network-security-v1beta1 GRPC library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.6.2-SNAPSHOT + 0.6.2 diff --git a/pom.xml b/pom.xml index 1b5ef4bd..530fc5e4 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-network-security-parent pom - 0.6.2-SNAPSHOT + 0.6.2 Google Network Security API Parent https://github.com/googleapis/java-network-security @@ -69,27 +69,27 @@ com.google.cloud google-cloud-network-security - 0.6.2-SNAPSHOT + 0.6.2 com.google.api.grpc proto-google-cloud-network-security-v1 - 0.6.2-SNAPSHOT + 0.6.2 com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.6.2-SNAPSHOT + 0.6.2 com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.6.2-SNAPSHOT + 0.6.2 com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.6.2-SNAPSHOT + 0.6.2 diff --git a/proto-google-cloud-network-security-v1/pom.xml b/proto-google-cloud-network-security-v1/pom.xml index b721a27d..1d08cd39 100644 --- a/proto-google-cloud-network-security-v1/pom.xml +++ b/proto-google-cloud-network-security-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-network-security-v1 - 0.6.2-SNAPSHOT + 0.6.2 proto-google-cloud-network-security-v1 Proto library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.6.2-SNAPSHOT + 0.6.2 diff --git a/proto-google-cloud-network-security-v1beta1/pom.xml b/proto-google-cloud-network-security-v1beta1/pom.xml index 3d3483e8..8c037e1d 100644 --- a/proto-google-cloud-network-security-v1beta1/pom.xml +++ b/proto-google-cloud-network-security-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.6.2-SNAPSHOT + 0.6.2 proto-google-cloud-network-security-v1beta1 Proto library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.6.2-SNAPSHOT + 0.6.2 diff --git a/versions.txt b/versions.txt index 06b53f52..715d25e4 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-network-security:0.6.1:0.6.2-SNAPSHOT -grpc-google-cloud-network-security-v1beta1:0.6.1:0.6.2-SNAPSHOT -proto-google-cloud-network-security-v1beta1:0.6.1:0.6.2-SNAPSHOT -proto-google-cloud-network-security-v1:0.6.1:0.6.2-SNAPSHOT -grpc-google-cloud-network-security-v1:0.6.1:0.6.2-SNAPSHOT +google-cloud-network-security:0.6.2:0.6.2 +grpc-google-cloud-network-security-v1beta1:0.6.2:0.6.2 +proto-google-cloud-network-security-v1beta1:0.6.2:0.6.2 +proto-google-cloud-network-security-v1:0.6.2:0.6.2 +grpc-google-cloud-network-security-v1:0.6.2:0.6.2