google-cloud-bigtable 2.6.0 → 2.10.1

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 (49) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +10 -27
  3. data/CHANGELOG.md +72 -0
  4. data/CONTRIBUTING.md +328 -115
  5. data/EMULATOR.md +1 -1
  6. data/LOGGING.md +1 -1
  7. data/OVERVIEW.md +1 -1
  8. data/lib/google/cloud/bigtable/app_profile/job.rb +4 -4
  9. data/lib/google/cloud/bigtable/app_profile/list.rb +5 -7
  10. data/lib/google/cloud/bigtable/app_profile.rb +20 -21
  11. data/lib/google/cloud/bigtable/backup/job.rb +8 -8
  12. data/lib/google/cloud/bigtable/backup/list.rb +9 -11
  13. data/lib/google/cloud/bigtable/backup.rb +103 -36
  14. data/lib/google/cloud/bigtable/chunk_processor.rb +5 -5
  15. data/lib/google/cloud/bigtable/cluster/job.rb +2 -2
  16. data/lib/google/cloud/bigtable/cluster.rb +15 -15
  17. data/lib/google/cloud/bigtable/column_family.rb +2 -2
  18. data/lib/google/cloud/bigtable/column_family_map.rb +18 -21
  19. data/lib/google/cloud/bigtable/column_range.rb +7 -7
  20. data/lib/google/cloud/bigtable/convert.rb +34 -0
  21. data/lib/google/cloud/bigtable/encryption_info.rb +4 -4
  22. data/lib/google/cloud/bigtable/gc_rule.rb +20 -20
  23. data/lib/google/cloud/bigtable/instance/cluster_map.rb +7 -7
  24. data/lib/google/cloud/bigtable/instance/job.rb +4 -4
  25. data/lib/google/cloud/bigtable/instance.rb +49 -52
  26. data/lib/google/cloud/bigtable/mutation_entry.rb +21 -21
  27. data/lib/google/cloud/bigtable/mutation_operations.rb +34 -34
  28. data/lib/google/cloud/bigtable/policy.rb +4 -4
  29. data/lib/google/cloud/bigtable/project.rb +84 -26
  30. data/lib/google/cloud/bigtable/read_operations.rb +40 -33
  31. data/lib/google/cloud/bigtable/routing_policy.rb +6 -6
  32. data/lib/google/cloud/bigtable/row_filter/chain_filter.rb +30 -29
  33. data/lib/google/cloud/bigtable/row_filter/condition_filter.rb +6 -6
  34. data/lib/google/cloud/bigtable/row_filter/interleave_filter.rb +27 -26
  35. data/lib/google/cloud/bigtable/row_filter.rb +28 -28
  36. data/lib/google/cloud/bigtable/row_range.rb +18 -18
  37. data/lib/google/cloud/bigtable/rows_reader.rb +77 -32
  38. data/lib/google/cloud/bigtable/sample_row_key.rb +1 -1
  39. data/lib/google/cloud/bigtable/service.rb +69 -29
  40. data/lib/google/cloud/bigtable/status.rb +2 -2
  41. data/lib/google/cloud/bigtable/table/cluster_state.rb +1 -1
  42. data/lib/google/cloud/bigtable/table/list.rb +2 -2
  43. data/lib/google/cloud/bigtable/table/restore_job.rb +12 -12
  44. data/lib/google/cloud/bigtable/table.rb +42 -40
  45. data/lib/google/cloud/bigtable/value_range.rb +18 -18
  46. data/lib/google/cloud/bigtable/version.rb +1 -1
  47. data/lib/google/cloud/bigtable.rb +28 -7
  48. data/lib/google-cloud-bigtable.rb +6 -2
  49. metadata +15 -113
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4349eaa8149e90524a1966a96fcdb6e1c1faee050c25487e594ee6aa87318681
4
- data.tar.gz: 0f34a5bee198253cf893e5209dd3230276663a494f94d16734de89e366e2c322
3
+ metadata.gz: bb8ed222ed2c24d4b39856180ede2faa2f861759a8166bcd86f1c76a969d8c24
4
+ data.tar.gz: 6a3575d2c69f0820899d14727a76bdeeeb89d05fde99abe90ff1b068ced220b0
5
5
  SHA512:
6
- metadata.gz: bf6355506c1a29fe2a2a149a36cce4b1e80c9713f317c76ea707353a7828f1a299cb6fc2daeb7beea537cc7ae792e7ffed9ccacc0dd22fc49eedb03a63ee26a0
7
- data.tar.gz: bbded4a5e2d126580c68df77aa1171d6d8c9f222237dc5fc9a8fe8dafbb13e9c110b65800ea67018e902e3250ea23b9a2cf3ba29bf64653052be16b4c782b7b7
6
+ metadata.gz: d1cd0db63088866f0aaf1ee4829b5d6af9a7f9b30ae0b2315cba9e3f6a2ccfb6171820970fb6bc8a2f3c8628c946a7dc37df5665c58b1eb0614337118b94831b
7
+ data.tar.gz: c56bd73b38d3f8b031200f78228c018d9c59d81e170067755204983b8f51c162f31c7183e09cde5be27be89b69cfef3d1c221db31d0247343bf68d03d6bde5e9
data/AUTHENTICATION.md CHANGED
@@ -95,7 +95,8 @@ client = Google::Cloud::Bigtable.new
95
95
 
