{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -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
* AcceleratorTypesSettings acceleratorTypesSettings =
* AcceleratorTypesSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -96,8 +102,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
* AcceleratorTypesSettings acceleratorTypesSettings =
* AcceleratorTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
* AcceleratorTypesClient acceleratorTypesClient =
@@ -163,8 +172,11 @@ public AcceleratorTypesStub getStub() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* String project = "project-309310695";
* for (Map.Entry element :
@@ -190,8 +202,11 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* AggregatedListAcceleratorTypesRequest request =
* AggregatedListAcceleratorTypesRequest.newBuilder()
@@ -225,8 +240,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* AggregatedListAcceleratorTypesRequest request =
* AggregatedListAcceleratorTypesRequest.newBuilder()
@@ -259,8 +277,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* AggregatedListAcceleratorTypesRequest request =
* AggregatedListAcceleratorTypesRequest.newBuilder()
@@ -300,8 +321,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -332,8 +356,11 @@ public final AcceleratorType get(String project, String zone, String accelerator
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* GetAcceleratorTypeRequest request =
* GetAcceleratorTypeRequest.newBuilder()
@@ -359,8 +386,11 @@ public final AcceleratorType get(GetAcceleratorTypeRequest 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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* GetAcceleratorTypeRequest request =
* GetAcceleratorTypeRequest.newBuilder()
@@ -385,8 +415,11 @@ public final UnaryCallable getCallab
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -413,8 +446,11 @@ public final ListPagedResponse list(String project, String zone) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* ListAcceleratorTypesRequest request =
* ListAcceleratorTypesRequest.newBuilder()
@@ -446,8 +482,11 @@ public final ListPagedResponse list(ListAcceleratorTypesRequest 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 (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* ListAcceleratorTypesRequest request =
* ListAcceleratorTypesRequest.newBuilder()
@@ -479,8 +518,11 @@ public final UnaryCallable listP
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
* ListAcceleratorTypesRequest request =
* ListAcceleratorTypesRequest.newBuilder()
diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesSettings.java
index 044c93f93..93e513ce8 100644
--- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesSettings.java
+++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesSettings.java
@@ -53,17 +53,17 @@
* For example, to set the total timeout of get 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
* AcceleratorTypesSettings.Builder acceleratorTypesSettingsBuilder =
* AcceleratorTypesSettings.newBuilder();
* acceleratorTypesSettingsBuilder
* .getSettings()
* .setRetrySettings(
- * acceleratorTypesSettingsBuilder
- * .getSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * acceleratorTypesSettingsBuilder.getSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AcceleratorTypesSettings acceleratorTypesSettings = acceleratorTypesSettingsBuilder.build();
diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesClient.java
index 1ee3405c4..2d70effde 100644
--- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesClient.java
+++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesClient.java
@@ -44,8 +44,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 (AddressesClient addressesClient = AddressesClient.create()) {
* String project = "project-309310695";
* String region = "region-934795532";
@@ -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
* AddressesSettings addressesSettings =
* AddressesSettings.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
* AddressesSettings addressesSettings =
* AddressesSettings.newBuilder().setEndpoint(myEndpoint).build();
* AddressesClient addressesClient = AddressesClient.create(addressesSettings);
@@ -159,8 +168,11 @@ public AddressesStub getStub() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* String project = "project-309310695";
* for (Map.Entry element :
@@ -186,8 +198,11 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* AggregatedListAddressesRequest request =
* AggregatedListAddressesRequest.newBuilder()
@@ -220,8 +235,11 @@ public final AggregatedListPagedResponse aggregatedList(AggregatedListAddressesR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* AggregatedListAddressesRequest request =
* AggregatedListAddressesRequest.newBuilder()
@@ -254,8 +272,11 @@ public final AggregatedListPagedResponse aggregatedList(AggregatedListAddressesR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* AggregatedListAddressesRequest request =
* AggregatedListAddressesRequest.newBuilder()
@@ -294,8 +315,11 @@ public final AggregatedListPagedResponse aggregatedList(AggregatedListAddressesR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* String project = "project-309310695";
* String region = "region-934795532";
@@ -327,8 +351,11 @@ public final OperationFuture deleteAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* DeleteAddressRequest request =
* DeleteAddressRequest.newBuilder()
@@ -357,8 +384,11 @@ public final OperationFuture deleteAsync(DeleteAddressRequ
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* DeleteAddressRequest request =
* DeleteAddressRequest.newBuilder()
@@ -386,8 +416,11 @@ public final OperationFuture deleteAsync(DeleteAddressRequ
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* DeleteAddressRequest request =
* DeleteAddressRequest.newBuilder()
@@ -413,8 +446,11 @@ public final UnaryCallable deleteCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* String project = "project-309310695";
* String region = "region-934795532";
@@ -445,8 +481,11 @@ public final Address get(String project, String region, String address) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* GetAddressRequest request =
* GetAddressRequest.newBuilder()
@@ -472,8 +511,11 @@ public final Address get(GetAddressRequest 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 (AddressesClient addressesClient = AddressesClient.create()) {
* GetAddressRequest request =
* GetAddressRequest.newBuilder()
@@ -498,8 +540,11 @@ public final UnaryCallable getCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* String project = "project-309310695";
* String region = "region-934795532";
@@ -531,8 +576,11 @@ public final OperationFuture insertAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* InsertAddressRequest request =
* InsertAddressRequest.newBuilder()
@@ -561,8 +609,11 @@ public final OperationFuture insertAsync(InsertAddressRequ
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* InsertAddressRequest request =
* InsertAddressRequest.newBuilder()
@@ -590,8 +641,11 @@ public final OperationFuture insertAsync(InsertAddressRequ
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* InsertAddressRequest request =
* InsertAddressRequest.newBuilder()
@@ -617,8 +671,11 @@ public final UnaryCallable insertCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* String project = "project-309310695";
* String region = "region-934795532";
@@ -645,8 +702,11 @@ public final ListPagedResponse list(String project, String region) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* ListAddressesRequest request =
* ListAddressesRequest.newBuilder()
@@ -678,8 +738,11 @@ public final ListPagedResponse list(ListAddressesRequest 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 (AddressesClient addressesClient = AddressesClient.create()) {
* ListAddressesRequest request =
* ListAddressesRequest.newBuilder()
@@ -710,8 +773,11 @@ public final UnaryCallable listPagedCal
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AddressesClient addressesClient = AddressesClient.create()) {
* ListAddressesRequest request =
* ListAddressesRequest.newBuilder()
diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesSettings.java
index 462863490..95ac9c897 100644
--- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesSettings.java
+++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesSettings.java
@@ -54,16 +54,16 @@
* For example, to set the total timeout of get 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
* AddressesSettings.Builder addressesSettingsBuilder = AddressesSettings.newBuilder();
* addressesSettingsBuilder
* .getSettings()
* .setRetrySettings(
- * addressesSettingsBuilder
- * .getSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * addressesSettingsBuilder.getSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AddressesSettings addressesSettings = addressesSettingsBuilder.build();
diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersClient.java
index b8e6048ed..43a06942f 100644
--- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersClient.java
+++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersClient.java
@@ -44,8 +44,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 (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -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
* AutoscalersSettings autoscalersSettings =
* AutoscalersSettings.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
* AutoscalersSettings autoscalersSettings =
* AutoscalersSettings.newBuilder().setEndpoint(myEndpoint).build();
* AutoscalersClient autoscalersClient = AutoscalersClient.create(autoscalersSettings);
@@ -160,8 +169,11 @@ public AutoscalersStub getStub() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* String project = "project-309310695";
* for (Map.Entry element :
@@ -187,8 +199,11 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* AggregatedListAutoscalersRequest request =
* AggregatedListAutoscalersRequest.newBuilder()
@@ -222,8 +237,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* AggregatedListAutoscalersRequest request =
* AggregatedListAutoscalersRequest.newBuilder()
@@ -256,8 +274,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* AggregatedListAutoscalersRequest request =
* AggregatedListAutoscalersRequest.newBuilder()
@@ -297,8 +318,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -330,8 +354,11 @@ public final OperationFuture deleteAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* DeleteAutoscalerRequest request =
* DeleteAutoscalerRequest.newBuilder()
@@ -360,8 +387,11 @@ public final OperationFuture deleteAsync(DeleteAutoscalerR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* DeleteAutoscalerRequest request =
* DeleteAutoscalerRequest.newBuilder()
@@ -389,8 +419,11 @@ public final OperationFuture deleteAsync(DeleteAutoscalerR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* DeleteAutoscalerRequest request =
* DeleteAutoscalerRequest.newBuilder()
@@ -417,8 +450,11 @@ public final UnaryCallable deleteCallable()
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -450,8 +486,11 @@ public final Autoscaler get(String project, String zone, String autoscaler) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* GetAutoscalerRequest request =
* GetAutoscalerRequest.newBuilder()
@@ -478,8 +517,11 @@ public final Autoscaler get(GetAutoscalerRequest 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 (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* GetAutoscalerRequest request =
* GetAutoscalerRequest.newBuilder()
@@ -504,8 +546,11 @@ public final UnaryCallable getCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -537,8 +582,11 @@ public final OperationFuture insertAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* InsertAutoscalerRequest request =
* InsertAutoscalerRequest.newBuilder()
@@ -567,8 +615,11 @@ public final OperationFuture insertAsync(InsertAutoscalerR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* InsertAutoscalerRequest request =
* InsertAutoscalerRequest.newBuilder()
@@ -596,8 +647,11 @@ public final OperationFuture insertAsync(InsertAutoscalerR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* InsertAutoscalerRequest request =
* InsertAutoscalerRequest.newBuilder()
@@ -623,8 +677,11 @@ public final UnaryCallable insertCallable()
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -651,8 +708,11 @@ public final ListPagedResponse list(String project, String zone) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* ListAutoscalersRequest request =
* ListAutoscalersRequest.newBuilder()
@@ -684,8 +744,11 @@ public final ListPagedResponse list(ListAutoscalersRequest 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 (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* ListAutoscalersRequest request =
* ListAutoscalersRequest.newBuilder()
@@ -716,8 +779,11 @@ public final UnaryCallable listPagedC
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* ListAutoscalersRequest request =
* ListAutoscalersRequest.newBuilder()
@@ -756,8 +822,11 @@ public final UnaryCallable listCallable(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -790,8 +859,11 @@ public final OperationFuture patchAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* PatchAutoscalerRequest request =
* PatchAutoscalerRequest.newBuilder()
@@ -822,8 +894,11 @@ public final OperationFuture patchAsync(PatchAutoscalerReq
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* PatchAutoscalerRequest request =
* PatchAutoscalerRequest.newBuilder()
@@ -853,8 +928,11 @@ public final OperationFuture patchAsync(PatchAutoscalerReq
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* PatchAutoscalerRequest request =
* PatchAutoscalerRequest.newBuilder()
@@ -881,8 +959,11 @@ public final UnaryCallable patchCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* String project = "project-309310695";
* String zone = "zone3744684";
@@ -914,8 +995,11 @@ public final OperationFuture updateAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* UpdateAutoscalerRequest request =
* UpdateAutoscalerRequest.newBuilder()
@@ -945,8 +1029,11 @@ public final OperationFuture updateAsync(UpdateAutoscalerR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* UpdateAutoscalerRequest request =
* UpdateAutoscalerRequest.newBuilder()
@@ -975,8 +1062,11 @@ public final OperationFuture updateAsync(UpdateAutoscalerR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
* UpdateAutoscalerRequest request =
* UpdateAutoscalerRequest.newBuilder()
diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersSettings.java
index 60a046061..c48a87e0f 100644
--- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersSettings.java
+++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersSettings.java
@@ -54,16 +54,16 @@
* For example, to set the total timeout of get 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
* AutoscalersSettings.Builder autoscalersSettingsBuilder = AutoscalersSettings.newBuilder();
* autoscalersSettingsBuilder
* .getSettings()
* .setRetrySettings(
- * autoscalersSettingsBuilder
- * .getSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * autoscalersSettingsBuilder.getSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AutoscalersSettings autoscalersSettings = autoscalersSettingsBuilder.build();
diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketsClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketsClient.java
index da3c41edc..ab3019ca6 100644
--- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketsClient.java
+++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketsClient.java
@@ -43,8 +43,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 (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* String backendBucket = "backendBucket713751966";
@@ -81,8 +84,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
* BackendBucketsSettings backendBucketsSettings =
* BackendBucketsSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -93,8 +99,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
* BackendBucketsSettings backendBucketsSettings =
* BackendBucketsSettings.newBuilder().setEndpoint(myEndpoint).build();
* BackendBucketsClient backendBucketsClient = BackendBucketsClient.create(backendBucketsSettings);
@@ -159,8 +168,11 @@ public BackendBucketsStub getStub() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* String backendBucket = "backendBucket713751966";
@@ -196,8 +208,11 @@ public final OperationFuture addSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* AddSignedUrlKeyBackendBucketRequest request =
* AddSignedUrlKeyBackendBucketRequest.newBuilder()
@@ -227,8 +242,11 @@ public final OperationFuture addSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* AddSignedUrlKeyBackendBucketRequest request =
* AddSignedUrlKeyBackendBucketRequest.newBuilder()
@@ -256,8 +274,11 @@ public final OperationFuture addSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* AddSignedUrlKeyBackendBucketRequest request =
* AddSignedUrlKeyBackendBucketRequest.newBuilder()
@@ -285,8 +306,11 @@ public final OperationFuture addSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* String backendBucket = "backendBucket713751966";
@@ -315,8 +339,11 @@ public final OperationFuture deleteAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* DeleteBackendBucketRequest request =
* DeleteBackendBucketRequest.newBuilder()
@@ -345,8 +372,11 @@ public final OperationFuture deleteAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* DeleteBackendBucketRequest request =
* DeleteBackendBucketRequest.newBuilder()
@@ -373,8 +403,11 @@ public final OperationFuture deleteAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* DeleteBackendBucketRequest request =
* DeleteBackendBucketRequest.newBuilder()
@@ -399,8 +432,11 @@ public final UnaryCallable deleteCallable
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* String backendBucket = "backendBucket713751966";
@@ -434,8 +470,11 @@ public final OperationFuture deleteSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* DeleteSignedUrlKeyBackendBucketRequest request =
* DeleteSignedUrlKeyBackendBucketRequest.newBuilder()
@@ -465,8 +504,11 @@ public final OperationFuture deleteSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* DeleteSignedUrlKeyBackendBucketRequest request =
* DeleteSignedUrlKeyBackendBucketRequest.newBuilder()
@@ -494,8 +536,11 @@ public final OperationFuture deleteSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* DeleteSignedUrlKeyBackendBucketRequest request =
* DeleteSignedUrlKeyBackendBucketRequest.newBuilder()
@@ -524,8 +569,11 @@ public final OperationFuture deleteSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* String backendBucket = "backendBucket713751966";
@@ -554,8 +602,11 @@ public final BackendBucket get(String project, String backendBucket) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* GetBackendBucketRequest request =
* GetBackendBucketRequest.newBuilder()
@@ -581,8 +632,11 @@ public final BackendBucket get(GetBackendBucketRequest 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 (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* GetBackendBucketRequest request =
* GetBackendBucketRequest.newBuilder()
@@ -607,8 +661,11 @@ public final UnaryCallable getCallable()
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* BackendBucket backendBucketResource = BackendBucket.newBuilder().build();
@@ -638,8 +695,11 @@ public final OperationFuture insertAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* InsertBackendBucketRequest request =
* InsertBackendBucketRequest.newBuilder()
@@ -669,8 +729,11 @@ public final OperationFuture insertAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* InsertBackendBucketRequest request =
* InsertBackendBucketRequest.newBuilder()
@@ -698,8 +761,11 @@ public final OperationFuture insertAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* InsertBackendBucketRequest request =
* InsertBackendBucketRequest.newBuilder()
@@ -724,8 +790,11 @@ public final UnaryCallable insertCallable
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* for (BackendBucket element : backendBucketsClient.list(project).iterateAll()) {
@@ -750,8 +819,11 @@ public final ListPagedResponse list(String project) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* ListBackendBucketsRequest request =
* ListBackendBucketsRequest.newBuilder()
@@ -782,8 +854,11 @@ public final ListPagedResponse list(ListBackendBucketsRequest 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 (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* ListBackendBucketsRequest request =
* ListBackendBucketsRequest.newBuilder()
@@ -814,8 +889,11 @@ public final UnaryCallable listPag
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* ListBackendBucketsRequest request =
* ListBackendBucketsRequest.newBuilder()
@@ -853,8 +931,11 @@ public final UnaryCallable listCal
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* String backendBucket = "backendBucket713751966";
@@ -888,8 +969,11 @@ public final OperationFuture patchAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* PatchBackendBucketRequest request =
* PatchBackendBucketRequest.newBuilder()
@@ -919,8 +1003,11 @@ public final OperationFuture patchAsync(PatchBackendBucket
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* PatchBackendBucketRequest request =
* PatchBackendBucketRequest.newBuilder()
@@ -949,8 +1036,11 @@ public final OperationFuture patchAsync(PatchBackendBucket
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* PatchBackendBucketRequest request =
* PatchBackendBucketRequest.newBuilder()
@@ -976,8 +1066,11 @@ public final UnaryCallable patchCallable()
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* String backendBucket = "backendBucket713751966";
@@ -1016,8 +1109,11 @@ public final OperationFuture setEdgeSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* SetEdgeSecurityPolicyBackendBucketRequest request =
* SetEdgeSecurityPolicyBackendBucketRequest.newBuilder()
@@ -1047,8 +1143,11 @@ public final OperationFuture setEdgeSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* SetEdgeSecurityPolicyBackendBucketRequest request =
* SetEdgeSecurityPolicyBackendBucketRequest.newBuilder()
@@ -1076,8 +1175,11 @@ public final OperationFuture setEdgeSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* SetEdgeSecurityPolicyBackendBucketRequest request =
* SetEdgeSecurityPolicyBackendBucketRequest.newBuilder()
@@ -1105,8 +1207,11 @@ public final OperationFuture setEdgeSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* String project = "project-309310695";
* String backendBucket = "backendBucket713751966";
@@ -1139,8 +1244,11 @@ public final OperationFuture updateAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* UpdateBackendBucketRequest request =
* UpdateBackendBucketRequest.newBuilder()
@@ -1170,8 +1278,11 @@ public final OperationFuture updateAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* UpdateBackendBucketRequest request =
* UpdateBackendBucketRequest.newBuilder()
@@ -1199,8 +1310,11 @@ public final OperationFuture updateAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
* UpdateBackendBucketRequest request =
* UpdateBackendBucketRequest.newBuilder()
diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketsSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketsSettings.java
index 2ac788643..baee37ee5 100644
--- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketsSettings.java
+++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketsSettings.java
@@ -53,17 +53,17 @@
* For example, to set the total timeout of get 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
* BackendBucketsSettings.Builder backendBucketsSettingsBuilder =
* BackendBucketsSettings.newBuilder();
* backendBucketsSettingsBuilder
* .getSettings()
* .setRetrySettings(
- * backendBucketsSettingsBuilder
- * .getSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * backendBucketsSettingsBuilder.getSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* BackendBucketsSettings backendBucketsSettings = backendBucketsSettingsBuilder.build();
diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesClient.java
index b08fba1b6..9ff7d6c57 100644
--- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesClient.java
+++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesClient.java
@@ -44,8 +44,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 (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -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
* BackendServicesSettings backendServicesSettings =
* BackendServicesSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -96,8 +102,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
* BackendServicesSettings backendServicesSettings =
* BackendServicesSettings.newBuilder().setEndpoint(myEndpoint).build();
* BackendServicesClient backendServicesClient =
@@ -163,8 +172,11 @@ public BackendServicesStub getStub() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -200,8 +212,11 @@ public final OperationFuture addSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* AddSignedUrlKeyBackendServiceRequest request =
* AddSignedUrlKeyBackendServiceRequest.newBuilder()
@@ -231,8 +246,11 @@ public final OperationFuture addSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* AddSignedUrlKeyBackendServiceRequest request =
* AddSignedUrlKeyBackendServiceRequest.newBuilder()
@@ -260,8 +278,11 @@ public final OperationFuture addSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* AddSignedUrlKeyBackendServiceRequest request =
* AddSignedUrlKeyBackendServiceRequest.newBuilder()
@@ -290,8 +311,11 @@ public final OperationFuture addSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* for (Map.Entry element :
@@ -318,8 +342,11 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* AggregatedListBackendServicesRequest request =
* AggregatedListBackendServicesRequest.newBuilder()
@@ -354,8 +381,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* AggregatedListBackendServicesRequest request =
* AggregatedListBackendServicesRequest.newBuilder()
@@ -389,8 +419,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* AggregatedListBackendServicesRequest request =
* AggregatedListBackendServicesRequest.newBuilder()
@@ -430,8 +463,11 @@ public final AggregatedListPagedResponse aggregatedList(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -460,8 +496,11 @@ public final OperationFuture deleteAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* DeleteBackendServiceRequest request =
* DeleteBackendServiceRequest.newBuilder()
@@ -490,8 +529,11 @@ public final OperationFuture deleteAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* DeleteBackendServiceRequest request =
* DeleteBackendServiceRequest.newBuilder()
@@ -518,8 +560,11 @@ public final OperationFuture deleteAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* DeleteBackendServiceRequest request =
* DeleteBackendServiceRequest.newBuilder()
@@ -544,8 +589,11 @@ public final UnaryCallable deleteCallabl
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -579,8 +627,11 @@ public final OperationFuture deleteSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* DeleteSignedUrlKeyBackendServiceRequest request =
* DeleteSignedUrlKeyBackendServiceRequest.newBuilder()
@@ -610,8 +661,11 @@ public final OperationFuture deleteSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* DeleteSignedUrlKeyBackendServiceRequest request =
* DeleteSignedUrlKeyBackendServiceRequest.newBuilder()
@@ -639,8 +693,11 @@ public final OperationFuture deleteSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* DeleteSignedUrlKeyBackendServiceRequest request =
* DeleteSignedUrlKeyBackendServiceRequest.newBuilder()
@@ -668,8 +725,11 @@ public final OperationFuture deleteSignedUrlKeyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -697,8 +757,11 @@ public final BackendService get(String project, String backendService) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* GetBackendServiceRequest request =
* GetBackendServiceRequest.newBuilder()
@@ -723,8 +786,11 @@ public final BackendService get(GetBackendServiceRequest 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 (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* GetBackendServiceRequest request =
* GetBackendServiceRequest.newBuilder()
@@ -749,8 +815,11 @@ public final UnaryCallable getCallable
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -788,8 +857,11 @@ public final BackendServiceGroupHealth getHealth(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* GetHealthBackendServiceRequest request =
* GetHealthBackendServiceRequest.newBuilder()
@@ -816,8 +888,11 @@ public final BackendServiceGroupHealth getHealth(GetHealthBackendServiceRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* GetHealthBackendServiceRequest request =
* GetHealthBackendServiceRequest.newBuilder()
@@ -845,8 +920,11 @@ public final BackendServiceGroupHealth getHealth(GetHealthBackendServiceRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* BackendService backendServiceResource = BackendService.newBuilder().build();
@@ -876,8 +954,11 @@ public final OperationFuture insertAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* InsertBackendServiceRequest request =
* InsertBackendServiceRequest.newBuilder()
@@ -907,8 +988,11 @@ public final OperationFuture insertAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* InsertBackendServiceRequest request =
* InsertBackendServiceRequest.newBuilder()
@@ -936,8 +1020,11 @@ public final OperationFuture insertAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* InsertBackendServiceRequest request =
* InsertBackendServiceRequest.newBuilder()
@@ -962,8 +1049,11 @@ public final UnaryCallable insertCallabl
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* for (BackendService element : backendServicesClient.list(project).iterateAll()) {
@@ -988,8 +1078,11 @@ public final ListPagedResponse list(String project) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* ListBackendServicesRequest request =
* ListBackendServicesRequest.newBuilder()
@@ -1020,8 +1113,11 @@ public final ListPagedResponse list(ListBackendServicesRequest 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 (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* ListBackendServicesRequest request =
* ListBackendServicesRequest.newBuilder()
@@ -1052,8 +1148,11 @@ public final UnaryCallable listPa
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* ListBackendServicesRequest request =
* ListBackendServicesRequest.newBuilder()
@@ -1092,8 +1191,11 @@ public final UnaryCallable listC
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -1128,8 +1230,11 @@ public final OperationFuture patchAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* PatchBackendServiceRequest request =
* PatchBackendServiceRequest.newBuilder()
@@ -1161,8 +1266,11 @@ public final OperationFuture patchAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* PatchBackendServiceRequest request =
* PatchBackendServiceRequest.newBuilder()
@@ -1192,8 +1300,11 @@ public final OperationFuture patchAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* PatchBackendServiceRequest request =
* PatchBackendServiceRequest.newBuilder()
@@ -1219,8 +1330,11 @@ public final UnaryCallable patchCallable(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -1259,8 +1373,11 @@ public final OperationFuture setEdgeSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* SetEdgeSecurityPolicyBackendServiceRequest request =
* SetEdgeSecurityPolicyBackendServiceRequest.newBuilder()
@@ -1290,8 +1407,11 @@ public final OperationFuture setEdgeSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* SetEdgeSecurityPolicyBackendServiceRequest request =
* SetEdgeSecurityPolicyBackendServiceRequest.newBuilder()
@@ -1319,8 +1439,11 @@ public final OperationFuture setEdgeSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* SetEdgeSecurityPolicyBackendServiceRequest request =
* SetEdgeSecurityPolicyBackendServiceRequest.newBuilder()
@@ -1349,8 +1472,11 @@ public final OperationFuture setEdgeSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* String project = "project-309310695";
* String backendService = "backendService-1884714623";
@@ -1390,8 +1516,11 @@ public final OperationFuture setSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* SetSecurityPolicyBackendServiceRequest request =
* SetSecurityPolicyBackendServiceRequest.newBuilder()
@@ -1422,8 +1551,11 @@ public final OperationFuture setSecurityPolicyAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
* SetSecurityPolicyBackendServiceRequest request =
* SetSecurityPolicyBackendServiceRequest.newBuilder()
@@ -1452,8 +1584,11 @@ public final OperationFuture