Skip to content

Commit

Permalink
chore: update owlbot.py to properly copy folders from googleapis-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Jun 6, 2021
1 parent 403e1ba commit a18beca
Show file tree
Hide file tree
Showing 50 changed files with 1,980 additions and 1,638 deletions.
11 changes: 7 additions & 4 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ docker:
deep-remove-regex:
- /owl-bot-staging

deep-preserve-regex:
- /owl-bot-staging/firestore/v1beta1

deep-copy-regex:
- source: /google/firestore/(v.*)/.*-py/(.*)
dest: /owl-bot-staging/$1/$2
dest: /owl-bot-staging/firestore/$1/$2
- source: /google/firestore/admin/(v.*)/.*-py/(.*)
dest: /owl-bot-staging/admin/$1/$2
- source: /google/firestore/bundle/(v.*)/.*-py/(.*)
dest: /owl-bot-staging/bundle/$1/$2
dest: /owl-bot-staging/firestore_admin/$1/$2
- source: /google/firestore/bundle/(.*-py)/(.*)
dest: /owl-bot-staging/firestore_bundle/$1/$2

begin-after-commit-hash: 107ed1217b5e87048263f52cd3911d5f851aca7e

113 changes: 113 additions & 0 deletions google/cloud/firestore_admin_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.firestore_admin_v1",
"protoPackage": "google.firestore.admin.v1",
"schema": "1.0",
"services": {
"FirestoreAdmin": {
"clients": {
"grpc": {
"libraryClient": "FirestoreAdminClient",
"rpcs": {
"CreateIndex": {
"methods": [
"create_index"
]
},
"DeleteIndex": {
"methods": [
"delete_index"
]
},
"ExportDocuments": {
"methods": [
"export_documents"
]
},
"GetField": {
"methods": [
"get_field"
]
},
"GetIndex": {
"methods": [
"get_index"
]
},
"ImportDocuments": {
"methods": [
"import_documents"
]
},
"ListFields": {
"methods": [
"list_fields"
]
},
"ListIndexes": {
"methods": [
"list_indexes"
]
},
"UpdateField": {
"methods": [
"update_field"
]
}
}
},
"grpc-async": {
"libraryClient": "FirestoreAdminAsyncClient",
"rpcs": {
"CreateIndex": {
"methods": [
"create_index"
]
},
"DeleteIndex": {
"methods": [
"delete_index"
]
},
"ExportDocuments": {
"methods": [
"export_documents"
]
},
"GetField": {
"methods": [
"get_field"
]
},
"GetIndex": {
"methods": [
"get_index"
]
},
"ImportDocuments": {
"methods": [
"import_documents"
]
},
"ListFields": {
"methods": [
"list_fields"
]
},
"ListIndexes": {
"methods": [
"list_indexes"
]
},
"UpdateField": {
"methods": [
"update_field"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/firestore_admin_v1/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import FirestoreAdminClient
from .async_client import FirestoreAdminAsyncClient

Expand Down

0 comments on commit a18beca

Please sign in to comment.