-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add progress field to UpdateDatabaseDdlMetadata (#361)
* chore: fix owlbot.py to copy changes from googleapis-gen * feat(spanner): add progress field to UpdateDatabaseDdlMetadata * use the latest owlbot post processor image * chore: move import of CommitResponse * add workarounds in owlbot.py * run post processor * update owlbot.py to copy multiple folders/versions from googleapis-gen
- Loading branch information
Showing
74 changed files
with
3,786 additions
and
2,792 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
docker: | ||
digest: sha256:cfc0e802701262c211703c468874d767f65dabe6a1a71d0e07bfc8a3d5175f32 | ||
digest: sha256:c66ba3c8d7bc8566f47df841f98cd0097b28fff0b1864c86f5817f4c8c3e8600 | ||
image: gcr.io/repo-automation-bots/owlbot-python:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,6 @@ repos: | |
hooks: | ||
- id: black | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.9.0 | ||
rev: 3.9.2 | ||
hooks: | ||
- id: flake8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.. note:: | ||
|
||
Because this client uses :mod:`grpcio` library, it is safe to | ||
Because this client uses :mod:`grpc` library, it is safe to | ||
share instances across threads. In multiprocessing scenarios, the best | ||
practice is to create client instances *after* the invocation of | ||
:func:`os.fork` by :class:`multiprocessing.Pool` or | ||
:func:`os.fork` by :class:`multiprocessing.pool.Pool` or | ||
:class:`multiprocessing.Process`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
193 changes: 193 additions & 0 deletions
193
google/cloud/spanner_admin_database_v1/gapic_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
{ | ||
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods", | ||
"language": "python", | ||
"libraryPackage": "google.cloud.spanner_admin_database_v1", | ||
"protoPackage": "google.spanner.admin.database.v1", | ||
"schema": "1.0", | ||
"services": { | ||
"DatabaseAdmin": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "DatabaseAdminClient", | ||
"rpcs": { | ||
"CreateBackup": { | ||
"methods": [ | ||
"create_backup" | ||
] | ||
}, | ||
"CreateDatabase": { | ||
"methods": [ | ||
"create_database" | ||
] | ||
}, | ||
"DeleteBackup": { | ||
"methods": [ | ||
"delete_backup" | ||
] | ||
}, | ||
"DropDatabase": { | ||
"methods": [ | ||
"drop_database" | ||
] | ||
}, | ||
"GetBackup": { | ||
"methods": [ | ||
"get_backup" | ||
] | ||
}, | ||
"GetDatabase": { | ||
"methods": [ | ||
"get_database" | ||
] | ||
}, | ||
"GetDatabaseDdl": { | ||
"methods": [ | ||
"get_database_ddl" | ||
] | ||
}, | ||
"GetIamPolicy": { | ||
"methods": [ | ||
"get_iam_policy" | ||
] | ||
}, | ||
"ListBackupOperations": { | ||
"methods": [ | ||
"list_backup_operations" | ||
] | ||
}, | ||
"ListBackups": { | ||
"methods": [ | ||
"list_backups" | ||
] | ||
}, | ||
"ListDatabaseOperations": { | ||
"methods": [ | ||
"list_database_operations" | ||
] | ||
}, | ||
"ListDatabases": { | ||
"methods": [ | ||
"list_databases" | ||
] | ||
}, | ||
"RestoreDatabase": { | ||
"methods": [ | ||
"restore_database" | ||
] | ||
}, | ||
"SetIamPolicy": { | ||
"methods": [ | ||
"set_iam_policy" | ||
] | ||
}, | ||
"TestIamPermissions": { | ||
"methods": [ | ||
"test_iam_permissions" | ||
] | ||
}, | ||
"UpdateBackup": { | ||
"methods": [ | ||
"update_backup" | ||
] | ||
}, | ||
"UpdateDatabaseDdl": { | ||
"methods": [ | ||
"update_database_ddl" | ||
] | ||
} | ||
} | ||
}, | ||
"grpc-async": { | ||
"libraryClient": "DatabaseAdminAsyncClient", | ||
"rpcs": { | ||
"CreateBackup": { | ||
"methods": [ | ||
"create_backup" | ||
] | ||
}, | ||
"CreateDatabase": { | ||
"methods": [ | ||
"create_database" | ||
] | ||
}, | ||
"DeleteBackup": { | ||
"methods": [ | ||
"delete_backup" | ||
] | ||
}, | ||
"DropDatabase": { | ||
"methods": [ | ||
"drop_database" | ||
] | ||
}, | ||
"GetBackup": { | ||
"methods": [ | ||
"get_backup" | ||
] | ||
}, | ||
"GetDatabase": { | ||
"methods": [ | ||
"get_database" | ||
] | ||
}, | ||
"GetDatabaseDdl": { | ||
"methods": [ | ||
"get_database_ddl" | ||
] | ||
}, | ||
"GetIamPolicy": { | ||
"methods": [ | ||
"get_iam_policy" | ||
] | ||
}, | ||
"ListBackupOperations": { | ||
"methods": [ | ||
"list_backup_operations" | ||
] | ||
}, | ||
"ListBackups": { | ||
"methods": [ | ||
"list_backups" | ||
] | ||
}, | ||
"ListDatabaseOperations": { | ||
"methods": [ | ||
"list_database_operations" | ||
] | ||
}, | ||
"ListDatabases": { | ||
"methods": [ | ||
"list_databases" | ||
] | ||
}, | ||
"RestoreDatabase": { | ||
"methods": [ | ||
"restore_database" | ||
] | ||
}, | ||
"SetIamPolicy": { | ||
"methods": [ | ||
"set_iam_policy" | ||
] | ||
}, | ||
"TestIamPermissions": { | ||
"methods": [ | ||
"test_iam_permissions" | ||
] | ||
}, | ||
"UpdateBackup": { | ||
"methods": [ | ||
"update_backup" | ||
] | ||
}, | ||
"UpdateDatabaseDdl": { | ||
"methods": [ | ||
"update_database_ddl" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.