From d18aaa9f2a5e202fb04a7de0232efe28267f6094 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Fri, 9 Sep 2022 15:18:14 +0000
Subject: [PATCH] chore(bazel): Update WORKSPACE files for rules_gapic,
gax_java, generator_java versions (#131)
- [ ] Regenerate this pull request now.
PiperOrigin-RevId: 472750037
Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24
Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
---
.../vmmigration/v1/VmMigrationClient.java | 1435 ++++++++++++-----
.../vmmigration/v1/VmMigrationSettings.java | 12 +-
.../cloud/vmmigration/v1/package-info.java | 7 +-
.../v1/stub/HttpJsonVmMigrationStub.java | 56 +-
.../v1/stub/VmMigrationStubSettings.java | 12 +-
.../getsource/SyncGetSource.java | 12 +-
.../AsyncAddGroupMigration.java | 7 +-
.../AsyncAddGroupMigrationLRO.java | 7 +-
.../SyncAddGroupMigration.java | 7 +-
.../SyncAddGroupMigrationGroupname.java | 7 +-
.../SyncAddGroupMigrationString.java | 7 +-
.../cancelclonejob/AsyncCancelCloneJob.java | 7 +-
.../AsyncCancelCloneJobLRO.java | 7 +-
.../cancelclonejob/SyncCancelCloneJob.java | 7 +-
.../SyncCancelCloneJobClonejobname.java | 7 +-
.../SyncCancelCloneJobString.java | 7 +-
.../AsyncCancelCutoverJob.java | 7 +-
.../AsyncCancelCutoverJobLRO.java | 7 +-
.../SyncCancelCutoverJob.java | 7 +-
.../SyncCancelCutoverJobCutoverjobname.java | 7 +-
.../SyncCancelCutoverJobString.java | 7 +-
.../SyncCreateSetCredentialsProvider.java | 7 +-
.../SyncCreateSetCredentialsProvider1.java | 7 +-
.../create/SyncCreateSetEndpoint.java | 7 +-
.../createclonejob/AsyncCreateCloneJob.java | 7 +-
.../AsyncCreateCloneJobLRO.java | 7 +-
.../createclonejob/SyncCreateCloneJob.java | 7 +-
...CloneJobMigratingvmnameClonejobString.java | 7 +-
...yncCreateCloneJobStringClonejobString.java | 7 +-
.../AsyncCreateCutoverJob.java | 7 +-
.../AsyncCreateCutoverJobLRO.java | 7 +-
.../SyncCreateCutoverJob.java | 7 +-
...verJobMigratingvmnameCutoverjobString.java | 7 +-
...reateCutoverJobStringCutoverjobString.java | 7 +-
.../AsyncCreateDatacenterConnector.java | 7 +-
.../AsyncCreateDatacenterConnectorLRO.java | 7 +-
.../SyncCreateDatacenterConnector.java | 7 +-
...orSourcenameDatacenterconnectorString.java | 7 +-
...nectorStringDatacenterconnectorString.java | 7 +-
.../creategroup/AsyncCreateGroup.java | 7 +-
.../creategroup/AsyncCreateGroupLRO.java | 7 +-
.../creategroup/SyncCreateGroup.java | 7 +-
...yncCreateGroupLocationnameGroupString.java | 7 +-
.../SyncCreateGroupStringGroupString.java | 7 +-
.../AsyncCreateMigratingVm.java | 7 +-
.../AsyncCreateMigratingVmLRO.java | 7 +-
.../SyncCreateMigratingVm.java | 7 +-
...igratingVmSourcenameMigratingvmString.java | 7 +-
...ateMigratingVmStringMigratingvmString.java | 7 +-
.../createsource/AsyncCreateSource.java | 7 +-
.../createsource/AsyncCreateSourceLRO.java | 7 +-
.../createsource/SyncCreateSource.java | 7 +-
...cCreateSourceLocationnameSourceString.java | 7 +-
.../SyncCreateSourceStringSourceString.java | 7 +-
.../AsyncCreateTargetProject.java | 7 +-
.../AsyncCreateTargetProjectLRO.java | 7 +-
.../SyncCreateTargetProject.java | 7 +-
...rojectLocationnameTargetprojectString.java | 7 +-
...argetProjectStringTargetprojectString.java | 7 +-
.../AsyncCreateUtilizationReport.java | 7 +-
.../AsyncCreateUtilizationReportLRO.java | 7 +-
.../SyncCreateUtilizationReport.java | 7 +-
...portSourcenameUtilizationreportString.java | 7 +-
...onReportStringUtilizationreportString.java | 7 +-
.../AsyncDeleteDatacenterConnector.java | 7 +-
.../AsyncDeleteDatacenterConnectorLRO.java | 7 +-
.../SyncDeleteDatacenterConnector.java | 7 +-
...enterConnectorDatacenterconnectorname.java | 7 +-
.../SyncDeleteDatacenterConnectorString.java | 7 +-
.../deletegroup/AsyncDeleteGroup.java | 7 +-
.../deletegroup/AsyncDeleteGroupLRO.java | 7 +-
.../deletegroup/SyncDeleteGroup.java | 7 +-
.../deletegroup/SyncDeleteGroupGroupname.java | 7 +-
.../deletegroup/SyncDeleteGroupString.java | 7 +-
.../AsyncDeleteMigratingVm.java | 7 +-
.../AsyncDeleteMigratingVmLRO.java | 7 +-
.../SyncDeleteMigratingVm.java | 7 +-
.../SyncDeleteMigratingVmMigratingvmname.java | 7 +-
.../SyncDeleteMigratingVmString.java | 7 +-
.../deletesource/AsyncDeleteSource.java | 7 +-
.../deletesource/AsyncDeleteSourceLRO.java | 7 +-
.../deletesource/SyncDeleteSource.java | 7 +-
.../SyncDeleteSourceSourcename.java | 7 +-
.../deletesource/SyncDeleteSourceString.java | 7 +-
.../AsyncDeleteTargetProject.java | 7 +-
.../AsyncDeleteTargetProjectLRO.java | 7 +-
.../SyncDeleteTargetProject.java | 7 +-
.../SyncDeleteTargetProjectString.java | 7 +-
...cDeleteTargetProjectTargetprojectname.java | 7 +-
.../AsyncDeleteUtilizationReport.java | 7 +-
.../AsyncDeleteUtilizationReportLRO.java | 7 +-
.../SyncDeleteUtilizationReport.java | 7 +-
.../SyncDeleteUtilizationReportString.java | 7 +-
...tilizationReportUtilizationreportname.java | 7 +-
.../fetchinventory/AsyncFetchInventory.java | 7 +-
.../fetchinventory/SyncFetchInventory.java | 7 +-
.../SyncFetchInventorySourcename.java | 7 +-
.../SyncFetchInventoryString.java | 7 +-
.../AsyncFinalizeMigration.java | 7 +-
.../AsyncFinalizeMigrationLRO.java | 7 +-
.../SyncFinalizeMigration.java | 7 +-
.../SyncFinalizeMigrationMigratingvmname.java | 7 +-
.../SyncFinalizeMigrationString.java | 7 +-
.../getclonejob/AsyncGetCloneJob.java | 7 +-
.../getclonejob/SyncGetCloneJob.java | 7 +-
.../SyncGetCloneJobClonejobname.java | 7 +-
.../getclonejob/SyncGetCloneJobString.java | 7 +-
.../getcutoverjob/AsyncGetCutoverJob.java | 7 +-
.../getcutoverjob/SyncGetCutoverJob.java | 7 +-
.../SyncGetCutoverJobCutoverjobname.java | 7 +-
.../SyncGetCutoverJobString.java | 7 +-
.../AsyncGetDatacenterConnector.java | 7 +-
.../SyncGetDatacenterConnector.java | 7 +-
...enterConnectorDatacenterconnectorname.java | 7 +-
.../SyncGetDatacenterConnectorString.java | 7 +-
.../getgroup/AsyncGetGroup.java | 7 +-
.../getgroup/SyncGetGroup.java | 7 +-
.../getgroup/SyncGetGroupGroupname.java | 7 +-
.../getgroup/SyncGetGroupString.java | 7 +-
.../getmigratingvm/AsyncGetMigratingVm.java | 7 +-
.../getmigratingvm/SyncGetMigratingVm.java | 7 +-
.../SyncGetMigratingVmMigratingvmname.java | 7 +-
.../SyncGetMigratingVmString.java | 7 +-
.../getsource/AsyncGetSource.java | 7 +-
.../getsource/SyncGetSource.java | 7 +-
.../getsource/SyncGetSourceSourcename.java | 7 +-
.../getsource/SyncGetSourceString.java | 7 +-
.../AsyncGetTargetProject.java | 7 +-
.../SyncGetTargetProject.java | 7 +-
.../SyncGetTargetProjectString.java | 7 +-
...SyncGetTargetProjectTargetprojectname.java | 7 +-
.../AsyncGetUtilizationReport.java | 7 +-
.../SyncGetUtilizationReport.java | 7 +-
.../SyncGetUtilizationReportString.java | 7 +-
...tilizationReportUtilizationreportname.java | 7 +-
.../listclonejobs/AsyncListCloneJobs.java | 7 +-
.../AsyncListCloneJobsPaged.java | 7 +-
.../listclonejobs/SyncListCloneJobs.java | 7 +-
.../SyncListCloneJobsMigratingvmname.java | 7 +-
.../SyncListCloneJobsString.java | 7 +-
.../listcutoverjobs/AsyncListCutoverJobs.java | 7 +-
.../AsyncListCutoverJobsPaged.java | 7 +-
.../listcutoverjobs/SyncListCutoverJobs.java | 7 +-
.../SyncListCutoverJobsMigratingvmname.java | 7 +-
.../SyncListCutoverJobsString.java | 7 +-
.../AsyncListDatacenterConnectors.java | 7 +-
.../AsyncListDatacenterConnectorsPaged.java | 7 +-
.../SyncListDatacenterConnectors.java | 7 +-
...yncListDatacenterConnectorsSourcename.java | 7 +-
.../SyncListDatacenterConnectorsString.java | 7 +-
.../listgroups/AsyncListGroups.java | 7 +-
.../listgroups/AsyncListGroupsPaged.java | 7 +-
.../listgroups/SyncListGroups.java | 7 +-
.../SyncListGroupsLocationname.java | 7 +-
.../listgroups/SyncListGroupsString.java | 7 +-
.../AsyncListMigratingVms.java | 7 +-
.../AsyncListMigratingVmsPaged.java | 7 +-
.../SyncListMigratingVms.java | 7 +-
.../SyncListMigratingVmsSourcename.java | 7 +-
.../SyncListMigratingVmsString.java | 7 +-
.../listsources/AsyncListSources.java | 7 +-
.../listsources/AsyncListSourcesPaged.java | 7 +-
.../listsources/SyncListSources.java | 7 +-
.../SyncListSourcesLocationname.java | 7 +-
.../listsources/SyncListSourcesString.java | 7 +-
.../AsyncListTargetProjects.java | 7 +-
.../AsyncListTargetProjectsPaged.java | 7 +-
.../SyncListTargetProjects.java | 7 +-
.../SyncListTargetProjectsLocationname.java | 7 +-
.../SyncListTargetProjectsString.java | 7 +-
.../AsyncListUtilizationReports.java | 7 +-
.../AsyncListUtilizationReportsPaged.java | 7 +-
.../SyncListUtilizationReports.java | 7 +-
.../SyncListUtilizationReportsSourcename.java | 7 +-
.../SyncListUtilizationReportsString.java | 7 +-
.../pausemigration/AsyncPauseMigration.java | 7 +-
.../AsyncPauseMigrationLRO.java | 7 +-
.../pausemigration/SyncPauseMigration.java | 7 +-
.../AsyncRemoveGroupMigration.java | 7 +-
.../AsyncRemoveGroupMigrationLRO.java | 7 +-
.../SyncRemoveGroupMigration.java | 7 +-
.../SyncRemoveGroupMigrationGroupname.java | 7 +-
.../SyncRemoveGroupMigrationString.java | 7 +-
.../resumemigration/AsyncResumeMigration.java | 7 +-
.../AsyncResumeMigrationLRO.java | 7 +-
.../resumemigration/SyncResumeMigration.java | 7 +-
.../startmigration/AsyncStartMigration.java | 7 +-
.../AsyncStartMigrationLRO.java | 7 +-
.../startmigration/SyncStartMigration.java | 7 +-
.../SyncStartMigrationMigratingvmname.java | 7 +-
.../SyncStartMigrationString.java | 7 +-
.../updategroup/AsyncUpdateGroup.java | 7 +-
.../updategroup/AsyncUpdateGroupLRO.java | 7 +-
.../updategroup/SyncUpdateGroup.java | 7 +-
.../SyncUpdateGroupGroupFieldmask.java | 7 +-
.../AsyncUpdateMigratingVm.java | 7 +-
.../AsyncUpdateMigratingVmLRO.java | 7 +-
.../SyncUpdateMigratingVm.java | 7 +-
...UpdateMigratingVmMigratingvmFieldmask.java | 7 +-
.../updatesource/AsyncUpdateSource.java | 7 +-
.../updatesource/AsyncUpdateSourceLRO.java | 7 +-
.../updatesource/SyncUpdateSource.java | 7 +-
.../SyncUpdateSourceSourceFieldmask.java | 7 +-
.../AsyncUpdateTargetProject.java | 7 +-
.../AsyncUpdateTargetProjectLRO.java | 7 +-
.../SyncUpdateTargetProject.java | 7 +-
...teTargetProjectTargetprojectFieldmask.java | 7 +-
.../AsyncUpgradeAppliance.java | 7 +-
.../AsyncUpgradeApplianceLRO.java | 7 +-
.../SyncUpgradeAppliance.java | 7 +-
.../getsource/SyncGetSource.java | 12 +-
211 files changed, 2109 insertions(+), 865 deletions(-)
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(
*