Skip to content

Commit d5e705b

Browse files
authored
chore: modernize post-processing for 10 libraries (#13815)
Remove legacy owlbot.py scripts and migrate configurations to librarian.yaml for the following libraries: - bigquerydatatransfer - bigquerystorage - bigtable - containeranalysis - datastore - dialogflow - dlp - errorreporting - firestore - grafeas For googleapis/librarian#6900
1 parent 3037ab3 commit d5e705b

22 files changed

Lines changed: 299 additions & 780 deletions

File tree

java-bigquerydatatransfer/README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Java idiomatic client for [BigQuery Data Transfer Service][product-docs].
1111

1212
## Quickstart
1313

14-
1514
If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1615

1716
```xml
@@ -46,6 +45,14 @@ If you are using Maven without the BOM, add this to your dependencies:
4645
</dependency>
4746
```
4847

48+
If you are using Gradle 5.x or later, add this to your dependencies:
49+
50+
```Groovy
51+
implementation platform('com.google.cloud:libraries-bom:26.83.0')
52+
53+
implementation 'com.google.cloud:google-cloud-bigquerydatatransfer'
54+
```
55+
4956
If you are using Gradle without BOM, add this to your dependencies:
5057

5158
```Groovy
@@ -71,7 +78,7 @@ The client application making API calls must be granted [authorization scopes][a
7178
### Prerequisites
7279

7380
You will need a [Google Cloud Platform Console][developer-console] project with the BigQuery Data Transfer Service [API enabled][enable-api].
74-
81+
You will need to [enable billing][enable-billing] to use Google BigQuery Data Transfer Service.
7582
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
7683
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
7784
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
@@ -147,8 +154,6 @@ the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME`
147154
and on [google-cloud-java][g-c-j].
148155

149156
## Versioning
150-
151-
152157
This library follows [Semantic Versioning](http://semver.org/).
153158

154159

@@ -187,7 +192,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
187192
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
188193
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
189194
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
190-
195+
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
191196
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=bigquerydatatransfer.googleapis.com
192197
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
193198
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png

java-bigquerydatatransfer/owlbot.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

java-bigquerystorage/README.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.70.0</version>
23-
<type>pom</type>
24-
<scope>import</scope>
25-
</dependency>
26-
<dependency>
27-
<groupId>io.opentelemetry</groupId>
28-
<artifactId>opentelemetry-bom</artifactId>
29-
<version>1.52.0</version>
22+
<version>26.83.0</version>
3023
<type>pom</type>
3124
<scope>import</scope>
3225
</dependency>
@@ -38,7 +31,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
3831
<groupId>com.google.cloud</groupId>
3932
<artifactId>google-cloud-bigquerystorage</artifactId>
4033
</dependency>
41-
34+
</dependencies>
4235
```
4336

4437
If you are using Maven without the BOM, add this to your dependencies:
@@ -48,9 +41,8 @@ If you are using Maven without the BOM, add this to your dependencies:
4841
<dependency>
4942
<groupId>com.google.cloud</groupId>
5043
<artifactId>google-cloud-bigquerystorage</artifactId>
51-
<version>3.17.2</version>
44+
<version>3.30.0</version>
5245
</dependency>
53-
5446
```
5547

5648
If you are using Gradle 5.x or later, add this to your dependencies:
@@ -60,6 +52,7 @@ implementation platform('com.google.cloud:libraries-bom:26.83.0')
6052
6153
implementation 'com.google.cloud:google-cloud-bigquerystorage'
6254
```
55+
6356
If you are using Gradle without BOM, add this to your dependencies:
6457

6558
```Groovy
@@ -85,7 +78,7 @@ The client application making API calls must be granted [authorization scopes][a
8578
### Prerequisites
8679

8780
You will need a [Google Cloud Platform Console][developer-console] project with the BigQuery Storage [API enabled][enable-api].
88-
81+
You will need to [enable billing][enable-billing] to use Google BigQuery Storage.
8982
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
9083
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
9184
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
@@ -214,8 +207,6 @@ the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME`
214207
and on [google-cloud-java][g-c-j].
215208

216209
## Versioning
217-
218-
219210
This library follows [Semantic Versioning](http://semver.org/).
220211

221212

@@ -254,7 +245,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
254245
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
255246
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
256247
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
257-
248+
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
258249
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=bigquerystorage.googleapis.com
259250
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
260251
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png

java-bigquerystorage/owlbot.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

java-bigtable/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.69.0</version>
22+
<version>26.83.0</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>
@@ -31,7 +31,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
3131
<groupId>com.google.cloud</groupId>
3232
<artifactId>google-cloud-bigtable</artifactId>
3333
</dependency>
34-
34+
</dependencies>
3535
```
3636

3737
If you are using Maven without the BOM, add this to your dependencies:
@@ -41,9 +41,8 @@ If you are using Maven without the BOM, add this to your dependencies:
4141
<dependency>
4242
<groupId>com.google.cloud</groupId>
4343
<artifactId>google-cloud-bigtable</artifactId>
44-
<version>2.67.0</version>
44+
<version>2.80.0</version>
4545
</dependency>
46-
4746
```
4847

4948
If you are using Gradle 5.x or later, add this to your dependencies:
@@ -53,6 +52,7 @@ implementation platform('com.google.cloud:libraries-bom:26.83.0')
5352
5453
implementation 'com.google.cloud:google-cloud-bigtable'
5554
```
55+
5656
If you are using Gradle without BOM, add this to your dependencies:
5757

5858
```Groovy
@@ -78,7 +78,7 @@ The client application making API calls must be granted [authorization scopes][a
7878
### Prerequisites
7979

8080
You will need a [Google Cloud Platform Console][developer-console] project with the Cloud Bigtable [API enabled][enable-api].
81-
81+
You will need to [enable billing][enable-billing] to use Google Cloud Bigtable.
8282
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
8383
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
8484
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
@@ -424,8 +424,6 @@ the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME`
424424
and on [google-cloud-java][g-c-j].
425425

426426
## Versioning
427-
428-
429427
This library follows [Semantic Versioning](http://semver.org/).
430428

431429

@@ -464,7 +462,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
464462
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
465463
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
466464
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
467-
465+
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
468466
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=bigtable.googleapis.com
469467
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
470468
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png

java-bigtable/owlbot.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

java-containeranalysis/README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Java idiomatic client for [Cloud Container Analysis][product-docs].
1111

1212
## Quickstart
1313

14-
1514
If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1615

1716
```xml
@@ -46,6 +45,14 @@ If you are using Maven without the BOM, add this to your dependencies:
4645
</dependency>
4746
```
4847

48+
If you are using Gradle 5.x or later, add this to your dependencies:
49+
50+
```Groovy
51+
implementation platform('com.google.cloud:libraries-bom:26.83.0')
52+
53+
implementation 'com.google.cloud:google-cloud-containeranalysis'
54+
```
55+
4956
If you are using Gradle without BOM, add this to your dependencies:
5057

5158
```Groovy
@@ -71,7 +78,7 @@ The client application making API calls must be granted [authorization scopes][a
7178
### Prerequisites
7279

7380
You will need a [Google Cloud Platform Console][developer-console] project with the Cloud Container Analysis [API enabled][enable-api].
74-
81+
You will need to [enable billing][enable-billing] to use Google Cloud Container Analysis.
7582
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
7683
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
7784
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
@@ -147,8 +154,6 @@ the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME`
147154
and on [google-cloud-java][g-c-j].
148155

149156
## Versioning
150-
151-
152157
This library follows [Semantic Versioning](http://semver.org/).
153158

154159

@@ -187,7 +192,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
187192
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
188193
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
189194
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
190-
195+
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
191196
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=containeranalysis.googleapis.com
192197
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
193198
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png

0 commit comments

Comments
 (0)