96
96
  ### Configuration
97
97
 
98
- The **Project ID** and **Credentials JSON** can be configured instead of placing them in environment variables or providing them as arguments.
98
+ The **Project ID** and the path to the **Credentials JSON** file can be configured
99
+ instead of placing them in environment variables or providing them as arguments.
99
100
 
100
101
  ```ruby
101
102
  require "google/cloud/bigtable"
@@ -123,15 +124,6 @@ To configure your system for this, simply:
123
124
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
124
125
  *should* only be used during development.
125
126
 
126
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
127
- [dev-console]: https://console.cloud.google.com/project
128
-
129
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
130
-
131
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
132
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
133
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
134
-
135
127
  ## Creating a Service Account
136
128
 
137
129
  Google Cloud requires a **Project ID** and **Service Account Credentials** to
@@ -142,31 +134,22 @@ If you are not running this client within [Google Cloud Platform
142
134
  environments](#google-cloud-platform-environments), you need a Google
143
135
  Developers service account.
144
136
 
145
- 1. Visit the [Google Developers Console][dev-console].
137
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
146
138
  1. Create a new project or click on an existing project.
147
- 1. Activate the slide-out navigation tray and select **API Manager**. From
139
+ 1. Activate the menu in the upper left and select **APIs & Services**. From
148
140
  here, you will enable the APIs that your application requires.
149
141
 
150
- ![Enable the APIs that your application requires][enable-apis]
151
-
152
142
  *Note: You may need to enable billing in order to use these services.*
153
143
 
154
144
  1. Select **Credentials** from the side navigation.
155
145
 
156
- You should see a screen like one of the following.
157
-
158
- ![Create a new service account][create-new-service-account]
159
-
160
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
161
-
162
- Find the "Add credentials" drop down and select "Service account" to be
163
- guided through downloading a new JSON key file.
164
-
165
- If you want to re-use an existing service account, you can easily generate a
166
- new key file. Just select the account you wish to re-use, and click "Generate
167
- new JSON key":
146
+ Find the "Create credentials" drop down near the top of the page, and select
147
+ "Service account" to be guided through downloading a new JSON key file.
168
148
 
169
- ![Re-use an existing service account][reuse-service-account]
149
+ If you want to re-use an existing service account, you can easily generate
150
+ a new key file. Just select the account you wish to re-use click the pencil
151
+ tool on the right side to edit the service account, select the **Keys** tab,
152
+ and then select **Add Key**.
170
153
 
171
154
  The key file you download will be used by this library to authenticate API
172
155
  requests and should be stored in a secure location.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # Release History
2
2
 
3
+ ### 2.10.1 (2024-03-19)
4
+
5
+ #### Bug Fixes
6
+
7
+ * fix read rows retry so it doesn't trigger a full table scan in t… ([#25391](https://github.com/googleapis/google-cloud-ruby/issues/25391))
8
+
9
+ ### 2.10.0 (2024-03-07)
10
+
11
+ #### Features
12
+
13
+ * Update minimum supported Ruby version to 2.7 ([#25298](https://github.com/googleapis/google-cloud-ruby/issues/25298))
14
+
15
+ ### 2.9.1 (2024-02-09)
16
+
17
+ #### Documentation
18
+
19
+ * update EMULATOR.md ([#24787](https://github.com/googleapis/google-cloud-ruby/issues/24787))
20
+
21
+ ### 2.9.0 (2023-09-14)
22
+
23
+ #### Features
24
+
25
+ * Add support for channel pooling ([#22747](https://github.com/googleapis/google-cloud-ruby/issues/22747))
26
+
27
+ ### 2.8.0 (2023-08-17)
28
+
29
+ #### Features
30
+
31
+ * Added support for copybackup ([#19341](https://github.com/googleapis/google-cloud-ruby/issues/19341))
32
+
33
+ ### 2.7.1 (2023-06-16)
34
+
35
+ #### Documentation
36
+
37
+ * Fixed broken links in authentication documentation ([#21619](https://github.com/googleapis/google-cloud-ruby/issues/21619))
38
+
39
+ ### 2.7.0 (2022-07-01)
40
+
41
+ #### Features
42
+
43
+ * Updated minimum Ruby version to 2.6 ([#18453](https://github.com/googleapis/google-cloud-ruby/issues/18453))
44
+
45
+ ### 2.6.5 / 2022-01-11
46
+
47
+ #### Documentation
48
+
49
+ * Update contributing doc
50
+
51
+ ### 2.6.4 / 2021-10-21
52
+
53
+ #### Documentation
54
+
55
+ * Add documentation for quota_project Configuration attribute
56
+
57
+ ### 2.6.3 / 2021-09-21
58
+
59
+ #### Documentation
60
+
61
+ * Fix typo in Emulator guide links
62
+
63
+ ### 2.6.2 / 2021-08-02
64
+
65
+ #### Documentation
66
+
67
+ * Update inline doc samples to match library code style
68
+
69
+ ### 2.6.1 / 2021-07-08
70
+
71
+ #### Documentation
72
+
73
+ * Update AUTHENTICATION.md in handwritten packages
74
+
3
75
  ### 2.6.0 / 2021-05-03
4
76
 
5
77
  #### Features