Skip to content

Commit f7f5758

Browse files
authored
chore: update owlbot.py to properly copy folders from googleapis-gen (#365)
1 parent 825fda8 commit f7f5758

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1983
-1638
lines changed

packages/google-cloud-firestore/.github/.OwlBot.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ docker:
1818
deep-remove-regex:
1919
- /owl-bot-staging
2020

21+
deep-preserve-regex:
22+
- /owl-bot-staging/firestore/v1beta1
23+
2124
deep-copy-regex:
2225
- source: /google/firestore/(v.*)/.*-py/(.*)
23-
dest: /owl-bot-staging/$1/$2
26+
dest: /owl-bot-staging/firestore/$1/$2
2427
- source: /google/firestore/admin/(v.*)/.*-py/(.*)
25-
dest: /owl-bot-staging/admin/$1/$2
26-
- source: /google/firestore/bundle/(v.*)/.*-py/(.*)
27-
dest: /owl-bot-staging/bundle/$1/$2
28+
dest: /owl-bot-staging/firestore_admin/$1/$2
29+
- source: /google/firestore/bundle/(.*-py)/(.*)
30+
dest: /owl-bot-staging/firestore_bundle/$1/$2
2831

2932
begin-after-commit-hash: 107ed1217b5e87048263f52cd3911d5f851aca7e
3033

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.firestore_admin_v1",
5+
"protoPackage": "google.firestore.admin.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"FirestoreAdmin": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "FirestoreAdminClient",
12+
"rpcs": {
13+
"CreateIndex": {
14+
"methods": [
15+
"create_index"
16+
]
17+
},
18+
"DeleteIndex": {
19+
"methods": [
20+
"delete_index"
21+
]
22+
},
23+
"ExportDocuments": {
24+
"methods": [
25+
"export_documents"
26+
]
27+
},
28+
"GetField": {
29+
"methods": [
30+
"get_field"
31+
]
32+
},
33+
"GetIndex": {
34+
"methods": [
35+
"get_index"
36+
]
37+
},
38+
"ImportDocuments": {
39+
"methods": [
40+
"import_documents"
41+
]
42+
},
43+
"ListFields": {
44+
"methods": [
45+
"list_fields"
46+
]
47+
},
48+
"ListIndexes": {
49+
"methods": [
50+
"list_indexes"
51+
]
52+
},
53+
"UpdateField": {
54+
"methods": [
55+
"update_field"
56+
]
57+
}
58+
}
59+
},
60+
"grpc-async": {
61+
"libraryClient": "FirestoreAdminAsyncClient",
62+
"rpcs": {
63+
"CreateIndex": {
64+
"methods": [
65+
"create_index"
66+
]
67+
},
68+
"DeleteIndex": {
69+
"methods": [
70+
"delete_index"
71+
]
72+
},
73+
"ExportDocuments": {
74+
"methods": [
75+
"export_documents"
76+
]
77+
},
78+
"GetField": {
79+
"methods": [
80+
"get_field"
81+
]
82+
},
83+
"GetIndex": {
84+
"methods": [
85+
"get_index"
86+
]
87+
},
88+
"ImportDocuments": {
89+
"methods": [
90+
"import_documents"
91+
]
92+
},
93+
"ListFields": {
94+
"methods": [
95+
"list_fields"
96+
]
97+
},
98+
"ListIndexes": {
99+
"methods": [
100+
"list_indexes"
101+
]
102+
},
103+
"UpdateField": {
104+
"methods": [
105+
"update_field"
106+
]
107+
}
108+
}
109+
}
110+
}
111+
}
112+
}
113+
}

packages/google-cloud-firestore/google/cloud/firestore_admin_v1/services/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

packages/google-cloud-firestore/google/cloud/firestore_admin_v1/services/firestore_admin/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
from .client import FirestoreAdminClient
1917
from .async_client import FirestoreAdminAsyncClient
2018

0 commit comments

Comments
 (0)