google-cloud-bigtable 2.50.2__tar.gz → 2.51.0__tar.gz

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 (266) hide show
  1. {google_cloud_bigtable-2.50.2/google_cloud_bigtable.egg-info → google_cloud_bigtable-2.51.0}/PKG-INFO +7 -15
  2. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/README.rst +6 -14
  3. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/app_profile.py +28 -0
  4. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/backup.py +57 -2
  5. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/batcher.py +40 -7
  6. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/client.py +18 -0
  7. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/cluster.py +33 -0
  8. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/column_family.py +33 -0
  9. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_async/client.py +52 -27
  10. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_async/mutations_batcher.py +92 -66
  11. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_helpers.py +63 -12
  12. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_metrics/handlers/gcp_exporter.py +15 -4
  13. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_metrics/handlers/opentelemetry.py +9 -4
  14. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_sync_autogen/client.py +42 -27
  15. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_sync_autogen/mutations_batcher.py +87 -59
  16. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/_async/execute_query_iterator.py +16 -4
  17. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/_sync_autogen/execute_query_iterator.py +7 -4
  18. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/mutations.py +17 -8
  19. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/read_modify_write_rules.py +4 -3
  20. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/row_filters.py +25 -9
  21. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/gapic_version.py +1 -1
  22. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/instance.py +63 -0
  23. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/row.py +39 -12
  24. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/row_filters.py +3 -0
  25. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/row_set.py +48 -6
  26. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/table.py +83 -0
  27. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin/gapic_version.py +1 -1
  28. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/gapic_version.py +1 -1
  29. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/types/instance.py +1 -12
  30. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/gapic_version.py +1 -1
  31. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0/google_cloud_bigtable.egg-info}/PKG-INFO +7 -15
  32. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google_cloud_bigtable.egg-info/SOURCES.txt +1 -0
  33. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/conftest.py +0 -11
  34. google_cloud_bigtable-2.51.0/tests/system/pytest.ini +8 -0
  35. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_async/test_client.py +85 -0
  36. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_async/test_mutations_batcher.py +137 -3
  37. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_metrics/test_gcp_exporter_handler.py +55 -0
  38. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_metrics/test_opentelemetry_handler.py +10 -1
  39. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_sync_autogen/test_client.py +81 -0
  40. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_sync_autogen/test_mutations_batcher.py +128 -3
  41. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/_async/test_query_iterator.py +58 -0
  42. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/_sync_autogen/test_query_iterator.py +36 -0
  43. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test__helpers.py +86 -1
  44. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test_mutations.py +49 -3
  45. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test_read_modify_write_rules.py +9 -3
  46. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test_row_filters.py +12 -0
  47. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/gapic/bigtable_admin_v2/test_bigtable_instance_admin.py +1 -1
  48. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_batcher.py +68 -0
  49. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_row.py +118 -0
  50. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_row_filters.py +63 -0
  51. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_row_set.py +51 -1
  52. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_table.py +85 -0
  53. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/LICENSE +0 -0
  54. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/MANIFEST.in +0 -0
  55. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/__init__.py +0 -0
  56. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/__init__.py +0 -0
  57. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_async/__init__.py +0 -0
  58. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_async/_mutate_rows.py +0 -0
  59. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_async/_read_rows.py +0 -0
  60. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_async/_swappable_channel.py +0 -0
  61. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_async/metrics_interceptor.py +0 -0
  62. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_cross_sync/__init__.py +0 -0
  63. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_cross_sync/_decorators.py +0 -0
  64. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_cross_sync/_mapping_meta.py +0 -0
  65. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_cross_sync/cross_sync.py +0 -0
  66. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_metrics/__init__.py +0 -0
  67. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_metrics/data_model.py +0 -0
  68. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_metrics/handlers/_base.py +0 -0
  69. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_metrics/metrics_controller.py +0 -0
  70. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_metrics/tracked_retry.py +0 -0
  71. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_sync_autogen/_mutate_rows.py +0 -0
  72. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_sync_autogen/_read_rows.py +0 -0
  73. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_sync_autogen/_swappable_channel.py +0 -0
  74. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/_sync_autogen/metrics_interceptor.py +0 -0
  75. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/exceptions.py +0 -0
  76. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/__init__.py +0 -0
  77. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/_async/__init__.py +0 -0
  78. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/_byte_cursor.py +0 -0
  79. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/_checksum.py +0 -0
  80. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/_parameters_formatting.py +0 -0
  81. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/_query_result_parsing_utils.py +0 -0
  82. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/_reader.py +0 -0
  83. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/metadata.py +0 -0
  84. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/execute_query/values.py +0 -0
  85. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/read_rows_query.py +0 -0
  86. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/data/row.py +0 -0
  87. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/encryption_info.py +0 -0
  88. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/enums.py +0 -0
  89. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/error.py +0 -0
  90. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/helpers.py +0 -0
  91. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/policy.py +0 -0
  92. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/py.typed +0 -0
  93. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable/row_data.py +0 -0
  94. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin/__init__.py +0 -0
  95. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin/py.typed +0 -0
  96. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/__init__.py +0 -0
  97. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/_compat.py +0 -0
  98. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/gapic_metadata.json +0 -0
  99. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/__init__.py +0 -0
  100. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/services/__init__.py +0 -0
  101. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/services/bigtable_table_admin/__init__.py +0 -0
  102. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/services/bigtable_table_admin/async_client.py +0 -0
  103. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/services/bigtable_table_admin/client.py +0 -0
  104. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/types/__init__.py +0 -0
  105. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/types/async_consistency.py +0 -0
  106. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/types/async_restore_table.py +0 -0
  107. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/types/consistency.py +0 -0
  108. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/types/restore_table.py +0 -0
  109. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/overlay/types/wait_for_consistency_request.py +0 -0
  110. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/py.typed +0 -0
  111. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/__init__.py +0 -0
  112. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/__init__.py +0 -0
  113. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/async_client.py +0 -0
  114. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/client.py +0 -0
  115. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/pagers.py +0 -0
  116. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/__init__.py +0 -0
  117. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/base.py +0 -0
  118. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/grpc.py +0 -0
  119. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/grpc_asyncio.py +0 -0
  120. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py +0 -0
  121. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest_base.py +0 -0
  122. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/__init__.py +0 -0
  123. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/async_client.py +0 -0
  124. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/client.py +0 -0
  125. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/pagers.py +0 -0
  126. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/__init__.py +0 -0
  127. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/base.py +0 -0
  128. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/grpc.py +0 -0
  129. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/grpc_asyncio.py +0 -0
  130. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest.py +0 -0
  131. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest_base.py +0 -0
  132. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/types/__init__.py +0 -0
  133. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/types/bigtable_instance_admin.py +0 -0
  134. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/types/bigtable_table_admin.py +0 -0
  135. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/types/common.py +0 -0
  136. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/types/table.py +0 -0
  137. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/types/types.py +0 -0
  138. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/utils/__init__.py +0 -0
  139. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_admin_v2/utils/oneof_message.py +0 -0
  140. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/__init__.py +0 -0
  141. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/_compat.py +0 -0
  142. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/gapic_metadata.json +0 -0
  143. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/py.typed +0 -0
  144. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/__init__.py +0 -0
  145. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/__init__.py +0 -0
  146. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/async_client.py +0 -0
  147. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/client.py +0 -0
  148. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/transports/__init__.py +0 -0
  149. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/transports/base.py +0 -0
  150. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/transports/grpc.py +0 -0
  151. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/transports/grpc_asyncio.py +0 -0
  152. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/transports/rest.py +0 -0
  153. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/services/bigtable/transports/rest_base.py +0 -0
  154. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/__init__.py +0 -0
  155. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/bigtable.py +0 -0
  156. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/data.py +0 -0
  157. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/feature_flags.py +0 -0
  158. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/peer_info.py +0 -0
  159. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/request_stats.py +0 -0
  160. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/response_params.py +0 -0
  161. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/session.py +0 -0
  162. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google/cloud/bigtable_v2/types/types.py +0 -0
  163. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google_cloud_bigtable.egg-info/dependency_links.txt +0 -0
  164. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google_cloud_bigtable.egg-info/not-zip-safe +0 -0
  165. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google_cloud_bigtable.egg-info/requires.txt +0 -0
  166. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/google_cloud_bigtable.egg-info/top_level.txt +0 -0
  167. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/setup.cfg +0 -0
  168. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/setup.py +0 -0
  169. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/__init__.py +0 -0
  170. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/__init__.py +0 -0
  171. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/admin_overlay/__init__.py +0 -0
  172. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/admin_overlay/conftest.py +0 -0
  173. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/admin_overlay/test_system_async.py +0 -0
  174. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/admin_overlay/test_system_autogen.py +0 -0
  175. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/cross_sync/test_cases/async_to_sync.yaml +0 -0
  176. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/cross_sync/test_cases/cross_sync_files.yaml +0 -0
  177. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/cross_sync/test_cases/rm_aio.yaml +0 -0
  178. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/cross_sync/test_cases/strip_async_conditional_branches.yaml +0 -0
  179. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/cross_sync/test_cases/symbol_replacer.yaml +0 -0
  180. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/cross_sync/test_cross_sync_e2e.py +0 -0
  181. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/data/__init__.py +0 -0
  182. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/data/test_metrics_async.py +0 -0
  183. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/data/test_metrics_autogen.py +0 -0
  184. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/data/test_system_async.py +0 -0
  185. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/data/test_system_autogen.py +0 -0
  186. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/utils.py +0 -0
  187. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/v2_client/__init__.py +0 -0
  188. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/v2_client/_helpers.py +0 -0
  189. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/v2_client/conftest.py +0 -0
  190. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/v2_client/test_data_api.py +0 -0
  191. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/v2_client/test_instance_admin.py +0 -0
  192. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/system/v2_client/test_table_admin.py +0 -0
  193. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/__init__.py +0 -0
  194. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/my_oneof_message.py +0 -0
  195. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/test_admin_packaging.py +0 -0
  196. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/test_async_client.py +0 -0
  197. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/test_async_consistency.py +0 -0
  198. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/test_async_restore_table.py +0 -0
  199. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/test_client.py +0 -0
  200. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/test_consistency.py +0 -0
  201. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/test_oneof_message.py +0 -0
  202. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/admin_overlay/test_restore_table.py +0 -0
  203. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/conftest.py +0 -0
  204. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/__init__.py +0 -0
  205. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_async/__init__.py +0 -0
  206. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_async/test__mutate_rows.py +0 -0
  207. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_async/test__read_rows.py +0 -0
  208. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_async/test__swappable_channel.py +0 -0
  209. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_async/test_metrics_interceptor.py +0 -0
  210. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_async/test_read_rows_acceptance.py +0 -0
  211. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_cross_sync/test_cross_sync.py +0 -0
  212. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_cross_sync/test_cross_sync_decorators.py +0 -0
  213. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_metrics/__init__.py +0 -0
  214. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_metrics/test_data_model.py +0 -0
  215. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_metrics/test_metrics_controller.py +0 -0
  216. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_metrics/test_tracked_retry.py +0 -0
  217. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_sync_autogen/__init__.py +0 -0
  218. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_sync_autogen/test__mutate_rows.py +0 -0
  219. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_sync_autogen/test__read_rows.py +0 -0
  220. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_sync_autogen/test__swappable_channel.py +0 -0
  221. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_sync_autogen/test_metrics_interceptor.py +0 -0
  222. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/_sync_autogen/test_read_rows_acceptance.py +0 -0
  223. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/__init__.py +0 -0
  224. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/_async/__init__.py +0 -0
  225. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/_sync_autogen/__init__.py +0 -0
  226. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/resources/README.md +0 -0
  227. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/resources/__init__.py +0 -0
  228. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/resources/descriptors.pb +0 -0
  229. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/resources/singer.proto +0 -0
  230. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/resources/singer_pb2.py +0 -0
  231. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/sql_helpers.py +0 -0
  232. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/test_byte_cursor.py +0 -0
  233. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/test_checksum.py +0 -0
  234. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/test_execute_query_parameters_parsing.py +0 -0
  235. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/test_metadata.py +0 -0
  236. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/test_query_result_parsing_utils.py +0 -0
  237. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/execute_query/test_query_result_row_reader.py +0 -0
  238. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/read-rows-acceptance-test.json +0 -0
  239. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test_exceptions.py +0 -0
  240. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test_helpers.py +0 -0
  241. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test_read_rows_query.py +0 -0
  242. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test_row.py +0 -0
  243. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/data/test_sync_up_to_date.py +0 -0
  244. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/gapic/__init__.py +0 -0
  245. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/gapic/bigtable_admin_v2/__init__.py +0 -0
  246. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/gapic/bigtable_admin_v2/test_bigtable_table_admin.py +0 -0
  247. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/gapic/bigtable_admin_v2/test_compat.py +0 -0
  248. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/gapic/bigtable_v2/__init__.py +0 -0
  249. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/gapic/bigtable_v2/test_bigtable.py +0 -0
  250. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/gapic/bigtable_v2/test_compat.py +0 -0
  251. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/test_packaging.py +0 -0
  252. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/test_sql_routing_parameters.py +0 -0
  253. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/__init__.py +0 -0
  254. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/_testing.py +0 -0
  255. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/read-rows-acceptance-test.json +0 -0
  256. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_app_profile.py +0 -0
  257. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_backup.py +0 -0
  258. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_client.py +0 -0
  259. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_cluster.py +0 -0
  260. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_column_family.py +0 -0
  261. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_encryption_info.py +0 -0
  262. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_error.py +0 -0
  263. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_instance.py +0 -0
  264. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_policy.py +0 -0
  265. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_row_data.py +0 -0
  266. {google_cloud_bigtable-2.50.2 → google_cloud_bigtable-2.51.0}/tests/unit/v2_client/test_row_merger.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-bigtable
