Skip to content

Commit fe73614

Browse files
chore: Update generation configuration at Thu Jan 15 16:44:58 UTC 2026 (#2660)
* chore: Update generation configuration at Thu Jan 15 16:44:58 UTC 2026 * chore: remove usage of GOOD_LICENSE This variable was removed in googleapis/sdk-platform-java#4036 * chore: generate libraries at Thu Jan 15 16:59:29 UTC 2026 --------- Co-authored-by: Diego Marquez <[email protected]>
1 parent 1a11309 commit fe73614

File tree

196 files changed

+3816
-870
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+3816
-870
lines changed

.github/scripts/update_generation_config.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ function get_latest_released_version() {
1818
group_id_url_path="$(sed 's|\.|/|g' <<< "${group_id}")"
1919
url="https://repo1.maven.org/maven2/${group_id_url_path}/${artifact_id}/maven-metadata.xml"
2020
xml_content=$(curl -s --fail "${url}")
21-
latest=$(xmllint --xpath 'metadata/versioning/latest/text()' - <<< "${xml_content}")
21+
22+
# 1. Extract all version tags
23+
# 2. Strip the XML tags to leave just the version numbers
24+
# 3. Filter for strictly numbers.numbers.numbers (e.g., 2.54.0)
25+
# 4. Sort by version (V) and take the last one (tail -n 1)
26+
latest=$(echo "${xml_content}" \
27+
| grep -oE '<version>[0-9]+\.[0-9]+\.[0-9]+</version>' \
28+
| sed -E 's/<[^>]+>//g' \
29+
| sort -V \
30+
| tail -n 1)
31+
2232
if [[ -z "${latest}" ]]; then
2333
echo "The latest version of ${group_id}:${artifact_id} is empty."
2434
echo "The returned json from maven.org is invalid: ${json_content}"

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-c.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies:
5151
If you are using Gradle 5.x or later, add this to your dependencies:
5252

5353
```Groovy
54-
implementation platform('com.google.cloud:libraries-bom:26.72.0')
54+
implementation platform('com.google.cloud:libraries-bom:26.74.0-rc2')
5555
5656
implementation 'com.google.cloud:google-cloud-pubsub'
5757
```
@@ -395,29 +395,10 @@ information.
395395

396396
Apache 2.0 - See [LICENSE][license] for more information.
397397

398-
## CI Status
399-
400-
Java Version | Status
401-
------------ | ------
402-
Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2]
403-
Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3]
404-
Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4]
405-
Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5]
406-
407398
Java is a registered trademark of Oracle and/or its affiliates.
408399

409400
[product-docs]: https://cloud.google.com/pubsub/docs/
410401
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history
411-
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java7.svg
412-
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java7.html
413-
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8.svg
414-
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8.html
415-
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-osx.svg
416-
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-osx.html
417-
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-win.svg
418-
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-win.html
419-
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.svg
420-
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.html
421402
[stability-image]: https://img.shields.io/badge/stability-stable-green
422403
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg
423404
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.144.1

generation_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
gapic_generator_version: 2.64.2
2-
googleapis_commitish: b32495a713a68dd0dff90cf0b24021debfca048a
3-
libraries_bom_version: 26.72.0
1+
gapic_generator_version: 2.65.1
2+
googleapis_commitish: 615bb9acb1d978c497cf2268450c6e6c3e8be049
3+
libraries_bom_version: 26.74.0-rc2
44
libraries:
55
- api_shortname: pubsub
66
name_pretty: Cloud Pub/Sub

