google-cloud-spanner 3.55.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. google/cloud/spanner.py +47 -0
  2. google/cloud/spanner_admin_database_v1/__init__.py +146 -0
  3. google/cloud/spanner_admin_database_v1/gapic_metadata.json +418 -0
  4. google/cloud/spanner_admin_database_v1/gapic_version.py +16 -0
  5. google/cloud/spanner_admin_database_v1/py.typed +2 -0
  6. google/cloud/spanner_admin_database_v1/services/__init__.py +15 -0
  7. google/cloud/spanner_admin_database_v1/services/database_admin/__init__.py +22 -0
  8. google/cloud/spanner_admin_database_v1/services/database_admin/async_client.py +4097 -0
  9. google/cloud/spanner_admin_database_v1/services/database_admin/client.py +4602 -0
  10. google/cloud/spanner_admin_database_v1/services/database_admin/pagers.py +989 -0
  11. google/cloud/spanner_admin_database_v1/services/database_admin/transports/__init__.py +38 -0
  12. google/cloud/spanner_admin_database_v1/services/database_admin/transports/base.py +820 -0
  13. google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc.py +1303 -0
  14. google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc_asyncio.py +1688 -0
  15. google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest.py +6512 -0
  16. google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest_base.py +1650 -0
  17. google/cloud/spanner_admin_database_v1/types/__init__.py +144 -0
  18. google/cloud/spanner_admin_database_v1/types/backup.py +1106 -0
  19. google/cloud/spanner_admin_database_v1/types/backup_schedule.py +369 -0
  20. google/cloud/spanner_admin_database_v1/types/common.py +180 -0
  21. google/cloud/spanner_admin_database_v1/types/spanner_database_admin.py +1303 -0
  22. google/cloud/spanner_admin_instance_v1/__init__.py +110 -0
  23. google/cloud/spanner_admin_instance_v1/gapic_metadata.json +343 -0
  24. google/cloud/spanner_admin_instance_v1/gapic_version.py +16 -0
  25. google/cloud/spanner_admin_instance_v1/py.typed +2 -0
  26. google/cloud/spanner_admin_instance_v1/services/__init__.py +15 -0
  27. google/cloud/spanner_admin_instance_v1/services/instance_admin/__init__.py +22 -0
  28. google/cloud/spanner_admin_instance_v1/services/instance_admin/async_client.py +3466 -0
  29. google/cloud/spanner_admin_instance_v1/services/instance_admin/client.py +3881 -0
  30. google/cloud/spanner_admin_instance_v1/services/instance_admin/pagers.py +856 -0
  31. google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/__init__.py +38 -0
  32. google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/base.py +545 -0
  33. google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc.py +1347 -0
  34. google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc_asyncio.py +1539 -0
  35. google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest.py +4834 -0
  36. google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest_base.py +1198 -0
  37. google/cloud/spanner_admin_instance_v1/types/__init__.py +104 -0
  38. google/cloud/spanner_admin_instance_v1/types/common.py +99 -0
  39. google/cloud/spanner_admin_instance_v1/types/spanner_instance_admin.py +2375 -0
  40. google/cloud/spanner_dbapi/__init__.py +93 -0
  41. google/cloud/spanner_dbapi/_helpers.py +113 -0
  42. google/cloud/spanner_dbapi/batch_dml_executor.py +135 -0
  43. google/cloud/spanner_dbapi/checksum.py +80 -0
  44. google/cloud/spanner_dbapi/client_side_statement_executor.py +140 -0
  45. google/cloud/spanner_dbapi/client_side_statement_parser.py +106 -0
  46. google/cloud/spanner_dbapi/connection.py +818 -0
  47. google/cloud/spanner_dbapi/cursor.py +609 -0
  48. google/cloud/spanner_dbapi/exceptions.py +172 -0
  49. google/cloud/spanner_dbapi/parse_utils.py +392 -0
  50. google/cloud/spanner_dbapi/parsed_statement.py +63 -0
  51. google/cloud/spanner_dbapi/parser.py +258 -0
  52. google/cloud/spanner_dbapi/partition_helper.py +41 -0
  53. google/cloud/spanner_dbapi/transaction_helper.py +294 -0
  54. google/cloud/spanner_dbapi/types.py +106 -0
  55. google/cloud/spanner_dbapi/utils.py +147 -0
  56. google/cloud/spanner_dbapi/version.py +20 -0
  57. google/cloud/spanner_v1/__init__.py +154 -0
  58. google/cloud/spanner_v1/_helpers.py +751 -0
  59. google/cloud/spanner_v1/_opentelemetry_tracing.py +165 -0
  60. google/cloud/spanner_v1/backup.py +397 -0
  61. google/cloud/spanner_v1/batch.py +433 -0
  62. google/cloud/spanner_v1/client.py +538 -0
  63. google/cloud/spanner_v1/data_types.py +350 -0
  64. google/cloud/spanner_v1/database.py +1968 -0
  65. google/cloud/spanner_v1/database_sessions_manager.py +249 -0
  66. google/cloud/spanner_v1/gapic_metadata.json +268 -0
  67. google/cloud/spanner_v1/gapic_version.py +16 -0
  68. google/cloud/spanner_v1/instance.py +735 -0
  69. google/cloud/spanner_v1/keyset.py +193 -0
  70. google/cloud/spanner_v1/merged_result_set.py +146 -0
  71. google/cloud/spanner_v1/metrics/constants.py +71 -0
  72. google/cloud/spanner_v1/metrics/metrics_capture.py +75 -0
  73. google/cloud/spanner_v1/metrics/metrics_exporter.py +384 -0
  74. google/cloud/spanner_v1/metrics/metrics_interceptor.py +156 -0
  75. google/cloud/spanner_v1/metrics/metrics_tracer.py +588 -0
  76. google/cloud/spanner_v1/metrics/metrics_tracer_factory.py +328 -0
  77. google/cloud/spanner_v1/metrics/spanner_metrics_tracer_factory.py +172 -0
  78. google/cloud/spanner_v1/param_types.py +110 -0
  79. google/cloud/spanner_v1/pool.py +813 -0
  80. google/cloud/spanner_v1/py.typed +2 -0
  81. google/cloud/spanner_v1/request_id_header.py +64 -0
  82. google/cloud/spanner_v1/services/__init__.py +15 -0
  83. google/cloud/spanner_v1/services/spanner/__init__.py +22 -0
  84. google/cloud/spanner_v1/services/spanner/async_client.py +2205 -0
  85. google/cloud/spanner_v1/services/spanner/client.py +2624 -0
  86. google/cloud/spanner_v1/services/spanner/pagers.py +196 -0
  87. google/cloud/spanner_v1/services/spanner/transports/__init__.py +38 -0
  88. google/cloud/spanner_v1/services/spanner/transports/base.py +520 -0
  89. google/cloud/spanner_v1/services/spanner/transports/grpc.py +911 -0
  90. google/cloud/spanner_v1/services/spanner/transports/grpc_asyncio.py +1144 -0
  91. google/cloud/spanner_v1/services/spanner/transports/rest.py +3468 -0
  92. google/cloud/spanner_v1/services/spanner/transports/rest_base.py +981 -0
  93. google/cloud/spanner_v1/session.py +631 -0
  94. google/cloud/spanner_v1/session_options.py +133 -0
  95. google/cloud/spanner_v1/snapshot.py +1057 -0
  96. google/cloud/spanner_v1/streamed.py +402 -0
  97. google/cloud/spanner_v1/table.py +181 -0
  98. google/cloud/spanner_v1/testing/__init__.py +0 -0
  99. google/cloud/spanner_v1/testing/database_test.py +121 -0
  100. google/cloud/spanner_v1/testing/interceptors.py +118 -0
  101. google/cloud/spanner_v1/testing/mock_database_admin.py +38 -0
  102. google/cloud/spanner_v1/testing/mock_spanner.py +261 -0
  103. google/cloud/spanner_v1/testing/spanner_database_admin_pb2_grpc.py +1267 -0
  104. google/cloud/spanner_v1/testing/spanner_pb2_grpc.py +882 -0
  105. google/cloud/spanner_v1/transaction.py +747 -0
  106. google/cloud/spanner_v1/types/__init__.py +118 -0
  107. google/cloud/spanner_v1/types/commit_response.py +94 -0
  108. google/cloud/spanner_v1/types/keys.py +248 -0
  109. google/cloud/spanner_v1/types/mutation.py +201 -0
  110. google/cloud/spanner_v1/types/query_plan.py +220 -0
  111. google/cloud/spanner_v1/types/result_set.py +379 -0
  112. google/cloud/spanner_v1/types/spanner.py +1815 -0
  113. google/cloud/spanner_v1/types/transaction.py +818 -0
  114. google/cloud/spanner_v1/types/type.py +288 -0
  115. google_cloud_spanner-3.55.0.dist-info/LICENSE +202 -0
  116. google_cloud_spanner-3.55.0.dist-info/METADATA +318 -0
  117. google_cloud_spanner-3.55.0.dist-info/RECORD +119 -0
  118. google_cloud_spanner-3.55.0.dist-info/WHEEL +5 -0
  119. google_cloud_spanner-3.55.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,47 @@
