firestore: deprecate v1beta1 client
Change-Id: Idd0dada30dd5ed85da1462fa97fc639ac08d101b
Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/53830
Reviewed-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Tyler Bui-Palsulich <tbp@google.com>
diff --git a/firestore/apiv1beta1/doc.go b/firestore/apiv1beta1/doc.go
index 15629db..0228898 100644
--- a/firestore/apiv1beta1/doc.go
+++ b/firestore/apiv1beta1/doc.go
@@ -32,6 +32,9 @@
//
// For information about setting deadlines, reusing contexts, and more
// please visit godoc.org/cloud.google.com/go.
+//
+// Deprecated: Please use "cloud.google.com/go/firestore/apiv1". This beta
+// client will be removed in a future release.
package firestore // import "cloud.google.com/go/firestore/apiv1beta1"
import (
diff --git a/internal/gapicgen/generator/config.go b/internal/gapicgen/generator/config.go
index 665e214..edcca8a 100644
--- a/internal/gapicgen/generator/config.go
+++ b/internal/gapicgen/generator/config.go
@@ -481,14 +481,6 @@
releaseLevel: "ga",
},
{
- inputDirectoryPath: "google/firestore/v1beta1",
- pkg: "firestore",
- importPath: "cloud.google.com/go/firestore/apiv1beta1",
- gRPCServiceConfigPath: "google/firestore/v1beta1/firestore_grpc_service_config.json",
- apiServiceConfigPath: "google/firestore/v1beta1/firestore_v1beta1.yaml",
- releaseLevel: "beta",
- },
- {
inputDirectoryPath: "google/devtools/cloudbuild/v1",
pkg: "cloudbuild",
importPath: "cloud.google.com/go/cloudbuild/apiv1/v2",