google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Google LLC
2+
* Copyright 2026 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Google LLC
2+
* Copyright 2026 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -103,8 +103,8 @@
103103
* }</pre>
104104
*
105105
* Please refer to the [Client Side Retry
106-
* Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
107-
* additional support in setting retries.
106+
* Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
107+
* retries.
108108
*/
109109
@Generated("by gapic-generator-java")
110110
public class SchemaServiceSettings extends ClientSettings<SchemaServiceSettings> {

google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java

Lines changed: 33 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Google LLC
2+
* Copyright 2026 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -1179,7 +1179,7 @@ public final UnaryCallable<Subscription, Subscription> createSubscriptionCallabl
11791179
* }
11801180
* }</pre>
11811181
*
1182-
* @param subscription Required. Identifier. The name of the subscription to get. Format is
1182+
* @param subscription Required. The name of the subscription to get. Format is
11831183
* `projects/{project}/subscriptions/{sub}`.
11841184
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
11851185
*/
@@ -1209,7 +1209,7 @@ public final Subscription getSubscription(SubscriptionName subscription) {
12091209
* }
12101210
* }</pre>
12111211
*
1212-
* @param subscription Required. Identifier. The name of the subscription to get. Format is
1212+
* @param subscription Required. The name of the subscription to get. Format is
12131213
* `projects/{project}/subscriptions/{sub}`.
12141214
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
12151215
*/
@@ -1416,8 +1416,8 @@ public final UnaryCallable<UpdateSubscriptionRequest, Subscription> updateSubscr
14161416
* }
14171417
* }</pre>
14181418
*
1419-
* @param project Required. Identifier. The name of the project in which to list subscriptions.
1420-
* Format is `projects/{project-id}`.
1419+
* @param project Required. The name of the project in which to list subscriptions. Format is
1420+
* `projects/{project-id}`.
14211421
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
14221422
*/
14231423
public final ListSubscriptionsPagedResponse listSubscriptions(ProjectName project) {
@@ -1448,8 +1448,8 @@ public final ListSubscriptionsPagedResponse listSubscriptions(ProjectName projec
14481448
* }
14491449
* }</pre>
14501450
*
1451-
* @param project Required. Identifier. The name of the project in which to list subscriptions.
1452-
* Format is `projects/{project-id}`.
1451+
* @param project Required. The name of the project in which to list subscriptions. Format is
1452+
* `projects/{project-id}`.
14531453
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
14541454
*/
14551455
public final ListSubscriptionsPagedResponse listSubscriptions(String project) {
@@ -1584,7 +1584,7 @@ public final ListSubscriptionsPagedResponse listSubscriptions(ListSubscriptionsR
15841584
* }
15851585
* }</pre>
15861586
*
1587-
* @param subscription Required. Identifier. The subscription to delete. Format is
1587+
* @param subscription Required. The subscription to delete. Format is
15881588
* `projects/{project}/subscriptions/{sub}`.
15891589
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
15901590
*/
@@ -1617,7 +1617,7 @@ public final void deleteSubscription(SubscriptionName subscription) {
16171617
* }
16181618
* }</pre>
16191619
*
1620-
* @param subscription Required. Identifier. The subscription to delete. Format is
1620+
* @param subscription Required. The subscription to delete. Format is
16211621
* `projects/{project}/subscriptions/{sub}`.
16221622
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
16231623
*/
@@ -2631,7 +2631,7 @@ public final UnaryCallable<ModifyPushConfigRequest, Empty> modifyPushConfigCalla
26312631
* }
26322632
* }</pre>
26332633
*
2634-
* @param snapshot Required. Identifier. The name of the snapshot to get. Format is
2634+
* @param snapshot Required. The name of the snapshot to get. Format is
26352635
* `projects/{project}/snapshots/{snap}`.
26362636
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
26372637
*/
@@ -2664,7 +2664,7 @@ public final Snapshot getSnapshot(SnapshotName snapshot) {
26642664
* }
26652665
* }</pre>
26662666
*
2667-
* @param snapshot Required. Identifier. The name of the snapshot to get. Format is
2667+
* @param snapshot Required. The name of the snapshot to get. Format is
26682668
* `projects/{project}/snapshots/{snap}`.
26692669
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
26702670
*/
@@ -2788,8 +2788,8 @@ public final UnaryCallable<GetSnapshotRequest, Snapshot> getSnapshotCallable() {
27882788
* }
27892789
* }</pre>
27902790
*
2791-
* @param project Required. Identifier. The name of the project in which to list snapshots. Format
2792-
* is `projects/{project-id}`.
2791+
* @param project Required. The name of the project in which to list snapshots. Format is
2792+
* `projects/{project-id}`.
27932793
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
27942794
*/
27952795
public final ListSnapshotsPagedResponse listSnapshots(ProjectName project) {
@@ -2823,8 +2823,8 @@ public final ListSnapshotsPagedResponse listSnapshots(ProjectName project) {
28232823
* }
28242824
* }</pre>
28252825
*
2826-
* @param project Required. Identifier. The name of the project in which to list snapshots. Format
2827-
* is `projects/{project-id}`.
2826+
* @param project Required. The name of the project in which to list snapshots. Format is
2827+
* `projects/{project-id}`.
28282828
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
28292829
*/
28302830
public final ListSnapshotsPagedResponse listSnapshots(String project) {
@@ -2975,11 +2975,10 @@ public final UnaryCallable<ListSnapshotsRequest, ListSnapshotsResponse> listSnap
29752975
* }
29762976
* }</pre>
29772977
*
2978-
* @param name Required. Identifier. User-provided name for this snapshot. If the name is not
2979-
* provided in the request, the server will assign a random name for this snapshot on the same
2980-
* project as the subscription. Note that for REST API requests, you must specify a name. See
2981-
* the [resource name
2982-
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
2978+
* @param name Required. User-provided name for this snapshot. If the name is not provided in the
2979+
* request, the server will assign a random name for this snapshot on the same project as the
2980+
* subscription. Note that for REST API requests, you must specify a name. See the [resource
2981+
* name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
29832982
* `projects/{project}/snapshots/{snap}`.
29842983
* @param subscription Required. The subscription whose backlog the snapshot retains.
29852984
* Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the
@@ -3029,11 +3028,10 @@ public final Snapshot createSnapshot(SnapshotName name, SubscriptionName subscri
30293028
* }
30303029
* }</pre>
30313030
*
3032-
* @param name Required. Identifier. User-provided name for this snapshot. If the name is not
3033-
* provided in the request, the server will assign a random name for this snapshot on the same
3034-
* project as the subscription. Note that for REST API requests, you must specify a name. See
3035-
* the [resource name
3036-
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
3031+
* @param name Required. User-provided name for this snapshot. If the name is not provided in the
3032+
* request, the server will assign a random name for this snapshot on the same project as the
3033+
* subscription. Note that for REST API requests, you must specify a name. See the [resource
3034+
* name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
30373035
* `projects/{project}/snapshots/{snap}`.
30383036
* @param subscription Required. The subscription whose backlog the snapshot retains.
30393037
* Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the
@@ -3083,11 +3081,10 @@ public final Snapshot createSnapshot(SnapshotName name, String subscription) {
30833081
* }
30843082
* }</pre>
30853083
*
3086-
* @param name Required. Identifier. User-provided name for this snapshot. If the name is not
3087-
* provided in the request, the server will assign a random name for this snapshot on the same
3088-
* project as the subscription. Note that for REST API requests, you must specify a name. See
3089-
* the [resource name
3090-
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
3084+
* @param name Required. User-provided name for this snapshot. If the name is not provided in the
3085+
* request, the server will assign a random name for this snapshot on the same project as the
3086+
* subscription. Note that for REST API requests, you must specify a name. See the [resource
3087+
* name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
30913088
* `projects/{project}/snapshots/{snap}`.
30923089
* @param subscription Required. The subscription whose backlog the snapshot retains.
30933090
* Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the
@@ -3137,11 +3134,10 @@ public final Snapshot createSnapshot(String name, SubscriptionName subscription)
31373134
* }
31383135
* }</pre>
31393136
*
3140-
* @param name Required. Identifier. User-provided name for this snapshot. If the name is not
3141-
* provided in the request, the server will assign a random name for this snapshot on the same
3142-
* project as the subscription. Note that for REST API requests, you must specify a name. See
3143-
* the [resource name
3144-
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
3137+
* @param name Required. User-provided name for this snapshot. If the name is not provided in the
3138+
* request, the server will assign a random name for this snapshot on the same project as the
3139+
* subscription. Note that for REST API requests, you must specify a name. See the [resource
3140+
* name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
31453141
* `projects/{project}/snapshots/{snap}`.
31463142
* @param subscription Required. The subscription whose backlog the snapshot retains.
31473143
* Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the
@@ -3514,7 +3510,7 @@ public final UnaryCallable<UpdateSnapshotRequest, Snapshot> updateSnapshotCallab
35143510
* }
35153511
* }</pre>
35163512
*
3517-
* @param snapshot Required. Identifier. The name of the snapshot to delete. Format is
3513+
* @param snapshot Required. The name of the snapshot to delete. Format is
35183514
* `projects/{project}/snapshots/{snap}`.
35193515
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
35203516
*/
@@ -3550,7 +3546,7 @@ public final void deleteSnapshot(SnapshotName snapshot) {
35503546
* }
35513547
* }</pre>
35523548
*
3553-
* @param snapshot Required. Identifier. The name of the snapshot to delete. Format is
3549+
* @param snapshot Required. The name of the snapshot to delete. Format is
35543550
* `projects/{project}/snapshots/{snap}`.
35553551
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
35563552
*/

google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Google LLC
2+
* Copyright 2026 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -112,8 +112,8 @@
112112
* }</pre>
113113
*
114114
* Please refer to the [Client Side Retry
115-
* Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
116-
* additional support in setting retries.
115+
* Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
116+
* retries.
117117
*/
118118
@Generated("by gapic-generator-java")
119119
public class SubscriptionAdminSettings extends ClientSettings<SubscriptionAdminSettings> {

0 commit comments

Comments
 (0)