Skip to content

Commit

Permalink
feat(retail): start generating apiv2alpha and apiv2beta (#6073)
Browse files Browse the repository at this point in the history
* start generating apiv2alpha
* start generating apiv2beta
  • Loading branch information
quartzmo committed May 23, 2022
1 parent db53b69 commit ec90f7b
Show file tree
Hide file tree
Showing 44 changed files with 12,535 additions and 3 deletions.
18 changes: 18 additions & 0 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,24 @@
"release_level": "ga",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/retail/apiv2alpha": {
"distribution_name": "cloud.google.com/go/retail/apiv2alpha",
"description": "Retail API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/retail/latest/apiv2alpha",
"release_level": "alpha",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/retail/apiv2beta": {
"distribution_name": "cloud.google.com/go/retail/apiv2beta",
"description": "Retail API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/retail/latest/apiv2beta",
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/rpcreplay": {
"distribution_name": "cloud.google.com/go/rpcreplay",
"description": "RPC Replay",
Expand Down
18 changes: 18 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1472,6 +1472,24 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
// GA after 2022/06/16
ReleaseLevel: "beta",
},
{
InputDirectoryPath: "google/cloud/retail/v2alpha",
Pkg: "retail",
ImportPath: "cloud.google.com/go/retail/apiv2alpha",
GRPCServiceConfigPath: "retail_grpc_service_config.json",
ApiServiceConfigPath: "retail_v2alpha.yaml",
// GA after 2022/06/23
ReleaseLevel: "alpha",
},
{
InputDirectoryPath: "google/cloud/retail/v2beta",
Pkg: "retail",
ImportPath: "cloud.google.com/go/retail/apiv2beta",
GRPCServiceConfigPath: "retail_grpc_service_config.json",
ApiServiceConfigPath: "retail_v2beta.yaml",
// GA after 2022/06/23
ReleaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down
4 changes: 2 additions & 2 deletions internal/gapicgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ require (
github.com/shurcooL/githubv4 v0.0.0-20220520033151-0b4e3294ff00
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a
google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335
golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd
google.golang.org/protobuf v1.28.0
gopkg.in/src-d/go-git.v4 v4.13.1
gopkg.in/yaml.v2 v2.4.0
Expand Down
5 changes: 5 additions & 0 deletions internal/gapicgen/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -620,12 +620,17 @@ google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2
google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E=
google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
<<<<<<< HEAD
google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335 h1:2D0OT6tPVdrQTOnVe1VQjfJPTED6EZ7fdJ/f6Db6OsY=
google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
=======
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd h1:e0TwkXOdbnH/1x5rc5MZ/VYyiZ4v+RdVfrGMqEwT68I=
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
>>>>>>> 9ccddcf2a (feat(retail): start generating apiv2alpha)
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
Expand Down

0 comments on commit ec90f7b

Please sign in to comment.