Date: Mon, 15 Mar 2021 08:28:19 -0700
Subject: [PATCH 02/13] chore: update java microgenerator to 1.0.2 Adds request
initialization to sample code (#360)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/d8adcef7-1946-4634-8064-0ff42df8bce2/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 362856902
Source-Link: https://github.com/googleapis/googleapis/commit/1305ca41d554eb0725237561e34129373bb8cbc1
---
.../cloud/billing/v1/CloudBillingClient.java | 12 ++++++
.../cloud/billing/v1/CloudCatalogClient.java | 14 +++++++
.../billing/v1/MockCloudBillingImpl.java | 40 +++++++++----------
.../billing/v1/MockCloudCatalogImpl.java | 8 ++--
synth.metadata | 6 +--
5 files changed, 53 insertions(+), 27 deletions(-)
diff --git a/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java b/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java
index a4bfa236..fd9640bb 100644
--- a/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java
+++ b/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java
@@ -339,6 +339,12 @@ public final ListBillingAccountsPagedResponse listBillingAccounts(
*
* {@code
* try (CloudBillingClient cloudBillingClient = CloudBillingClient.create()) {
+ * ListBillingAccountsRequest request =
+ * ListBillingAccountsRequest.newBuilder()
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setFilter("filter-1274492040")
+ * .build();
* while (true) {
* ListBillingAccountsResponse response =
* cloudBillingClient.listBillingAccountsCallable().call(request);
@@ -694,6 +700,12 @@ public final ListProjectBillingInfoPagedResponse listProjectBillingInfo(
*
* {@code
* try (CloudBillingClient cloudBillingClient = CloudBillingClient.create()) {
+ * ListProjectBillingInfoRequest request =
+ * ListProjectBillingInfoRequest.newBuilder()
+ * .setName(BillingAccountName.of("[BILLING_ACCOUNT]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
* while (true) {
* ListProjectBillingInfoResponse response =
* cloudBillingClient.listProjectBillingInfoCallable().call(request);
diff --git a/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudCatalogClient.java b/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudCatalogClient.java
index 1dc6f8bd..f910d7c5 100644
--- a/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudCatalogClient.java
+++ b/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudCatalogClient.java
@@ -231,6 +231,11 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request)
*
* {@code
* try (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
+ * ListServicesRequest request =
+ * ListServicesRequest.newBuilder()
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
* while (true) {
* ListServicesResponse response = cloudCatalogClient.listServicesCallable().call(request);
* for (Service element : response.getResponsesList()) {
@@ -364,6 +369,15 @@ public final UnaryCallable listSkusPaged
*
* {@code
* try (CloudCatalogClient cloudCatalogClient = CloudCatalogClient.create()) {
+ * ListSkusRequest request =
+ * ListSkusRequest.newBuilder()
+ * .setParent(ServiceName.of("[SERVICE]").toString())
+ * .setStartTime(Timestamp.newBuilder().build())
+ * .setEndTime(Timestamp.newBuilder().build())
+ * .setCurrencyCode("currencyCode1004773790")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
* while (true) {
* ListSkusResponse response = cloudCatalogClient.listSkusCallable().call(request);
* for (Sku element : response.getResponsesList()) {
diff --git a/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/MockCloudBillingImpl.java b/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/MockCloudBillingImpl.java
index 565d95e8..82116f62 100644
--- a/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/MockCloudBillingImpl.java
+++ b/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/MockCloudBillingImpl.java
@@ -66,7 +66,7 @@ public void reset() {
@Override
public void getBillingAccount(
GetBillingAccountRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof BillingAccount) {
requests.add(request);
responseObserver.onNext(((BillingAccount) response));
@@ -78,7 +78,7 @@ public void getBillingAccount(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method GetBillingAccount, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
BillingAccount.class.getName(),
Exception.class.getName())));
}
@@ -88,7 +88,7 @@ public void getBillingAccount(
public void listBillingAccounts(
ListBillingAccountsRequest request,
StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof ListBillingAccountsResponse) {
requests.add(request);
responseObserver.onNext(((ListBillingAccountsResponse) response));
@@ -100,7 +100,7 @@ public void listBillingAccounts(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method ListBillingAccounts, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
ListBillingAccountsResponse.class.getName(),
Exception.class.getName())));
}
@@ -109,7 +109,7 @@ public void listBillingAccounts(
@Override
public void updateBillingAccount(
UpdateBillingAccountRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof BillingAccount) {
requests.add(request);
responseObserver.onNext(((BillingAccount) response));
@@ -121,7 +121,7 @@ public void updateBillingAccount(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method UpdateBillingAccount, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
BillingAccount.class.getName(),
Exception.class.getName())));
}
@@ -130,7 +130,7 @@ public void updateBillingAccount(
@Override
public void createBillingAccount(
CreateBillingAccountRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof BillingAccount) {
requests.add(request);
responseObserver.onNext(((BillingAccount) response));
@@ -142,7 +142,7 @@ public void createBillingAccount(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method CreateBillingAccount, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
BillingAccount.class.getName(),
Exception.class.getName())));
}
@@ -152,7 +152,7 @@ public void createBillingAccount(
public void listProjectBillingInfo(
ListProjectBillingInfoRequest request,
StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof ListProjectBillingInfoResponse) {
requests.add(request);
responseObserver.onNext(((ListProjectBillingInfoResponse) response));
@@ -164,7 +164,7 @@ public void listProjectBillingInfo(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method ListProjectBillingInfo, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
ListProjectBillingInfoResponse.class.getName(),
Exception.class.getName())));
}
@@ -173,7 +173,7 @@ public void listProjectBillingInfo(
@Override
public void getProjectBillingInfo(
GetProjectBillingInfoRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof ProjectBillingInfo) {
requests.add(request);
responseObserver.onNext(((ProjectBillingInfo) response));
@@ -185,7 +185,7 @@ public void getProjectBillingInfo(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method GetProjectBillingInfo, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
ProjectBillingInfo.class.getName(),
Exception.class.getName())));
}
@@ -195,7 +195,7 @@ public void getProjectBillingInfo(
public void updateProjectBillingInfo(
UpdateProjectBillingInfoRequest request,
StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof ProjectBillingInfo) {
requests.add(request);
responseObserver.onNext(((ProjectBillingInfo) response));
@@ -207,7 +207,7 @@ public void updateProjectBillingInfo(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method UpdateProjectBillingInfo, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
ProjectBillingInfo.class.getName(),
Exception.class.getName())));
}
@@ -215,7 +215,7 @@ public void updateProjectBillingInfo(
@Override
public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof Policy) {
requests.add(request);
responseObserver.onNext(((Policy) response));
@@ -227,7 +227,7 @@ public void getIamPolicy(GetIamPolicyRequest request, StreamObserver res
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method GetIamPolicy, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
Policy.class.getName(),
Exception.class.getName())));
}
@@ -235,7 +235,7 @@ public void getIamPolicy(GetIamPolicyRequest request, StreamObserver res
@Override
public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof Policy) {
requests.add(request);
responseObserver.onNext(((Policy) response));
@@ -247,7 +247,7 @@ public void setIamPolicy(SetIamPolicyRequest request, StreamObserver res
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method SetIamPolicy, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
Policy.class.getName(),
Exception.class.getName())));
}
@@ -257,7 +257,7 @@ public void setIamPolicy(SetIamPolicyRequest request, StreamObserver res
public void testIamPermissions(
TestIamPermissionsRequest request,
StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof TestIamPermissionsResponse) {
requests.add(request);
responseObserver.onNext(((TestIamPermissionsResponse) response));
@@ -269,7 +269,7 @@ public void testIamPermissions(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method TestIamPermissions, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
TestIamPermissionsResponse.class.getName(),
Exception.class.getName())));
}
diff --git a/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/MockCloudCatalogImpl.java b/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/MockCloudCatalogImpl.java
index 42b382b2..bdcf4e44 100644
--- a/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/MockCloudCatalogImpl.java
+++ b/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/MockCloudCatalogImpl.java
@@ -61,7 +61,7 @@ public void reset() {
@Override
public void listServices(
ListServicesRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof ListServicesResponse) {
requests.add(request);
responseObserver.onNext(((ListServicesResponse) response));
@@ -73,7 +73,7 @@ public void listServices(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method ListServices, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
ListServicesResponse.class.getName(),
Exception.class.getName())));
}
@@ -81,7 +81,7 @@ public void listServices(
@Override
public void listSkus(ListSkusRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof ListSkusResponse) {
requests.add(request);
responseObserver.onNext(((ListSkusResponse) response));
@@ -93,7 +93,7 @@ public void listSkus(ListSkusRequest request, StreamObserver r
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method ListSkus, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
ListSkusResponse.class.getName(),
Exception.class.getName())));
}
diff --git a/synth.metadata b/synth.metadata
index 2cbc24b4..71f409fb 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-billing.git",
- "sha": "5bb479e7588bdf98e917178dc60a5288f992a5e7"
+ "sha": "1d4402b4adc8880f12db4453b91d218e88575719"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
- "internalRef": "361377784"
+ "sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
+ "internalRef": "362856902"
}
},
{
From 38ee953e7561b3f1ea640523f58168983114c0eb Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Mon, 15 Mar 2021 08:50:27 -0700
Subject: [PATCH 03/13] chore: regenerate README (#361)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-03-15 15:30:51,614 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-billing/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-03-15 15:30:52,722 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/7197145b-8137-4a08-8047-679a61c1411d/targets
- [ ] To automatically regenerate this PR, check this box.
---
.github/readme/synth.metadata/synth.metadata | 4 ++--
README.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index f1375fc4..1b7da29b 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-billing.git",
- "sha": "fb0d37a99b47776a4991d990f722c94b4290cf51"
+ "sha": "b4510876d05b82d3e3701be1998785ce5fd65a7e"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "2e7bd5cc66a3f0b90ce1c150eb35c89eeb9872d6"
+ "sha": "2c54c473779ea731128cea61a3a6c975a08a5378"
}
}
]
diff --git a/README.md b/README.md
index 6527a0b8..4facf2d7 100644
--- a/README.md
+++ b/README.md
@@ -51,12 +51,12 @@ compile 'com.google.cloud:google-cloud-billing'
```
If you are using Gradle without BOM, add this to your dependencies
```Groovy
-compile 'com.google.cloud:google-cloud-billing:1.1.14'
+compile 'com.google.cloud:google-cloud-billing:1.1.15'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "1.1.14"
+libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "1.1.15"
```
## Authentication
From adeee712ea544dd6c24b402220b5aa24cfcb7c37 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 17 Mar 2021 21:10:05 +0100
Subject: [PATCH 04/13] chore(deps): update dependency
com.google.cloud:libraries-bom to v19.1.0 (#362)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.0.0` -> `19.1.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-billing).
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 008b3ccd..48522806 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 19.0.0
+ 19.1.0
pom
import
From 52961965ba95b0a1b302c17da86061a7108b222f Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 17 Mar 2021 13:44:04 -0700
Subject: [PATCH 05/13] chore: regenerate README (#363)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-03-17 20:15:45,094 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-billing/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-03-17 20:15:45,983 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/a427aef3-bde5-4b01-8c7e-a53482482687/targets
- [ ] To automatically regenerate this PR, check this box.
---
.github/readme/synth.metadata/synth.metadata | 4 ++--
README.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index 1b7da29b..dff53a76 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-billing.git",
- "sha": "b4510876d05b82d3e3701be1998785ce5fd65a7e"
+ "sha": "adeee712ea544dd6c24b402220b5aa24cfcb7c37"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "2c54c473779ea731128cea61a3a6c975a08a5378"
+ "sha": "78437c732a60c64895778697b078497b0988346c"
}
}
]
diff --git a/README.md b/README.md
index 4facf2d7..b5a4fb50 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
com.google.cloud
libraries-bom
- 19.0.0
+ 19.1.0
pom
import
@@ -45,7 +45,7 @@ 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:19.0.0')
+implementation platform('com.google.cloud:libraries-bom:19.1.0')
compile 'com.google.cloud:google-cloud-billing'
```
From 9b702c4d79c3b9e3ebf2a01f79bddba8ec4bc8aa Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 23 Mar 2021 16:44:25 +0100
Subject: [PATCH 06/13] chore(deps): update dependency
com.google.cloud:google-cloud-billing to v1.1.15 (#359)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-billing](https://togithub.com/googleapis/java-billing) | `1.1.14` -> `1.1.15` | [](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-billing
### [`v1.1.15`](https://togithub.com/googleapis/java-billing/blob/master/CHANGELOG.md#1115-httpswwwgithubcomgoogleapisjava-billingcomparev1114v1115-2021-03-11)
[Compare Source](https://togithub.com/googleapis/java-billing/compare/v1.1.14...v1.1.15)
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-billing).
---
samples/install-without-bom/pom.xml | 2 +-
samples/snapshot/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 6a69a9a7..170e95d9 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-billing
- 1.1.14
+ 1.1.15
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index b056c18c..c4cabf20 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-billing
- 1.1.14
+ 1.1.15
From 10e02ccef20c05fa860c1c99e3cebe79d6172017 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Tue, 23 Mar 2021 09:06:32 -0700
Subject: [PATCH 07/13] chore: regenerate README (#365)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-03-23 15:49:19,924 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-billing/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-03-23 15:49:20,812 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/3cbca0c8-e838-4468-b8ba-805b81d172ab/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
---
.github/readme/synth.metadata/synth.metadata | 4 ++--
README.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index dff53a76..13c64168 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-billing.git",
- "sha": "adeee712ea544dd6c24b402220b5aa24cfcb7c37"
+ "sha": "9b702c4d79c3b9e3ebf2a01f79bddba8ec4bc8aa"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "78437c732a60c64895778697b078497b0988346c"
+ "sha": "c84c8f156e09702e1c8946bfb9746e6f5892cf27"
}
}
]
diff --git a/README.md b/README.md
index b5a4fb50..01616e21 100644
--- a/README.md
+++ b/README.md
@@ -38,14 +38,14 @@ If you are using Maven without BOM, add this to your dependencies:
com.google.cloud
google-cloud-billing
- 1.1.14
+ 1.1.15
```
If you are using Gradle 5.x or later, add this to your dependencies
```Groovy
-implementation platform('com.google.cloud:libraries-bom:19.1.0')
+implementation platform('com.google.cloud:libraries-bom:19.2.1')
compile 'com.google.cloud:google-cloud-billing'
```
From dd986a2bf16448a7b5977ae14efecbfacdf1bf9e Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 24 Mar 2021 16:10:16 -0700
Subject: [PATCH 08/13] chore(java): detect sample-secrets in build.sh (#366)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/775742c8-ff3d-4a81-822c-5385ac2583d2/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Source-Link: https://github.com/googleapis/synthtool/commit/bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
---
.kokoro/build.sh | 5 +++++
synth.metadata | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index e0bcf767..9d07cd70 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -79,6 +79,11 @@ samples)
if [[ -f ${SAMPLES_DIR}/pom.xml ]]
then
+ for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do
+ [[ -f "$FILE" ]] || continue
+ source "$FILE"
+ done
+
pushd ${SAMPLES_DIR}
mvn -B \
-Penable-samples \
diff --git a/synth.metadata b/synth.metadata
index 71f409fb..6e3b94ea 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-billing.git",
- "sha": "1d4402b4adc8880f12db4453b91d218e88575719"
+ "sha": "10e02ccef20c05fa860c1c99e3cebe79d6172017"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "0b064d767537e0675fc053e53fca473c5c701fb8"
+ "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef"
}
}
],
From f53cae0ee2964cd5e1bdf5c205969d22ecd0b5bd Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 29 Mar 2021 15:56:19 +0200
Subject: [PATCH 09/13] chore(deps): update dependency
com.google.cloud:libraries-bom to v19.2.1 (#364)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.1.0` -> `19.2.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-billing).
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 48522806..40da61f6 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 19.1.0
+ 19.2.1
pom
import
From bae1bb3d89beec3ed62b13b2bffdf7e9c0faf6bb Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Mon, 29 Mar 2021 07:56:07 -0700
Subject: [PATCH 10/13] chore: regenerate README (#367)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-03-29 13:58:54,828 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-billing/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-03-29 13:58:55,962 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/bdca2455-4f75-4bd7-877b-21360eca6a24/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
---
.github/readme/synth.metadata/synth.metadata | 4 ++--
README.md | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index 13c64168..e7efa2d3 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-billing.git",
- "sha": "9b702c4d79c3b9e3ebf2a01f79bddba8ec4bc8aa"
+ "sha": "f53cae0ee2964cd5e1bdf5c205969d22ecd0b5bd"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "c84c8f156e09702e1c8946bfb9746e6f5892cf27"
+ "sha": "60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef"
}
}
]
diff --git a/README.md b/README.md
index 01616e21..c4408c6b 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
com.google.cloud
libraries-bom
- 19.1.0
+ 19.2.1
pom
import
From e58e41317c6f27837280b99cfe2e4ff6d822f2fb Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Tue, 30 Mar 2021 07:54:31 -0700
Subject: [PATCH 11/13] chore: remove staging bucket v2 (#368)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/93c222eb-f06c-4e85-a161-3fb9b3966d50/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Source-Link: https://github.com/googleapis/synthtool/commit/572ef8f70edd9041f5bcfa71511aed6aecfc2098
---
.kokoro/release/publish_javadoc.sh | 5 -----
synth.metadata | 4 ++--
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh
index dee8c763..ebf9d3c2 100755
--- a/.kokoro/release/publish_javadoc.sh
+++ b/.kokoro/release/publish_javadoc.sh
@@ -24,11 +24,6 @@ if [[ -z "${STAGING_BUCKET}" ]]; then
exit 1
fi
-if [[ -z "${STAGING_BUCKET_V2}" ]]; then
- echo "Need to set STAGING_BUCKET_V2 environment variable"
- exit 1
-fi
-
# work from the git root directory
pushd $(dirname "$0")/../../
diff --git a/synth.metadata b/synth.metadata
index 6e3b94ea..bf73f963 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-billing.git",
- "sha": "10e02ccef20c05fa860c1c99e3cebe79d6172017"
+ "sha": "bae1bb3d89beec3ed62b13b2bffdf7e9c0faf6bb"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef"
+ "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098"
}
}
],
From 6c2b92e81f466011b991df93baace51a3cdc9315 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Fri, 9 Apr 2021 22:36:34 +0200
Subject: [PATCH 12/13] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v0.21.0 (#371)
[](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) | `0.20.1` -> `0.21.0` | [](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
### [`v0.21.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#0210-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0201v0210-2021-04-09)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.20.1...v0.21.0)
##### Dependencies
- update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#310](https://www.github.com/googleapis/java-shared-dependencies/issues/310)) ([8f3a0f0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f3a0f002b787f7b27cfe031654fa20bf342f839))
- update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#311](https://www.github.com/googleapis/java-shared-dependencies/issues/311)) ([6c47a3e](https://www.github.com/googleapis/java-shared-dependencies/commit/6c47a3edbd9da04ba255487a66c0f3a41393217d))
- update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#315](https://www.github.com/googleapis/java-shared-dependencies/issues/315)) ([dc254ca](https://www.github.com/googleapis/java-shared-dependencies/commit/dc254ca7359b68fe9411f7b96130ffb416b45c6f))
- update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#309](https://www.github.com/googleapis/java-shared-dependencies/issues/309)) ([37225e2](https://www.github.com/googleapis/java-shared-dependencies/commit/37225e2d1b32a618765391720b57ff29e7b8f7f9))
- update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#321](https://www.github.com/googleapis/java-shared-dependencies/issues/321)) ([273c66d](https://www.github.com/googleapis/java-shared-dependencies/commit/273c66d374f7cd6040aac2f302fd1c1dc0f4a1c0))
- update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#308](https://www.github.com/googleapis/java-shared-dependencies/issues/308)) ([b29dd05](https://www.github.com/googleapis/java-shared-dependencies/commit/b29dd0535f02b56607f64ba69e85d4d468902789))
- update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#316](https://www.github.com/googleapis/java-shared-dependencies/issues/316)) ([9c00d77](https://www.github.com/googleapis/java-shared-dependencies/commit/9c00d7753c1f7b963deb9ad69dcfe24ba28da5a2))
- update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#319](https://www.github.com/googleapis/java-shared-dependencies/issues/319)) ([15e5ae2](https://www.github.com/googleapis/java-shared-dependencies/commit/15e5ae2ef46eedcd790ffd8644677d36db5c63f9))
- update dependency io.grpc:grpc-bom to v1.37.0 ([#313](https://www.github.com/googleapis/java-shared-dependencies/issues/313)) ([c599351](https://www.github.com/googleapis/java-shared-dependencies/commit/c5993511c7305e1ced42d73552a93a25dc5e1ac1))
- update gax.version to v1.63.0 ([#318](https://www.github.com/googleapis/java-shared-dependencies/issues/318)) ([ba709da](https://www.github.com/googleapis/java-shared-dependencies/commit/ba709da6fb0e9bcfc83e663588336598737b46e4))
- update google.core.version to v1.94.4 ([#305](https://www.github.com/googleapis/java-shared-dependencies/issues/305)) ([0d38f4c](https://www.github.com/googleapis/java-shared-dependencies/commit/0d38f4c9ffadcfd9446712b8bf0729399b0c9e91))
- update google.core.version to v1.94.5 ([#320](https://www.github.com/googleapis/java-shared-dependencies/issues/320)) ([3439721](https://www.github.com/googleapis/java-shared-dependencies/commit/3439721da83a8b92d9c4b6ecfd158cfb1e1a0503))
- update guava to 30.1.1-android ([#322](https://www.github.com/googleapis/java-shared-dependencies/issues/322)) ([a6b5d3b](https://www.github.com/googleapis/java-shared-dependencies/commit/a6b5d3b8ccfc352bf0d1678952ce3cd8b7a8361e))
- update iam.version to v1.0.11 ([#304](https://www.github.com/googleapis/java-shared-dependencies/issues/304)) ([95a5264](https://www.github.com/googleapis/java-shared-dependencies/commit/95a526442b3d24c83782523d38dd3931e828d757))
##### [0.20.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.0...v0.20.1) (2021-03-09)
##### Dependencies
- update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#301](https://www.github.com/googleapis/java-shared-dependencies/issues/301)) ([7c01eba](https://www.github.com/googleapis/java-shared-dependencies/commit/7c01ebabb6fd65b7404e56651b0ba27f505bb033))
- update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#295](https://www.github.com/googleapis/java-shared-dependencies/issues/295)) ([a0774e9](https://www.github.com/googleapis/java-shared-dependencies/commit/a0774e9d62d00614142bc4c14214a83dda66d4ad))
- update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#292](https://www.github.com/googleapis/java-shared-dependencies/issues/292)) ([b629789](https://www.github.com/googleapis/java-shared-dependencies/commit/b629789e3a1cc9a7308b829c034b09b06e24fc07))
- update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#293](https://www.github.com/googleapis/java-shared-dependencies/issues/293)) ([d85ec34](https://www.github.com/googleapis/java-shared-dependencies/commit/d85ec347ccdd14dfdab10d365d2c2f8df3035e4d))
- update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#294](https://www.github.com/googleapis/java-shared-dependencies/issues/294)) ([58c01aa](https://www.github.com/googleapis/java-shared-dependencies/commit/58c01aa076e2c4954986185f913bac2c51a1e6fb))
- update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#302](https://www.github.com/googleapis/java-shared-dependencies/issues/302)) ([e9d5e6e](https://www.github.com/googleapis/java-shared-dependencies/commit/e9d5e6ee6039915da186315ceada673ac37b88d3))
- update google.core.version to v1.94.2 ([#296](https://www.github.com/googleapis/java-shared-dependencies/issues/296)) ([af83b90](https://www.github.com/googleapis/java-shared-dependencies/commit/af83b901be0c03d507189999215d35345602fad7))
- update google.core.version to v1.94.3 ([#300](https://www.github.com/googleapis/java-shared-dependencies/issues/300)) ([3e73176](https://www.github.com/googleapis/java-shared-dependencies/commit/3e73176af0b07dfe621163b301174b5b5820dfa2))
---
### Configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-billing).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 435e663e..19d553ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 0.20.1
+ 0.21.0
pom
import
From 4e32f150bb61afe68fa07896cf75742c4d0e0942 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Fri, 9 Apr 2021 21:28:20 +0000
Subject: [PATCH 13/13] chore: release 1.1.16 (#372)
:robot: I have created a release \*beep\* \*boop\*
---
### [1.1.16](https://www.github.com/googleapis/java-billing/compare/v1.1.15...v1.1.16) (2021-04-09)
### Dependencies
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#371](https://www.github.com/googleapis/java-billing/issues/371)) ([6c2b92e](https://www.github.com/googleapis/java-billing/commit/6c2b92e81f466011b991df93baace51a3cdc9315))
---
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-billing-bom/pom.xml | 8 ++++----
google-cloud-billing/pom.xml | 4 ++--
grpc-google-cloud-billing-v1/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-billing-v1/pom.xml | 4 ++--
versions.txt | 6 +++---
7 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 69b19c0e..27b2fd9a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+### [1.1.16](https://www.github.com/googleapis/java-billing/compare/v1.1.15...v1.1.16) (2021-04-09)
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#371](https://www.github.com/googleapis/java-billing/issues/371)) ([6c2b92e](https://www.github.com/googleapis/java-billing/commit/6c2b92e81f466011b991df93baace51a3cdc9315))
+
### [1.1.15](https://www.github.com/googleapis/java-billing/compare/v1.1.14...v1.1.15) (2021-03-11)
diff --git a/google-cloud-billing-bom/pom.xml b/google-cloud-billing-bom/pom.xml
index dc151664..3f122c5e 100644
--- a/google-cloud-billing-bom/pom.xml
+++ b/google-cloud-billing-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-billing-bom
- 1.1.16-SNAPSHOT
+ 1.1.16
pom
com.google.cloud
@@ -63,17 +63,17 @@
com.google.api.grpc
proto-google-cloud-billing-v1
- 1.1.16-SNAPSHOT
+ 1.1.16
com.google.api.grpc
grpc-google-cloud-billing-v1
- 1.1.16-SNAPSHOT
+ 1.1.16
com.google.cloud
google-cloud-billing
- 1.1.16-SNAPSHOT
+ 1.1.16