{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* MigrationJobName name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]");
@@ -85,8 +88,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
* DataMigrationServiceSettings dataMigrationServiceSettings =
* DataMigrationServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -98,8 +104,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
* DataMigrationServiceSettings dataMigrationServiceSettings =
* DataMigrationServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* DataMigrationServiceClient dataMigrationServiceClient =
@@ -176,8 +185,11 @@ public final OperationsClient getOperationsClient() {
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -206,8 +218,11 @@ public final ListMigrationJobsPagedResponse listMigrationJobs(LocationName paren
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -234,8 +249,11 @@ public final ListMigrationJobsPagedResponse listMigrationJobs(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 (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ListMigrationJobsRequest request =
@@ -267,8 +285,11 @@ public final ListMigrationJobsPagedResponse listMigrationJobs(ListMigrationJobsR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ListMigrationJobsRequest request =
@@ -300,8 +321,11 @@ public final ListMigrationJobsPagedResponse listMigrationJobs(ListMigrationJobsR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ListMigrationJobsRequest request =
@@ -340,8 +364,11 @@ public final ListMigrationJobsPagedResponse listMigrationJobs(ListMigrationJobsR
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* MigrationJobName name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]");
@@ -365,8 +392,11 @@ public final MigrationJob getMigrationJob(MigrationJobName 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 (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* String name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]").toString();
@@ -389,8 +419,11 @@ public final MigrationJob getMigrationJob(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 (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* GetMigrationJobRequest request =
@@ -415,8 +448,11 @@ public final MigrationJob getMigrationJob(GetMigrationJobRequest 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 (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* GetMigrationJobRequest request =
@@ -441,8 +477,11 @@ public final UnaryCallable getMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -480,8 +519,11 @@ public final OperationFuture createMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -519,8 +561,11 @@ public final OperationFuture createMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* CreateMigrationJobRequest request =
@@ -549,8 +594,11 @@ public final OperationFuture createMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* CreateMigrationJobRequest request =
@@ -579,8 +627,11 @@ public final OperationFuture createMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* CreateMigrationJobRequest request =
@@ -608,8 +659,11 @@ public final UnaryCallable createMigration
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* MigrationJob migrationJob = MigrationJob.newBuilder().build();
@@ -641,8 +695,11 @@ public final OperationFuture updateMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* UpdateMigrationJobRequest request =
@@ -670,8 +727,11 @@ public final OperationFuture updateMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* UpdateMigrationJobRequest request =
@@ -699,8 +759,11 @@ public final OperationFuture updateMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* UpdateMigrationJobRequest request =
@@ -727,8 +790,11 @@ public final UnaryCallable updateMigration
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* MigrationJobName name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]");
@@ -755,8 +821,11 @@ public final OperationFuture deleteMigrationJobAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* String name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]").toString();
@@ -780,8 +849,11 @@ public final OperationFuture deleteMigrationJobAsync(S
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* DeleteMigrationJobRequest request =
@@ -809,8 +881,11 @@ public final OperationFuture deleteMigrationJobAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* DeleteMigrationJobRequest request =
@@ -838,8 +913,11 @@ public final OperationFuture deleteMigrationJobAsync(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* DeleteMigrationJobRequest request =
@@ -866,8 +944,11 @@ public final UnaryCallable deleteMigration
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* StartMigrationJobRequest request =
@@ -893,8 +974,11 @@ public final OperationFuture startMigrationJobA
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* StartMigrationJobRequest request =
@@ -920,8 +1004,11 @@ public final OperationFuture startMigrationJobA
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* StartMigrationJobRequest request =
@@ -946,8 +1033,11 @@ public final UnaryCallable startMigrationJo
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* StopMigrationJobRequest request =
@@ -973,8 +1063,11 @@ public final OperationFuture stopMigrationJobAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* StopMigrationJobRequest request =
@@ -1000,8 +1093,11 @@ public final OperationFuture stopMigrationJobAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* StopMigrationJobRequest request =
@@ -1027,8 +1123,11 @@ public final UnaryCallable stopMigrationJobC
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ResumeMigrationJobRequest request =
@@ -1055,8 +1154,11 @@ public final OperationFuture resumeMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ResumeMigrationJobRequest request =
@@ -1083,8 +1185,11 @@ public final OperationFuture resumeMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ResumeMigrationJobRequest request =
@@ -1110,8 +1215,11 @@ public final UnaryCallable resumeMigration
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* PromoteMigrationJobRequest request =
@@ -1138,8 +1246,11 @@ public final OperationFuture promoteMigrationJo
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* PromoteMigrationJobRequest request =
@@ -1166,8 +1277,11 @@ public final OperationFuture promoteMigrationJo
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* PromoteMigrationJobRequest request =
@@ -1193,8 +1307,11 @@ public final UnaryCallable promoteMigrati
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* VerifyMigrationJobRequest request =
@@ -1221,8 +1338,11 @@ public final OperationFuture verifyMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* VerifyMigrationJobRequest request =
@@ -1249,8 +1369,11 @@ public final OperationFuture verifyMigrationJob
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* VerifyMigrationJobRequest request =
@@ -1276,8 +1399,11 @@ public final UnaryCallable verifyMigration
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* RestartMigrationJobRequest request =
@@ -1304,8 +1430,11 @@ public final OperationFuture restartMigrationJo
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* RestartMigrationJobRequest request =
@@ -1332,8 +1461,11 @@ public final OperationFuture restartMigrationJo
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* RestartMigrationJobRequest request =
@@ -1358,8 +1490,11 @@ public final UnaryCallable restartMigrati
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* GenerateSshScriptRequest request =
@@ -1387,8 +1522,11 @@ public final SshScript generateSshScript(GenerateSshScriptRequest 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 (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* GenerateSshScriptRequest request =
@@ -1416,8 +1554,11 @@ public final UnaryCallable generateSshScrip
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -1446,8 +1587,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(Location
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -1474,8 +1618,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(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 (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ListConnectionProfilesRequest request =
@@ -1508,8 +1655,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ListConnectionProfilesRequest request =
@@ -1541,8 +1691,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ListConnectionProfilesRequest request =
@@ -1581,8 +1734,11 @@ public final ListConnectionProfilesPagedResponse listConnectionProfiles(
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ConnectionProfileName name =
@@ -1609,8 +1765,11 @@ public final ConnectionProfile getConnectionProfile(ConnectionProfileName 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 (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* String name =
@@ -1635,8 +1794,11 @@ public final ConnectionProfile getConnectionProfile(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 (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* GetConnectionProfileRequest request =
@@ -1663,8 +1825,11 @@ public final ConnectionProfile getConnectionProfile(GetConnectionProfileRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* GetConnectionProfileRequest request =
@@ -1692,8 +1857,11 @@ public final ConnectionProfile getConnectionProfile(GetConnectionProfileRequest
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ConnectionProfileName parent =
@@ -1733,8 +1901,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* String parent =
@@ -1772,8 +1943,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* CreateConnectionProfileRequest request =
@@ -1805,8 +1979,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* CreateConnectionProfileRequest request =
@@ -1838,8 +2015,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* CreateConnectionProfileRequest request =
@@ -1870,8 +2050,11 @@ public final OperationFuture createConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
@@ -1905,8 +2088,11 @@ public final OperationFuture updateConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* UpdateConnectionProfileRequest request =
@@ -1935,8 +2121,11 @@ public final OperationFuture updateConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* UpdateConnectionProfileRequest request =
@@ -1965,8 +2154,11 @@ public final OperationFuture updateConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* UpdateConnectionProfileRequest request =
@@ -1995,8 +2187,11 @@ public final OperationFuture updateConnect
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* ConnectionProfileName name =
@@ -2025,8 +2220,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* String name =
@@ -2052,8 +2250,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* DeleteConnectionProfileRequest request =
@@ -2084,8 +2285,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* DeleteConnectionProfileRequest request =
@@ -2116,8 +2320,11 @@ public final OperationFuture deleteConnectionProfileAs
* Sample code:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* DeleteConnectionProfileRequest request =
diff --git a/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/DataMigrationServiceSettings.java b/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/DataMigrationServiceSettings.java
index 86df72e4..039127f3 100644
--- a/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/DataMigrationServiceSettings.java
+++ b/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/DataMigrationServiceSettings.java
@@ -56,8 +56,11 @@
* For example, to set the total timeout of getMigrationJob to 30 seconds:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* DataMigrationServiceSettings.Builder dataMigrationServiceSettingsBuilder =
* DataMigrationServiceSettings.newBuilder();
* dataMigrationServiceSettingsBuilder
diff --git a/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/package-info.java b/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/package-info.java
index 6a26838f..fcbbe42b 100644
--- a/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/package-info.java
+++ b/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/package-info.java
@@ -24,8 +24,11 @@
* Sample for DataMigrationServiceClient:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DataMigrationServiceClient dataMigrationServiceClient =
* DataMigrationServiceClient.create()) {
* MigrationJobName name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]");
diff --git a/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java b/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java
index 73c5b74d..6b8e60b8 100644
--- a/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java
+++ b/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java
@@ -97,8 +97,11 @@
* For example, to set the total timeout of getMigrationJob to 30 seconds:
*
*
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* DataMigrationServiceStubSettings.Builder dataMigrationServiceSettingsBuilder =
* DataMigrationServiceStubSettings.newBuilder();
* dataMigrationServiceSettingsBuilder
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/create/SyncCreateSetCredentialsProvider.java
index 24ea866d..787b9e63 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/create/SyncCreateSetCredentialsProvider.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/create/SyncCreateSetCredentialsProvider.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateSetCredentialsProvider() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DataMigrationServiceSettings dataMigrationServiceSettings =
DataMigrationServiceSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/create/SyncCreateSetEndpoint.java
index 08a82e8a..e9a01be4 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/create/SyncCreateSetEndpoint.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/create/SyncCreateSetEndpoint.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateSetEndpoint() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DataMigrationServiceSettings dataMigrationServiceSettings =
DataMigrationServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
DataMigrationServiceClient dataMigrationServiceClient =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfile.java
index 9ad46e33..baabc329 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfile.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateConnectionProfile() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
CreateConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
index 0a7fd4d2..ca5a5286 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateConnectionProfileLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
CreateConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfile.java
index a1f9dd75..e8440875 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateConnectionProfile() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
CreateConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileConnectionprofilenameConnectionprofileString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileConnectionprofilenameConnectionprofileString.java
index 777e1b52..bad31a2a 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileConnectionprofilenameConnectionprofileString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileConnectionprofilenameConnectionprofileString.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
public static void syncCreateConnectionProfileConnectionprofilenameConnectionprofileString()
throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ConnectionProfileName parent =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
index 82ad8070..62e2fba4 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateConnectionProfileStringConnectionprofileString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
String parent =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJob.java
index 63720cb5..595b6f41 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
CreateMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJobLRO.java
index c1ef0049..723b16a3 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/AsyncCreateMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncCreateMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
CreateMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJob.java
index ebe89c5c..51ce36c7 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
CreateMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobLocationnameMigrationjobString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobLocationnameMigrationjobString.java
index feb87e1b..cee4a468 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobLocationnameMigrationjobString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobLocationnameMigrationjobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateMigrationJobLocationnameMigrationjobString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobStringMigrationjobString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobStringMigrationjobString.java
index 240a7e08..27ac3efe 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobStringMigrationjobString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/createmigrationjob/SyncCreateMigrationJobStringMigrationjobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncCreateMigrationJobStringMigrationjobString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
index 9f224981..ab22ec5b 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncDeleteConnectionProfile() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
DeleteConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
index bc5adaaa..79863d49 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncDeleteConnectionProfileLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
DeleteConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
index 03404f5f..c04bba2c 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteConnectionProfile() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
DeleteConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
index 6e78b7bf..935e1d0a 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteConnectionProfileConnectionprofilename() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ConnectionProfileName name =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
index 29dcce72..915bd054 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteConnectionProfileString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
String name =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJob.java
index b7070389..d7e594f7 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncDeleteMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
DeleteMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJobLRO.java
index 45bc083d..a410af6b 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/AsyncDeleteMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncDeleteMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
DeleteMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJob.java
index 92e1e7f8..597a9ccb 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
DeleteMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJobMigrationjobname.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJobMigrationjobname.java
index ab861746..5790f7c5 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJobMigrationjobname.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJobMigrationjobname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteMigrationJobMigrationjobname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
MigrationJobName name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]");
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJobString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJobString.java
index 602f918d..13c7b475 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJobString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/deletemigrationjob/SyncDeleteMigrationJobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncDeleteMigrationJobString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
String name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/generatesshscript/AsyncGenerateSshScript.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/generatesshscript/AsyncGenerateSshScript.java
index 87703ce2..3ee1b83d 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/generatesshscript/AsyncGenerateSshScript.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/generatesshscript/AsyncGenerateSshScript.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncGenerateSshScript() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
GenerateSshScriptRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/generatesshscript/SyncGenerateSshScript.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/generatesshscript/SyncGenerateSshScript.java
index b4dd045b..80a82079 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/generatesshscript/SyncGenerateSshScript.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/generatesshscript/SyncGenerateSshScript.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGenerateSshScript() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
GenerateSshScriptRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/AsyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/AsyncGetConnectionProfile.java
index 5305d37d..e2096aea 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/AsyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/AsyncGetConnectionProfile.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncGetConnectionProfile() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
GetConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfile.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfile.java
index 7b2d86fc..423cc716 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetConnectionProfile() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
GetConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
index 72b9a172..a6618a98 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetConnectionProfileConnectionprofilename() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ConnectionProfileName name =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfileString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfileString.java
index 15928de5..c8783e93 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfileString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getconnectionprofile/SyncGetConnectionProfileString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetConnectionProfileString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
String name =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/AsyncGetMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/AsyncGetMigrationJob.java
index 0e364b83..fda606d9 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/AsyncGetMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/AsyncGetMigrationJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncGetMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
GetMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJob.java
index 84e30618..dd6c465a 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
GetMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJobMigrationjobname.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJobMigrationjobname.java
index d67c7a21..d8935664 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJobMigrationjobname.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJobMigrationjobname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetMigrationJobMigrationjobname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
MigrationJobName name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]");
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJobString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJobString.java
index b26d332f..d0174269 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJobString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/getmigrationjob/SyncGetMigrationJobString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetMigrationJobString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
String name = MigrationJobName.of("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/AsyncListConnectionProfiles.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/AsyncListConnectionProfiles.java
index 3e329d75..e3934a89 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/AsyncListConnectionProfiles.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/AsyncListConnectionProfiles.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListConnectionProfiles() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ListConnectionProfilesRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
index 1d32f146..1e79e71b 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListConnectionProfilesPaged() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ListConnectionProfilesRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfiles.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfiles.java
index 89936fbd..0c11c431 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfiles.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfiles.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListConnectionProfiles() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ListConnectionProfilesRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
index 39dbdc2f..951d17dc 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListConnectionProfilesLocationname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfilesString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfilesString.java
index 7374d25a..942ed5e3 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfilesString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listconnectionprofiles/SyncListConnectionProfilesString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListConnectionProfilesString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/AsyncListMigrationJobs.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/AsyncListMigrationJobs.java
index f595095b..bc4d9714 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/AsyncListMigrationJobs.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/AsyncListMigrationJobs.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListMigrationJobs() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ListMigrationJobsRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/AsyncListMigrationJobsPaged.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/AsyncListMigrationJobsPaged.java
index 18118b37..ab5d6cf2 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/AsyncListMigrationJobsPaged.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/AsyncListMigrationJobsPaged.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncListMigrationJobsPaged() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ListMigrationJobsRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobs.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobs.java
index 8223d1b4..24e23a9f 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobs.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobs.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListMigrationJobs() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ListMigrationJobsRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobsLocationname.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobsLocationname.java
index f457bdfb..8f607df5 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobsLocationname.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobsLocationname.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListMigrationJobsLocationname() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobsString.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobsString.java
index 5f53b026..42de9c15 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobsString.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/listmigrationjobs/SyncListMigrationJobsString.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncListMigrationJobsString() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/AsyncPromoteMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/AsyncPromoteMigrationJob.java
index 8beabf0b..f305794f 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/AsyncPromoteMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/AsyncPromoteMigrationJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncPromoteMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
PromoteMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/AsyncPromoteMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/AsyncPromoteMigrationJobLRO.java
index 1fb6cf77..739d10e4 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/AsyncPromoteMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/AsyncPromoteMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncPromoteMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
PromoteMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/SyncPromoteMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/SyncPromoteMigrationJob.java
index b07cd310..bed2e779 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/SyncPromoteMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/promotemigrationjob/SyncPromoteMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncPromoteMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
PromoteMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/AsyncRestartMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/AsyncRestartMigrationJob.java
index 2f18d75d..2f4fbaf4 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/AsyncRestartMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/AsyncRestartMigrationJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncRestartMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
RestartMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/AsyncRestartMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/AsyncRestartMigrationJobLRO.java
index f7749943..2a9c8b48 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/AsyncRestartMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/AsyncRestartMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncRestartMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
RestartMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/SyncRestartMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/SyncRestartMigrationJob.java
index 080db968..2a24bc3e 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/SyncRestartMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/restartmigrationjob/SyncRestartMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncRestartMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
RestartMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/AsyncResumeMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/AsyncResumeMigrationJob.java
index 262baca2..271fe4c7 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/AsyncResumeMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/AsyncResumeMigrationJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncResumeMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ResumeMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/AsyncResumeMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/AsyncResumeMigrationJobLRO.java
index 5ac2bc29..39281ad5 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/AsyncResumeMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/AsyncResumeMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncResumeMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ResumeMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/SyncResumeMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/SyncResumeMigrationJob.java
index 8942980f..ecb7ec69 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/SyncResumeMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/resumemigrationjob/SyncResumeMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncResumeMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ResumeMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/AsyncStartMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/AsyncStartMigrationJob.java
index 0e67e0e1..0672a9a5 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/AsyncStartMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/AsyncStartMigrationJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncStartMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
StartMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/AsyncStartMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/AsyncStartMigrationJobLRO.java
index a3bfe640..8a6a645c 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/AsyncStartMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/AsyncStartMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncStartMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
StartMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/SyncStartMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/SyncStartMigrationJob.java
index 524061ba..1f2fd78e 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/SyncStartMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/startmigrationjob/SyncStartMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncStartMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
StartMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/AsyncStopMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/AsyncStopMigrationJob.java
index 8d4606a3..88983793 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/AsyncStopMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/AsyncStopMigrationJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncStopMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
StopMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/AsyncStopMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/AsyncStopMigrationJobLRO.java
index 7fdb71be..cd9e12d9 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/AsyncStopMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/AsyncStopMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncStopMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
StopMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/SyncStopMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/SyncStopMigrationJob.java
index 77d43280..15f9d506 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/SyncStopMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/stopmigrationjob/SyncStopMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncStopMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
StopMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
index 26bb5f5f..ca513f48 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncUpdateConnectionProfile() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
UpdateConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
index d83ad515..c9b8d206 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncUpdateConnectionProfileLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
UpdateConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/SyncUpdateConnectionProfile.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
index 85e0b543..76111400 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/SyncUpdateConnectionProfile.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncUpdateConnectionProfile() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
UpdateConnectionProfileRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
index ac1244f7..c2559b15 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncUpdateConnectionProfileConnectionprofileFieldmask() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
ConnectionProfile connectionProfile = ConnectionProfile.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/AsyncUpdateMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/AsyncUpdateMigrationJob.java
index 80478843..b2139601 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/AsyncUpdateMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/AsyncUpdateMigrationJob.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncUpdateMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
UpdateMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/AsyncUpdateMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/AsyncUpdateMigrationJobLRO.java
index 13425973..16061473 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/AsyncUpdateMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/AsyncUpdateMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncUpdateMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
UpdateMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/SyncUpdateMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/SyncUpdateMigrationJob.java
index 8bc0974c..a2545f7e 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/SyncUpdateMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/SyncUpdateMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncUpdateMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
UpdateMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/SyncUpdateMigrationJobMigrationjobFieldmask.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/SyncUpdateMigrationJobMigrationjobFieldmask.java
index a8708694..3a7b8ebe 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/SyncUpdateMigrationJobMigrationjobFieldmask.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/updatemigrationjob/SyncUpdateMigrationJobMigrationjobFieldmask.java
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncUpdateMigrationJobMigrationjobFieldmask() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
MigrationJob migrationJob = MigrationJob.newBuilder().build();
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/AsyncVerifyMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/AsyncVerifyMigrationJob.java
index a046ab56..8891608c 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/AsyncVerifyMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/AsyncVerifyMigrationJob.java
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncVerifyMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
VerifyMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/AsyncVerifyMigrationJobLRO.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/AsyncVerifyMigrationJobLRO.java
index 7027cdbf..8ec5798e 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/AsyncVerifyMigrationJobLRO.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/AsyncVerifyMigrationJobLRO.java
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}
public static void asyncVerifyMigrationJobLRO() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
VerifyMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/SyncVerifyMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/SyncVerifyMigrationJob.java
index ffcd6f07..36118d5f 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/SyncVerifyMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationserviceclient/verifymigrationjob/SyncVerifyMigrationJob.java
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncVerifyMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataMigrationServiceClient dataMigrationServiceClient =
DataMigrationServiceClient.create()) {
VerifyMigrationJobRequest request =
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationservicesettings/getmigrationjob/SyncGetMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationservicesettings/getmigrationjob/SyncGetMigrationJob.java
index 5c0e865a..366de98e 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationservicesettings/getmigrationjob/SyncGetMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/datamigrationservicesettings/getmigrationjob/SyncGetMigrationJob.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DataMigrationServiceSettings.Builder dataMigrationServiceSettingsBuilder =
DataMigrationServiceSettings.newBuilder();
dataMigrationServiceSettingsBuilder
diff --git a/samples/snippets/generated/com/google/cloud/clouddms/v1/stub/datamigrationservicestubsettings/getmigrationjob/SyncGetMigrationJob.java b/samples/snippets/generated/com/google/cloud/clouddms/v1/stub/datamigrationservicestubsettings/getmigrationjob/SyncGetMigrationJob.java
index af5026bc..324269e0 100644
--- a/samples/snippets/generated/com/google/cloud/clouddms/v1/stub/datamigrationservicestubsettings/getmigrationjob/SyncGetMigrationJob.java
+++ b/samples/snippets/generated/com/google/cloud/clouddms/v1/stub/datamigrationservicestubsettings/getmigrationjob/SyncGetMigrationJob.java
@@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
}
public static void syncGetMigrationJob() throws Exception {
- // This snippet has been automatically generated for illustrative purposes only.
- // It may require modifications to work in your environment.
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DataMigrationServiceStubSettings.Builder dataMigrationServiceSettingsBuilder =
DataMigrationServiceStubSettings.newBuilder();
dataMigrationServiceSettingsBuilder
From da927bf96d5c0c419e48e60eea2a18490a61d11c Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Fri, 9 Sep 2022 05:46:16 +0200
Subject: [PATCH 7/8] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v3.0.2 (#258)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.1` -> `3.0.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v3.0.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#302-httpsgithubcomgoogleapisjava-shared-dependenciescomparev301v302-2022-09-08)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2)
##### Dependencies
- Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#789](https://togithub.com/googleapis/java-shared-dependencies/issues/789)) ([6cf91a9](https://togithub.com/googleapis/java-shared-dependencies/commit/6cf91a96b9ea6af0fb845b50582dac7aa2892cab))
- Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#781](https://togithub.com/googleapis/java-shared-dependencies/issues/781)) ([8859e61](https://togithub.com/googleapis/java-shared-dependencies/commit/8859e61808bfc5cd9546e27e945fc855b36d2554))
- Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#790](https://togithub.com/googleapis/java-shared-dependencies/issues/790)) ([3431a47](https://togithub.com/googleapis/java-shared-dependencies/commit/3431a471cbf874a67a4f1a42e31f0ed891dedc92))
- Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#773](https://togithub.com/googleapis/java-shared-dependencies/issues/773)) ([27fc79f](https://togithub.com/googleapis/java-shared-dependencies/commit/27fc79f00ee70011df6a368bb8fcfad7f0ce41f0))
- Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#776](https://togithub.com/googleapis/java-shared-dependencies/issues/776)) ([bf333b8](https://togithub.com/googleapis/java-shared-dependencies/commit/bf333b8c88072d21cb959db4d3328bbb55d9ef5c))
- Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#780](https://togithub.com/googleapis/java-shared-dependencies/issues/780)) ([da7f44d](https://togithub.com/googleapis/java-shared-dependencies/commit/da7f44d71d6d7f372b5313dab68ce220308614d4))
- Update dependency io.grpc:grpc-bom to v1.48.1 ([#768](https://togithub.com/googleapis/java-shared-dependencies/issues/768)) ([5c7768d](https://togithub.com/googleapis/java-shared-dependencies/commit/5c7768d3c9665dd356de6c39c0a6a5fa6e992f2e))
- Update dependency io.grpc:grpc-bom to v1.49.0 ([#786](https://togithub.com/googleapis/java-shared-dependencies/issues/786)) ([8734812](https://togithub.com/googleapis/java-shared-dependencies/commit/8734812f1b4e2faaa48caf41eff59a85892ae344))
- Update dependency org.checkerframework:checker-qual to v3.24.0 ([#775](https://togithub.com/googleapis/java-shared-dependencies/issues/775)) ([df74b7b](https://togithub.com/googleapis/java-shared-dependencies/commit/df74b7b0dd5dd592523f302d9fb36adb5991cb0b))
- Update dependency org.checkerframework:checker-qual to v3.25.0 ([#788](https://togithub.com/googleapis/java-shared-dependencies/issues/788)) ([207035b](https://togithub.com/googleapis/java-shared-dependencies/commit/207035bd04c9305899eea540acbefaf06a7b1ec9))
- Update dependency org.threeten:threetenbp to v1.6.1 ([#782](https://togithub.com/googleapis/java-shared-dependencies/issues/782)) ([0f218ae](https://togithub.com/googleapis/java-shared-dependencies/commit/0f218aeb6aa33cf1da4a8b1d6c82bbf87946dab9))
- Update gax.version to v2.19.0 ([#785](https://togithub.com/googleapis/java-shared-dependencies/issues/785)) ([4448331](https://togithub.com/googleapis/java-shared-dependencies/commit/4448331c4c6d88ea8076260776d1d47d24aa19fa))
- Update google.core.version to v2.8.10 ([#787](https://togithub.com/googleapis/java-shared-dependencies/issues/787)) ([3c344d5](https://togithub.com/googleapis/java-shared-dependencies/commit/3c344d515e3b9215db5a1f8ef550d800d974e558))
- Update google.core.version to v2.8.7 ([#774](https://togithub.com/googleapis/java-shared-dependencies/issues/774)) ([d0cd5e8](https://togithub.com/googleapis/java-shared-dependencies/commit/d0cd5e8f6ca88787fe0dbf7f30c849cb4c4fae5e))
- Update google.core.version to v2.8.8 ([#777](https://togithub.com/googleapis/java-shared-dependencies/issues/777)) ([f00571c](https://togithub.com/googleapis/java-shared-dependencies/commit/f00571cd1e9f1c4e011fba4a1e1674c1d8d60200))
- Update google.core.version to v2.8.9 ([#784](https://togithub.com/googleapis/java-shared-dependencies/issues/784)) ([aa8e505](https://togithub.com/googleapis/java-shared-dependencies/commit/aa8e505dbb1214b2239e55d5ac83b00c167d77e4))
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dms).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 08808565..bf3bee9c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,7 +76,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 3.0.1
+ 3.0.2
pom
import
From ee3022e4bf11b27d0391d8679848677a84992232 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Fri, 9 Sep 2022 04:24:19 +0000
Subject: [PATCH 8/8] chore(main): release 2.2.4 (#259)
:robot: I have created a release *beep* *boop*
---
## [2.2.4](https://github.com/googleapis/java-dms/compare/v2.2.3...v2.2.4) (2022-09-09)
### Dependencies
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#258](https://github.com/googleapis/java-dms/issues/258)) ([da927bf](https://github.com/googleapis/java-dms/commit/da927bf96d5c0c419e48e60eea2a18490a61d11c))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 7 +++++++
google-cloud-dms-bom/pom.xml | 8 ++++----
google-cloud-dms/pom.xml | 4 ++--
grpc-google-cloud-dms-v1/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-dms-v1/pom.xml | 4 ++--
versions.txt | 6 +++---
7 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f43734b5..3792d853 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [2.2.4](https://github.com/googleapis/java-dms/compare/v2.2.3...v2.2.4) (2022-09-09)
+
+
+### Dependencies
+
+* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#258](https://github.com/googleapis/java-dms/issues/258)) ([da927bf](https://github.com/googleapis/java-dms/commit/da927bf96d5c0c419e48e60eea2a18490a61d11c))
+
## [2.2.3](https://github.com/googleapis/java-dms/compare/v2.2.2...v2.2.3) (2022-08-09)
diff --git a/google-cloud-dms-bom/pom.xml b/google-cloud-dms-bom/pom.xml
index 71e4f97a..21bab8ae 100644
--- a/google-cloud-dms-bom/pom.xml
+++ b/google-cloud-dms-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-dms-bom
- 2.2.4-SNAPSHOT
+ 2.2.4
pom
com.google.cloud
@@ -56,17 +56,17 @@
com.google.cloud
google-cloud-dms
- 2.2.4-SNAPSHOT
+ 2.2.4
com.google.api.grpc
grpc-google-cloud-dms-v1
- 2.2.4-SNAPSHOT
+ 2.2.4
com.google.api.grpc
proto-google-cloud-dms-v1
- 2.2.4-SNAPSHOT
+ 2.2.4