3
- Version: 2.50.2
3
+ Version: 2.51.0
4
4
  Summary: Google Cloud Bigtable API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigtable
6
6
  Author: Google LLC
@@ -71,19 +71,14 @@ a Google Cloud project.
71
71
  .. _Product Documentation: https://cloud.google.com/bigtable/docs
72
72
 
73
73
 
74
- Async Data Client
75
- -------------------------
76
-
77
- :code:`v2.23.0` includes a release of the new :code:`BigtableDataClientAsync` client, accessible at the import path
78
- :code:`google.cloud.bigtable.data`.
79
-
80
- The new client brings a simplified API and increased performance using asyncio.
81
- The new client is focused on the data API (i.e. reading and writing Bigtable data), with admin operations
82
- remaining exclusively in the existing synchronous client.
74
+ Data Client
75
+ -----------
83
76
 
84
- Feedback and bug reports are welcome at cbt-python-client-v3-feedback@google.com,
85
- or through the Github `issue tracker`_.
77
+ The modern Data Client is accessible at the import path :code:`google.cloud.bigtable.data` and provides both
78
+ synchronous (:code:`BigtableDataClient`) and asynchronous (:code:`BigtableDataClientAsync`) surfaces.
86
79
 
80
+ The Data Client brings a simplified API and increased performance focused on reading and writing Bigtable data.
81
+ Admin operations (such as table and instance management) are handled via :code:`google.cloud.bigtable_admin_v2`.
87
82
 
