diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 6bf3e92..6259292 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:b2e8f445ca0e605d4bbefbfdbdf7335692d75cf1647af62243828dcc0ea4e690 -# created: 2022-07-14T21:08:10.768472192Z + digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93 diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 30fdb7b..db2d8ad 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 diff --git a/CHANGELOG.md b/CHANGELOG.md index f9d042c..09341e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.2.4](https://github.com/googleapis/java-ids/compare/v1.2.3...v1.2.4) (2022-09-15) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#140](https://github.com/googleapis/java-ids/issues/140)) ([d9d8f5b](https://github.com/googleapis/java-ids/commit/d9d8f5b8cf9452c1ffcb9bb18547a0cb5e695986)) + ## [1.2.3](https://github.com/googleapis/java-ids/compare/v1.2.2...v1.2.3) (2022-09-09) diff --git a/README.md b/README.md index 172036b..e5bf1f4 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-ids - 1.2.2 + 1.2.3 ``` @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-ids:1.2.2' +implementation 'com.google.cloud:google-cloud-ids:1.2.3' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.2.2" +libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.2.3" ``` ## Authentication diff --git a/google-cloud-ids-bom/pom.xml b/google-cloud-ids-bom/pom.xml index 69e48a0..f87c8d3 100644 --- a/google-cloud-ids-bom/pom.xml +++ b/google-cloud-ids-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-ids-bom - 1.2.3 + 1.2.4 pom com.google.cloud @@ -65,17 +65,17 @@ com.google.cloud google-cloud-ids - 1.2.3 + 1.2.4 com.google.api.grpc grpc-google-cloud-ids-v1 - 1.2.3 + 1.2.4 com.google.api.grpc proto-google-cloud-ids-v1 - 1.2.3 + 1.2.4 diff --git a/google-cloud-ids/pom.xml b/google-cloud-ids/pom.xml index f5ec03b..130f0eb 100644 --- a/google-cloud-ids/pom.xml +++ b/google-cloud-ids/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-ids - 1.2.3 + 1.2.4 jar Google Intrusion Detection System https://github.com/googleapis/java-ids @@ -11,7 +11,7 @@ com.google.cloud google-cloud-ids-parent - 1.2.3 + 1.2.4 google-cloud-ids diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java index 2576c72..d7e765c 100644 --- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java +++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java @@ -46,8 +46,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IDSClient iDSClient = IDSClient.create()) {
  *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   Endpoint response = iDSClient.getEndpoint(name);
@@ -83,8 +86,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IDSSettings iDSSettings =
  *     IDSSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -95,8 +101,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IDSSettings iDSSettings = IDSSettings.newBuilder().setEndpoint(myEndpoint).build();
  * IDSClient iDSClient = IDSClient.create(iDSSettings);
  * }
