diff --git a/CHANGELOG.md b/CHANGELOG.md index 24ac6d54..6fae0abe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.2.1](https://github.com/googleapis/java-billingbudgets/compare/v2.2.0...v2.2.1) (2022-06-23) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#718](https://github.com/googleapis/java-billingbudgets/issues/718)) ([fad0b1c](https://github.com/googleapis/java-billingbudgets/commit/fad0b1c5ba834ebfcf5715047226034c70409f49)) + ## [2.2.0](https://github.com/googleapis/java-billingbudgets/compare/v2.1.9...v2.2.0) (2022-05-24) diff --git a/README.md b/README.md index edd67d5f..ef0647a5 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 25.3.0 + 25.4.0 pom import @@ -41,7 +41,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-billingbudgets - 2.1.9 + 2.2.0 ``` @@ -49,20 +49,20 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:25.3.0') +implementation platform('com.google.cloud:libraries-bom:25.4.0') implementation 'com.google.cloud:google-cloud-billingbudgets' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-billingbudgets:2.1.9' +implementation 'com.google.cloud:google-cloud-billingbudgets:2.2.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.1.9" +libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.2.0" ``` ## Authentication diff --git a/google-cloud-billingbudgets-bom/pom.xml b/google-cloud-billingbudgets-bom/pom.xml index 214a47f1..b6f9c8d0 100644 --- a/google-cloud-billingbudgets-bom/pom.xml +++ b/google-cloud-billingbudgets-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-billingbudgets-bom - 2.2.0 + 2.2.1 pom com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 Google Cloud billingbudgets BOM @@ -52,27 +52,27 @@ com.google.cloud google-cloud-billingbudgets - 2.2.0 + 2.2.1 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.11.0 + 0.11.1 com.google.api.grpc grpc-google-cloud-billingbudgets-v1 - 2.2.0 + 2.2.1 com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.11.0 + 0.11.1 com.google.api.grpc proto-google-cloud-billingbudgets-v1 - 2.2.0 + 2.2.1 diff --git a/google-cloud-billingbudgets/pom.xml b/google-cloud-billingbudgets/pom.xml index be766348..89801fb7 100644 --- a/google-cloud-billingbudgets/pom.xml +++ b/google-cloud-billingbudgets/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-billingbudgets - 2.2.0 + 2.2.1 jar Google Cloud billingbudgets https://github.com/googleapis/java-billingbudgets @@ -11,7 +11,7 @@ com.google.cloud google-cloud-billingbudgets-parent - 2.2.0 + 2.2.1 google-cloud-billingbudgets diff --git a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/BudgetServiceClient.java b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/BudgetServiceClient.java index a4e4dfbc..f702ef68 100644 --- a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/BudgetServiceClient.java +++ b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/BudgetServiceClient.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.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -126,7 +125,6 @@ public static final BudgetServiceClient create(BudgetServiceSettings settings) * Constructs an instance of BudgetServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(BudgetServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final BudgetServiceClient create(BudgetServiceStub stub) { return new BudgetServiceClient(stub); } @@ -141,7 +139,6 @@ protected BudgetServiceClient(BudgetServiceSettings settings) throws IOException this.stub = ((BudgetServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected BudgetServiceClient(BudgetServiceStub stub) { this.settings = null; this.stub = stub; @@ -151,7 +148,6 @@ public final BudgetServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public BudgetServiceStub getStub() { return stub; } @@ -624,7 +620,7 @@ public final ListBudgetsPagedResponse listBudgets(ListBudgetsRequest request) { * .build(); * while (true) { * ListBudgetsResponse response = budgetServiceClient.listBudgetsCallable().call(request); - * for (Budget element : response.getResponsesList()) { + * for (Budget element : response.getBudgetsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/stub/BudgetServiceStubSettings.java b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/stub/BudgetServiceStubSettings.java index 4d9d4edb..6ad457c8 100644 --- a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/stub/BudgetServiceStubSettings.java +++ b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/stub/BudgetServiceStubSettings.java @@ -187,7 +187,6 @@ public UnaryCallSettings deleteBudgetSettings() { return deleteBudgetSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public BudgetServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClient.java b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClient.java index 3384b0a6..cd549897 100644 --- a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClient.java +++ b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClient.java @@ -129,7 +129,6 @@ public static final BudgetServiceClient create(BudgetServiceSettings settings) * Constructs an instance of BudgetServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(BudgetServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final BudgetServiceClient create(BudgetServiceStub stub) { return new BudgetServiceClient(stub); } @@ -144,7 +143,6 @@ protected BudgetServiceClient(BudgetServiceSettings settings) throws IOException this.stub = ((BudgetServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected BudgetServiceClient(BudgetServiceStub stub) { this.settings = null; this.stub = stub; @@ -154,7 +152,6 @@ public final BudgetServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public BudgetServiceStub getStub() { return stub; } @@ -414,7 +411,7 @@ public final ListBudgetsPagedResponse listBudgets(ListBudgetsRequest request) { * .build(); * while (true) { * ListBudgetsResponse response = budgetServiceClient.listBudgetsCallable().call(request); - * for (Budget element : response.getResponsesList()) { + * for (Budget element : response.getBudgetsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/BudgetServiceStubSettings.java b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/BudgetServiceStubSettings.java index 50b9f489..f84f87ac 100644 --- a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/BudgetServiceStubSettings.java +++ b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/BudgetServiceStubSettings.java @@ -188,7 +188,6 @@ public UnaryCallSettings deleteBudgetSettings() { return deleteBudgetSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public BudgetServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/grpc-google-cloud-billingbudgets-v1/pom.xml b/grpc-google-cloud-billingbudgets-v1/pom.xml index 616d4730..6af9e0d0 100644 --- a/grpc-google-cloud-billingbudgets-v1/pom.xml +++ b/grpc-google-cloud-billingbudgets-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1 - 2.2.0 + 2.2.1 grpc-google-cloud-billingbudgets-v1 GRPC library for grpc-google-cloud-billingbudgets-v1 com.google.cloud google-cloud-billingbudgets-parent - 2.2.0 + 2.2.1 diff --git a/grpc-google-cloud-billingbudgets-v1beta1/pom.xml b/grpc-google-cloud-billingbudgets-v1beta1/pom.xml index b48a7ec7..560419e3 100644 --- a/grpc-google-cloud-billingbudgets-v1beta1/pom.xml +++ b/grpc-google-cloud-billingbudgets-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.11.0 + 0.11.1 grpc-google-cloud-billingbudgets-v1beta1 GRPC library for grpc-google-cloud-billingbudgets-v1beta1 com.google.cloud google-cloud-billingbudgets-parent - 2.2.0 + 2.2.1 diff --git a/pom.xml b/pom.xml index 10f09302..2c59efc6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-billingbudgets-parent pom - 2.2.0 + 2.2.1 Google Cloud Billing Budgets Parent https://github.com/googleapis/java-billingbudgets @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 @@ -61,33 +61,33 @@ com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.11.0 + 0.11.1 com.google.api.grpc proto-google-cloud-billingbudgets-v1 - 2.2.0 + 2.2.1 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.11.0 + 0.11.1 com.google.api.grpc grpc-google-cloud-billingbudgets-v1 - 2.2.0 + 2.2.1 com.google.cloud google-cloud-billingbudgets - 2.2.0 + 2.2.1 com.google.cloud google-cloud-shared-dependencies - 2.12.0 + 2.13.0 pom import diff --git a/proto-google-cloud-billingbudgets-v1/pom.xml b/proto-google-cloud-billingbudgets-v1/pom.xml index b641203c..475b1d56 100644 --- a/proto-google-cloud-billingbudgets-v1/pom.xml +++ b/proto-google-cloud-billingbudgets-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1 - 2.2.0 + 2.2.1 proto-google-cloud-billingbudgets-v1 PROTO library for proto-google-cloud-billingbudgets-v1 com.google.cloud google-cloud-billingbudgets-parent - 2.2.0 + 2.2.1 diff --git a/proto-google-cloud-billingbudgets-v1beta1/pom.xml b/proto-google-cloud-billingbudgets-v1beta1/pom.xml index 531ca1bc..487b48cb 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/pom.xml +++ b/proto-google-cloud-billingbudgets-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.11.0 + 0.11.1 proto-google-cloud-billingbudgets-v1beta1 PROTO library for proto-google-cloud-billingbudgets-v1beta1 com.google.cloud google-cloud-billingbudgets-parent - 2.2.0 + 2.2.1 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index ade574e0..21316d40 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-billingbudgets - 2.1.9 + 2.2.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index c03ddf83..933eadff 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-billingbudgets - 2.1.9 + 2.2.0 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 5c80d1cd..35f33a39 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.3.0 + 25.4.0 pom import diff --git a/versions.txt b/versions.txt index 0e6271a1..6d9f0a9c 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-billingbudgets:2.2.0:2.2.0 -grpc-google-cloud-billingbudgets-v1beta1:0.11.0:0.11.0 -grpc-google-cloud-billingbudgets-v1:2.2.0:2.2.0 -proto-google-cloud-billingbudgets-v1beta1:0.11.0:0.11.0 -proto-google-cloud-billingbudgets-v1:2.2.0:2.2.0 +google-cloud-billingbudgets:2.2.1:2.2.1 +grpc-google-cloud-billingbudgets-v1beta1:0.11.1:0.11.1 +grpc-google-cloud-billingbudgets-v1:2.2.1:2.2.1 +proto-google-cloud-billingbudgets-v1beta1:0.11.1:0.11.1 +proto-google-cloud-billingbudgets-v1:2.2.1:2.2.1