google-cloud-bigtable 2.30.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 (115) hide show
  1. google/cloud/bigtable/__init__.py +25 -0
  2. google/cloud/bigtable/app_profile.py +377 -0
  3. google/cloud/bigtable/backup.py +490 -0
  4. google/cloud/bigtable/batcher.py +414 -0
  5. google/cloud/bigtable/client.py +475 -0
  6. google/cloud/bigtable/cluster.py +541 -0
  7. google/cloud/bigtable/column_family.py +362 -0
  8. google/cloud/bigtable/data/__init__.py +103 -0
  9. google/cloud/bigtable/data/_async/__init__.py +25 -0
  10. google/cloud/bigtable/data/_async/_mutate_rows.py +226 -0
  11. google/cloud/bigtable/data/_async/_read_rows.py +363 -0
  12. google/cloud/bigtable/data/_async/client.py +1522 -0
  13. google/cloud/bigtable/data/_async/mutations_batcher.py +534 -0
  14. google/cloud/bigtable/data/_cross_sync/__init__.py +20 -0
  15. google/cloud/bigtable/data/_cross_sync/_decorators.py +441 -0
  16. google/cloud/bigtable/data/_cross_sync/_mapping_meta.py +64 -0
  17. google/cloud/bigtable/data/_cross_sync/cross_sync.py +334 -0
  18. google/cloud/bigtable/data/_helpers.py +249 -0
  19. google/cloud/bigtable/data/_sync_autogen/_mutate_rows.py +182 -0
  20. google/cloud/bigtable/data/_sync_autogen/_read_rows.py +304 -0
  21. google/cloud/bigtable/data/_sync_autogen/client.py +1293 -0
  22. google/cloud/bigtable/data/_sync_autogen/mutations_batcher.py +449 -0
  23. google/cloud/bigtable/data/exceptions.py +340 -0
  24. google/cloud/bigtable/data/execute_query/__init__.py +43 -0
  25. google/cloud/bigtable/data/execute_query/_async/__init__.py +13 -0
  26. google/cloud/bigtable/data/execute_query/_async/execute_query_iterator.py +291 -0
  27. google/cloud/bigtable/data/execute_query/_byte_cursor.py +123 -0
  28. google/cloud/bigtable/data/execute_query/_checksum.py +43 -0
  29. google/cloud/bigtable/data/execute_query/_parameters_formatting.py +155 -0
  30. google/cloud/bigtable/data/execute_query/_query_result_parsing_utils.py +134 -0
  31. google/cloud/bigtable/data/execute_query/_reader.py +122 -0
  32. google/cloud/bigtable/data/execute_query/_sync_autogen/execute_query_iterator.py +239 -0
  33. google/cloud/bigtable/data/execute_query/metadata.py +399 -0
  34. google/cloud/bigtable/data/execute_query/values.py +123 -0
  35. google/cloud/bigtable/data/mutations.py +380 -0
  36. google/cloud/bigtable/data/read_modify_write_rules.py +112 -0
  37. google/cloud/bigtable/data/read_rows_query.py +536 -0
  38. google/cloud/bigtable/data/row.py +535 -0
  39. google/cloud/bigtable/data/row_filters.py +968 -0
  40. google/cloud/bigtable/encryption_info.py +64 -0
  41. google/cloud/bigtable/enums.py +223 -0
  42. google/cloud/bigtable/error.py +64 -0
  43. google/cloud/bigtable/gapic_version.py +16 -0
  44. google/cloud/bigtable/helpers.py +31 -0
  45. google/cloud/bigtable/instance.py +789 -0
  46. google/cloud/bigtable/policy.py +255 -0
  47. google/cloud/bigtable/row.py +1267 -0
  48. google/cloud/bigtable/row_data.py +380 -0
  49. google/cloud/bigtable/row_filters.py +838 -0
  50. google/cloud/bigtable/row_merger.py +250 -0
  51. google/cloud/bigtable/row_set.py +213 -0
  52. google/cloud/bigtable/table.py +1409 -0
  53. google/cloud/bigtable_admin/__init__.py +410 -0
  54. google/cloud/bigtable_admin/gapic_version.py +16 -0
  55. google/cloud/bigtable_admin/py.typed +2 -0
  56. google/cloud/bigtable_admin_v2/__init__.py +250 -0
  57. google/cloud/bigtable_admin_v2/gapic_metadata.json +962 -0
  58. google/cloud/bigtable_admin_v2/gapic_version.py +16 -0
  59. google/cloud/bigtable_admin_v2/py.typed +2 -0
  60. google/cloud/bigtable_admin_v2/services/__init__.py +15 -0
  61. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/__init__.py +22 -0
  62. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/async_client.py +3465 -0
  63. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/client.py +3944 -0
  64. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/pagers.py +681 -0
  65. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/__init__.py +40 -0
  66. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/base.py +751 -0
  67. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/grpc.py +1249 -0
  68. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/grpc_asyncio.py +1579 -0
  69. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py +6820 -0
  70. google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest_base.py +1746 -0
  71. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/__init__.py +22 -0
  72. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/async_client.py +3472 -0
  73. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/client.py +3949 -0
  74. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/pagers.py +669 -0
  75. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/__init__.py +40 -0
  76. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/base.py +708 -0
  77. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/grpc.py +1257 -0
  78. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/grpc_asyncio.py +1549 -0
  79. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest.py +6609 -0
  80. google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest_base.py +1714 -0
  81. google/cloud/bigtable_admin_v2/types/__init__.py +248 -0
  82. google/cloud/bigtable_admin_v2/types/bigtable_instance_admin.py +1364 -0
  83. google/cloud/bigtable_admin_v2/types/bigtable_table_admin.py +1715 -0
  84. google/cloud/bigtable_admin_v2/types/common.py +81 -0
  85. google/cloud/bigtable_admin_v2/types/instance.py +819 -0
  86. google/cloud/bigtable_admin_v2/types/table.py +1028 -0
  87. google/cloud/bigtable_admin_v2/types/types.py +776 -0
  88. google/cloud/bigtable_v2/__init__.py +136 -0
  89. google/cloud/bigtable_v2/gapic_metadata.json +193 -0
  90. google/cloud/bigtable_v2/gapic_version.py +16 -0
  91. google/cloud/bigtable_v2/py.typed +2 -0
  92. google/cloud/bigtable_v2/services/__init__.py +15 -0
  93. google/cloud/bigtable_v2/services/bigtable/__init__.py +22 -0
  94. google/cloud/bigtable_v2/services/bigtable/async_client.py +1741 -0
  95. google/cloud/bigtable_v2/services/bigtable/client.py +2194 -0
  96. google/cloud/bigtable_v2/services/bigtable/transports/__init__.py +38 -0
  97. google/cloud/bigtable_v2/services/bigtable/transports/base.py +343 -0
  98. google/cloud/bigtable_v2/services/bigtable/transports/grpc.py +660 -0
  99. google/cloud/bigtable_v2/services/bigtable/transports/grpc_asyncio.py +762 -0
  100. google/cloud/bigtable_v2/services/bigtable/transports/rest.py +2489 -0
  101. google/cloud/bigtable_v2/services/bigtable/transports/rest_base.py +711 -0
  102. google/cloud/bigtable_v2/types/__init__.py +138 -0
  103. google/cloud/bigtable_v2/types/bigtable.py +1531 -0
  104. google/cloud/bigtable_v2/types/data.py +1612 -0
  105. google/cloud/bigtable_v2/types/feature_flags.py +119 -0
  106. google/cloud/bigtable_v2/types/request_stats.py +171 -0
  107. google/cloud/bigtable_v2/types/response_params.py +64 -0
  108. google/cloud/bigtable_v2/types/types.py +579 -0
  109. google_cloud_bigtable-2.30.0.data/scripts/fixup_bigtable_admin_v2_keywords.py +233 -0
  110. google_cloud_bigtable-2.30.0.data/scripts/fixup_bigtable_v2_keywords.py +186 -0
  111. google_cloud_bigtable-2.30.0.dist-info/LICENSE +202 -0
  112. google_cloud_bigtable-2.30.0.dist-info/METADATA +154 -0
  113. google_cloud_bigtable-2.30.0.dist-info/RECORD +115 -0
  114. google_cloud_bigtable-2.30.0.dist-info/WHEEL +5 -0
  115. google_cloud_bigtable-2.30.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,136 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2024 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.bigtable_v2 import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from .services.bigtable import BigtableClient