@@ -105,8 +114,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
  * IDSSettings iDSSettings =
  *     IDSSettings.newBuilder()
  *         .setTransportChannelProvider(
@@ -197,8 +209,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 (IDSClient iDSClient = IDSClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Endpoint element : iDSClient.listEndpoints(parent).iterateAll()) {
@@ -225,8 +240,11 @@ public final ListEndpointsPagedResponse listEndpoints(LocationName parent) {
    * 

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IDSClient iDSClient = IDSClient.create()) {
    *   ListEndpointsRequest request =
    *       ListEndpointsRequest.newBuilder()
@@ -281,8 +302,11 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest 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 (IDSClient iDSClient = IDSClient.create()) {
    *   ListEndpointsRequest request =
    *       ListEndpointsRequest.newBuilder()
@@ -312,8 +336,11 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest 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 (IDSClient iDSClient = IDSClient.create()) {
    *   ListEndpointsRequest request =
    *       ListEndpointsRequest.newBuilder()
@@ -349,8 +376,11 @@ public final UnaryCallable listEndp
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IDSClient iDSClient = IDSClient.create()) {
    *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   Endpoint response = iDSClient.getEndpoint(name);
@@ -374,8 +404,11 @@ public final Endpoint getEndpoint(EndpointName 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 (IDSClient iDSClient = IDSClient.create()) {
    *   String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   Endpoint response = iDSClient.getEndpoint(name);
@@ -398,8 +431,11 @@ public final Endpoint getEndpoint(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 (IDSClient iDSClient = IDSClient.create()) {
    *   GetEndpointRequest request =
    *       GetEndpointRequest.newBuilder()
@@ -423,8 +459,11 @@ public final Endpoint getEndpoint(GetEndpointRequest 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 (IDSClient iDSClient = IDSClient.create()) {
    *   GetEndpointRequest request =
    *       GetEndpointRequest.newBuilder()
@@ -447,8 +486,11 @@ public final UnaryCallable getEndpointCallable() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IDSClient iDSClient = IDSClient.create()) {
    *   DeleteEndpointRequest request =
    *       DeleteEndpointRequest.newBuilder()
diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSSettings.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSSettings.java
index 5073fcc..e3e5099 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSSettings.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSSettings.java
@@ -56,16 +56,16 @@
  * 

For example, to set the total timeout of getEndpoint 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
  * IDSSettings.Builder iDSSettingsBuilder = IDSSettings.newBuilder();
  * iDSSettingsBuilder
  *     .getEndpointSettings()
  *     .setRetrySettings(
- *         iDSSettingsBuilder
- *             .getEndpointSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         iDSSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IDSSettings iDSSettings = iDSSettingsBuilder.build();
diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/package-info.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/package-info.java
index b395f2a..6595dab 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/package-info.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/package-info.java
@@ -26,8 +26,11 @@
  * 

Sample for IDSClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IDSClient iDSClient = IDSClient.create()) {
  *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   Endpoint response = iDSClient.getEndpoint(name);
diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/HttpJsonIDSStub.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/HttpJsonIDSStub.java
index 161a55f..af3de53 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/HttpJsonIDSStub.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/HttpJsonIDSStub.java
@@ -166,7 +166,7 @@ public class HttpJsonIDSStub extends IDSStub {
                       .setRequestBodyExtractor(
                           request ->
                               ProtoRestSerializer.create()
-                                  .toBody("endpoint", request.getEndpoint()))
+                                  .toBody("endpoint", request.getEndpoint(), false))
                       .build())
               .setResponseParser(
                   ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStubSettings.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStubSettings.java
index 4ef3059..6aa262c 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStubSettings.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStubSettings.java
@@ -83,16 +83,16 @@
  * 

For example, to set the total timeout of getEndpoint 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
  * IDSStubSettings.Builder iDSSettingsBuilder = IDSStubSettings.newBuilder();
  * iDSSettingsBuilder
  *     .getEndpointSettings()
  *     .setRetrySettings(
- *         iDSSettingsBuilder
- *             .getEndpointSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         iDSSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IDSStubSettings iDSSettings = iDSSettingsBuilder.build();
diff --git a/grpc-google-cloud-ids-v1/pom.xml b/grpc-google-cloud-ids-v1/pom.xml
index a287758..02e14ba 100644
--- a/grpc-google-cloud-ids-v1/pom.xml
+++ b/grpc-google-cloud-ids-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-ids-v1
-  1.2.3
+  1.2.4
   grpc-google-cloud-ids-v1
   GRPC library for google-cloud-ids
   
     com.google.cloud
     google-cloud-ids-parent
-    1.2.3
+    1.2.4
   
   
     
diff --git a/pom.xml b/pom.xml
index f2c71c6..55200e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-ids-parent
   pom
-  1.2.3
+  1.2.4
   Google Intrusion Detection System Parent
   https://github.com/googleapis/java-ids
   
@@ -69,23 +69,23 @@
       
         com.google.cloud
         google-cloud-ids
-        1.2.3
+        1.2.4
       
       
         com.google.api.grpc
         grpc-google-cloud-ids-v1
-        1.2.3
+        1.2.4
       
       
         com.google.api.grpc
         proto-google-cloud-ids-v1
-        1.2.3
+        1.2.4
       
 
       
         com.google.cloud
         google-cloud-shared-dependencies
-        3.0.2
+        3.0.3
         pom
         import
       
diff --git a/proto-google-cloud-ids-v1/pom.xml b/proto-google-cloud-ids-v1/pom.xml
index 4e9d596..402fd0c 100644
--- a/proto-google-cloud-ids-v1/pom.xml
+++ b/proto-google-cloud-ids-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-ids-v1
-  1.2.3
+  1.2.4
   proto-google-cloud-ids-v1
   Proto library for google-cloud-ids
   
     com.google.cloud
     google-cloud-ids-parent
-    1.2.3
+    1.2.4
   
   
     
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 5de7023..e76b81a 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
     
       com.google.cloud
       google-cloud-ids
-      1.2.2
+      1.2.3
     
     
 
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index c35bb45..1bba98b 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
     
       com.google.cloud
       google-cloud-ids
-      1.2.3
+      1.2.4
     
     
 
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetCredentialsProvider.java
index 066e502..12554df 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/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
     IDSSettings iDSSettings =
         IDSSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetCredentialsProvider1.java
index 3148784..a98d8cd 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetCredentialsProvider1.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/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
     IDSSettings iDSSettings =
         IDSSettings.newBuilder()
             .setTransportChannelProvider(
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetEndpoint.java
index e80516d..84b8a5b 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/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
     IDSSettings iDSSettings = IDSSettings.newBuilder().setEndpoint(myEndpoint).build();
     IDSClient iDSClient = IDSClient.create(iDSSettings);
   }
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/AsyncCreateEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/AsyncCreateEndpoint.java
index 5c8ad80..a80b1cc 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/AsyncCreateEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/AsyncCreateEndpoint.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       CreateEndpointRequest request =
           CreateEndpointRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/AsyncCreateEndpointLRO.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/AsyncCreateEndpointLRO.java
index 646d877..a78238f 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/AsyncCreateEndpointLRO.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/AsyncCreateEndpointLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncCreateEndpointLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       CreateEndpointRequest request =
           CreateEndpointRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpoint.java
index 0b96ca0..8d82248 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpoint.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       CreateEndpointRequest request =
           CreateEndpointRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpointLocationnameEndpointString.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpointLocationnameEndpointString.java
index 3629c56..7c1b1c5 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpointLocationnameEndpointString.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpointLocationnameEndpointString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEndpointLocationnameEndpointString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       Endpoint endpoint = Endpoint.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpointStringEndpointString.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpointStringEndpointString.java
index 5396b80..8217357 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpointStringEndpointString.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/createendpoint/SyncCreateEndpointStringEndpointString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncCreateEndpointStringEndpointString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       Endpoint endpoint = Endpoint.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/AsyncDeleteEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/AsyncDeleteEndpoint.java
index 7311196..b2ebe07 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/AsyncDeleteEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/AsyncDeleteEndpoint.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       DeleteEndpointRequest request =
           DeleteEndpointRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/AsyncDeleteEndpointLRO.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/AsyncDeleteEndpointLRO.java
index 5b2937d..b7192dd 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/AsyncDeleteEndpointLRO.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/AsyncDeleteEndpointLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncDeleteEndpointLRO() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       DeleteEndpointRequest request =
           DeleteEndpointRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java
index 82ae52e..7f976bd 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       DeleteEndpointRequest request =
           DeleteEndpointRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointEndpointname.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointEndpointname.java
index b56e840..06929f1 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointEndpointname.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointEndpointname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEndpointEndpointname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
       iDSClient.deleteEndpointAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java
index f7e9fcd..613c307 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncDeleteEndpointString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
       iDSClient.deleteEndpointAsync(name).get();
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/AsyncGetEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/AsyncGetEndpoint.java
index 9243c31..ffa5da1 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/AsyncGetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/AsyncGetEndpoint.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncGetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       GetEndpointRequest request =
           GetEndpointRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpoint.java
index 6cdab42..de4fd54 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpoint.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       GetEndpointRequest request =
           GetEndpointRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpointEndpointname.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpointEndpointname.java
index 4314abe..b7e2e47 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpointEndpointname.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpointEndpointname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEndpointEndpointname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
       Endpoint response = iDSClient.getEndpoint(name);
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpointString.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpointString.java
index 6b25541..d53a57d 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpointString.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/getendpoint/SyncGetEndpointString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEndpointString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
       Endpoint response = iDSClient.getEndpoint(name);
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/AsyncListEndpoints.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/AsyncListEndpoints.java
index e5729e8..01871db 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/AsyncListEndpoints.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/AsyncListEndpoints.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEndpoints() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       ListEndpointsRequest request =
           ListEndpointsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/AsyncListEndpointsPaged.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/AsyncListEndpointsPaged.java
index 19807aa..02f8b68 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/AsyncListEndpointsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/AsyncListEndpointsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void asyncListEndpointsPaged() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       ListEndpointsRequest request =
           ListEndpointsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpoints.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpoints.java
index a9b67f2..f573549 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpoints.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpoints.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEndpoints() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       ListEndpointsRequest request =
           ListEndpointsRequest.newBuilder()
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpointsLocationname.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpointsLocationname.java
index dd315f8..0898a6c 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpointsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpointsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEndpointsLocationname() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (Endpoint element : iDSClient.listEndpoints(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpointsString.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpointsString.java
index 61312a9..a0423ca 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpointsString.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/listendpoints/SyncListEndpointsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncListEndpointsString() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (IDSClient iDSClient = IDSClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (Endpoint element : iDSClient.listEndpoints(parent).iterateAll()) {
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idssettings/getendpoint/SyncGetEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idssettings/getendpoint/SyncGetEndpoint.java
index b9465df..97e1140 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/idssettings/getendpoint/SyncGetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/idssettings/getendpoint/SyncGetEndpoint.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     IDSSettings.Builder iDSSettingsBuilder = IDSSettings.newBuilder();
     iDSSettingsBuilder
         .getEndpointSettings()
         .setRetrySettings(
-            iDSSettingsBuilder
-                .getEndpointSettings()
-                .getRetrySettings()
-                .toBuilder()
+            iDSSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     IDSSettings iDSSettings = iDSSettingsBuilder.build();
diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/stub/idsstubsettings/getendpoint/SyncGetEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/stub/idsstubsettings/getendpoint/SyncGetEndpoint.java
index 5884e17..d99e90d 100644
--- a/samples/snippets/generated/com/google/cloud/ids/v1/stub/idsstubsettings/getendpoint/SyncGetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/ids/v1/stub/idsstubsettings/getendpoint/SyncGetEndpoint.java
@@ -27,16 +27,16 @@ public static void main(String[] args) throws Exception {
   }
 
   public static void syncGetEndpoint() throws Exception {
-    // This snippet has been automatically generated for illustrative purposes only.
-    // It may require modifications to work in your environment.
+    // This snippet has been automatically generated and should be regarded as a code template only.
+    // It will require modifications to work:
+    // - It may require correct/in-range values for request initialization.
+    // - It may require specifying regional endpoints when creating the service client as shown in
+    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     IDSStubSettings.Builder iDSSettingsBuilder = IDSStubSettings.newBuilder();
     iDSSettingsBuilder
         .getEndpointSettings()
         .setRetrySettings(
-            iDSSettingsBuilder
-                .getEndpointSettings()
-                .getRetrySettings()
-                .toBuilder()
+            iDSSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     IDSStubSettings iDSSettings = iDSSettingsBuilder.build();
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index c23e81a..28377b0 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
     
       com.google.cloud
       google-cloud-ids
-      1.2.2
+      1.2.3
     
 
     
diff --git a/versions.txt b/versions.txt
index 42e26b3..52062bc 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
 # Format:
 # module:released-version:current-version
 
-google-cloud-ids:1.2.3:1.2.3
-grpc-google-cloud-ids-v1:1.2.3:1.2.3
-proto-google-cloud-ids-v1:1.2.3:1.2.3
+google-cloud-ids:1.2.4:1.2.4
+grpc-google-cloud-ids-v1:1.2.4:1.2.4
+proto-google-cloud-ids-v1:1.2.4:1.2.4