88
83
  .. note::
89
84
 
@@ -91,9 +86,6 @@ or through the Github `issue tracker`_.
91
86
  performance benefits, the codebase should be designed to be async from the ground up.
92
87
 
93
88
 
94
- .. _issue tracker: https://github.com/googleapis/google-cloud-python/issues
95
-
96
-
97
89
  Quick Start
98
90
  -----------
99
91
 
@@ -20,19 +20,14 @@ a Google Cloud project.
20
20
  .. _Product Documentation: https://cloud.google.com/bigtable/docs
21
21
 
22
22
 
23
- Async Data Client
24
- -------------------------
25
-
26
- :code:`v2.23.0` includes a release of the new :code:`BigtableDataClientAsync` client, accessible at the import path
27
- :code:`google.cloud.bigtable.data`.
28
-
29
- The new client brings a simplified API and increased performance using asyncio.
30
- The new client is focused on the data API (i.e. reading and writing Bigtable data), with admin operations
31
- remaining exclusively in the existing synchronous client.
23
+ Data Client
24
+ -----------
32
25
 
33
- Feedback and bug reports are welcome at cbt-python-client-v3-feedback@google.com,
34
- or through the Github `issue tracker`_.
26
+ The modern Data Client is accessible at the import path :code:`google.cloud.bigtable.data` and provides both
27
+ synchronous (:code:`BigtableDataClient`) and asynchronous (:code:`BigtableDataClientAsync`) surfaces.
35
28
 
