From 5c9e185e40a06f9a5fd1ade2e1cf58890855b587 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 12 May 2023 10:08:32 -0600 Subject: [PATCH] chore(maps/places): add config to generate apiv1 (#7918) restore #7909 This reverts commit 3b50ab2ad832e4f9dc57906fe39a2c88a4ab3176. --- .github/.OwlBot.yaml | 4 ++++ internal/postprocessor/config.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/.OwlBot.yaml b/.github/.OwlBot.yaml index 63c752042a27..9bc96875a14b 100644 --- a/.github/.OwlBot.yaml +++ b/.github/.OwlBot.yaml @@ -236,6 +236,7 @@ deep-remove-regex: - /internal/generated/snippets/managedidentities/apiv1/ - /internal/generated/snippets/maps/addressvalidation/apiv1/ - /internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/ + - /internal/generated/snippets/maps/places/apiv1/ - /internal/generated/snippets/maps/routing/apiv2/ - /internal/generated/snippets/mediatranslation/apiv1beta1/ - /internal/generated/snippets/memcache/apiv1/ @@ -345,6 +346,7 @@ deep-remove-regex: - /managedidentities/apiv1/ - /maps/addressvalidation/apiv1/ - /maps/mapsplatformdatasets/apiv1alpha/ + - /maps/places/apiv1/ - /maps/routing/apiv2/ - /mediatranslation/apiv1beta1/ - /memcache/apiv1/ @@ -732,6 +734,8 @@ deep-copy-regex: dest: / - source: /google/maps/mapsplatformdatasets/v1alpha/cloud.google.com/go dest: / + - source: /google/maps/places/v1/cloud.google.com/go + dest: / - source: /google/maps/routing/v2/cloud.google.com/go dest: / - source: /google/cloud/mediatranslation/v1beta1/cloud.google.com/go diff --git a/internal/postprocessor/config.yaml b/internal/postprocessor/config.yaml index cc020450f67e..d51d3787f4fc 100644 --- a/internal/postprocessor/config.yaml +++ b/internal/postprocessor/config.yaml @@ -872,6 +872,9 @@ service-configs: - input-directory: google/maps/mapsplatformdatasets/v1alpha service-config: mapsplatformdatasets_v1alpha.yaml import-path: cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha + - input-directory: google/maps/places/v1 + service-config: places_v1.yaml + import-path: cloud.google.com/go/maps/places/apiv1 - input-directory: google/maps/routing/v2 service-config: routes_v2.yaml import-path: cloud.google.com/go/maps/routing/apiv2