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.
- google/cloud/spanner.py +47 -0
- google/cloud/spanner_admin_database_v1/__init__.py +146 -0
- google/cloud/spanner_admin_database_v1/gapic_metadata.json +418 -0
- google/cloud/spanner_admin_database_v1/gapic_version.py +16 -0
- google/cloud/spanner_admin_database_v1/py.typed +2 -0
- google/cloud/spanner_admin_database_v1/services/__init__.py +15 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/__init__.py +22 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/async_client.py +4097 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/client.py +4602 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/pagers.py +989 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/transports/__init__.py +38 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/transports/base.py +820 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc.py +1303 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc_asyncio.py +1688 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest.py +6512 -0
- google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest_base.py +1650 -0
- google/cloud/spanner_admin_database_v1/types/__init__.py +144 -0
- google/cloud/spanner_admin_database_v1/types/backup.py +1106 -0
- google/cloud/spanner_admin_database_v1/types/backup_schedule.py +369 -0
- google/cloud/spanner_admin_database_v1/types/common.py +180 -0
- google/cloud/spanner_admin_database_v1/types/spanner_database_admin.py +1303 -0
- google/cloud/spanner_admin_instance_v1/__init__.py +110 -0
- google/cloud/spanner_admin_instance_v1/gapic_metadata.json +343 -0
- google/cloud/spanner_admin_instance_v1/gapic_version.py +16 -0
- google/cloud/spanner_admin_instance_v1/py.typed +2 -0
- google/cloud/spanner_admin_instance_v1/services/__init__.py +15 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/__init__.py +22 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/async_client.py +3466 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/client.py +3881 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/pagers.py +856 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/__init__.py +38 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/base.py +545 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc.py +1347 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc_asyncio.py +1539 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest.py +4834 -0
- google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest_base.py +1198 -0
- google/cloud/spanner_admin_instance_v1/types/__init__.py +104 -0
- google/cloud/spanner_admin_instance_v1/types/common.py +99 -0
- google/cloud/spanner_admin_instance_v1/types/spanner_instance_admin.py +2375 -0
- google/cloud/spanner_dbapi/__init__.py +93 -0
- google/cloud/spanner_dbapi/_helpers.py +113 -0
- google/cloud/spanner_dbapi/batch_dml_executor.py +135 -0
- google/cloud/spanner_dbapi/checksum.py +80 -0
- google/cloud/spanner_dbapi/client_side_statement_executor.py +140 -0
- google/cloud/spanner_dbapi/client_side_statement_parser.py +106 -0
- google/cloud/spanner_dbapi/connection.py +818 -0
- google/cloud/spanner_dbapi/cursor.py +609 -0
- google/cloud/spanner_dbapi/exceptions.py +172 -0
- google/cloud/spanner_dbapi/parse_utils.py +392 -0
- google/cloud/spanner_dbapi/parsed_statement.py +63 -0
- google/cloud/spanner_dbapi/parser.py +258 -0
- google/cloud/spanner_dbapi/partition_helper.py +41 -0
- google/cloud/spanner_dbapi/transaction_helper.py +294 -0
- google/cloud/spanner_dbapi/types.py +106 -0
- google/cloud/spanner_dbapi/utils.py +147 -0
- google/cloud/spanner_dbapi/version.py +20 -0
- google/cloud/spanner_v1/__init__.py +154 -0
- google/cloud/spanner_v1/_helpers.py +751 -0
- google/cloud/spanner_v1/_opentelemetry_tracing.py +165 -0
- google/cloud/spanner_v1/backup.py +397 -0
- google/cloud/spanner_v1/batch.py +433 -0
- google/cloud/spanner_v1/client.py +538 -0
- google/cloud/spanner_v1/data_types.py +350 -0
- google/cloud/spanner_v1/database.py +1968 -0
- google/cloud/spanner_v1/database_sessions_manager.py +249 -0
- google/cloud/spanner_v1/gapic_metadata.json +268 -0
- google/cloud/spanner_v1/gapic_version.py +16 -0
- google/cloud/spanner_v1/instance.py +735 -0
- google/cloud/spanner_v1/keyset.py +193 -0
- google/cloud/spanner_v1/merged_result_set.py +146 -0
- google/cloud/spanner_v1/metrics/constants.py +71 -0
- google/cloud/spanner_v1/metrics/metrics_capture.py +75 -0
- google/cloud/spanner_v1/metrics/metrics_exporter.py +384 -0
- google/cloud/spanner_v1/metrics/metrics_interceptor.py +156 -0
- google/cloud/spanner_v1/metrics/metrics_tracer.py +588 -0
- google/cloud/spanner_v1/metrics/metrics_tracer_factory.py +328 -0
- google/cloud/spanner_v1/metrics/spanner_metrics_tracer_factory.py +172 -0
- google/cloud/spanner_v1/param_types.py +110 -0
- google/cloud/spanner_v1/pool.py +813 -0
- google/cloud/spanner_v1/py.typed +2 -0
- google/cloud/spanner_v1/request_id_header.py +64 -0
- google/cloud/spanner_v1/services/__init__.py +15 -0
- google/cloud/spanner_v1/services/spanner/__init__.py +22 -0
- google/cloud/spanner_v1/services/spanner/async_client.py +2205 -0
- google/cloud/spanner_v1/services/spanner/client.py +2624 -0
- google/cloud/spanner_v1/services/spanner/pagers.py +196 -0
- google/cloud/spanner_v1/services/spanner/transports/__init__.py +38 -0
- google/cloud/spanner_v1/services/spanner/transports/base.py +520 -0
- google/cloud/spanner_v1/services/spanner/transports/grpc.py +911 -0
- google/cloud/spanner_v1/services/spanner/transports/grpc_asyncio.py +1144 -0
- google/cloud/spanner_v1/services/spanner/transports/rest.py +3468 -0
- google/cloud/spanner_v1/services/spanner/transports/rest_base.py +981 -0
- google/cloud/spanner_v1/session.py +631 -0
- google/cloud/spanner_v1/session_options.py +133 -0
- google/cloud/spanner_v1/snapshot.py +1057 -0
- google/cloud/spanner_v1/streamed.py +402 -0
- google/cloud/spanner_v1/table.py +181 -0
- google/cloud/spanner_v1/testing/__init__.py +0 -0
- google/cloud/spanner_v1/testing/database_test.py +121 -0
- google/cloud/spanner_v1/testing/interceptors.py +118 -0
- google/cloud/spanner_v1/testing/mock_database_admin.py +38 -0
- google/cloud/spanner_v1/testing/mock_spanner.py +261 -0
- google/cloud/spanner_v1/testing/spanner_database_admin_pb2_grpc.py +1267 -0
- google/cloud/spanner_v1/testing/spanner_pb2_grpc.py +882 -0
- google/cloud/spanner_v1/transaction.py +747 -0
- google/cloud/spanner_v1/types/__init__.py +118 -0
- google/cloud/spanner_v1/types/commit_response.py +94 -0
- google/cloud/spanner_v1/types/keys.py +248 -0
- google/cloud/spanner_v1/types/mutation.py +201 -0
- google/cloud/spanner_v1/types/query_plan.py +220 -0
- google/cloud/spanner_v1/types/result_set.py +379 -0
- google/cloud/spanner_v1/types/spanner.py +1815 -0
- google/cloud/spanner_v1/types/transaction.py +818 -0
- google/cloud/spanner_v1/types/type.py +288 -0
- google_cloud_spanner-3.55.0.dist-info/LICENSE +202 -0
- google_cloud_spanner-3.55.0.dist-info/METADATA +318 -0
- google_cloud_spanner-3.55.0.dist-info/RECORD +119 -0
- google_cloud_spanner-3.55.0.dist-info/WHEEL +5 -0
- google_cloud_spanner-3.55.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,110 @@
|
|
|
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_instance_v1 import gapic_version as package_version
|
|
17
|
+
|
|
18
|
+
__version__ = package_version.__version__
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from .services.instance_admin import InstanceAdminClient
|
|
22
|
+
from .services.instance_admin import InstanceAdminAsyncClient
|
|
23
|
+
|
|
24
|
+
from .types.common import OperationProgress
|
|
25
|
+
from .types.common import ReplicaSelection
|
|
26
|
+
from .types.common import FulfillmentPeriod
|
|
27
|
+
from .types.spanner_instance_admin import AutoscalingConfig
|
|
28
|
+
from .types.spanner_instance_admin import CreateInstanceConfigMetadata
|
|
29
|
+
from .types.spanner_instance_admin import CreateInstanceConfigRequest
|
|
30
|
+
from .types.spanner_instance_admin import CreateInstanceMetadata
|
|
31
|
+
from .types.spanner_instance_admin import CreateInstancePartitionMetadata
|
|
32
|
+
from .types.spanner_instance_admin import CreateInstancePartitionRequest
|
|
33
|
+
from .types.spanner_instance_admin import CreateInstanceRequest
|
|
34
|
+
from .types.spanner_instance_admin import DeleteInstanceConfigRequest
|
|
35
|
+
from .types.spanner_instance_admin import DeleteInstancePartitionRequest
|
|
36
|
+
from .types.spanner_instance_admin import DeleteInstanceRequest
|
|
37
|
+
from .types.spanner_instance_admin import FreeInstanceMetadata
|
|
38
|
+
from .types.spanner_instance_admin import GetInstanceConfigRequest
|
|
39
|
+
from .types.spanner_instance_admin import GetInstancePartitionRequest
|
|
40
|
+
from .types.spanner_instance_admin import GetInstanceRequest
|
|
41
|
+
from .types.spanner_instance_admin import Instance
|
|
42
|
+
from .types.spanner_instance_admin import InstanceConfig
|
|
43
|
+
from .types.spanner_instance_admin import InstancePartition
|
|
44
|
+
from .types.spanner_instance_admin import ListInstanceConfigOperationsRequest
|
|
45
|
+
from .types.spanner_instance_admin import ListInstanceConfigOperationsResponse
|
|
46
|
+
from .types.spanner_instance_admin import ListInstanceConfigsRequest
|
|
47
|
+
from .types.spanner_instance_admin import ListInstanceConfigsResponse
|
|
48
|
+
from .types.spanner_instance_admin import ListInstancePartitionOperationsRequest
|
|
49
|
+
from .types.spanner_instance_admin import ListInstancePartitionOperationsResponse
|
|
50
|
+
from .types.spanner_instance_admin import ListInstancePartitionsRequest
|
|
51
|
+
from .types.spanner_instance_admin import ListInstancePartitionsResponse
|
|
52
|
+
from .types.spanner_instance_admin import ListInstancesRequest
|
|
53
|
+
from .types.spanner_instance_admin import ListInstancesResponse
|
|
54
|
+
from .types.spanner_instance_admin import MoveInstanceMetadata
|
|
55
|
+
from .types.spanner_instance_admin import MoveInstanceRequest
|
|
56
|
+
from .types.spanner_instance_admin import MoveInstanceResponse
|
|
57
|
+
from .types.spanner_instance_admin import ReplicaComputeCapacity
|
|
58
|
+
from .types.spanner_instance_admin import ReplicaInfo
|
|
59
|
+
from .types.spanner_instance_admin import UpdateInstanceConfigMetadata
|
|
60
|
+
from .types.spanner_instance_admin import UpdateInstanceConfigRequest
|
|
61
|
+
from .types.spanner_instance_admin import UpdateInstanceMetadata
|
|
62
|
+
from .types.spanner_instance_admin import UpdateInstancePartitionMetadata
|
|
63
|
+
from .types.spanner_instance_admin import UpdateInstancePartitionRequest
|
|
64
|
+
from .types.spanner_instance_admin import UpdateInstanceRequest
|
|
65
|
+
|
|
66
|
+
__all__ = (
|
|
67
|
+
"InstanceAdminAsyncClient",
|
|
68
|
+
"AutoscalingConfig",
|
|
69
|
+
"CreateInstanceConfigMetadata",
|
|
70
|
+
"CreateInstanceConfigRequest",
|
|
71
|
+
"CreateInstanceMetadata",
|
|
72
|
+
"CreateInstancePartitionMetadata",
|
|
73
|
+
"CreateInstancePartitionRequest",
|
|
74
|
+
"CreateInstanceRequest",
|
|
75
|
+
"DeleteInstanceConfigRequest",
|
|
76
|
+
"DeleteInstancePartitionRequest",
|
|
77
|
+
"DeleteInstanceRequest",
|
|
78
|
+
"FreeInstanceMetadata",
|
|
79
|
+
"FulfillmentPeriod",
|
|
80
|
+
"GetInstanceConfigRequest",
|
|
81
|
+
"GetInstancePartitionRequest",
|
|
82
|
+
"GetInstanceRequest",
|
|
83
|
+
"Instance",
|
|
84
|
+
"InstanceAdminClient",
|
|
85
|
+
"InstanceConfig",
|
|
86
|
+
"InstancePartition",
|
|
87
|
+
"ListInstanceConfigOperationsRequest",
|
|
88
|
+
"ListInstanceConfigOperationsResponse",
|
|
89
|
+
"ListInstanceConfigsRequest",
|
|
90
|
+
"ListInstanceConfigsResponse",
|
|
91
|
+
"ListInstancePartitionOperationsRequest",
|
|
92
|
+
"ListInstancePartitionOperationsResponse",
|
|
93
|
+
"ListInstancePartitionsRequest",
|
|
94
|
+
"ListInstancePartitionsResponse",
|
|
95
|
+
"ListInstancesRequest",
|
|
96
|
+
"ListInstancesResponse",
|
|
97
|
+
"MoveInstanceMetadata",
|
|
98
|
+
"MoveInstanceRequest",
|
|
99
|
+
"MoveInstanceResponse",
|
|
100
|
+
"OperationProgress",
|
|
101
|
+
"ReplicaComputeCapacity",
|
|
102
|
+
"ReplicaInfo",
|
|
103
|
+
"ReplicaSelection",
|
|
104
|
+
"UpdateInstanceConfigMetadata",
|
|
105
|
+
"UpdateInstanceConfigRequest",
|
|
106
|
+
"UpdateInstanceMetadata",
|
|
107
|
+
"UpdateInstancePartitionMetadata",
|
|
108
|
+
"UpdateInstancePartitionRequest",
|
|
109
|
+
"UpdateInstanceRequest",
|
|
110
|
+
)
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
|
|
3
|
+
"language": "python",
|
|
4
|
+
"libraryPackage": "google.cloud.spanner_admin_instance_v1",
|
|
5
|
+
"protoPackage": "google.spanner.admin.instance.v1",
|
|
6
|
+
"schema": "1.0",
|
|
7
|
+
"services": {
|
|
8
|
+
"InstanceAdmin": {
|
|
9
|
+
"clients": {
|
|
10
|
+
"grpc": {
|
|
11
|
+
"libraryClient": "InstanceAdminClient",
|
|
12
|
+
"rpcs": {
|
|
13
|
+
"CreateInstance": {
|
|
14
|
+
"methods": [
|
|
15
|
+
"create_instance"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"CreateInstanceConfig": {
|
|
19
|
+
"methods": [
|
|
20
|
+
"create_instance_config"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"CreateInstancePartition": {
|
|
24
|
+
"methods": [
|
|
25
|
+
"create_instance_partition"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"DeleteInstance": {
|
|
29
|
+
"methods": [
|
|
30
|
+
"delete_instance"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"DeleteInstanceConfig": {
|
|
34
|
+
"methods": [
|
|
35
|
+
"delete_instance_config"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"DeleteInstancePartition": {
|
|
39
|
+
"methods": [
|
|
40
|
+
"delete_instance_partition"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"GetIamPolicy": {
|
|
44
|
+
"methods": [
|
|
45
|
+
"get_iam_policy"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"GetInstance": {
|
|
49
|
+
"methods": [
|
|
50
|
+
"get_instance"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"GetInstanceConfig": {
|
|
54
|
+
"methods": [
|
|
55
|
+
"get_instance_config"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"GetInstancePartition": {
|
|
59
|
+
"methods": [
|
|
60
|
+
"get_instance_partition"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"ListInstanceConfigOperations": {
|
|
64
|
+
"methods": [
|
|
65
|
+
"list_instance_config_operations"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"ListInstanceConfigs": {
|
|
69
|
+
"methods": [
|
|
70
|
+
"list_instance_configs"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"ListInstancePartitionOperations": {
|
|
74
|
+
"methods": [
|
|
75
|
+
"list_instance_partition_operations"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"ListInstancePartitions": {
|
|
79
|
+
"methods": [
|
|
80
|
+
"list_instance_partitions"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"ListInstances": {
|
|
84
|
+
"methods": [
|
|
85
|
+
"list_instances"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"MoveInstance": {
|
|
89
|
+
"methods": [
|
|
90
|
+
"move_instance"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"SetIamPolicy": {
|
|
94
|
+
"methods": [
|
|
95
|
+
"set_iam_policy"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"TestIamPermissions": {
|
|
99
|
+
"methods": [
|
|
100
|
+
"test_iam_permissions"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"UpdateInstance": {
|
|
104
|
+
"methods": [
|
|
105
|
+
"update_instance"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"UpdateInstanceConfig": {
|
|
109
|
+
"methods": [
|
|
110
|
+
"update_instance_config"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"UpdateInstancePartition": {
|
|
114
|
+
"methods": [
|
|
115
|
+
"update_instance_partition"
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"grpc-async": {
|
|
121
|
+
"libraryClient": "InstanceAdminAsyncClient",
|
|
122
|
+
"rpcs": {
|
|
123
|
+
"CreateInstance": {
|
|
124
|
+
"methods": [
|
|
125
|
+
"create_instance"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"CreateInstanceConfig": {
|
|
129
|
+
"methods": [
|
|
130
|
+
"create_instance_config"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"CreateInstancePartition": {
|
|
134
|
+
"methods": [
|
|
135
|
+
"create_instance_partition"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"DeleteInstance": {
|
|
139
|
+
"methods": [
|
|
140
|
+
"delete_instance"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"DeleteInstanceConfig": {
|
|
144
|
+
"methods": [
|
|
145
|
+
"delete_instance_config"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"DeleteInstancePartition": {
|
|
149
|
+
"methods": [
|
|
150
|
+
"delete_instance_partition"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"GetIamPolicy": {
|
|
154
|
+
"methods": [
|
|
155
|
+
"get_iam_policy"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
"GetInstance": {
|
|
159
|
+
"methods": [
|
|
160
|
+
"get_instance"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"GetInstanceConfig": {
|
|
164
|
+
"methods": [
|
|
165
|
+
"get_instance_config"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
"GetInstancePartition": {
|
|
169
|
+
"methods": [
|
|
170
|
+
"get_instance_partition"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"ListInstanceConfigOperations": {
|
|
174
|
+
"methods": [
|
|
175
|
+
"list_instance_config_operations"
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"ListInstanceConfigs": {
|
|
179
|
+
"methods": [
|
|
180
|
+
"list_instance_configs"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"ListInstancePartitionOperations": {
|
|
184
|
+
"methods": [
|
|
185
|
+
"list_instance_partition_operations"
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
"ListInstancePartitions": {
|
|
189
|
+
"methods": [
|
|
190
|
+
"list_instance_partitions"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"ListInstances": {
|
|
194
|
+
"methods": [
|
|
195
|
+
"list_instances"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"MoveInstance": {
|
|
199
|
+
"methods": [
|
|
200
|
+
"move_instance"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"SetIamPolicy": {
|
|
204
|
+
"methods": [
|
|
205
|
+
"set_iam_policy"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"TestIamPermissions": {
|
|
209
|
+
"methods": [
|
|
210
|
+
"test_iam_permissions"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"UpdateInstance": {
|
|
214
|
+
"methods": [
|
|
215
|
+
"update_instance"
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
"UpdateInstanceConfig": {
|
|
219
|
+
"methods": [
|
|
220
|
+
"update_instance_config"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"UpdateInstancePartition": {
|
|
224
|
+
"methods": [
|
|
225
|
+
"update_instance_partition"
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"rest": {
|
|
231
|
+
"libraryClient": "InstanceAdminClient",
|
|
232
|
+
"rpcs": {
|
|
233
|
+
"CreateInstance": {
|
|
234
|
+
"methods": [
|
|
235
|
+
"create_instance"
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"CreateInstanceConfig": {
|
|
239
|
+
"methods": [
|
|
240
|
+
"create_instance_config"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"CreateInstancePartition": {
|
|
244
|
+
"methods": [
|
|
245
|
+
"create_instance_partition"
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"DeleteInstance": {
|
|
249
|
+
"methods": [
|
|
250
|
+
"delete_instance"
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"DeleteInstanceConfig": {
|
|
254
|
+
"methods": [
|
|
255
|
+
"delete_instance_config"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
"DeleteInstancePartition": {
|
|
259
|
+
"methods": [
|
|
260
|
+
"delete_instance_partition"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
"GetIamPolicy": {
|
|
264
|
+
"methods": [
|
|
265
|
+
"get_iam_policy"
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
"GetInstance": {
|
|
269
|
+
"methods": [
|
|
270
|
+
"get_instance"
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"GetInstanceConfig": {
|
|
274
|
+
"methods": [
|
|
275
|
+
"get_instance_config"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"GetInstancePartition": {
|
|
279
|
+
"methods": [
|
|
280
|
+
"get_instance_partition"
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
"ListInstanceConfigOperations": {
|
|
284
|
+
"methods": [
|
|
285
|
+
"list_instance_config_operations"
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"ListInstanceConfigs": {
|
|
289
|
+
"methods": [
|
|
290
|
+
"list_instance_configs"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"ListInstancePartitionOperations": {
|
|
294
|
+
"methods": [
|
|
295
|
+
"list_instance_partition_operations"
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
"ListInstancePartitions": {
|
|
299
|
+
"methods": [
|
|
300
|
+
"list_instance_partitions"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"ListInstances": {
|
|
304
|
+
"methods": [
|
|
305
|
+
"list_instances"
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
"MoveInstance": {
|
|
309
|
+
"methods": [
|
|
310
|
+
"move_instance"
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
"SetIamPolicy": {
|
|
314
|
+
"methods": [
|
|
315
|
+
"set_iam_policy"
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
"TestIamPermissions": {
|
|
319
|
+
"methods": [
|
|
320
|
+
"test_iam_permissions"
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
"UpdateInstance": {
|
|
324
|
+
"methods": [
|
|
325
|
+
"update_instance"
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
"UpdateInstanceConfig": {
|
|
329
|
+
"methods": [
|
|
330
|
+
"update_instance_config"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
"UpdateInstancePartition": {
|
|
334
|
+
"methods": [
|
|
335
|
+
"update_instance_partition"
|
|
336
|
+
]
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
@@ -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,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 InstanceAdminClient
|
|
17
|
+
from .async_client import InstanceAdminAsyncClient
|
|
18
|
+
|
|
19
|
+
__all__ = (
|
|
20
|
+
"InstanceAdminClient",
|
|
21
|
+
"InstanceAdminAsyncClient",
|
|
22
|
+
)
|