29
+ The Data Client brings a simplified API and increased performance focused on reading and writing Bigtable data.
30
+ Admin operations (such as table and instance management) are handled via :code:`google.cloud.bigtable_admin_v2`.
36
31
 
37
32
  .. note::
38
33
 
@@ -40,9 +35,6 @@ or through the Github `issue tracker`_.
40
35
  performance benefits, the codebase should be designed to be async from the ground up.
41
36
 
42
37
 
43
- .. _issue tracker: https://github.com/googleapis/google-cloud-python/issues
44
-
45
-
46
38
  Quick Start
47
39
  -----------
48
40
 
@@ -32,6 +32,9 @@ _APP_PROFILE_NAME_RE = re.compile(
32
32
  class AppProfile(object):
33
33
  """Representation of a Google Cloud Bigtable AppProfile.
34
34
 
35
+ .. deprecated:: 2.30.0
36
+ Use :class:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient` instead.
37
+
35
38
  We can use a :class:`AppProfile` to:
36
39
 
37
40
  * :meth:`reload` itself
@@ -246,6 +249,11 @@ class AppProfile(object):
246
249
  def reload(self):
247
250
  """Reload the metadata for this cluster
248
251
 
252
+ .. deprecated:: 2.30.0
253
+ Use
254
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.get_app_profile`
255
+ instead.
256
+
249
257
  For example:
250
258
 
251
259
  .. literalinclude:: snippets.py
@@ -265,6 +273,11 @@ class AppProfile(object):
265
273
  def exists(self):
266
274
  """Check whether the AppProfile already exists.
267
275
 
276
+ .. deprecated:: 2.30.0
277
+ Use
278
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.get_app_profile`
279
+ instead.
280
+
268
281
  For example:
269
282
 
270
283
  .. literalinclude:: snippets.py
@@ -285,6 +298,11 @@ class AppProfile(object):
285
298
  def create(self, ignore_warnings=None):
286
299
  """Create this AppProfile.
287
300
 
301
+ .. deprecated:: 2.30.0
302
+ Use
303
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.create_app_profile`
304
+ instead.
305
+
288
306
  .. note::
289
307
 
290
308
  Uses the ``instance`` and ``app_profile_id`` on the current
@@ -318,6 +336,11 @@ class AppProfile(object):
318
336
  def update(self, ignore_warnings=None):
319
337
  """Update this app_profile.
320
338
 
339
+ .. deprecated:: 2.30.0
340
+ Use
341
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.update_app_profile`
342
+ instead.
343
+
321
344
  .. note::
322
345
 
323
346
  Update any or all of the following values:
@@ -355,6 +378,11 @@ class AppProfile(object):
355
378
  def delete(self, ignore_warnings=None):
356
379
  """Delete this AppProfile.
357
380
 
381
+ .. deprecated:: 2.30.0
382
+ Use
383
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.delete_app_profile`
384
+ instead.
385
+
358
386
  For example:
359
387
 
360
388
  .. literalinclude:: snippets.py
@@ -42,6 +42,9 @@ _TABLE_NAME_RE = re.compile(
42
42
  class Backup(object):
43
43
  """Representation of a Google Cloud Bigtable Backup.
44
44
 
45
+ .. deprecated:: 2.30.0
46
+ Use :class:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient` instead.
47
+
45
48
  A :class: `Backup` can be used to:
46
49
 
47
50
  * :meth:`create` the backup
@@ -301,6 +304,11 @@ class Backup(object):
301
304
  def create(self, cluster_id=None):
302
305
  """Creates this backup within its instance.
303
306
 
307
+ .. deprecated:: 2.30.0
308
+ Use
309
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.create_backup`
310
+ instead.
311
+
304
312
  :type cluster_id: str
305
313
  :param cluster_id: (Optional) The ID of the Cluster for the newly
306
314
  created Backup.
@@ -342,6 +350,11 @@ class Backup(object):
342
350
  def get(self):
343
351
  """Retrieves metadata of a pending or completed Backup.
344
352
 
353
+ .. deprecated:: 2.30.0
354
+ Use
355
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.get_backup`
356
+ instead.
357
+
345
358
  :returns: An instance of
346
359
  :class:`~google.cloud.bigtable_admin_v2.types.Backup`
347
360
 
@@ -358,7 +371,13 @@ class Backup(object):
358
371
  return None
359
372
 
360
373
  def reload(self):
361
- """Refreshes the stored backup properties."""
374
+ """Refreshes the stored backup properties.
375
+
376
+ .. deprecated:: 2.30.0
377
+ Use
378
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.get_backup`
379
+ instead.
380
+ """
362
381
  backup = self.get()
363
382
  self._source_table = backup.source_table
364
383
  self._expire_time = backup._pb.expire_time
@@ -370,6 +389,11 @@ class Backup(object):
370
389
  def exists(self):
371
390
  """Tests whether this Backup exists.
372
391
 
392
+ .. deprecated:: 2.30.0
393
+ Use
394
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.get_backup`
395
+ instead.
396
+
373
397
  :rtype: bool
374
398
  :returns: True if the Backup exists, else False.
375
399
  """
@@ -378,6 +402,11 @@ class Backup(object):
378
402
  def update_expire_time(self, new_expire_time):
379
403
  """Update the expire time of this Backup.
380
404
 
405
+ .. deprecated:: 2.30.0
406
+ Use
407
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.update_backup`
408
+ instead.
409
+
381
410
  :type new_expire_time: :class:`datetime.datetime`
382
411
  :param new_expire_time: the new expiration time timestamp
383
412
  """
@@ -391,7 +420,13 @@ class Backup(object):
391
420
  self._expire_time = new_expire_time
392
421
 
393
422
  def delete(self):
394
- """Delete this Backup."""
423
+ """Delete this Backup.
424
+
425
+ .. deprecated:: 2.30.0
426
+ Use
427
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.delete_backup`
428
+ instead.
429
+ """
395
430
  self._instance._client.table_admin_client.delete_backup(
396
431
  request={"name": self.name}
397
432
  )
@@ -404,6 +439,11 @@ class Backup(object):
404
439
  progress of the operation and to cancel it. The ``response`` type is
405
440
  ``Table``, if successful.
406
441
 
442
+ .. deprecated:: 2.30.0
443
+ Use
444
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.restore_table`
445
+ instead.
446
+
407
447
  :type table_id: str
408
448
  :param table_id: The ID of the Table to create and restore to.
409
449
  This Table must not already exist.
@@ -440,6 +480,11 @@ class Backup(object):
440
480
  def get_iam_policy(self):
441
481
  """Gets the IAM access control policy for this backup.
442
482
 
483
+ .. deprecated:: 2.30.0
484
+ Use
485
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.get_iam_policy`
486
+ instead.
487
+
443
488
  :rtype: :class:`google.cloud.bigtable.policy.Policy`
444
489
  :returns: The current IAM policy of this backup.
445
490
  """
@@ -451,6 +496,11 @@ class Backup(object):
451
496
  """Sets the IAM access control policy for this backup. Replaces any
452
497
  existing policy.
453
498
 
499
+ .. deprecated:: 2.30.0
500
+ Use
501
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.set_iam_policy`
502
+ instead.
503
+
454
504
  For more information about policy, please see documentation of
455
505
  class `google.cloud.bigtable.policy.Policy`
456
506
 
@@ -471,6 +521,11 @@ class Backup(object):
471
521
  """Tests whether the caller has the given permissions for this backup.
472
522
  Returns the permissions that the caller has.
473
523
 
524
+ .. deprecated:: 2.30.0
525
+ Use
526
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.test_iam_permissions`
527
+ instead.
528
+
474
529
  :type permissions: list
475
530
  :param permissions: The set of permissions to check for
476
531
  the ``resource``. Permissions with wildcards (such as '*'
@@ -20,8 +20,12 @@ import queue
20
20
 
21
21
  from google.api_core import exceptions as core_exceptions
22
22
 
23
- from google.cloud.bigtable.data.exceptions import MutationsExceptionGroup
23
+ from google.cloud.bigtable.data.exceptions import (
24
+ MutationsExceptionGroup,
25
+ RetryExceptionGroup,
26
+ )
24
27
  from google.cloud.bigtable.data.mutations import RowMutationEntry
28
+ from google.cloud.bigtable.row import DirectRow
25
29
 
26
30
  FLUSH_COUNT = 100 # after this many elements, send out the batch
27
31
 
@@ -54,7 +58,10 @@ class MutationsBatcher(object):
54
58
  result in an in-memory change. Rows are sent to the service when a size
55
59
  limit is reached, when the ``flush_interval`` timer fires, when :func:`flush()`
56
60
  is called explicitly, or when the batcher is closed (:func:`close()` is also
57
- registered to run at interpreter exit). As a result, if the process
61
+ registered to run at interpreter exit). Any errors encountered while
62
+ flushing batches are accumulated and raised as a
63
+ :exc:`~batcher.MutationsBatchError` only when :func:`close()` is called (or
64
+ when exiting a ``with`` block). As a result, if the process
58
65
  terminates abruptly -- e.g. a crash, ``SIGKILL``, or ``os._exit`` where the
59
66
  ``atexit`` handler never runs -- any :class:`DirectRow` still buffered in
60
67
  memory is silently dropped and never sent, even after :func:`mutate()`
@@ -137,8 +144,12 @@ class MutationsBatcher(object):
137
144
  # return that error to the user. In standard execution paths,
138
145
  # FailedMutationEntryError always has an Exception cause;
139
146
  # defensively wrap in Unknown if __cause__ is None.
140
- if error.__cause__ is not None:
141
- self._exceptions.put(error.__cause__)
147
+ cause = error.__cause__
148
+ if isinstance(cause, RetryExceptionGroup) and cause.exceptions:
149
+ # Use the terminal exception from the retry chain.
150
+ cause = cause.exceptions[-1]
151
+ if cause is not None:
152
+ self._exceptions.put(cause)
142
153
  else:
143
154
  unknown_err = core_exceptions.Unknown(str(error))
144
155
  unknown_err.__cause__ = error
@@ -154,6 +165,12 @@ class MutationsBatcher(object):
154
165
  """Add a row to the batch. If the current batch meets one of the size
155
166
  limits, the batch is sent asynchronously.
156
167
 
168
+ The row's mutations are copied into the batch right away and the row
169
+ itself is left untouched, so passing the same
170
+ :class:`~google.cloud.bigtable.row.DirectRow` twice, or committing it
171
+ afterwards, sends its mutations again. Use a fresh row per call, or
172
+ clear it yourself.
173
+
157
174
  For example:
158
175
 
159
176
  .. literalinclude:: snippets_table.py
@@ -165,9 +182,21 @@ class MutationsBatcher(object):
165
182
  :param row: :class:`~google.cloud.bigtable.row.DirectRow`.
166
183
 
167
184
  :raises: One of the following:
185
+ * :exc:`TypeError` if ``row`` is not a :class:`~google.cloud.bigtable.row.DirectRow`.
186
+ * :exc:`~.table.TableMismatchError` if ``row`` belongs to a different table.
168
187
  * :exc:`~.table._BigtableRetryableError` if any row returned a transient error.
169
188
  * :exc:`RuntimeError` if the number of responses doesn't match the number of rows that were retried
170
189
  """
190
+ if not isinstance(row, DirectRow):
191
+ raise TypeError(
192
+ "Bulk processing cannot be applied for conditional or append mutations."
193
+ )
194
+ if row.table is not None and row.table.name != self.table.name:
195
+ from google.cloud.bigtable.table import TableMismatchError
196
+
197
+ raise TableMismatchError(
198
+ f"Row {row.row_key} is a part of {row.table.name} table. Current table: {self.table.name}"
199
+ )
171
200
  self._batcher.append(RowMutationEntry(row.row_key, row._get_mutations()))
172
201
 
173
202
  def mutate_rows(self, rows):
@@ -185,6 +214,8 @@ class MutationsBatcher(object):
185
214
  :param rows: list:[`~google.cloud.bigtable.row.DirectRow`].
186
215
 
187
216
  :raises: One of the following:
217
+ * :exc:`TypeError` if any row in ``rows`` is not a :class:`~google.cloud.bigtable.row.DirectRow`.
218
+ * :exc:`~.table.TableMismatchError` if any row in ``rows`` belongs to a different table.
188
219
  * :exc:`~.table._BigtableRetryableError` if any row returned a transient error.
189
220
  * :exc:`RuntimeError` if the number of responses doesn't match the number of rows that were retried
190
221
  """
@@ -193,15 +224,17 @@ class MutationsBatcher(object):
193
224
 
194
225
  def flush(self):
195
226
  """Sends the current batch to Cloud Bigtable synchronously.
227
+
228
+ Any errors encountered in the mutations are accumulated and will be
229
+ raised as a :exc:`~batcher.MutationsBatchError` when :func:`close()`
230
+ is called (or when exiting a ``with`` block).
231
+
196
232
  For example:
197
233
 
198
234
  .. literalinclude:: snippets_table.py
199
235
  :start-after: [START bigtable_api_batcher_flush]
200
236
  :end-before: [END bigtable_api_batcher_flush]
201
237
  :dedent: 4
202
-
203
- :raises:
204
- * :exc:`~batcher.MutationsBatchError` if there's any error in the mutations.
205
238
  """
206
239
  self._close_batcher()
207
240
  # Set atexit registration after internal batcher.
@@ -291,6 +291,10 @@ class Client(ClientWithProject):
291
291
  def table_admin_client(self):
292
292
  """Getter for the gRPC stub used for the Table Admin API.
293
293
 
294
+ .. deprecated:: 2.30.0
295
+ Use :class:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient`
296
+ instead.
297
+
294
298
  For example:
295
299
 
296
300
  .. literalinclude:: snippets.py
@@ -324,6 +328,10 @@ class Client(ClientWithProject):
324
328
  def instance_admin_client(self):
325
329
  """Getter for the gRPC stub used for the Table Admin API.
326
330
 
331
+ .. deprecated:: 2.30.0
332
+ Use :class:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient`
333
+ instead.
334
+
327
335
  For example:
328
336
 
329
337
  .. literalinclude:: snippets.py
@@ -423,6 +431,11 @@ class Client(ClientWithProject):
423
431
  def list_instances(self):
424
432
  """List instances owned by the project.
425
433
 
434
+ .. deprecated:: 2.30.0
435
+ Use
436
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.list_instances`
437
+ instead.
438
+
426
439
  For example:
427
440
 
428
441
  .. literalinclude:: snippets.py
@@ -446,6 +459,11 @@ class Client(ClientWithProject):
446
459
  def list_clusters(self):
447
460
  """List the clusters in the project.
448
461
 
462
+ .. deprecated:: 2.30.0
463
+ Use
464
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.list_clusters`
465
+ instead.
466
+
449
467
  For example:
450
468
 
451
469
  .. literalinclude:: snippets.py
@@ -31,6 +31,9 @@ _CLUSTER_NAME_RE = re.compile(
31
31
  class Cluster(object):
32
32
  """Representation of a Google Cloud Bigtable Cluster.
33
33
 
34
+ .. deprecated:: 2.30.0
35
+ Use :class:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient` instead.
36
+
34
37
  We can use a :class:`Cluster` to:
35
38
 
36
39
  * :meth:`reload` itself
@@ -300,6 +303,11 @@ class Cluster(object):
300
303
  def reload(self):
301
304
  """Reload the metadata for this cluster.
302
305
 
306
+ .. deprecated:: 2.30.0
307
+ Use
308
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.get_cluster`
309
+ instead.
310
+
303
311
  For example:
304
312
 
305
313
  .. literalinclude:: snippets.py
@@ -318,6 +326,11 @@ class Cluster(object):
318
326
  def exists(self):
319
327
  """Check whether the cluster already exists.
320
328
 
329
+ .. deprecated:: 2.30.0
330
+ Use
331
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.get_cluster`
332
+ instead.
333
+
321
334
  For example:
322
335
 
323
336
  .. literalinclude:: snippets.py
@@ -339,6 +352,11 @@ class Cluster(object):
339
352
  def create(self):
340
353
  """Create this cluster.
341
354
 
355
+ .. deprecated:: 2.30.0
356
+ Use
357
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.create_cluster`
358
+ instead.
359
+
342
360
  For example:
343
361
 
344
362
  .. literalinclude:: snippets.py
@@ -385,6 +403,11 @@ class Cluster(object):
385
403
  def update(self):
386
404
  """Update this cluster.
387
405
 
406
+ .. deprecated:: 2.30.0
407
+ Use
408
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.partial_update_cluster`
409
+ instead.
410
+
388
411
  For example:
389
412
 
390
413
  .. literalinclude:: snippets.py
@@ -443,6 +466,11 @@ class Cluster(object):
443
466
  """
444
467
  Disable autoscaling by specifying the number of nodes.
445
468
 
469
+ .. deprecated:: 2.30.0
470
+ Use
471
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.partial_update_cluster`
472
+ instead.
473
+
446
474
  For example:
447
475
 
448
476
  .. literalinclude:: snippets.py
@@ -475,6 +503,11 @@ class Cluster(object):
475
503
  def delete(self):
476
504
  """Delete this cluster.
477
505
 
506
+ .. deprecated:: 2.30.0
507
+ Use
508
+ :meth:`google.cloud.bigtable_admin_v2.BigtableInstanceAdminClient.delete_cluster`
509
+ instead.
510
+
478
511
  For example:
479
512
 
480
513
  .. literalinclude:: snippets.py
@@ -26,6 +26,9 @@ from google.cloud.bigtable_admin_v2.types import table as table_v2_pb2
26
26
  class GarbageCollectionRule(object):
27
27
  """Garbage collection rule for column families within a table.
28
28
 
29
+ .. deprecated:: 2.30.0
30
+ Use :class:`google.cloud.bigtable_admin_v2.types.GcRule` instead.
31
+
29
32
  Cells in the column family (within a table) fitting the rule will be
30
33
  deleted during garbage collection.
31
34
 
@@ -44,6 +47,9 @@ class GarbageCollectionRule(object):
44
47
  class MaxVersionsGCRule(GarbageCollectionRule):
45
48
  """Garbage collection limiting the number of versions of a cell.
46
49
 
50
+ .. deprecated:: 2.30.0
51
+ Use :class:`google.cloud.bigtable_admin_v2.types.GcRule` instead.
52
+
47
53
  For example:
48
54
 
49
55
  .. literalinclude:: snippets_table.py
@@ -78,6 +84,9 @@ class MaxVersionsGCRule(GarbageCollectionRule):
78
84
  class MaxAgeGCRule(GarbageCollectionRule):
79
85
  """Garbage collection limiting the age of a cell.
80
86
 
87
+ .. deprecated:: 2.30.0
88
+ Use :class:`google.cloud.bigtable_admin_v2.types.GcRule` instead.
89
+
81
90
  For example:
82
91
 
83
92
  .. literalinclude:: snippets_table.py
@@ -113,6 +122,9 @@ class MaxAgeGCRule(GarbageCollectionRule):
113
122
  class GCRuleUnion(GarbageCollectionRule):
114
123
  """Union of garbage collection rules.
115
124
 
125
+ .. deprecated:: 2.30.0
126
+ Use :class:`google.cloud.bigtable_admin_v2.types.GcRule` instead.
127
+
116
128
  For example:
117
129
 
118
130
  .. literalinclude:: snippets_table.py
@@ -148,6 +160,9 @@ class GCRuleUnion(GarbageCollectionRule):
148
160
  class GCRuleIntersection(GarbageCollectionRule):
149
161
  """Intersection of garbage collection rules.
150
162
 
163
+ .. deprecated:: 2.30.0
164
+ Use :class:`google.cloud.bigtable_admin_v2.types.GcRule` instead.
165
+
151
166
  For example:
152
167
 
153
168
  .. literalinclude:: snippets_table.py
@@ -185,6 +200,9 @@ class GCRuleIntersection(GarbageCollectionRule):
185
200
  class ColumnFamily(object):
186
201
  """Representation of a Google Cloud Bigtable Column Family.
187
202
 
203
+ .. deprecated:: 2.30.0
204
+ Use :class:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient` instead.
205
+
188
206
  We can use a :class:`ColumnFamily` to:
189
207
 
190
208
  * :meth:`create` itself
@@ -259,6 +277,11 @@ class ColumnFamily(object):
259
277
  def create(self):
260
278
  """Create this column family.
261
279
 
280
+ .. deprecated:: 2.30.0
281
+ Use
282
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.modify_column_families`
283
+ instead.
284
+
262
285
  For example:
263
286
 
264
287
  .. literalinclude:: snippets_table.py
@@ -283,6 +306,11 @@ class ColumnFamily(object):
283
306
  def update(self):
284
307
  """Update this column family.
285
308
 
309
+ .. deprecated:: 2.30.0
310
+ Use
311
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.modify_column_families`
312
+ instead.
313
+
286
314
  For example:
287
315
 
288
316
  .. literalinclude:: snippets_table.py
@@ -311,6 +339,11 @@ class ColumnFamily(object):
311
339
  def delete(self):
312
340
  """Delete this column family.
313
341
 
342
+ .. deprecated:: 2.30.0
343
+ Use
344
+ :meth:`google.cloud.bigtable_admin_v2.BigtableTableAdminClient.modify_column_families`
345
+ instead.
346
+
314
347
  For example:
315
348
 
316
349
  .. literalinclude:: snippets_table.py