google-cloud-redis 2.0.2 → 2.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4a6108b0dcf208c0b5eec73c464cfa33e5d1fb884ac3a1c532cb721bcf2f1f0
4
- data.tar.gz: adeb323c0f94558fa499cb39d7196e38e38f23664ae1c78a043504e898ef32c2
3
+ metadata.gz: '0760190c8d855010080a7d77d1b4537b3ff25c6d337071c944164f2f3058227f'
4
+ data.tar.gz: ddef32f4952096076550559359207eb172ad064156c477e223f9fcad4c529cf8
5
5
  SHA512:
6
- metadata.gz: 762419915bf2b2aa48f6d615b6938922d4ca23b165c6726401e8c7c45d01924da9e1ca8c1c1b510601ee4d7d9a4d3a65ae5e914e61d0f9a67278fb935bc571a8
7
- data.tar.gz: d0a4e4c7857833230998ef9597f48be48d55847c29d8e37d2045673c1d3a2a0dba404a2276dfef4254532a0fa5c2d48c49fce2980be07262d3fa798a7fdbad0a
6
+ metadata.gz: e215ce4287a4d18c9c7f29ee45598f479760ed316e5791eab275c9339cf0bf8b1bfea09b02344febf7c437e25ee938d8818ac07f551687a199d467f776a5939b
7
+ data.tar.gz: 8ca4b528703abd757a3f7e6eaa7b76daa43019e1c93cbf8dcb5c1a41a92901f488a2549aa7d6932daff2c60f37925006c04bef1a1a1d0bb35f6b01521dbc12d5
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/redis.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/redis"
39
+
40
+ client = Google::Cloud::Redis.cloud_redis
41
+ request = ::Google::Cloud::Redis::V1::ListInstancesRequest.new # (request fields as keyword arguments...)
42
+ response = client.list_instances request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Redis
23
- VERSION = "2.0.2"
23
+ VERSION = "2.1.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -61,7 +61,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: '3.0'
64
+ version: '3.2'
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="