Skip to content

Commit

Permalink
feat(recommendationengine): start generating apiv1beta1 (#3686)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Feb 9, 2021
1 parent 9e77085 commit 8f4e130
Show file tree
Hide file tree
Showing 12 changed files with 2,212 additions and 2 deletions.
10 changes: 9 additions & 1 deletion internal/.repo-metadata-full.json
Expand Up @@ -393,7 +393,7 @@
},
"cloud.google.com/go/errorreporting/apiv1beta1": {
"distribution_name": "cloud.google.com/go/errorreporting/apiv1beta1",
"description": "Cloud Error Reporting API",
"description": "Error Reporting API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://pkg.go.dev/cloud.google.com/go/errorreporting/apiv1beta1",
Expand Down Expand Up @@ -703,6 +703,14 @@
"docs_url": "https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/apiv1beta1",
"release_level": "beta"
},
"cloud.google.com/go/recommendationengine/apiv1beta1": {
"distribution_name": "cloud.google.com/go/recommendationengine/apiv1beta1",
"description": "Recommendations AI",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://pkg.go.dev/cloud.google.com/go/recommendationengine/apiv1beta1",
"release_level": "beta"
},
"cloud.google.com/go/recommender/apiv1": {
"distribution_name": "cloud.google.com/go/recommender/apiv1",
"description": "Recommender API",
Expand Down
2 changes: 1 addition & 1 deletion internal/gapicgen/cmd/genbot/README.md
Expand Up @@ -93,7 +93,7 @@ docker run --rm \
-e ONLY_GAPICS=true \
-e GOCLOUD_DIR=/gapicgen \
-e GAPIC_TO_GENERATE=cloud.google.com/go/foo/apiv1 \
genbot \
genbot
```

Note you can optionally mount in your Go module cache if you have Go installed.
Expand Down
8 changes: 8 additions & 0 deletions internal/gapicgen/generator/config.go
Expand Up @@ -990,6 +990,14 @@ var microgenGapicConfigs = []*microgenConfig{
// GA after 2021/03/02
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/recommendationengine/v1beta1",
pkg: "recommendationengine",
importPath: "cloud.google.com/go/recommendationengine/apiv1beta1",
gRPCServiceConfigPath: "google/cloud/recommendationengine/v1beta1/recommendationengine_grpc_service_config.json",
apiServiceConfigPath: "google/cloud/recommendationengine/v1beta1/recommendationengine_v1beta1.yaml",
releaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down

0 comments on commit 8f4e130

Please sign in to comment.