google-cloud-memorystore-v1beta 0.10.0 → 0.12.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: fcd7c27b47f951aa5150e28bd2f887664274f1bb560811eacd4aeddca41d6ad2
4
- data.tar.gz: 242eabff548cb51669323a59cf4899ad7099d72ea96767c65fb07473046d74bc
3
+ metadata.gz: 18a4038dbdb3e2293d615a8cd8be5ede20529902a91dba051ffce9cb44c20af8
4
+ data.tar.gz: dd700a7d0d7b90bb7e36f22ed7e1103cb0705af7ba4b2fa1b69ad2184499de9c
5
5
  SHA512:
6
- metadata.gz: 2168683db8f35295c5401ba3ce26a985489ec083f23c4c0b71ff9b0c808e3f49198cdad9aa33872dff7c137b4f63a8ebf998f7ce79f0e9461472cffd1c22dd9b
7
- data.tar.gz: 59c56e84ec4ef5ccf128df974b1f384ab8859c8cc112e6665d9f9b15dd5634f9f38516bd8c3118cb555800be10fd4e6e358b5e0b1b07fed948523ba2af4cc192
6
+ metadata.gz: d967e6309fc7085f411b989eaddd2d2dd8d275f20d9f7750f7bab5b7ae82d92b9c3d1342245b04000ee895967831560fa1229ac263d0863d27c74545c3aa9cc0
7
+ data.tar.gz: ed264d329cdd28b4057bd64c8c58cc2bcb82b5aee843e5c5b37e0f093f926d9461da7c18a899e8d988d0eaf2c0789131d0fe732ee03238dc87d7db5031108571
data/AUTHENTICATION.md CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
56
56
  ```ruby
57
57
  require "google/cloud/memorystore/v1beta"
58
58
 
59
- client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Rest::Client.new do |config|
59
+ client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Client.new do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
66
66
  ```ruby
67
67
  require "google/cloud/memorystore/v1beta"
68
68
 
69
- ::Google::Cloud::Memorystore::V1beta::Memorystore::Rest::Client.configure do |config|
69
+ ::Google::Cloud::Memorystore::V1beta::Memorystore::Client.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Rest::Client.new
73
+ client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Client.new
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -100,7 +100,7 @@ require "google/cloud/memorystore/v1beta"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Rest::Client.new
103
+ client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Client.new
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -32,7 +32,7 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/memorystore/v1beta"
34
34
 
35
- client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Rest::Client.new
35
+ client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Client.new
36
36
  request = ::Google::Cloud::Memorystore::V1beta::ListInstancesRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_instances request
38
38
  ```
@@ -75,7 +75,7 @@ constructing a client object. For example:
75
75
  require "google/cloud/memorystore/v1beta"
76
76
  require "logger"
77
77
 
78
- client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Rest::Client.new do |config|
78
+ client = ::Google::Cloud::Memorystore::V1beta::Memorystore::Client.new do |config|
79
79
  config.logger = Logger.new "my-app.log"
80
80
  end
81
81
  ```