google-cloud-spanner-admin-instance-v1 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94f98f409b1071e21bbfe28cc543468a6e927d6eb039395d9e9fb67736850da6
|
4
|
+
data.tar.gz: 9919fab35591b31fb7a379cfdefb3b4ff6c0e3bc31cbe8250acdc544583bd654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb58d7254e7d4fa8e018517d58745475a43bd7b3846eb651a89b15f75a5baba665cd29ff6e617a2ff25ac2dbc585ac28a2e68642462145312cb10f5a594d0f5b
|
7
|
+
data.tar.gz: 239c7dc10e0104817663da1a5c8918f0fed41ddc53174f92c77bca7ddccb666454f9dca3fcf3ac189f172987b4958f207a21deabcf3ac39d8c192316297b3479
|
data/AUTHENTICATION.md
CHANGED
@@ -19,7 +19,7 @@ during development.
|
|
19
19
|
2. Set the [environment variable](#environment-variables).
|
20
20
|
|
21
21
|
```sh
|
22
|
-
export
|
22
|
+
export SPANNER_CREDENTIALS=path/to/keyfile.json
|
23
23
|
```
|
24
24
|
|
25
25
|
3. Initialize the client.
|
@@ -66,8 +66,8 @@ The environment variables that google-cloud-spanner-admin-instance-v1
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Credentials}):
|
68
68
|
|
69
|
-
1. `
|
70
|
-
2. `
|
69
|
+
1. `SPANNER_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
2. `SPANNER_KEYFILE` - Path to JSON file, or JSON contents
|
71
71
|
3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
72
|
4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
73
|
5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
@@ -75,7 +75,7 @@ checks for credentials are configured on the service Credentials class (such as
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/spanner/admin/instance/v1"
|
77
77
|
|
78
|
-
ENV["
|
78
|
+
ENV["SPANNER_CREDENTIALS"] = "path/to/keyfile.json"
|
79
79
|
|
80
80
|
client = ::Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Client.new
|
81
81
|
```
|
@@ -32,13 +32,13 @@ module Google
|
|
32
32
|
"https://www.googleapis.com/auth/spanner.admin"
|
33
33
|
]
|
34
34
|
self.env_vars = [
|
35
|
-
"
|
36
|
-
"
|
35
|
+
"SPANNER_CREDENTIALS",
|
36
|
+
"SPANNER_KEYFILE",
|
37
37
|
"GOOGLE_CLOUD_CREDENTIALS",
|
38
38
|
"GOOGLE_CLOUD_KEYFILE",
|
39
39
|
"GCLOUD_KEYFILE",
|
40
|
-
"
|
41
|
-
"
|
40
|
+
"SPANNER_CREDENTIALS_JSON",
|
41
|
+
"SPANNER_KEYFILE_JSON",
|
42
42
|
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
43
43
|
"GOOGLE_CLOUD_KEYFILE_JSON",
|
44
44
|
"GCLOUD_KEYFILE_JSON"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-spanner-admin-instance-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|