1
+ # Copyright 2016, Google LLC All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ from __future__ import absolute_import
16
+
17
+ from google.cloud.spanner_v1 import __version__
18
+ from google.cloud.spanner_v1 import param_types
19
+ from google.cloud.spanner_v1 import Client
20
+ from google.cloud.spanner_v1 import KeyRange
21
+ from google.cloud.spanner_v1 import KeySet
22
+ from google.cloud.spanner_v1 import AbstractSessionPool
23
+ from google.cloud.spanner_v1 import BurstyPool
24
+ from google.cloud.spanner_v1 import FixedSizePool
25
+ from google.cloud.spanner_v1 import PingingPool
26
+ from google.cloud.spanner_v1 import TransactionPingingPool
27
+ from google.cloud.spanner_v1 import COMMIT_TIMESTAMP
28
+
29
+
30
+ __all__ = (
31
+ # google.cloud.spanner
32
+ "__version__",
33
+ "param_types",
34
+ # google.cloud.spanner_v1.client
35
+ "Client",
36
+ # google.cloud.spanner_v1.keyset
37
+ "KeyRange",
38
+ "KeySet",
39
+ # google.cloud.spanner_v1.pool
40
+ "AbstractSessionPool",
41
+ "BurstyPool",
42
+ "FixedSizePool",
43
+ "PingingPool",
44
+ "TransactionPingingPool",
45
+ # local
46
+ "COMMIT_TIMESTAMP",
47
+ )
@@ -0,0 +1,146 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2025 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ from google.cloud.spanner_admin_database_v1 import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from .services.database_admin import DatabaseAdminClient
22
+ from .services.database_admin import DatabaseAdminAsyncClient
23
+
24
+ from .types.backup import Backup
25
+ from .types.backup import BackupInfo
26
+ from .types.backup import BackupInstancePartition
27
+ from .types.backup import CopyBackupEncryptionConfig
28
+ from .types.backup import CopyBackupMetadata
29
+ from .types.backup import CopyBackupRequest
30
+ from .types.backup import CreateBackupEncryptionConfig
31
+ from .types.backup import CreateBackupMetadata
32
+ from .types.backup import CreateBackupRequest
33
+ from .types.backup import DeleteBackupRequest
34
+ from .types.backup import FullBackupSpec
35
+ from .types.backup import GetBackupRequest
36
+ from .types.backup import IncrementalBackupSpec
37
+ from .types.backup import ListBackupOperationsRequest
38
+ from .types.backup import ListBackupOperationsResponse
39
+ from .types.backup import ListBackupsRequest
40
+ from .types.backup import ListBackupsResponse
41
+ from .types.backup import UpdateBackupRequest
42
+ from .types.backup_schedule import BackupSchedule
43
+ from .types.backup_schedule import BackupScheduleSpec
44
+ from .types.backup_schedule import CreateBackupScheduleRequest
45
+ from .types.backup_schedule import CrontabSpec
46
+ from .types.backup_schedule import DeleteBackupScheduleRequest
47
+ from .types.backup_schedule import GetBackupScheduleRequest
48
+ from .types.backup_schedule import ListBackupSchedulesRequest
49
+ from .types.backup_schedule import ListBackupSchedulesResponse
50
+ from .types.backup_schedule import UpdateBackupScheduleRequest
51
+ from .types.common import EncryptionConfig
52
+ from .types.common import EncryptionInfo
53
+ from .types.common import OperationProgress
54
+ from .types.common import DatabaseDialect
55
+ from .types.spanner_database_admin import AddSplitPointsRequest
56
+ from .types.spanner_database_admin import AddSplitPointsResponse
57
+ from .types.spanner_database_admin import CreateDatabaseMetadata
58
+ from .types.spanner_database_admin import CreateDatabaseRequest
59
+ from .types.spanner_database_admin import Database
60
+ from .types.spanner_database_admin import DatabaseRole
61
+ from .types.spanner_database_admin import DdlStatementActionInfo
62
+ from .types.spanner_database_admin import DropDatabaseRequest
63
+ from .types.spanner_database_admin import GetDatabaseDdlRequest
64
+ from .types.spanner_database_admin import GetDatabaseDdlResponse
65
+ from .types.spanner_database_admin import GetDatabaseRequest
66
+ from .types.spanner_database_admin import ListDatabaseOperationsRequest
67
+ from .types.spanner_database_admin import ListDatabaseOperationsResponse
68
+ from .types.spanner_database_admin import ListDatabaseRolesRequest
69
+ from .types.spanner_database_admin import ListDatabaseRolesResponse
70
+ from .types.spanner_database_admin import ListDatabasesRequest
71
+ from .types.spanner_database_admin import ListDatabasesResponse
72
+ from .types.spanner_database_admin import OptimizeRestoredDatabaseMetadata
73
+ from .types.spanner_database_admin import RestoreDatabaseEncryptionConfig
74
+ from .types.spanner_database_admin import RestoreDatabaseMetadata
75
+ from .types.spanner_database_admin import RestoreDatabaseRequest
76
+ from .types.spanner_database_admin import RestoreInfo
77
+ from .types.spanner_database_admin import SplitPoints
78
+ from .types.spanner_database_admin import UpdateDatabaseDdlMetadata
79
+ from .types.spanner_database_admin import UpdateDatabaseDdlRequest
80
+ from .types.spanner_database_admin import UpdateDatabaseMetadata
81
+ from .types.spanner_database_admin import UpdateDatabaseRequest
82
+ from .types.spanner_database_admin import RestoreSourceType
83
+
84
+ __all__ = (
85
+ "DatabaseAdminAsyncClient",
86
+ "AddSplitPointsRequest",
87
+ "AddSplitPointsResponse",
88
+ "Backup",
89
+ "BackupInfo",
90
+ "BackupInstancePartition",
91
+ "BackupSchedule",
92
+ "BackupScheduleSpec",
93
+ "CopyBackupEncryptionConfig",
94
+ "CopyBackupMetadata",
95
+ "CopyBackupRequest",
96
+ "CreateBackupEncryptionConfig",
97
+ "CreateBackupMetadata",
98
+ "CreateBackupRequest",
99
+ "CreateBackupScheduleRequest",
100
+ "CreateDatabaseMetadata",
101
+ "CreateDatabaseRequest",
102
+ "CrontabSpec",
103
+ "Database",
104
+ "DatabaseAdminClient",
105
+ "DatabaseDialect",
106
+ "DatabaseRole",
107
+ "DdlStatementActionInfo",
108
+ "DeleteBackupRequest",
109
+ "DeleteBackupScheduleRequest",
110
+ "DropDatabaseRequest",
111
+ "EncryptionConfig",
112
+ "EncryptionInfo",
113
+ "FullBackupSpec",
114
+ "GetBackupRequest",
115
+ "GetBackupScheduleRequest",
116
+ "GetDatabaseDdlRequest",
117
+ "GetDatabaseDdlResponse",
118
+ "GetDatabaseRequest",
119
+ "IncrementalBackupSpec",
120
+ "ListBackupOperationsRequest",
121
+ "ListBackupOperationsResponse",
122
+ "ListBackupSchedulesRequest",
123
+ "ListBackupSchedulesResponse",
124
+ "ListBackupsRequest",
125
+ "ListBackupsResponse",
126
+ "ListDatabaseOperationsRequest",
127
+ "ListDatabaseOperationsResponse",
128
+ "ListDatabaseRolesRequest",
129
+ "ListDatabaseRolesResponse",
130
+ "ListDatabasesRequest",
131
+ "ListDatabasesResponse",
132
+ "OperationProgress",
133
+ "OptimizeRestoredDatabaseMetadata",
134
+ "RestoreDatabaseEncryptionConfig",
135
+ "RestoreDatabaseMetadata",
136
+ "RestoreDatabaseRequest",
137
+ "RestoreInfo",
138
+ "RestoreSourceType",
139
+ "SplitPoints",
140
+ "UpdateBackupRequest",
141
+ "UpdateBackupScheduleRequest",
142
+ "UpdateDatabaseDdlMetadata",
143
+ "UpdateDatabaseDdlRequest",
144
+ "UpdateDatabaseMetadata",
145
+ "UpdateDatabaseRequest",
146
+ )
@@ -0,0 +1,418 @@
1
+ {
2
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3
+ "language": "python",
4
+ "libraryPackage": "google.cloud.spanner_admin_database_v1",
5
+ "protoPackage": "google.spanner.admin.database.v1",
6
+ "schema": "1.0",
7
+ "services": {
8
+ "DatabaseAdmin": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "DatabaseAdminClient",
12
+ "rpcs": {
13
+ "AddSplitPoints": {
14
+ "methods": [
15
+ "add_split_points"
16
+ ]
17
+ },
18
+ "CopyBackup": {
19
+ "methods": [
20
+ "copy_backup"
21
+ ]
22
+ },
23
+ "CreateBackup": {
24
+ "methods": [
25
+ "create_backup"
26
+ ]
27
+ },
28
+ "CreateBackupSchedule": {
29
+ "methods": [
30
+ "create_backup_schedule"
31
+ ]
32
+ },
33
+ "CreateDatabase": {
34
+ "methods": [
35
+ "create_database"
36
+ ]
37
+ },
38
+ "DeleteBackup": {
39
+ "methods": [
40
+ "delete_backup"
41
+ ]
42
+ },
43
+ "DeleteBackupSchedule": {
44
+ "methods": [
45
+ "delete_backup_schedule"
46
+ ]
47
+ },
48
+ "DropDatabase": {
49
+ "methods": [
50
+ "drop_database"
51
+ ]
52
+ },
53
+ "GetBackup": {
54
+ "methods": [
55
+ "get_backup"
56
+ ]
57
+ },
58
+ "GetBackupSchedule": {
59
+ "methods": [
60
+ "get_backup_schedule"
61
+ ]
62
+ },
63
+ "GetDatabase": {
64
+ "methods": [
65
+ "get_database"
66
+ ]
67
+ },
68
+ "GetDatabaseDdl": {
69
+ "methods": [
70
+ "get_database_ddl"
71
+ ]
72
+ },
73
+ "GetIamPolicy": {
74
+ "methods": [
75
+ "get_iam_policy"
76
+ ]
77
+ },
78
+ "ListBackupOperations": {
79
+ "methods": [
80
+ "list_backup_operations"
81
+ ]
82
+ },
83
+ "ListBackupSchedules": {
84
+ "methods": [
85
+ "list_backup_schedules"
86
+ ]
87
+ },
88
+ "ListBackups": {
89
+ "methods": [
90
+ "list_backups"
91
+ ]
92
+ },
93
+ "ListDatabaseOperations": {
94
+ "methods": [
95
+ "list_database_operations"
96
+ ]
97
+ },
98
+ "ListDatabaseRoles": {
99
+ "methods": [
100
+ "list_database_roles"
101
+ ]
102
+ },
103
+ "ListDatabases": {
104
+ "methods": [
105
+ "list_databases"
106
+ ]
107
+ },
108
+ "RestoreDatabase": {
109
+ "methods": [
110
+ "restore_database"
111
+ ]
112
+ },
113
+ "SetIamPolicy": {
114
+ "methods": [
115
+ "set_iam_policy"
116
+ ]
117
+ },
118
+ "TestIamPermissions": {
119
+ "methods": [
120
+ "test_iam_permissions"
121
+ ]
122
+ },
123
+ "UpdateBackup": {
124
+ "methods": [
125
+ "update_backup"
126
+ ]
127
+ },
128
+ "UpdateBackupSchedule": {
129
+ "methods": [
130
+ "update_backup_schedule"
131
+ ]
132
+ },
133
+ "UpdateDatabase": {
134
+ "methods": [
135
+ "update_database"
136
+ ]
137
+ },
138
+ "UpdateDatabaseDdl": {
139
+ "methods": [
140
+ "update_database_ddl"
141
+ ]
142
+ }
143
+ }
144
+ },
145
+ "grpc-async": {
146
+ "libraryClient": "DatabaseAdminAsyncClient",
147
+ "rpcs": {
148
+ "AddSplitPoints": {
149
+ "methods": [
150
+ "add_split_points"
151
+ ]
152
+ },
153
+ "CopyBackup": {
154
+ "methods": [
155
+ "copy_backup"
156
+ ]
157
+ },
158
+ "CreateBackup": {
159
+ "methods": [
160
+ "create_backup"
161
+ ]
162
+ },
163
+ "CreateBackupSchedule": {
164
+ "methods": [
165
+ "create_backup_schedule"
166
+ ]
167
+ },
168
+ "CreateDatabase": {
169
+ "methods": [
170
+ "create_database"
171
+ ]
172
+ },
173
+ "DeleteBackup": {
174
+ "methods": [
175
+ "delete_backup"
176
+ ]
177
+ },
178
+ "DeleteBackupSchedule": {
179
+ "methods": [
180
+ "delete_backup_schedule"
181
+ ]
182
+ },
183
+ "DropDatabase": {
184
+ "methods": [
185
+ "drop_database"
186
+ ]
187
+ },
188
+ "GetBackup": {
189
+ "methods": [
190
+ "get_backup"
191
+ ]
192
+ },
193
+ "GetBackupSchedule": {
194
+ "methods": [
195
+ "get_backup_schedule"
196
+ ]
197
+ },
198
+ "GetDatabase": {
199
+ "methods": [
200
+ "get_database"
201
+ ]
202
+ },
203
+ "GetDatabaseDdl": {
204
+ "methods": [
205
+ "get_database_ddl"
206
+ ]
207
+ },
208
+ "GetIamPolicy": {
209
+ "methods": [
210
+ "get_iam_policy"
211
+ ]
212
+ },
213
+ "ListBackupOperations": {
214
+ "methods": [
215
+ "list_backup_operations"
216
+ ]
217
+ },
218
+ "ListBackupSchedules": {
219
+ "methods": [
220
+ "list_backup_schedules"
221
+ ]
222
+ },
223
+ "ListBackups": {
224
+ "methods": [
225
+ "list_backups"
226
+ ]
227
+ },
228
+ "ListDatabaseOperations": {
229
+ "methods": [
230
+ "list_database_operations"
231
+ ]
232
+ },
233
+ "ListDatabaseRoles": {
234
+ "methods": [
235
+ "list_database_roles"
236
+ ]
237
+ },
238
+ "ListDatabases": {
239
+ "methods": [
240
+ "list_databases"
241
+ ]
242
+ },
243
+ "RestoreDatabase": {
244
+ "methods": [
245
+ "restore_database"
246
+ ]
247
+ },
248
+ "SetIamPolicy": {
249
+ "methods": [
250
+ "set_iam_policy"
251
+ ]
252
+ },
253
+ "TestIamPermissions": {
254
+ "methods": [
255
+ "test_iam_permissions"
256
+ ]
257
+ },
258
+ "UpdateBackup": {
259
+ "methods": [
260
+ "update_backup"
261
+ ]
262
+ },
263
+ "UpdateBackupSchedule": {
264
+ "methods": [
265
+ "update_backup_schedule"
266
+ ]
267
+ },
268
+ "UpdateDatabase": {
269
+ "methods": [
270
+ "update_database"
271
+ ]
272
+ },
273
+ "UpdateDatabaseDdl": {
274
+ "methods": [
275
+ "update_database_ddl"
276
+ ]
277
+ }
278
+ }
279
+ },
280
+ "rest": {
281
+ "libraryClient": "DatabaseAdminClient",
282
+ "rpcs": {
283
+ "AddSplitPoints": {
284
+ "methods": [
285
+ "add_split_points"
286
+ ]
287
+ },
288
+ "CopyBackup": {
289
+ "methods": [
290
+ "copy_backup"
291
+ ]
292
+ },
293
+ "CreateBackup": {
294
+ "methods": [
295
+ "create_backup"
296
+ ]
297
+ },
298
+ "CreateBackupSchedule": {
299
+ "methods": [
300
+ "create_backup_schedule"
301
+ ]
302
+ },
303
+ "CreateDatabase": {
304
+ "methods": [
305
+ "create_database"
306
+ ]
307
+ },
308
+ "DeleteBackup": {
309
+ "methods": [
310
+ "delete_backup"
311
+ ]
312
+ },
313
+ "DeleteBackupSchedule": {
314
+ "methods": [
315
+ "delete_backup_schedule"
316
+ ]
317
+ },
318
+ "DropDatabase": {
319
+ "methods": [
320
+ "drop_database"
321
+ ]
322
+ },
323
+ "GetBackup": {
324
+ "methods": [
325
+ "get_backup"
326
+ ]
327
+ },
328
+ "GetBackupSchedule": {
329
+ "methods": [
330
+ "get_backup_schedule"
331
+ ]
332
+ },
333
+ "GetDatabase": {
334
+ "methods": [
335
+ "get_database"
336
+ ]
337
+ },
338
+ "GetDatabaseDdl": {
339
+ "methods": [
340
+ "get_database_ddl"
341
+ ]
342
+ },
343
+ "GetIamPolicy": {
344
+ "methods": [
345
+ "get_iam_policy"
346
+ ]
347
+ },
348
+ "ListBackupOperations": {
349
+ "methods": [
350
+ "list_backup_operations"
351
+ ]
352
+ },
353
+ "ListBackupSchedules": {
354
+ "methods": [
355
+ "list_backup_schedules"
356
+ ]
357
+ },
358
+ "ListBackups": {
359
+ "methods": [
360
+ "list_backups"
361
+ ]
362
+ },
363
+ "ListDatabaseOperations": {
364
+ "methods": [
365
+ "list_database_operations"
366
+ ]
367
+ },
368
+ "ListDatabaseRoles": {
369
+ "methods": [
370
+ "list_database_roles"
371
+ ]
372
+ },
373
+ "ListDatabases": {
374
+ "methods": [
375
+ "list_databases"
376
+ ]
377
+ },
378
+ "RestoreDatabase": {
379
+ "methods": [
380
+ "restore_database"
381
+ ]
382
+ },
383
+ "SetIamPolicy": {
384
+ "methods": [
385
+ "set_iam_policy"
386
+ ]
387
+ },
388
+ "TestIamPermissions": {
389
+ "methods": [
390
+ "test_iam_permissions"
391
+ ]
392
+ },
393
+ "UpdateBackup": {
394
+ "methods": [
395
+ "update_backup"
396
+ ]
397
+ },
398
+ "UpdateBackupSchedule": {
399
+ "methods": [
400
+ "update_backup_schedule"
401
+ ]
402
+ },
403
+ "UpdateDatabase": {
404
+ "methods": [
405
+ "update_database"
406
+ ]
407
+ },
408
+ "UpdateDatabaseDdl": {
409
+ "methods": [
410
+ "update_database_ddl"
411
+ ]
412
+ }
413
+ }
414
+ }
415
+ }
416
+ }
417
+ }
418
+ }
@@ -0,0 +1,16 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2022 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ __version__ = "3.55.0" # {x-release-please-version}
@@ -0,0 +1,2 @@
1
+ # Marker file for PEP 561.
2
+ # The google-cloud-spanner-admin-database package uses inline types.
@@ -0,0 +1,15 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2025 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
@@ -0,0 +1,22 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2025 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ from .client import DatabaseAdminClient
17
+ from .async_client import DatabaseAdminAsyncClient
18
+
19
+ __all__ = (
20
+ "DatabaseAdminClient",
21
+ "DatabaseAdminAsyncClient",
22
+ )