Skip to content

Commit 8f4e130

Browse files
authored
feat(recommendationengine): start generating apiv1beta1 (#3686)
1 parent 9e77085 commit 8f4e130

12 files changed

+2212
-2
lines changed

internal/.repo-metadata-full.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@
393393
},
394394
"cloud.google.com/go/errorreporting/apiv1beta1": {
395395
"distribution_name": "cloud.google.com/go/errorreporting/apiv1beta1",
396-
"description": "Cloud Error Reporting API",
396+
"description": "Error Reporting API",
397397
"language": "Go",
398398
"client_library_type": "generated",
399399
"docs_url": "https://pkg.go.dev/cloud.google.com/go/errorreporting/apiv1beta1",
@@ -703,6 +703,14 @@
703703
"docs_url": "https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/apiv1beta1",
704704
"release_level": "beta"
705705
},
706+
"cloud.google.com/go/recommendationengine/apiv1beta1": {
707+
"distribution_name": "cloud.google.com/go/recommendationengine/apiv1beta1",
708+
"description": "Recommendations AI",
709+
"language": "Go",
710+
"client_library_type": "generated",
711+
"docs_url": "https://pkg.go.dev/cloud.google.com/go/recommendationengine/apiv1beta1",
712+
"release_level": "beta"
713+
},
706714
"cloud.google.com/go/recommender/apiv1": {
707715
"distribution_name": "cloud.google.com/go/recommender/apiv1",
708716
"description": "Recommender API",

internal/gapicgen/cmd/genbot/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ docker run --rm \
9393
-e ONLY_GAPICS=true \
9494
-e GOCLOUD_DIR=/gapicgen \
9595
-e GAPIC_TO_GENERATE=cloud.google.com/go/foo/apiv1 \
96-
genbot \
96+
genbot
9797
```
9898

9999
Note you can optionally mount in your Go module cache if you have Go installed.

internal/gapicgen/generator/config.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,14 @@ var microgenGapicConfigs = []*microgenConfig{
990990
// GA after 2021/03/02
991991
releaseLevel: "beta",
992992
},
993+
{
994+
inputDirectoryPath: "google/cloud/recommendationengine/v1beta1",
995+
pkg: "recommendationengine",
996+
importPath: "cloud.google.com/go/recommendationengine/apiv1beta1",
997+
gRPCServiceConfigPath: "google/cloud/recommendationengine/v1beta1/recommendationengine_grpc_service_config.json",
998+
apiServiceConfigPath: "google/cloud/recommendationengine/v1beta1/recommendationengine_v1beta1.yaml",
999+
releaseLevel: "beta",
1000+
},
9931001

9941002
// Non-Cloud APIs
9951003
{

0 commit comments

Comments
 (0)