Package not found. Please check the package name and try again.
google-cloud-bigtable 1.3.0
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.
- checksums.yaml +7 -0
- data/.yardopts +19 -0
- data/AUTHENTICATION.md +177 -0
- data/CHANGELOG.md +223 -0
- data/CODE_OF_CONDUCT.md +40 -0
- data/CONTRIBUTING.md +188 -0
- data/EMULATOR.md +30 -0
- data/LICENSE +201 -0
- data/LOGGING.md +32 -0
- data/OVERVIEW.md +400 -0
- data/TROUBLESHOOTING.md +31 -0
- data/lib/google-cloud-bigtable.rb +171 -0
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +145 -0
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +90 -0
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +208 -0
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +154 -0
- data/lib/google/bigtable/admin/v2/common_pb.rb +30 -0
- data/lib/google/bigtable/admin/v2/instance_pb.rb +74 -0
- data/lib/google/bigtable/admin/v2/table_pb.rb +127 -0
- data/lib/google/bigtable/v2/bigtable_pb.rb +113 -0
- data/lib/google/bigtable/v2/bigtable_services_pb.rb +68 -0
- data/lib/google/bigtable/v2/data_pb.rb +156 -0
- data/lib/google/cloud/bigtable.rb +184 -0
- data/lib/google/cloud/bigtable/admin.rb +202 -0
- data/lib/google/cloud/bigtable/admin/credentials.rb +27 -0
- data/lib/google/cloud/bigtable/admin/v2.rb +223 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +1451 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client_config.json +139 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +1734 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client_config.json +163 -0
- data/lib/google/cloud/bigtable/admin/v2/credentials.rb +51 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +297 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +587 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +193 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +303 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/iam_policy.rb +64 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/options.rb +33 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/policy.rb +151 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/longrunning/operations.rb +51 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/any.rb +131 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/duration.rb +91 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/empty.rb +29 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/field_mask.rb +222 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/timestamp.rb +113 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/rpc/status.rb +39 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/type/expr.rb +45 -0
- data/lib/google/cloud/bigtable/app_profile.rb +439 -0
- data/lib/google/cloud/bigtable/app_profile/job.rb +99 -0
- data/lib/google/cloud/bigtable/app_profile/list.rb +165 -0
- data/lib/google/cloud/bigtable/backup.rb +324 -0
- data/lib/google/cloud/bigtable/backup/job.rb +87 -0
- data/lib/google/cloud/bigtable/backup/list.rb +167 -0
- data/lib/google/cloud/bigtable/chunk_processor.rb +241 -0
- data/lib/google/cloud/bigtable/cluster.rb +390 -0
- data/lib/google/cloud/bigtable/cluster/job.rb +88 -0
- data/lib/google/cloud/bigtable/cluster/list.rb +171 -0
- data/lib/google/cloud/bigtable/column_family.rb +73 -0
- data/lib/google/cloud/bigtable/column_family_map.rb +426 -0
- data/lib/google/cloud/bigtable/column_range.rb +194 -0
- data/lib/google/cloud/bigtable/convert.rb +83 -0
- data/lib/google/cloud/bigtable/credentials.rb +25 -0
- data/lib/google/cloud/bigtable/errors.rb +38 -0
- data/lib/google/cloud/bigtable/gc_rule.rb +334 -0
- data/lib/google/cloud/bigtable/instance.rb +935 -0
- data/lib/google/cloud/bigtable/instance/cluster_map.rb +74 -0
- data/lib/google/cloud/bigtable/instance/job.rb +98 -0
- data/lib/google/cloud/bigtable/instance/list.rb +164 -0
- data/lib/google/cloud/bigtable/longrunning_job.rb +122 -0
- data/lib/google/cloud/bigtable/mutation_entry.rb +256 -0
- data/lib/google/cloud/bigtable/mutation_operations.rb +357 -0
- data/lib/google/cloud/bigtable/policy.rb +167 -0
- data/lib/google/cloud/bigtable/project.rb +471 -0
- data/lib/google/cloud/bigtable/read_modify_write_rule.rb +134 -0
- data/lib/google/cloud/bigtable/read_operations.rb +328 -0
- data/lib/google/cloud/bigtable/routing_policy.rb +172 -0
- data/lib/google/cloud/bigtable/row.rb +136 -0
- data/lib/google/cloud/bigtable/row_filter.rb +639 -0
- data/lib/google/cloud/bigtable/row_filter/chain_filter.rb +590 -0
- data/lib/google/cloud/bigtable/row_filter/condition_filter.rb +114 -0
- data/lib/google/cloud/bigtable/row_filter/interleave_filter.rb +621 -0
- data/lib/google/cloud/bigtable/row_filter/simple_filter.rb +287 -0
- data/lib/google/cloud/bigtable/row_range.rb +179 -0
- data/lib/google/cloud/bigtable/rows_mutator.rb +113 -0
- data/lib/google/cloud/bigtable/rows_reader.rb +200 -0
- data/lib/google/cloud/bigtable/sample_row_key.rb +85 -0
- data/lib/google/cloud/bigtable/service.rb +913 -0
- data/lib/google/cloud/bigtable/status.rb +76 -0
- data/lib/google/cloud/bigtable/table.rb +686 -0
- data/lib/google/cloud/bigtable/table/cluster_state.rb +125 -0
- data/lib/google/cloud/bigtable/table/list.rb +154 -0
- data/lib/google/cloud/bigtable/table/restore_job.rb +117 -0
- data/lib/google/cloud/bigtable/v2.rb +146 -0
- data/lib/google/cloud/bigtable/v2/bigtable_client.rb +591 -0
- data/lib/google/cloud/bigtable/v2/bigtable_client_config.json +83 -0
- data/lib/google/cloud/bigtable/v2/credentials.rb +46 -0
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/bigtable.rb +290 -0
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb +493 -0
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/any.rb +131 -0
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/wrappers.rb +34 -0
- data/lib/google/cloud/bigtable/v2/doc/google/rpc/status.rb +39 -0
- data/lib/google/cloud/bigtable/value_range.rb +181 -0
- data/lib/google/cloud/bigtable/version.rb +22 -0
- metadata +337 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 109fb6841cdecd45ebfadc3c2bafd019010847bbe9592ad9f2d9d44e56000d06
|
|
4
|
+
data.tar.gz: 41b10cd762bc1c11ef42754af3fb6dc3e9bc5d97bd75e84c74752228596bb245
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 63fda26d33b5b2185086377ecf4ca64d99d20e19013b97b7a34a11164baefbc2e09e444e4304a22a4ac5da49013bb09803e0d81b55bcd3ac8f94f712e320043d
|
|
7
|
+
data.tar.gz: ec6d0a4356a0fb357264bd72654cfb21581c9787e5594e016e81d286345ef25ad6b8b8eb450dd26de061e5ca0ee32bf337fb43beb0847197d039b4007f74b5f0
|
data/.yardopts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
--no-private
|
|
2
|
+
--title=Cloud Bigtable API
|
|
3
|
+
--exclude _pb\.rb$
|
|
4
|
+
--markup markdown
|
|
5
|
+
--markup-provider redcarpet
|
|
6
|
+
--embed-mixins
|
|
7
|
+
--main OVERVIEW.md
|
|
8
|
+
|
|
9
|
+
./lib/**/*.rb
|
|
10
|
+
-
|
|
11
|
+
OVERVIEW.md
|
|
12
|
+
AUTHENTICATION.md
|
|
13
|
+
EMULATOR.md
|
|
14
|
+
LOGGING.md
|
|
15
|
+
CONTRIBUTING.md
|
|
16
|
+
TROUBLESHOOTING.md
|
|
17
|
+
CHANGELOG.md
|
|
18
|
+
CODE_OF_CONDUCT.md
|
|
19
|
+
LICENSE
|
data/AUTHENTICATION.md
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# Authentication
|
|
2
|
+
|
|
3
|
+
In general, the google-cloud-bigtable library uses [Service
|
|
4
|
+
Account](https://cloud.google.com/iam/docs/creating-managing-service-accounts)
|
|
5
|
+
credentials to connect to Google Cloud services. When running within [Google
|
|
6
|
+
Cloud Platform environments](#google-cloud-platform-environments)
|
|
7
|
+
the credentials will be discovered automatically. When running on other
|
|
8
|
+
environments, the Service Account credentials can be specified by providing the
|
|
9
|
+
path to the [JSON
|
|
10
|
+
keyfile](https://cloud.google.com/iam/docs/managing-service-account-keys) for
|
|
11
|
+
the account (or the JSON itself) in [environment
|
|
12
|
+
variables](#environment-variables). Additionally, Cloud SDK credentials can also
|
|
13
|
+
be discovered automatically, but this is only recommended during development.
|
|
14
|
+
|
|
15
|
+
## Quickstart
|
|
16
|
+
|
|
17
|
+
1. [Create a service account and credentials](#creating-a-service-account).
|
|
18
|
+
2. Set the [environment variable](#environment-variables).
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
export BIGTABLE_CREDENTIALS=/path/to/json`
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
3. Initialize the client.
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
require "google/cloud/bigtable"
|
|
28
|
+
|
|
29
|
+
client = Google::Cloud::Bigtable.new
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Project and Credential Lookup
|
|
33
|
+
|
|
34
|
+
The google-cloud-bigtable library aims to make authentication
|
|
35
|
+
as simple as possible, and provides several mechanisms to configure your system
|
|
36
|
+
without providing **Project ID** and **Service Account Credentials** directly in
|
|
37
|
+
code.
|
|
38
|
+
|
|
39
|
+
**Project ID** is discovered in the following order:
|
|
40
|
+
|
|
41
|
+
1. Specify project ID in method arguments
|
|
42
|
+
2. Specify project ID in configuration
|
|
43
|
+
3. Discover project ID in environment variables
|
|
44
|
+
4. Discover GCE project ID
|
|
45
|
+
5. Discover project ID in credentials JSON
|
|
46
|
+
|
|
47
|
+
**Credentials** are discovered in the following order:
|
|
48
|
+
|
|
49
|
+
1. Specify credentials in method arguments
|
|
50
|
+
2. Specify credentials in configuration
|
|
51
|
+
3. Discover credentials path in environment variables
|
|
52
|
+
4. Discover credentials JSON in environment variables
|
|
53
|
+
5. Discover credentials file in the Cloud SDK's path
|
|
54
|
+
6. Discover GCE credentials
|
|
55
|
+
|
|
56
|
+
### Google Cloud Platform environments
|
|
57
|
+
|
|
58
|
+
When running on Google Cloud Platform (GCP), including Google Compute Engine (GCE),
|
|
59
|
+
Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud Functions
|
|
60
|
+
(GCF) and Cloud Run, the **Project ID** and **Credentials** and are discovered
|
|
61
|
+
automatically. Code should be written as if already authenticated.
|
|
62
|
+
|
|
63
|
+
### Environment Variables
|
|
64
|
+
|
|
65
|
+
The **Project ID** and **Credentials JSON** can be placed in environment
|
|
66
|
+
variables instead of declaring them directly in code. Each service has its own
|
|
67
|
+
environment variable, allowing for different service accounts to be used for
|
|
68
|
+
different services. (See the READMEs for the individual service gems for
|
|
69
|
+
details.) The path to the **Credentials JSON** file can be stored in the
|
|
70
|
+
environment variable, or the **Credentials JSON** itself can be stored for
|
|
71
|
+
environments such as Docker containers where writing files is difficult or not
|
|
72
|
+
encouraged.
|
|
73
|
+
|
|
74
|
+
The environment variables that google-cloud-bigtable checks for project ID are:
|
|
75
|
+
|
|
76
|
+
1. `BIGTABLE_PROJECT`
|
|
77
|
+
2. `GOOGLE_CLOUD_PROJECT`
|
|
78
|
+
|
|
79
|
+
The environment variables that google-cloud-bigtable checks for credentials are configured on {Google::Cloud::Bigtable::V2::Credentials}:
|
|
80
|
+
|
|
81
|
+
1. `BIGTABLE_CREDENTIALS` - Path to JSON file, or JSON contents
|
|
82
|
+
2. `BIGTABLE_KEYFILE` - Path to JSON file, or JSON contents
|
|
83
|
+
3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
|
84
|
+
4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
|
85
|
+
5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
|
86
|
+
|
|
87
|
+
```ruby
|
|
88
|
+
require "google/cloud/bigtable"
|
|
89
|
+
|
|
90
|
+
ENV["BIGTABLE_PROJECT"] = "my-project-id"
|
|
91
|
+
ENV["BIGTABLE_CREDENTIALS"] = "path/to/keyfile.json"
|
|
92
|
+
|
|
93
|
+
client = Google::Cloud::Bigtable.new
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Configuration
|
|
97
|
+
|
|
98
|
+
The **Project ID** and **Credentials JSON** can be configured instead of placing them in environment variables or providing them as arguments.
|
|
99
|
+
|
|
100
|
+
```ruby
|
|
101
|
+
require "google/cloud/bigtable"
|
|
102
|
+
|
|
103
|
+
Google::Cloud::Bigtable.configure do |config|
|
|
104
|
+
config.project_id = "my-project-id"
|
|
105
|
+
config.credentials = "path/to/keyfile.json"
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
client = Google::Cloud::Bigtable.new
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Cloud SDK
|
|
112
|
+
|
|
113
|
+
This option allows for an easy way to authenticate during development. If
|
|
114
|
+
credentials are not provided in code or in environment variables, then Cloud SDK
|
|
115
|
+
credentials are discovered.
|
|
116
|
+
|
|
117
|
+
To configure your system for this, simply:
|
|
118
|
+
|
|
119
|
+
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
|
120
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
|
121
|
+
3. Write code as if already authenticated.
|
|
122
|
+
|
|
123
|
+
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
|
124
|
+
*should* only be used during development.
|
|
125
|
+
|
|
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
|
+
## Creating a Service Account
|
|
136
|
+
|
|
137
|
+
Google Cloud requires a **Project ID** and **Service Account Credentials** to
|
|
138
|
+
connect to the APIs. You will use the **Project ID** and **JSON key file** to
|
|
139
|
+
connect to most services with google-cloud-bigtable.
|
|
140
|
+
|
|
141
|
+
If you are not running this client within [Google Cloud Platform
|
|
142
|
+
environments](#google-cloud-platform-environments), you need a Google
|
|
143
|
+
Developers service account.
|
|
144
|
+
|
|
145
|
+
1. Visit the [Google Developers Console][dev-console].
|
|
146
|
+
1. Create a new project or click on an existing project.
|
|
147
|
+
1. Activate the slide-out navigation tray and select **API Manager**. From
|
|
148
|
+
here, you will enable the APIs that your application requires.
|
|
149
|
+
|
|
150
|
+
![Enable the APIs that your application requires][enable-apis]
|
|
151
|
+
|
|
152
|
+
*Note: You may need to enable billing in order to use these services.*
|
|
153
|
+
|
|
154
|
+
1. Select **Credentials** from the side navigation.
|
|
155
|
+
|
|
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":
|
|
168
|
+
|
|
169
|
+
![Re-use an existing service account][reuse-service-account]
|
|
170
|
+
|
|
171
|
+
The key file you download will be used by this library to authenticate API
|
|
172
|
+
requests and should be stored in a secure location.
|
|
173
|
+
|
|
174
|
+
## Troubleshooting
|
|
175
|
+
|
|
176
|
+
If you're having trouble authenticating you can ask for help by following the
|
|
177
|
+
{file:TROUBLESHOOTING.md Troubleshooting Guide}.
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
### 1.3.0 / 2020-07-21
|
|
4
|
+
|
|
5
|
+
#### Features
|
|
6
|
+
|
|
7
|
+
* Add Managed Backups
|
|
8
|
+
* Add Cluster#create_backup, Cluster#backup and Cluster#backups
|
|
9
|
+
* Add Backup, Backup::Job and Backup::List
|
|
10
|
+
* Add Table::RestoreJob
|
|
11
|
+
* Add ClusterState#ready_optimizing?
|
|
12
|
+
|
|
13
|
+
### 1.2.2 / 2020-05-28
|
|
14
|
+
|
|
15
|
+
#### Documentation
|
|
16
|
+
|
|
17
|
+
* Fix a few broken links
|
|
18
|
+
|
|
19
|
+
### 1.2.1 / 2020-05-21
|
|
20
|
+
|
|
21
|
+
#### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* Disable streaming RPC retries in lower-level client
|
|
24
|
+
|
|
25
|
+
### 1.2.0 / 2020-03-11
|
|
26
|
+
|
|
27
|
+
#### Features
|
|
28
|
+
|
|
29
|
+
* Support separate project setting for quota/billing
|
|
30
|
+
|
|
31
|
+
### 1.1.0 / 2020-02-10
|
|
32
|
+
|
|
33
|
+
#### Features
|
|
34
|
+
|
|
35
|
+
* Add Table-level IAM Policy support
|
|
36
|
+
|
|
37
|
+
### 1.0.2 / 2020-01-23
|
|
38
|
+
|
|
39
|
+
#### Documentation
|
|
40
|
+
|
|
41
|
+
* Update copyright year
|
|
42
|
+
* Update Status documentation
|
|
43
|
+
|
|
44
|
+
### 1.0.1 / 2020-01-15
|
|
45
|
+
|
|
46
|
+
#### Documentation
|
|
47
|
+
|
|
48
|
+
* Update lower-level API documentation
|
|
49
|
+
|
|
50
|
+
### 1.0.0 / 2019-12-03
|
|
51
|
+
|
|
52
|
+
#### Documentation
|
|
53
|
+
|
|
54
|
+
* Update release level to GA
|
|
55
|
+
* Add OVERVIEW.md guide with samples
|
|
56
|
+
* Add sample to README.md
|
|
57
|
+
* Fix samples and copy edit all in-line documentation
|
|
58
|
+
* Correct error in lower-level API Table IAM documentation
|
|
59
|
+
* Update lower-level API documentation to indicate attributes as required
|
|
60
|
+
* Update low-level IAM Policy documentation
|
|
61
|
+
|
|
62
|
+
### 0.8.0 / 2019-11-01
|
|
63
|
+
|
|
64
|
+
#### ⚠ BREAKING CHANGES
|
|
65
|
+
|
|
66
|
+
* The following methods now raise Google::Cloud::Error instead of
|
|
67
|
+
Google::Gax::GaxError and/or GRPC::BadStatus:
|
|
68
|
+
* Table#mutate_row
|
|
69
|
+
* Table#read_modify_write_row
|
|
70
|
+
* Table#check_and_mutate_row
|
|
71
|
+
* Table#sample_row_keys
|
|
72
|
+
|
|
73
|
+
#### Features
|
|
74
|
+
|
|
75
|
+
* Raise Google::Cloud::Error from Table#mutate_row, Table#read_modify_write_row,
|
|
76
|
+
Table#check_and_mutate_row, and Table#sample_row_keys.
|
|
77
|
+
|
|
78
|
+
#### Bug Fixes
|
|
79
|
+
|
|
80
|
+
* Update minimum runtime dependencies
|
|
81
|
+
|
|
82
|
+
#### Documentation
|
|
83
|
+
|
|
84
|
+
* Update the list of GCP environments for automatic authentication
|
|
85
|
+
|
|
86
|
+
### 0.7.0 / 2019-10-22
|
|
87
|
+
|
|
88
|
+
#### Features
|
|
89
|
+
|
|
90
|
+
* Update Table#column_families to yield ColumnFamilyMap for updates.
|
|
91
|
+
* ColumnFamilyMap now manages ColumnFamily lifecycle.
|
|
92
|
+
* Add MutationOperations::Response.
|
|
93
|
+
* Add Bigtable::Status.
|
|
94
|
+
* Add Bigtable::RoutingPolicy.
|
|
95
|
+
* Update Ruby dependency to minimum of 2.4.
|
|
96
|
+
|
|
97
|
+
#### BREAKING CHANGES
|
|
98
|
+
|
|
99
|
+
* Remove ColumnFamily lifecycle methods (create, save, delete, and related class methods).
|
|
100
|
+
* Replaced by Table#column_families yield block.
|
|
101
|
+
* Move Google::Cloud::Bigtable::Table::ColumnFamilyMap to Google::Cloud::Bigtable::ColumnFamilyMap.
|
|
102
|
+
* This should only affect introspection, since the constructor was previously undocumented.
|
|
103
|
+
* Remove Project#modify_column_families.
|
|
104
|
+
* Replaced by Table#column_families yield block.
|
|
105
|
+
* Remove Table#column_family.
|
|
106
|
+
* Replaced by ColumnFamilyMap lifecycle methods.
|
|
107
|
+
* Remove Table#modify_column_families.
|
|
108
|
+
* Replaced by Table#column_families yield block.
|
|
109
|
+
* Update GcRule#union and #intersection to not return lower-level API types.
|
|
110
|
+
* Update all return types and parameters associated with AppProfile routing policy to not use lower-level API types.
|
|
111
|
+
* The new types have exactly the same API as the old types, so this change should only affect type introspection.
|
|
112
|
+
* Update return types of Chain and Interleave row filters to not use lower-level API types.
|
|
113
|
+
* Change return type of MutationOperations#mutate_rows from lower-level API types to wrapper types.
|
|
114
|
+
* Remove private MutationEntry#mutations from documentation.
|
|
115
|
+
* Update GcRule#max_age to microsecond precision.
|
|
116
|
+
|
|
117
|
+
#### Documentation
|
|
118
|
+
|
|
119
|
+
* Update sample code.
|
|
120
|
+
* Update documentation.
|
|
121
|
+
|
|
122
|
+
### 0.6.2 / 2019-10-01
|
|
123
|
+
|
|
124
|
+
#### Documentation
|
|
125
|
+
|
|
126
|
+
* Fix role string in low-level IAM Policy JSON example
|
|
127
|
+
* Update low-level IAM Policy class description and sample code
|
|
128
|
+
|
|
129
|
+
### 0.6.1 / 2019-09-05
|
|
130
|
+
|
|
131
|
+
#### Features
|
|
132
|
+
|
|
133
|
+
* Add IAM to low-level API client
|
|
134
|
+
* Add BigtableTableAdminClient#get_iam_policy
|
|
135
|
+
* Add BigtableTableAdminClient#set_iam_policy
|
|
136
|
+
* Add BigtableTableAdminClient#test_iam_permissions
|
|
137
|
+
|
|
138
|
+
#### Documentation
|
|
139
|
+
|
|
140
|
+
* Update low-level IAM documentation
|
|
141
|
+
* Update GetPolicyOption#requested_policy_version docs
|
|
142
|
+
* Un-deprecate Policy#version
|
|
143
|
+
|
|
144
|
+
### 0.6.0 / 2019-08-23
|
|
145
|
+
|
|
146
|
+
#### Features
|
|
147
|
+
|
|
148
|
+
* Support overriding of the service endpoint
|
|
149
|
+
|
|
150
|
+
#### Documentation
|
|
151
|
+
|
|
152
|
+
* Update documentation
|
|
153
|
+
|
|
154
|
+
### 0.5.0 / 2019-08-05
|
|
155
|
+
|
|
156
|
+
* Accept nil gc_rule arguments for column_family create/update
|
|
157
|
+
* Update documentation
|
|
158
|
+
|
|
159
|
+
### 0.4.3 / 2019-07-12
|
|
160
|
+
|
|
161
|
+
* Update #to_hash to #to_h for compatibility with google-protobuf >= 3.9.0
|
|
162
|
+
|
|
163
|
+
### 0.4.2 / 2019-07-09
|
|
164
|
+
|
|
165
|
+
* Add IAM GetPolicyOptions in the lower-level interface.
|
|
166
|
+
* Custom metadata headers are honored by long running operations calls.
|
|
167
|
+
* Support overriding service host and port in the lower-level interface.
|
|
168
|
+
|
|
169
|
+
### 0.4.1 / 2019-06-11
|
|
170
|
+
|
|
171
|
+
* Enable grpc.service_config_disable_resolution
|
|
172
|
+
* Add VERSION constant
|
|
173
|
+
|
|
174
|
+
### 0.4.0 / 2019-05-21
|
|
175
|
+
|
|
176
|
+
* Add Google::Cloud::Bigtable::VERSION
|
|
177
|
+
* Set gRPC headers to allow maximum message size
|
|
178
|
+
* Fix errors in code sample documentation
|
|
179
|
+
|
|
180
|
+
### 0.3.1 / 2019-04-29
|
|
181
|
+
|
|
182
|
+
* Add AUTHENTICATION.md guide.
|
|
183
|
+
* Update generated documentation.
|
|
184
|
+
* Update generated code examples.
|
|
185
|
+
* Extract gRPC header values from request.
|
|
186
|
+
|
|
187
|
+
### 0.3.0 / 2019-02-01
|
|
188
|
+
|
|
189
|
+
* Move library to Beta.
|
|
190
|
+
* Make use of Credentials#project_id
|
|
191
|
+
* Use Credentials#project_id
|
|
192
|
+
If a project_id is not provided, use the value on the Credentials object.
|
|
193
|
+
This value was added in googleauth 0.7.0.
|
|
194
|
+
* Loosen googleauth dependency
|
|
195
|
+
Allow for new releases up to 0.10.
|
|
196
|
+
The googleauth devs have committed to maintaining the current API
|
|
197
|
+
and will not make backwards compatible changes before 0.10.
|
|
198
|
+
|
|
199
|
+
### 0.2.0 / 2018-11-15
|
|
200
|
+
|
|
201
|
+
* Update network configuration.
|
|
202
|
+
* Allow the emulator host to be provided in the BIGTABLE_EMULATOR_HOST
|
|
203
|
+
environment variable, or the emulator_host argument.
|
|
204
|
+
* Add EMULATOR guide to show how to configure and use the emulator.
|
|
205
|
+
* Update documentation.
|
|
206
|
+
|
|
207
|
+
### 0.1.3 / 2018-09-20
|
|
208
|
+
|
|
209
|
+
* Update connectivity configuration.
|
|
210
|
+
* Update documentation.
|
|
211
|
+
* Change documentation URL to googleapis GitHub org.
|
|
212
|
+
|
|
213
|
+
### 0.1.2 / 2018-09-12
|
|
214
|
+
|
|
215
|
+
* Add missing documentation files to package.
|
|
216
|
+
|
|
217
|
+
### 0.1.1 / 2018-09-10
|
|
218
|
+
|
|
219
|
+
* Update documentation.
|
|
220
|
+
|
|
221
|
+
### 0.1.0 / 2018-08-16
|
|
222
|
+
|
|
223
|
+
* Initial release
|
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Contributor Code of Conduct
|
|
2
|
+
|
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
|
7
|
+
|
|
8
|
+
We are committed to making participation in this project a harassment-free
|
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
|
12
|
+
|
|
13
|
+
Examples of unacceptable behavior by participants include:
|
|
14
|
+
|
|
15
|
+
* The use of sexualized language or imagery
|
|
16
|
+
* Personal attacks
|
|
17
|
+
* Trolling or insulting/derogatory comments
|
|
18
|
+
* Public or private harassment
|
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
|
20
|
+
addresses, without explicit permission
|
|
21
|
+
* Other unethical or unprofessional conduct.
|
|
22
|
+
|
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or reject
|
|
24
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
25
|
+
not aligned to this Code of Conduct. By adopting this Code of Conduct, project
|
|
26
|
+
maintainers commit themselves to fairly and consistently applying these
|
|
27
|
+
principles to every aspect of managing this project. Project maintainers who do
|
|
28
|
+
not follow or enforce the Code of Conduct may be permanently removed from the
|
|
29
|
+
project team.
|
|
30
|
+
|
|
31
|
+
This code of conduct applies both within project spaces and in public spaces
|
|
32
|
+
when an individual is representing the project or its community.
|
|
33
|
+
|
|
34
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
35
|
+
reported by opening an issue or contacting one or more of the project
|
|
36
|
+
maintainers.
|
|
37
|
+
|
|
38
|
+
This Code of Conduct is adapted from the [Contributor
|
|
39
|
+
Covenant](http://contributor-covenant.org), version 1.2.0, available at
|
|
40
|
+
[http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
|