Skip to content

Commit

Permalink
feat(speech): start generating apiv2 (#6891)
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo committed Oct 18, 2022
1 parent 2e1ec92 commit 1c7e02f
Show file tree
Hide file tree
Showing 11 changed files with 12,342 additions and 6 deletions.
9 changes: 9 additions & 0 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -1682,6 +1682,15 @@
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/speech/apiv2": {
"distribution_name": "cloud.google.com/go/speech/apiv2",
"description": "Cloud Speech-to-Text API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/speech/latest/apiv2",
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/storage": {
"distribution_name": "cloud.google.com/go/storage",
"description": "Cloud Storage (GCS)",
Expand Down
4 changes: 4 additions & 0 deletions internal/aliasfix/mappings.go
Original file line number Diff line number Diff line change
Expand Up @@ -826,4 +826,8 @@ var GenprotoPkgMigration map[string]Pkg = map[string]Pkg{
ImportPath: "cloud.google.com/go/bigquery/analyticshub/apiv1/analyticshubpb",
Status: StatusMigrated,
},
"google.golang.org/genproto/googleapis/cloud/speech/v2": {
ImportPath: "cloud.google.com/go/speech/apiv2/speechpb",
Status: StatusMigrated,
},
}
9 changes: 9 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1764,6 +1764,15 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
// GA after 2022/10/20
ReleaseLevel: "beta",
},
{
InputDirectoryPath: "google/cloud/speech/v2",
Pkg: "speech",
ImportPath: "cloud.google.com/go/speech/apiv2",
GRPCServiceConfigPath: "speech_grpc_service_config.json",
ApiServiceConfigPath: "speech_v2.yaml",
// GA after 2022/11/18
ReleaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down
3 changes: 1 addition & 2 deletions internal/gapicgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module cloud.google.com/go/internal/gapicgen
go 1.19

require (
cloud.google.com/go v0.104.0
cloud.google.com/go/internal/aliasfix v0.0.0
cloud.google.com/go/internal/aliasgen v0.0.0-20221014201223-53a0f9dc7e78
cloud.google.com/go/internal/godocfx v0.0.0-20221014201223-53a0f9dc7e78
Expand All @@ -12,7 +11,7 @@ require (
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10
google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e
google.golang.org/genproto v0.0.0-20221018160656-63c7b68cfc55
google.golang.org/protobuf v1.28.1
gopkg.in/src-d/go-git.v4 v4.13.1
gopkg.in/yaml.v2 v2.4.0
Expand Down
6 changes: 2 additions & 4 deletions internal/gapicgen/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
cloud.google.com/go v0.104.0 h1:gSmWO7DY1vOm0MVU6DNXM11BWHHsTUmsC5cv1fuW5X8=
cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA=
cloud.google.com/go/internal/godocfx v0.0.0-20221014201223-53a0f9dc7e78 h1:WgnE4zxCN0cKw6Ab+Il10vU6mkQwW9ECzrO166McFdw=
cloud.google.com/go/internal/godocfx v0.0.0-20221014201223-53a0f9dc7e78/go.mod h1:NI0jlG07G9GsolCgKd0nUOXMsWUVzC5iGOakJUS6ogg=
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs=
Expand Down Expand Up @@ -100,8 +98,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e h1:halCgTFuLWDRD61piiNSxPsARANGD3Xl16hPrLgLiIg=
google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U=
google.golang.org/genproto v0.0.0-20221018160656-63c7b68cfc55 h1:U1u4KB2kx6KR/aJDjQ97hZ15wQs8ZPvDcGcRynBhkvg=
google.golang.org/genproto v0.0.0-20221018160656-63c7b68cfc55/go.mod h1:45EK0dUbEZ2NHjCeAd2LXmyjAgGUGrpGROgjhC3ADck=
google.golang.org/grpc v1.50.1 h1:DS/BukOZWp8s6p4Dt/tOaJaTQyPyOoCcrjroHuCeLzY=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
Expand Down
177 changes: 177 additions & 0 deletions speech/apiv2/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c7e02f

Please sign in to comment.