google-cloud-spanner-admin-database-v1 0.7.0 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +3 -3
- data/README.md +3 -3
- data/lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb +472 -104
- data/lib/google/cloud/spanner/admin/database/v1/database_admin/operations.rb +148 -36
- data/lib/google/cloud/spanner/admin/database/v1/version.rb +1 -1
- data/lib/google/spanner/admin/database/v1/backup_pb.rb +2 -2
- data/lib/google/spanner/admin/database/v1/common_pb.rb +2 -2
- data/lib/google/spanner/admin/database/v1/spanner_database_admin_pb.rb +2 -2
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/type/expr.rb +35 -12
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7850a1030f9dc1f0b3a33740017a9e604c1703a83d3d44535f0511aa788aab52
|
4
|
+
data.tar.gz: 1d23ea38d3052035f60789383cb3e27bbfd86abe07ef7d467071cc6127a64c1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 506f8c559aa0a749bbe2e1f6697d56271403c407055a9f9b7c07880133028c4023087559f2d0acedb1080b859448f0ee375ecbf931af95a45bf3769148132c8f
|
7
|
+
data.tar.gz: 6da0f55b46a7550ff59d9626a354cf49e3e8e2ea0777012bea3d9d3e7f1494f8486f04335f76c3068130135e367f207fb8698a967f631e63a5a7260ec2d87340
|
data/AUTHENTICATION.md
CHANGED
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.ne
|
|
82
82
|
|
83
83
|
### Configuration
|
84
84
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
86
|
-
environment
|
85
|
+
The path to the **Credentials JSON** file can be configured instead of storing
|
86
|
+
it in an environment variable. Either on an individual client initialization:
|
87
87
|
|
88
88
|
```ruby
|
89
89
|
require "google/cloud/spanner/admin/database/v1"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.ne
|
|
93
93
|
end
|
94
94
|
```
|
95
95
|
|
96
|
-
Or
|
96
|
+
Or globally for all clients:
|
97
97
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/spanner/admin/database/v1"
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ https://github.com/googleapis/google-cloud-ruby
|
|
9
9
|
This gem is a _versioned_ client. It provides basic client classes for a
|
10
10
|
specific version of the Cloud Spanner Database Admin V1 API. Most users should consider using
|
11
11
|
the main client gem,
|
12
|
-
[google-cloud-spanner
|
12
|
+
[google-cloud-spanner](https://rubygems.org/gems/google-cloud-spanner).
|
13
13
|
See the section below titled *Which client should I use?* for more information.
|
14
14
|
|
15
15
|
## Installation
|
@@ -83,7 +83,7 @@ about the Ruby support schedule.
|
|
83
83
|
## Which client should I use?
|
84
84
|
|
85
85
|
Most modern Ruby client libraries for Google APIs come in two flavors: the main
|
86
|
-
client library with a name such as `google-cloud-spanner
|
86
|
+
client library with a name such as `google-cloud-spanner`,
|
87
87
|
and lower-level _versioned_ client libraries with names such as
|
88
88
|
`google-cloud-spanner-admin-database-v1`.
|
89
89
|
_In most cases, you should install the main client._
|
@@ -110,7 +110,7 @@ service version.
|
|
110
110
|
|
111
111
|
We recommend that most users install the main client gem for a service. You can
|
112
112
|
identify this gem as the one _without_ a version in its name, e.g.
|
113
|
-
`google-cloud-spanner
|
113
|
+
`google-cloud-spanner`.
|
114
114
|
The main client is recommended because it will embody the best practices for
|
115
115
|
accessing the service, and may also provide more convenient interfaces or
|
116
116
|
tighter integration into frameworks and third-party libraries. In addition, the
|