google-cloud-redis-v1beta1 0.4.1 → 0.5.0

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: 553a0f7f1e2117bd82578e3e8d363395629bf45a29e0ad4e316d719d7a1d01f1
4
- data.tar.gz: '009e1403adcb687a0ce7455263d7bb7ca1672dcd6a5b7709d08f92f949e5a890'
3
+ metadata.gz: 1105f4624b4b93ab6c2f859320dd1b37a97a6f69fba13737b1f3bee7cff2d426
4
+ data.tar.gz: 35192cf9f1e9545ac9a55bfce4be0d57bf3c9a0ef55fde0234aa1e29c8752382
5
5
  SHA512:
6
- metadata.gz: 54095d60cdf139f32aeb4115e29127e1b8aeb78011007ea9a8f246ebf84e83f95ca296e14b549c85087fd56ddf8b1d28e48be1a2c727b80d415fdde8f3f4f6b7
7
- data.tar.gz: f20ea0fa977d32f684e6a029197f2bdb48bc746742ab608b3066711d0e219b4f79014d9ec17cfc7165ba5bb5afc10fc48fc01508da18bbf92fa5ed64cf16b1a5
6
+ metadata.gz: 4d547d83d8c0c64eab6b6e43a83924ad5e128bf9996f419cdf8165e23cf07d8b58e1a55708df99e5741330a9f7ca1ce20296c588b124732b2645d5ad82967909
7
+ data.tar.gz: c4a33f65bf851cb44aa844bf148b3d8ca96d95c712d04850f4bce09fc3eb780852ead08e3fdbea3e9320d34774bbc2354d01dc8561f5cff16a8024d470444e88
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-redis-v1beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Redis::V1beta1::CloudRedis::Credentials}):
68
68
 
69
- 1. `REDIS_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `REDIS_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `REDIS_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `REDIS_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/redis/v1beta1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Redis::V1beta1::CloudRedis::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
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/redis/v1beta1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Redis::V1beta1::CloudRedis::Client.new do |config|
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/redis/v1beta1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/redis/v1beta1"
34
34
 
35
35
  client = ::Google::Cloud::Redis::V1beta1::CloudRedis::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Redis::V1beta1::ListInstancesRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_instances request
38
38
  ```
39
39