22
+ from .services.bigtable import BigtableAsyncClient
23
+
24
+ from .types.bigtable import CheckAndMutateRowRequest
25
+ from .types.bigtable import CheckAndMutateRowResponse
26
+ from .types.bigtable import ExecuteQueryRequest
27
+ from .types.bigtable import ExecuteQueryResponse
28
+ from .types.bigtable import GenerateInitialChangeStreamPartitionsRequest
29
+ from .types.bigtable import GenerateInitialChangeStreamPartitionsResponse
30
+ from .types.bigtable import MutateRowRequest
31
+ from .types.bigtable import MutateRowResponse
32
+ from .types.bigtable import MutateRowsRequest
33
+ from .types.bigtable import MutateRowsResponse
34
+ from .types.bigtable import PingAndWarmRequest
35
+ from .types.bigtable import PingAndWarmResponse
36
+ from .types.bigtable import PrepareQueryRequest
37
+ from .types.bigtable import PrepareQueryResponse
38
+ from .types.bigtable import RateLimitInfo
39
+ from .types.bigtable import ReadChangeStreamRequest
40
+ from .types.bigtable import ReadChangeStreamResponse
41
+ from .types.bigtable import ReadModifyWriteRowRequest
42
+ from .types.bigtable import ReadModifyWriteRowResponse
43
+ from .types.bigtable import ReadRowsRequest
44
+ from .types.bigtable import ReadRowsResponse
45
+ from .types.bigtable import SampleRowKeysRequest
46
+ from .types.bigtable import SampleRowKeysResponse
47
+ from .types.data import ArrayValue
48
+ from .types.data import Cell
49
+ from .types.data import Column
50
+ from .types.data import ColumnMetadata
51
+ from .types.data import ColumnRange
52
+ from .types.data import Family
53
+ from .types.data import Mutation
54
+ from .types.data import PartialResultSet
55
+ from .types.data import ProtoFormat
56
+ from .types.data import ProtoRows
57
+ from .types.data import ProtoRowsBatch
58
+ from .types.data import ProtoSchema
59
+ from .types.data import ReadModifyWriteRule
60
+ from .types.data import ResultSetMetadata
61
+ from .types.data import Row
62
+ from .types.data import RowFilter
63
+ from .types.data import RowRange
64
+ from .types.data import RowSet
65
+ from .types.data import StreamContinuationToken
66
+ from .types.data import StreamContinuationTokens
67
+ from .types.data import StreamPartition
68
+ from .types.data import TimestampRange
69
+ from .types.data import Value
70
+ from .types.data import ValueRange
71
+ from .types.feature_flags import FeatureFlags
72
+ from .types.request_stats import FullReadStatsView
73
+ from .types.request_stats import ReadIterationStats
74
+ from .types.request_stats import RequestLatencyStats
75
+ from .types.request_stats import RequestStats
76
+ from .types.response_params import ResponseParams
77
+ from .types.types import Type
78
+
79
+ __all__ = (
80
+ "BigtableAsyncClient",
81
+ "ArrayValue",
82
+ "BigtableClient",
83
+ "Cell",
84
+ "CheckAndMutateRowRequest",
85
+ "CheckAndMutateRowResponse",
86
+ "Column",
87
+ "ColumnMetadata",
88
+ "ColumnRange",
89
+ "ExecuteQueryRequest",
90
+ "ExecuteQueryResponse",
91
+ "Family",
92
+ "FeatureFlags",
93
+ "FullReadStatsView",
94
+ "GenerateInitialChangeStreamPartitionsRequest",
95
+ "GenerateInitialChangeStreamPartitionsResponse",
96
+ "MutateRowRequest",
97
+ "MutateRowResponse",
98
+ "MutateRowsRequest",
99
+ "MutateRowsResponse",
100
+ "Mutation",
101
+ "PartialResultSet",
102
+ "PingAndWarmRequest",
103
+ "PingAndWarmResponse",
104
+ "PrepareQueryRequest",
105
+ "PrepareQueryResponse",
106
+ "ProtoFormat",
107
+ "ProtoRows",
108
+ "ProtoRowsBatch",
109
+ "ProtoSchema",
110
+ "RateLimitInfo",
111
+ "ReadChangeStreamRequest",
112
+ "ReadChangeStreamResponse",
113
+ "ReadIterationStats",
114
+ "ReadModifyWriteRowRequest",
115
+ "ReadModifyWriteRowResponse",
116
+ "ReadModifyWriteRule",
117
+ "ReadRowsRequest",
118
+ "ReadRowsResponse",
119
+ "RequestLatencyStats",
120
+ "RequestStats",
121
+ "ResponseParams",
122
+ "ResultSetMetadata",
123
+ "Row",
124
+ "RowFilter",
125
+ "RowRange",
126
+ "RowSet",
127
+ "SampleRowKeysRequest",
128
+ "SampleRowKeysResponse",
129
+ "StreamContinuationToken",
130
+ "StreamContinuationTokens",
131
+ "StreamPartition",
132
+ "TimestampRange",
133
+ "Type",
134
+ "Value",
135
+ "ValueRange",
136
+ )
@@ -0,0 +1,193 @@
1
+ {
2
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3
+ "language": "python",
4
+ "libraryPackage": "google.cloud.bigtable_v2",
5
+ "protoPackage": "google.bigtable.v2",
6
+ "schema": "1.0",
7
+ "services": {
8
+ "Bigtable": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "BigtableClient",
12
+ "rpcs": {
13
+ "CheckAndMutateRow": {
14
+ "methods": [
15
+ "check_and_mutate_row"
16
+ ]
17
+ },
18
+ "ExecuteQuery": {
19
+ "methods": [
20
+ "execute_query"
21
+ ]
22
+ },
23
+ "GenerateInitialChangeStreamPartitions": {
24
+ "methods": [
25
+ "generate_initial_change_stream_partitions"
26
+ ]
27
+ },
28
+ "MutateRow": {
29
+ "methods": [
30
+ "mutate_row"
31
+ ]
32
+ },
33
+ "MutateRows": {
34
+ "methods": [
35
+ "mutate_rows"
36
+ ]
37
+ },
38
+ "PingAndWarm": {
39
+ "methods": [
40
+ "ping_and_warm"
41
+ ]
42
+ },
43
+ "PrepareQuery": {
44
+ "methods": [
45
+ "prepare_query"
46
+ ]
47
+ },
48
+ "ReadChangeStream": {
49
+ "methods": [
50
+ "read_change_stream"
51
+ ]
52
+ },
53
+ "ReadModifyWriteRow": {
54
+ "methods": [
55
+ "read_modify_write_row"
56
+ ]
57
+ },
58
+ "ReadRows": {
59
+ "methods": [
60
+ "read_rows"
61
+ ]
62
+ },
63
+ "SampleRowKeys": {
64
+ "methods": [
65
+ "sample_row_keys"
66
+ ]
67
+ }
68
+ }
69
+ },
70
+ "grpc-async": {
71
+ "libraryClient": "BigtableAsyncClient",
72
+ "rpcs": {
73
+ "CheckAndMutateRow": {
74
+ "methods": [
75
+ "check_and_mutate_row"
76
+ ]
77
+ },
78
+ "ExecuteQuery": {
79
+ "methods": [
80
+ "execute_query"
81
+ ]
82
+ },
83
+ "GenerateInitialChangeStreamPartitions": {
84
+ "methods": [
85
+ "generate_initial_change_stream_partitions"
86
+ ]
87
+ },
88
+ "MutateRow": {
89
+ "methods": [
90
+ "mutate_row"
91
+ ]
92
+ },
93
+ "MutateRows": {
94
+ "methods": [
95
+ "mutate_rows"
96
+ ]
97
+ },
98
+ "PingAndWarm": {
99
+ "methods": [
100
+ "ping_and_warm"
101
+ ]
102
+ },
103
+ "PrepareQuery": {
104
+ "methods": [
105
+ "prepare_query"
106
+ ]
107
+ },
108
+ "ReadChangeStream": {
109
+ "methods": [
110
+ "read_change_stream"
111
+ ]
112
+ },
113
+ "ReadModifyWriteRow": {
114
+ "methods": [
115
+ "read_modify_write_row"
116
+ ]
117
+ },
118
+ "ReadRows": {
119
+ "methods": [
120
+ "read_rows"
121
+ ]
122
+ },
123
+ "SampleRowKeys": {
124
+ "methods": [
125
+ "sample_row_keys"
126
+ ]
127
+ }
128
+ }
129
+ },
130
+ "rest": {
131
+ "libraryClient": "BigtableClient",
132
+ "rpcs": {
133
+ "CheckAndMutateRow": {
134
+ "methods": [
135
+ "check_and_mutate_row"
136
+ ]
137
+ },
138
+ "ExecuteQuery": {
139
+ "methods": [
140
+ "execute_query"
141
+ ]
142
+ },
143
+ "GenerateInitialChangeStreamPartitions": {
144
+ "methods": [
145
+ "generate_initial_change_stream_partitions"
146
+ ]
147
+ },
148
+ "MutateRow": {
149
+ "methods": [
150
+ "mutate_row"
151
+ ]
152
+ },
153
+ "MutateRows": {
154
+ "methods": [
155
+ "mutate_rows"
156
+ ]
157
+ },
158
+ "PingAndWarm": {
159
+ "methods": [
160
+ "ping_and_warm"
161
+ ]
162
+ },
163
+ "PrepareQuery": {
164
+ "methods": [
165
+ "prepare_query"
166
+ ]
167
+ },
168
+ "ReadChangeStream": {
169
+ "methods": [
170
+ "read_change_stream"
171
+ ]
172
+ },
173
+ "ReadModifyWriteRow": {
174
+ "methods": [
175
+ "read_modify_write_row"
176
+ ]
177
+ },
178
+ "ReadRows": {
179
+ "methods": [
180
+ "read_rows"
181
+ ]
182
+ },
183
+ "SampleRowKeys": {
184
+ "methods": [
185
+ "sample_row_keys"
186
+ ]
187
+ }
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
@@ -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__ = "2.30.0" # {x-release-please-version}
@@ -0,0 +1,2 @@
1
+ # Marker file for PEP 561.
2
+ # The google-cloud-bigtable package uses inline types.
@@ -0,0 +1,15 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2024 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 2024 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 BigtableClient
17
+ from .async_client import BigtableAsyncClient
18
+
19
+ __all__ = (
20
+ "BigtableClient",
21
+ "BigtableAsyncClient",
22
+ )