Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update owlbot.py to properly copy folders from googleapis-gen #365

Merged
merged 4 commits into from
Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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