From 62f9332d5e7718f7b7ec671ed2d72925dc423cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe?= Date: Fri, 22 May 2026 12:07:45 +0200 Subject: [PATCH 1/2] Update MIGRATING.md Packet name is simply wrong, and so are related links. --- pubsub/MIGRATING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pubsub/MIGRATING.md b/pubsub/MIGRATING.md index 9b42cd0821c8..00da41b9086a 100644 --- a/pubsub/MIGRATING.md +++ b/pubsub/MIGRATING.md @@ -12,9 +12,9 @@ Note: The end of support date has been extended to December 31st, 2026 from the There are two new packages: -* [cloud.google.com/go/v2](http://cloud.google.com/go/v2): The new main v2 package. +* [cloud.google.com/go/pubsub/v2](http://cloud.google.com/go/pubsub/v2): The new main v2 package. -* [cloud.google.com/go/v2/apiv1/pubsubpb](http://cloud.google.com/go/v2/apiv1/pubsubpb): The auto-generated protobuf Go types that are used as arguments for admin operations. +* [cloud.google.com/go/pubsub/v2/apiv1/pubsubpb](http://cloud.google.com/go/pubsub/v2/apiv1/pubsubpb): The auto-generated protobuf Go types that are used as arguments for admin operations. For other relevant packages, see Additional References. @@ -22,7 +22,7 @@ For other relevant packages, see Additional References. The following is an overview of the migration process. You can find more details about the classes in the later part of this document. -1. Import the new [cloud.google.com/go/v2](http://cloud.google.com/go/v2) package. +1. Import the new [cloud.google.com/go/pubsub/v2](http://cloud.google.com/go/pubsub/v2) package. 2. Migrate admin operations such as `CreateTopic` and `DeleteTopic` to the v2 version admin API. @@ -537,7 +537,7 @@ Because of the change to the data plane clients (now named `Publisher` and `Subs **Q: Why does the new admin API package mention both v2 and apiv1?** -The new Pub/Sub v2 package is `cloud.google.com/go/v2`. All of the new v2 code lives in the v2 directory. The apiv1 version denotes that the Pub/Sub server API is still under v1 and is **not** changing. +The new Pub/Sub v2 package is `cloud.google.com/go/pubsub/v2`. All of the new v2 code lives in the v2 directory. The apiv1 version denotes that the Pub/Sub server API is still under v1 and is **not** changing. **Q: Why are you changing the admin API surface?** From e8a09ac403fa88e60443fbb6a13db89d8ee86089 Mon Sep 17 00:00:00 2001 From: Alex Hong <9397363+hongalex@users.noreply.github.com> Date: Tue, 2 Jun 2026 09:21:06 -0700 Subject: [PATCH 2/2] Update pubsub/MIGRATING.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- pubsub/MIGRATING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub/MIGRATING.md b/pubsub/MIGRATING.md index 00da41b9086a..80af5b0355a6 100644 --- a/pubsub/MIGRATING.md +++ b/pubsub/MIGRATING.md @@ -22,7 +22,7 @@ For other relevant packages, see Additional References. The following is an overview of the migration process. You can find more details about the classes in the later part of this document. -1. Import the new [cloud.google.com/go/pubsub/v2](http://cloud.google.com/go/pubsub/v2) package. +1. Import the new [cloud.google.com/go/pubsub/v2](https://cloud.google.com/go/pubsub/v2) package. 2. Migrate admin operations such as `CreateTopic` and `DeleteTopic` to the v2 version admin API.