diff --git a/.github/.OwlBot.yaml b/.github/.OwlBot.yaml index dc3549e..2a0d7e6 100644 --- a/.github/.OwlBot.yaml +++ b/.github/.OwlBot.yaml @@ -16,6 +16,7 @@ docker: image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest" deep-remove-regex: +- "/samples/snippets/generated" - "/grpc-google-.*/src" - "/proto-google-.*/src" - "/google-.*/src" @@ -30,3 +31,5 @@ deep-copy-regex: dest: "/owl-bot-staging/$1/grpc-google-cloud-vmmigration-$1/src" - source: "/google/cloud/vmmigration/(v.*)/.*-java/gapic-google-.*/src" dest: "/owl-bot-staging/$1/google-cloud-vmmigration/src" +- source: "/google/cloud/vmmigration/(v.*)/.*-java/samples/snippets/generated" + dest: "/owl-bot-staging/$1/samples/snippets/generated" diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ffcd2e..6a3d168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.1.1](https://github.com/googleapis/java-vmmigration/compare/v1.1.0...v1.1.1) (2022-06-23) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#102](https://github.com/googleapis/java-vmmigration/issues/102)) ([5a92fae](https://github.com/googleapis/java-vmmigration/commit/5a92fae4aff42a2eaba439d7b2eccfe94f90dade)) + ## [1.1.0](https://github.com/googleapis/java-vmmigration/compare/v1.0.6...v1.1.0) (2022-05-24) diff --git a/README.md b/README.md index 1dad402..918d684 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-vmmigration - 1.0.6 + 1.1.0 ``` @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-vmmigration:1.0.6' +implementation 'com.google.cloud:google-cloud-vmmigration:1.1.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.0.6" +libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.1.0" ``` ## Authentication diff --git a/google-cloud-vmmigration-bom/pom.xml b/google-cloud-vmmigration-bom/pom.xml index 72d703d..dc2d186 100644 --- a/google-cloud-vmmigration-bom/pom.xml +++ b/google-cloud-vmmigration-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-vmmigration-bom - 1.1.0 + 1.1.1 pom com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 Google VM Migration BOM @@ -65,17 +65,17 @@ com.google.cloud google-cloud-vmmigration - 1.1.0 + 1.1.1 com.google.api.grpc grpc-google-cloud-vmmigration-v1 - 1.1.0 + 1.1.1 com.google.api.grpc proto-google-cloud-vmmigration-v1 - 1.1.0 + 1.1.1 diff --git a/google-cloud-vmmigration/pom.xml b/google-cloud-vmmigration/pom.xml index 4f4fa7e..c958db5 100644 --- a/google-cloud-vmmigration/pom.xml +++ b/google-cloud-vmmigration/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-vmmigration - 1.1.0 + 1.1.1 jar Google VM Migration https://github.com/googleapis/java-vmmigration @@ -11,7 +11,7 @@ com.google.cloud google-cloud-vmmigration-parent - 1.1.0 + 1.1.1 google-cloud-vmmigration diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java index a27c0a6..c28d9e6 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java +++ b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; @@ -128,7 +127,6 @@ public static final VmMigrationClient create(VmMigrationSettings settings) throw * Constructs an instance of VmMigrationClient, using the given stub for making calls. This is for * advanced usage - prefer using create(VmMigrationSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final VmMigrationClient create(VmMigrationStub stub) { return new VmMigrationClient(stub); } @@ -144,7 +142,6 @@ protected VmMigrationClient(VmMigrationSettings settings) throws IOException { this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected VmMigrationClient(VmMigrationStub stub) { this.settings = null; this.stub = stub; @@ -155,7 +152,6 @@ public final VmMigrationSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public VmMigrationStub getStub() { return stub; } @@ -303,7 +299,7 @@ public final ListSourcesPagedResponse listSources(ListSourcesRequest request) { * .build(); * while (true) { * ListSourcesResponse response = vmMigrationClient.listSourcesCallable().call(request); - * for (Source element : response.getResponsesList()) { + * for (Source element : response.getSourcesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1064,7 +1060,7 @@ public final ListUtilizationReportsPagedResponse listUtilizationReports( * while (true) { * ListUtilizationReportsResponse response = * vmMigrationClient.listUtilizationReportsCallable().call(request); - * for (UtilizationReport element : response.getResponsesList()) { + * for (UtilizationReport element : response.getUtilizationReportsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1646,7 +1642,7 @@ public final ListDatacenterConnectorsPagedResponse listDatacenterConnectors( * while (true) { * ListDatacenterConnectorsResponse response = * vmMigrationClient.listDatacenterConnectorsCallable().call(request); - * for (DatacenterConnector element : response.getResponsesList()) { + * for (DatacenterConnector element : response.getDatacenterConnectorsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -2384,7 +2380,7 @@ public final ListMigratingVmsPagedResponse listMigratingVms(ListMigratingVmsRequ * while (true) { * ListMigratingVmsResponse response = * vmMigrationClient.listMigratingVmsCallable().call(request); - * for (MigratingVm element : response.getResponsesList()) { + * for (MigratingVm element : response.getMigratingVmsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -3659,7 +3655,7 @@ public final ListCloneJobsPagedResponse listCloneJobs(ListCloneJobsRequest reque * .build(); * while (true) { * ListCloneJobsResponse response = vmMigrationClient.listCloneJobsCallable().call(request); - * for (CloneJob element : response.getResponsesList()) { + * for (CloneJob element : response.getCloneJobsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -4234,7 +4230,7 @@ public final ListCutoverJobsPagedResponse listCutoverJobs(ListCutoverJobsRequest * while (true) { * ListCutoverJobsResponse response = * vmMigrationClient.listCutoverJobsCallable().call(request); - * for (CutoverJob element : response.getResponsesList()) { + * for (CutoverJob element : response.getCutoverJobsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -4491,7 +4487,7 @@ public final UnaryCallable listGroup * .build(); * while (true) { * ListGroupsResponse response = vmMigrationClient.listGroupsCallable().call(request); - * for (Group element : response.getResponsesList()) { + * for (Group element : response.getGroupsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -5429,7 +5425,7 @@ public final ListTargetProjectsPagedResponse listTargetProjects( * while (true) { * ListTargetProjectsResponse response = * vmMigrationClient.listTargetProjectsCallable().call(request); - * for (TargetProject element : response.getResponsesList()) { + * for (TargetProject element : response.getTargetProjectsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java index b6a8c28..ec23e9f 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java +++ b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java @@ -1183,7 +1183,6 @@ public UnaryCallSettings deleteTargetProj return deleteTargetProjectOperationSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public VmMigrationStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/grpc-google-cloud-vmmigration-v1/pom.xml b/grpc-google-cloud-vmmigration-v1/pom.xml index bb15d2d..40b65c8 100644 --- a/grpc-google-cloud-vmmigration-v1/pom.xml +++ b/grpc-google-cloud-vmmigration-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vmmigration-v1 - 1.1.0 + 1.1.1 grpc-google-cloud-vmmigration-v1 GRPC library for google-cloud-vmmigration com.google.cloud google-cloud-vmmigration-parent - 1.1.0 + 1.1.1 diff --git a/pom.xml b/pom.xml index 2c6d7ec..e2898e2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-vmmigration-parent pom - 1.1.0 + 1.1.1 Google VM Migration Parent https://github.com/googleapis/java-vmmigration @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 @@ -69,23 +69,23 @@ com.google.cloud google-cloud-vmmigration - 1.1.0 + 1.1.1 com.google.api.grpc grpc-google-cloud-vmmigration-v1 - 1.1.0 + 1.1.1 com.google.api.grpc proto-google-cloud-vmmigration-v1 - 1.1.0 + 1.1.1 com.google.cloud google-cloud-shared-dependencies - 2.12.0 + 2.13.0 pom import diff --git a/proto-google-cloud-vmmigration-v1/pom.xml b/proto-google-cloud-vmmigration-v1/pom.xml index 5dfa8cd..f33ce61 100644 --- a/proto-google-cloud-vmmigration-v1/pom.xml +++ b/proto-google-cloud-vmmigration-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vmmigration-v1 - 1.1.0 + 1.1.1 proto-google-cloud-vmmigration-v1 Proto library for google-cloud-vmmigration com.google.cloud google-cloud-vmmigration-parent - 1.1.0 + 1.1.1 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 6097d23..22efece 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-vmmigration - 1.0.6 + 1.1.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 7af2c77..ad9cc48 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-vmmigration - 1.1.0 + 1.1.1 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index a7885a2..ea4e43c 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-vmmigration - 1.0.6 + 1.1.0 diff --git a/versions.txt b/versions.txt index d233805..ed65eb5 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-vmmigration:1.1.0:1.1.0 -grpc-google-cloud-vmmigration-v1:1.1.0:1.1.0 -proto-google-cloud-vmmigration-v1:1.1.0:1.1.0 +google-cloud-vmmigration:1.1.1:1.1.1 +grpc-google-cloud-vmmigration-v1:1.1.1:1.1.1 +proto-google-cloud-vmmigration-v1:1.1.1:1.1.1