Skip to content

Commit 0130d06

Browse files
authored
chore(datastore): add owlbot config for protos (#10708)
Also, clean up some old genproto do no longer allowlist datastore or bigtable proto generation in genproto.
1 parent e265371 commit 0130d06

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/.OwlBot.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ deep-remove-regex:
100100
- /dataproc/apiv1/
101101
- /dataqna/apiv1alpha/
102102
- /datastore/admin/apiv1/
103+
- /datastore/apiv1/
103104
- /datastream/apiv1/
104105
- /datastream/apiv1alpha1/
105106
# - /debugger/apiv2/
@@ -806,6 +807,9 @@ deep-copy-regex:
806807
dest: /
807808
- source: /google/datastore/admin/v1/cloud.google.com/go
808809
dest: /
810+
# Just copy the datastore protos for now
811+
- source: /google/datastore/v1/cloud.google.com/go/datastore/apiv1/datastorepb
812+
dest: /datastore/apiv1/datastorepb
809813
- source: /google/cloud/datastream/v1/cloud.google.com/go
810814
dest: /
811815
- source: /google/cloud/datastream/v1alpha1/cloud.google.com/go

internal/gapicgen/generator/genproto.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,9 @@ var generateList = []string{
116116
"google.golang.org/genproto/googleapis/apps/drive/labels/v2",
117117
"google.golang.org/genproto/googleapis/example/library/v1",
118118
"google.golang.org/genproto/googleapis/api/label",
119-
"google.golang.org/genproto/googleapis/bigtable/admin/v2",
120119
"google.golang.org/genproto/googleapis/api/httpbody",
121120
"google.golang.org/genproto/googleapis/partner/aistreams/v1alpha1",
122121
"google.golang.org/genproto/googleapis/apps/script/type/drive",
123-
"google.golang.org/genproto/googleapis/bigtable/v2",
124122
"google.golang.org/genproto/googleapis/search/partnerdataingestion/logging/v1",
125123
"google.golang.org/genproto/googleapis/apps/script/type/calendar",
126124
"google.golang.org/genproto/googleapis/rpc/context/attribute_context",
@@ -133,9 +131,6 @@ var generateList = []string{
133131
"google.golang.org/genproto/googleapis/type/postaladdress",
134132
"google.golang.org/genproto/googleapis/firebase/fcm/connection/v1alpha1",
135133
"google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2",
136-
"google.golang.org/genproto/googleapis/datastore/v1",
137-
"google.golang.org/genproto/googleapis/datastore/admin/v1",
138-
"google.golang.org/genproto/googleapis/datastore/admin/v1beta1",
139134
"google.golang.org/genproto/googleapis/apps/card/v1",
140135
}
141136

internal/postprocessor/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,9 @@ service-configs:
10441044
- input-directory: google/datastore/admin/v1
10451045
service-config: datastore_v1.yaml
10461046
import-path: cloud.google.com/go/datastore/admin/apiv1
1047+
- input-directory: google/datastore/v1
1048+
service-config: datastore_v1.yaml
1049+
import-path: cloud.google.com/go/datastore/apiv1
10471050
- input-directory: google/devtools/artifactregistry/v1
10481051
service-config: artifactregistry_v1.yaml
10491052
import-path: cloud.google.com/go/artifactregistry/apiv1

0 commit comments

Comments
 (0)