diff --git a/java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java b/java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java
index 144570ddaaba..9c48b2166c50 100644
--- a/java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java
+++ b/java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java
@@ -47,8 +47,11 @@
* calls that map to API methods. Sample code to get started:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName name = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* Source response = vmMigrationClient.getSource(name);
@@ -84,8 +87,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
* VmMigrationSettings vmMigrationSettings =
* VmMigrationSettings.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
* VmMigrationSettings vmMigrationSettings =
* VmMigrationSettings.newBuilder().setEndpoint(myEndpoint).build();
* VmMigrationClient vmMigrationClient = VmMigrationClient.create(vmMigrationSettings);
@@ -107,8 +116,11 @@
* the wire:
*
* {@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* VmMigrationSettings vmMigrationSettings =
* VmMigrationSettings.newBuilder()
* .setTransportChannelProvider(
@@ -200,8 +212,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Source element : vmMigrationClient.listSources(parent).iterateAll()) {
@@ -228,8 +243,11 @@ public final ListSourcesPagedResponse listSources(LocationName parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Source element : vmMigrationClient.listSources(parent).iterateAll()) {
@@ -253,8 +271,11 @@ public final ListSourcesPagedResponse listSources(String parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListSourcesRequest request =
* ListSourcesRequest.newBuilder()
@@ -284,8 +305,11 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListSourcesRequest request =
* ListSourcesRequest.newBuilder()
@@ -315,8 +339,11 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListSourcesRequest request =
* ListSourcesRequest.newBuilder()
@@ -352,8 +379,11 @@ public final UnaryCallable listSourcesC
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName name = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* Source response = vmMigrationClient.getSource(name);
@@ -376,8 +406,11 @@ public final Source getSource(SourceName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* Source response = vmMigrationClient.getSource(name);
@@ -399,8 +432,11 @@ public final Source getSource(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetSourceRequest request =
* GetSourceRequest.newBuilder()
@@ -424,8 +460,11 @@ public final Source getSource(GetSourceRequest request) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetSourceRequest request =
* GetSourceRequest.newBuilder()
@@ -448,8 +487,11 @@ public final UnaryCallable getSourceCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Source source = Source.newBuilder().build();
@@ -481,8 +523,11 @@ public final OperationFuture createSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Source source = Source.newBuilder().build();
@@ -514,8 +559,11 @@ public final OperationFuture createSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateSourceRequest request =
* CreateSourceRequest.newBuilder()
@@ -543,8 +591,11 @@ public final OperationFuture createSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateSourceRequest request =
* CreateSourceRequest.newBuilder()
@@ -572,8 +623,11 @@ public final OperationFuture createSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateSourceRequest request =
* CreateSourceRequest.newBuilder()
@@ -599,8 +653,11 @@ public final UnaryCallable createSourceCallable(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* Source source = Source.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -629,8 +686,11 @@ public final OperationFuture updateSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpdateSourceRequest request =
* UpdateSourceRequest.newBuilder()
@@ -657,8 +717,11 @@ public final OperationFuture updateSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpdateSourceRequest request =
* UpdateSourceRequest.newBuilder()
@@ -685,8 +748,11 @@ public final OperationFuture updateSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpdateSourceRequest request =
* UpdateSourceRequest.newBuilder()
@@ -711,8 +777,11 @@ public final UnaryCallable updateSourceCallable(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName name = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* vmMigrationClient.deleteSourceAsync(name).get();
@@ -735,8 +804,11 @@ public final OperationFuture deleteSourceAsync(SourceN
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* vmMigrationClient.deleteSourceAsync(name).get();
@@ -758,8 +830,11 @@ public final OperationFuture deleteSourceAsync(String
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteSourceRequest request =
* DeleteSourceRequest.newBuilder()
@@ -785,8 +860,11 @@ public final OperationFuture deleteSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteSourceRequest request =
* DeleteSourceRequest.newBuilder()
@@ -812,8 +890,11 @@ public final OperationFuture deleteSourceAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteSourceRequest request =
* DeleteSourceRequest.newBuilder()
@@ -840,8 +921,11 @@ public final UnaryCallable deleteSourceCallable(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName source = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* FetchInventoryResponse response = vmMigrationClient.fetchInventory(source);
@@ -869,8 +953,11 @@ public final FetchInventoryResponse fetchInventory(SourceName source) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String source = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* FetchInventoryResponse response = vmMigrationClient.fetchInventory(source);
@@ -895,8 +982,11 @@ public final FetchInventoryResponse fetchInventory(String source) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* FetchInventoryRequest request =
* FetchInventoryRequest.newBuilder()
@@ -924,8 +1014,11 @@ public final FetchInventoryResponse fetchInventory(FetchInventoryRequest 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 (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* FetchInventoryRequest request =
* FetchInventoryRequest.newBuilder()
@@ -951,8 +1044,11 @@ public final FetchInventoryResponse fetchInventory(FetchInventoryRequest 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 (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* for (UtilizationReport element :
@@ -980,8 +1076,11 @@ public final ListUtilizationReportsPagedResponse listUtilizationReports(SourceNa
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* for (UtilizationReport element :
@@ -1007,8 +1106,11 @@ public final ListUtilizationReportsPagedResponse listUtilizationReports(String p
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListUtilizationReportsRequest request =
* ListUtilizationReportsRequest.newBuilder()
@@ -1041,8 +1143,11 @@ public final ListUtilizationReportsPagedResponse listUtilizationReports(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListUtilizationReportsRequest request =
* ListUtilizationReportsRequest.newBuilder()
@@ -1074,8 +1179,11 @@ public final ListUtilizationReportsPagedResponse listUtilizationReports(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListUtilizationReportsRequest request =
* ListUtilizationReportsRequest.newBuilder()
@@ -1114,8 +1222,11 @@ public final ListUtilizationReportsPagedResponse listUtilizationReports(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UtilizationReportName name =
* UtilizationReportName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]");
@@ -1141,8 +1252,11 @@ public final UtilizationReport getUtilizationReport(UtilizationReportName name)
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* UtilizationReportName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]")
@@ -1167,8 +1281,11 @@ public final UtilizationReport getUtilizationReport(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetUtilizationReportRequest request =
* GetUtilizationReportRequest.newBuilder()
@@ -1196,8 +1313,11 @@ public final UtilizationReport getUtilizationReport(GetUtilizationReportRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetUtilizationReportRequest request =
* GetUtilizationReportRequest.newBuilder()
@@ -1226,8 +1346,11 @@ public final UtilizationReport getUtilizationReport(GetUtilizationReportRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* UtilizationReport utilizationReport = UtilizationReport.newBuilder().build();
@@ -1265,8 +1388,11 @@ public final OperationFuture createUtiliza
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* UtilizationReport utilizationReport = UtilizationReport.newBuilder().build();
@@ -1304,8 +1430,11 @@ public final OperationFuture createUtiliza
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateUtilizationReportRequest request =
* CreateUtilizationReportRequest.newBuilder()
@@ -1333,8 +1462,11 @@ public final OperationFuture createUtiliza
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateUtilizationReportRequest request =
* CreateUtilizationReportRequest.newBuilder()
@@ -1363,8 +1495,11 @@ public final OperationFuture createUtiliza
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateUtilizationReportRequest request =
* CreateUtilizationReportRequest.newBuilder()
@@ -1392,8 +1527,11 @@ public final OperationFuture createUtiliza
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UtilizationReportName name =
* UtilizationReportName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]");
@@ -1420,8 +1558,11 @@ public final OperationFuture deleteUtilizationReportAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* UtilizationReportName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]")
@@ -1446,8 +1587,11 @@ public final OperationFuture deleteUtilizationReportAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteUtilizationReportRequest request =
* DeleteUtilizationReportRequest.newBuilder()
@@ -1476,8 +1620,11 @@ public final OperationFuture deleteUtilizationReportAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteUtilizationReportRequest request =
* DeleteUtilizationReportRequest.newBuilder()
@@ -1506,8 +1653,11 @@ public final OperationFuture deleteUtilizationReportAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteUtilizationReportRequest request =
* DeleteUtilizationReportRequest.newBuilder()
@@ -1536,8 +1686,11 @@ public final OperationFuture deleteUtilizationReportAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* for (DatacenterConnector element :
@@ -1565,8 +1718,11 @@ public final ListDatacenterConnectorsPagedResponse listDatacenterConnectors(Sour
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* for (DatacenterConnector element :
@@ -1592,8 +1748,11 @@ public final ListDatacenterConnectorsPagedResponse listDatacenterConnectors(Stri
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListDatacenterConnectorsRequest request =
* ListDatacenterConnectorsRequest.newBuilder()
@@ -1625,8 +1784,11 @@ public final ListDatacenterConnectorsPagedResponse listDatacenterConnectors(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListDatacenterConnectorsRequest request =
* ListDatacenterConnectorsRequest.newBuilder()
@@ -1657,8 +1819,11 @@ public final ListDatacenterConnectorsPagedResponse listDatacenterConnectors(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListDatacenterConnectorsRequest request =
* ListDatacenterConnectorsRequest.newBuilder()
@@ -1696,8 +1861,11 @@ public final ListDatacenterConnectorsPagedResponse listDatacenterConnectors(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DatacenterConnectorName name =
* DatacenterConnectorName.of(
@@ -1724,8 +1892,11 @@ public final DatacenterConnector getDatacenterConnector(DatacenterConnectorName
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* DatacenterConnectorName.of(
@@ -1751,8 +1922,11 @@ public final DatacenterConnector getDatacenterConnector(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetDatacenterConnectorRequest request =
* GetDatacenterConnectorRequest.newBuilder()
@@ -1779,8 +1953,11 @@ public final DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRe
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetDatacenterConnectorRequest request =
* GetDatacenterConnectorRequest.newBuilder()
@@ -1808,8 +1985,11 @@ public final DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRe
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* DatacenterConnector datacenterConnector = DatacenterConnector.newBuilder().build();
@@ -1849,8 +2029,11 @@ public final DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRe
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* DatacenterConnector datacenterConnector = DatacenterConnector.newBuilder().build();
@@ -1888,8 +2071,11 @@ public final DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRe
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateDatacenterConnectorRequest request =
* CreateDatacenterConnectorRequest.newBuilder()
@@ -1918,8 +2104,11 @@ public final DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRe
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateDatacenterConnectorRequest request =
* CreateDatacenterConnectorRequest.newBuilder()
@@ -1948,8 +2137,11 @@ public final DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRe
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateDatacenterConnectorRequest request =
* CreateDatacenterConnectorRequest.newBuilder()
@@ -1977,8 +2169,11 @@ public final DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRe
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DatacenterConnectorName name =
* DatacenterConnectorName.of(
@@ -2006,8 +2201,11 @@ public final OperationFuture deleteDatacenterConnector
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* DatacenterConnectorName.of(
@@ -2034,8 +2232,11 @@ public final OperationFuture deleteDatacenterConnector
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteDatacenterConnectorRequest request =
* DeleteDatacenterConnectorRequest.newBuilder()
@@ -2064,8 +2265,11 @@ public final OperationFuture deleteDatacenterConnector
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteDatacenterConnectorRequest request =
* DeleteDatacenterConnectorRequest.newBuilder()
@@ -2094,8 +2298,11 @@ public final OperationFuture deleteDatacenterConnector
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteDatacenterConnectorRequest request =
* DeleteDatacenterConnectorRequest.newBuilder()
@@ -2124,8 +2331,11 @@ public final OperationFuture deleteDatacenterConnector
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpgradeApplianceRequest request =
* UpgradeApplianceRequest.newBuilder()
@@ -2154,8 +2364,11 @@ public final OperationFuture upgrad
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpgradeApplianceRequest request =
* UpgradeApplianceRequest.newBuilder()
@@ -2185,8 +2398,11 @@ public final OperationFuture upgrad
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpgradeApplianceRequest request =
* UpgradeApplianceRequest.newBuilder()
@@ -2214,8 +2430,11 @@ public final UnaryCallable upgradeApplianceC
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* MigratingVm migratingVm = MigratingVm.newBuilder().build();
@@ -2248,8 +2467,11 @@ public final OperationFuture createMigratingVmAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* MigratingVm migratingVm = MigratingVm.newBuilder().build();
@@ -2282,8 +2504,11 @@ public final OperationFuture createMigratingVmAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateMigratingVmRequest request =
* CreateMigratingVmRequest.newBuilder()
@@ -2311,8 +2536,11 @@ public final OperationFuture createMigratingVmAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateMigratingVmRequest request =
* CreateMigratingVmRequest.newBuilder()
@@ -2340,8 +2568,11 @@ public final OperationFuture createMigratingVmAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateMigratingVmRequest request =
* CreateMigratingVmRequest.newBuilder()
@@ -2368,8 +2599,11 @@ public final UnaryCallable createMigratingV
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* SourceName parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
* for (MigratingVm element : vmMigrationClient.listMigratingVms(parent).iterateAll()) {
@@ -2396,8 +2630,11 @@ public final ListMigratingVmsPagedResponse listMigratingVms(SourceName parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]").toString();
* for (MigratingVm element : vmMigrationClient.listMigratingVms(parent).iterateAll()) {
@@ -2422,8 +2659,11 @@ public final ListMigratingVmsPagedResponse listMigratingVms(String parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListMigratingVmsRequest request =
* ListMigratingVmsRequest.newBuilder()
@@ -2454,8 +2694,11 @@ public final ListMigratingVmsPagedResponse listMigratingVms(ListMigratingVmsRequ
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListMigratingVmsRequest request =
* ListMigratingVmsRequest.newBuilder()
@@ -2487,8 +2730,11 @@ public final ListMigratingVmsPagedResponse listMigratingVms(ListMigratingVmsRequ
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListMigratingVmsRequest request =
* ListMigratingVmsRequest.newBuilder()
@@ -2527,8 +2773,11 @@ public final ListMigratingVmsPagedResponse listMigratingVms(ListMigratingVmsRequ
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVmName name =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
@@ -2552,8 +2801,11 @@ public final MigratingVm getMigratingVm(MigratingVmName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]").toString();
@@ -2576,8 +2828,11 @@ public final MigratingVm getMigratingVm(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetMigratingVmRequest request =
* GetMigratingVmRequest.newBuilder()
@@ -2604,8 +2859,11 @@ public final MigratingVm getMigratingVm(GetMigratingVmRequest 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 (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetMigratingVmRequest request =
* GetMigratingVmRequest.newBuilder()
@@ -2632,8 +2890,11 @@ public final UnaryCallable getMigratingVmCal
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVm migratingVm = MigratingVm.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2666,8 +2927,11 @@ public final OperationFuture updateMigratingVmAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpdateMigratingVmRequest request =
* UpdateMigratingVmRequest.newBuilder()
@@ -2694,8 +2958,11 @@ public final OperationFuture updateMigratingVmAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpdateMigratingVmRequest request =
* UpdateMigratingVmRequest.newBuilder()
@@ -2722,8 +2989,11 @@ public final OperationFuture updateMigratingVmAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* UpdateMigratingVmRequest request =
* UpdateMigratingVmRequest.newBuilder()
@@ -2749,8 +3019,11 @@ public final UnaryCallable updateMigratingV
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVmName name =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
@@ -2777,8 +3050,11 @@ public final OperationFuture deleteMigratingVmAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]").toString();
@@ -2801,8 +3077,11 @@ public final OperationFuture deleteMigratingVmAsync(St
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteMigratingVmRequest request =
* DeleteMigratingVmRequest.newBuilder()
@@ -2829,8 +3108,11 @@ public final OperationFuture deleteMigratingVmAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteMigratingVmRequest request =
* DeleteMigratingVmRequest.newBuilder()
@@ -2857,8 +3139,11 @@ public final OperationFuture deleteMigratingVmAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* DeleteMigratingVmRequest request =
* DeleteMigratingVmRequest.newBuilder()
@@ -2885,8 +3170,11 @@ public final UnaryCallable deleteMigratingV
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVmName migratingVm =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
@@ -2914,8 +3202,11 @@ public final OperationFuture startMig
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String migratingVm =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]").toString();
@@ -2941,8 +3232,11 @@ public final OperationFuture startMig
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* StartMigrationRequest request =
* StartMigrationRequest.newBuilder()
@@ -2970,8 +3264,11 @@ public final OperationFuture startMig
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* StartMigrationRequest request =
* StartMigrationRequest.newBuilder()
@@ -2999,8 +3296,11 @@ public final OperationFuture startMig
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* StartMigrationRequest request =
* StartMigrationRequest.newBuilder()
@@ -3028,8 +3328,11 @@ public final UnaryCallable startMigrationCalla
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ResumeMigrationRequest request =
* ResumeMigrationRequest.newBuilder()
@@ -3059,8 +3362,11 @@ public final OperationFuture resumeM
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ResumeMigrationRequest request =
* ResumeMigrationRequest.newBuilder()
@@ -3090,8 +3396,11 @@ public final OperationFuture resumeM
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ResumeMigrationRequest request =
* ResumeMigrationRequest.newBuilder()
@@ -3117,8 +3426,11 @@ public final UnaryCallable resumeMigrationCal
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* PauseMigrationRequest request =
* PauseMigrationRequest.newBuilder()
@@ -3146,8 +3458,11 @@ public final OperationFuture pauseMig
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* PauseMigrationRequest request =
* PauseMigrationRequest.newBuilder()
@@ -3175,8 +3490,11 @@ public final OperationFuture pauseMig
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* PauseMigrationRequest request =
* PauseMigrationRequest.newBuilder()
@@ -3202,8 +3520,11 @@ public final UnaryCallable pauseMigrationCalla
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVmName migratingVm =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
@@ -3232,8 +3553,11 @@ public final OperationFuture final
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String migratingVm =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]").toString();
@@ -3260,8 +3584,11 @@ public final OperationFuture final
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* FinalizeMigrationRequest request =
* FinalizeMigrationRequest.newBuilder()
@@ -3289,8 +3616,11 @@ public final OperationFuture final
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* FinalizeMigrationRequest request =
* FinalizeMigrationRequest.newBuilder()
@@ -3319,8 +3649,11 @@ public final OperationFuture final
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* FinalizeMigrationRequest request =
* FinalizeMigrationRequest.newBuilder()
@@ -3346,8 +3679,11 @@ public final UnaryCallable finalizeMigratio
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVmName parent =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
@@ -3380,8 +3716,11 @@ public final OperationFuture createCloneJobAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]").toString();
@@ -3414,8 +3753,11 @@ public final OperationFuture createCloneJobAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateCloneJobRequest request =
* CreateCloneJobRequest.newBuilder()
@@ -3445,8 +3787,11 @@ public final OperationFuture createCloneJobAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateCloneJobRequest request =
* CreateCloneJobRequest.newBuilder()
@@ -3476,8 +3821,11 @@ public final OperationFuture createCloneJobAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateCloneJobRequest request =
* CreateCloneJobRequest.newBuilder()
@@ -3505,8 +3853,11 @@ public final UnaryCallable createCloneJobCalla
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CloneJobName name =
* CloneJobName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
@@ -3531,8 +3882,11 @@ public final OperationFuture cancelCl
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* CloneJobName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]")
@@ -3557,8 +3911,11 @@ public final OperationFuture cancelCl
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CancelCloneJobRequest request =
* CancelCloneJobRequest.newBuilder()
@@ -3586,8 +3943,11 @@ public final OperationFuture cancelCl
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CancelCloneJobRequest request =
* CancelCloneJobRequest.newBuilder()
@@ -3615,8 +3975,11 @@ public final OperationFuture cancelCl
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CancelCloneJobRequest request =
* CancelCloneJobRequest.newBuilder()
@@ -3642,8 +4005,11 @@ public final UnaryCallable cancelCloneJobCalla
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVmName parent =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
@@ -3671,8 +4037,11 @@ public final ListCloneJobsPagedResponse listCloneJobs(MigratingVmName parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]").toString();
@@ -3697,8 +4066,11 @@ public final ListCloneJobsPagedResponse listCloneJobs(String parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListCloneJobsRequest request =
* ListCloneJobsRequest.newBuilder()
@@ -3730,8 +4102,11 @@ public final ListCloneJobsPagedResponse listCloneJobs(ListCloneJobsRequest reque
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListCloneJobsRequest request =
* ListCloneJobsRequest.newBuilder()
@@ -3764,8 +4139,11 @@ public final ListCloneJobsPagedResponse listCloneJobs(ListCloneJobsRequest reque
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListCloneJobsRequest request =
* ListCloneJobsRequest.newBuilder()
@@ -3803,8 +4181,11 @@ public final UnaryCallable listClon
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CloneJobName name =
* CloneJobName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
@@ -3828,8 +4209,11 @@ public final CloneJob getCloneJob(CloneJobName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* CloneJobName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]")
@@ -3853,8 +4237,11 @@ public final CloneJob getCloneJob(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetCloneJobRequest request =
* GetCloneJobRequest.newBuilder()
@@ -3881,8 +4268,11 @@ public final CloneJob getCloneJob(GetCloneJobRequest 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 (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetCloneJobRequest request =
* GetCloneJobRequest.newBuilder()
@@ -3909,8 +4299,11 @@ public final UnaryCallable getCloneJobCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVmName parent =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
@@ -3945,8 +4338,11 @@ public final OperationFuture createCutoverJobAsyn
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]").toString();
@@ -3981,8 +4377,11 @@ public final OperationFuture createCutoverJobAsyn
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateCutoverJobRequest request =
* CreateCutoverJobRequest.newBuilder()
@@ -4013,8 +4412,11 @@ public final OperationFuture createCutoverJobAsyn
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateCutoverJobRequest request =
* CreateCutoverJobRequest.newBuilder()
@@ -4045,8 +4447,11 @@ public final OperationFuture createCutoverJobAsyn
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CreateCutoverJobRequest request =
* CreateCutoverJobRequest.newBuilder()
@@ -4075,8 +4480,11 @@ public final UnaryCallable createCutoverJobC
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CutoverJobName name =
* CutoverJobName.of(
@@ -4102,8 +4510,11 @@ public final OperationFuture cancel
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* CutoverJobName.of(
@@ -4129,8 +4540,11 @@ public final OperationFuture cancel
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CancelCutoverJobRequest request =
* CancelCutoverJobRequest.newBuilder()
@@ -4158,8 +4572,11 @@ public final OperationFuture cancel
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CancelCutoverJobRequest request =
* CancelCutoverJobRequest.newBuilder()
@@ -4188,8 +4605,11 @@ public final OperationFuture cancel
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CancelCutoverJobRequest request =
* CancelCutoverJobRequest.newBuilder()
@@ -4216,8 +4636,11 @@ public final UnaryCallable cancelCutoverJobC
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* MigratingVmName parent =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
@@ -4245,8 +4668,11 @@ public final ListCutoverJobsPagedResponse listCutoverJobs(MigratingVmName parent
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent =
* MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]").toString();
@@ -4271,8 +4697,11 @@ public final ListCutoverJobsPagedResponse listCutoverJobs(String parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListCutoverJobsRequest request =
* ListCutoverJobsRequest.newBuilder()
@@ -4304,8 +4733,11 @@ public final ListCutoverJobsPagedResponse listCutoverJobs(ListCutoverJobsRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListCutoverJobsRequest request =
* ListCutoverJobsRequest.newBuilder()
@@ -4338,8 +4770,11 @@ public final ListCutoverJobsPagedResponse listCutoverJobs(ListCutoverJobsRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListCutoverJobsRequest request =
* ListCutoverJobsRequest.newBuilder()
@@ -4379,8 +4814,11 @@ public final ListCutoverJobsPagedResponse listCutoverJobs(ListCutoverJobsRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* CutoverJobName name =
* CutoverJobName.of(
@@ -4405,8 +4843,11 @@ public final CutoverJob getCutoverJob(CutoverJobName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name =
* CutoverJobName.of(
@@ -4431,8 +4872,11 @@ public final CutoverJob getCutoverJob(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetCutoverJobRequest request =
* GetCutoverJobRequest.newBuilder()
@@ -4459,8 +4903,11 @@ public final CutoverJob getCutoverJob(GetCutoverJobRequest 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 (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetCutoverJobRequest request =
* GetCutoverJobRequest.newBuilder()
@@ -4486,8 +4933,11 @@ public final UnaryCallable getCutoverJobCallab
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Group element : vmMigrationClient.listGroups(parent).iterateAll()) {
@@ -4512,8 +4962,11 @@ public final ListGroupsPagedResponse listGroups(LocationName parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Group element : vmMigrationClient.listGroups(parent).iterateAll()) {
@@ -4537,8 +4990,11 @@ public final ListGroupsPagedResponse listGroups(String parent) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListGroupsRequest request =
* ListGroupsRequest.newBuilder()
@@ -4568,8 +5024,11 @@ public final ListGroupsPagedResponse listGroups(ListGroupsRequest 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 (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListGroupsRequest request =
* ListGroupsRequest.newBuilder()
@@ -4598,8 +5057,11 @@ public final UnaryCallable listGroup
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* ListGroupsRequest request =
* ListGroupsRequest.newBuilder()
@@ -4635,8 +5097,11 @@ public final UnaryCallable listGroupsCall
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GroupName name = GroupName.of("[PROJECT]", "[LOCATION]", "[GROUP]");
* Group response = vmMigrationClient.getGroup(name);
@@ -4659,8 +5124,11 @@ public final Group getGroup(GroupName name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String name = GroupName.of("[PROJECT]", "[LOCATION]", "[GROUP]").toString();
* Group response = vmMigrationClient.getGroup(name);
@@ -4682,8 +5150,11 @@ public final Group getGroup(String name) {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetGroupRequest request =
* GetGroupRequest.newBuilder()
@@ -4707,8 +5178,11 @@ public final Group getGroup(GetGroupRequest 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 (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* GetGroupRequest request =
* GetGroupRequest.newBuilder()
@@ -4731,8 +5205,11 @@ public final UnaryCallable getGroupCallable() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Group group = Group.newBuilder().build();
@@ -4764,8 +5241,11 @@ public final OperationFuture createGroupAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Group group = Group.newBuilder().build();
@@ -4797,8 +5277,11 @@ public final OperationFuture createGroupAsync(
*