google-cloud-datastream-v1 0.1.0 → 0.2.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c57d4c2eb9b0e3dbf96c040d833eb85379d3884fa53f588463d6ef1f7f4bee4c
|
|
4
|
+
data.tar.gz: c0c227d8cb32884f7bb2e084e473140f28a4a76b822d4d5b2b05df0a7e4c222a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 057db553a1ac47805f75234b874d9abf2c66d19cc25a3724c4ebc361bb9046133afbc68930b2e7a51d17a7f4b2fa7f58515c33674ee7a94b0e10858c5e3c3480
|
|
7
|
+
data.tar.gz: 985ef9ad1ea46274d5bde33faa8d1d5f034d0389a081e3c2efec858cc4428a3838fad50e37a0e65f8b26a5e3b8bb19e3739728eb313aa94b086b50d87a962a8b
|
data/README.md
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
require "google/cloud/errors"
|
|
20
20
|
require "google/cloud/datastream/v1/datastream_pb"
|
|
21
|
+
require "google/cloud/location"
|
|
21
22
|
|
|
22
23
|
module Google
|
|
23
24
|
module Cloud
|
|
@@ -164,6 +165,12 @@ module Google
|
|
|
164
165
|
config.endpoint = @config.endpoint
|
|
165
166
|
end
|
|
166
167
|
|
|
168
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
169
|
+
config.credentials = credentials
|
|
170
|
+
config.quota_project = @quota_project_id
|
|
171
|
+
config.endpoint = @config.endpoint
|
|
172
|
+
end
|
|
173
|
+
|
|
167
174
|
@datastream_stub = ::Gapic::ServiceStub.new(
|
|
168
175
|
::Google::Cloud::Datastream::V1::Datastream::Stub,
|
|
169
176
|
credentials: credentials,
|
|
@@ -180,6 +187,13 @@ module Google
|
|
|
180
187
|
#
|
|
181
188
|
attr_reader :operations_client
|
|
182
189
|
|
|
190
|
+
##
|
|
191
|
+
# Get the associated client for mix-in of the Locations.
|
|
192
|
+
#
|
|
193
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
|
194
|
+
#
|
|
195
|
+
attr_reader :location_client
|
|
196
|
+
|
|
183
197
|
# Service calls
|
|
184
198
|
|
|
185
199
|
##
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-datastream-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-05-
|
|
11
|
+
date: 2022-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -44,6 +44,26 @@ dependencies:
|
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '1.0'
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: google-cloud-location
|
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0.0'
|
|
54
|
+
- - "<"
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
version: 2.a
|
|
57
|
+
type: :runtime
|
|
58
|
+
prerelease: false
|
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
60
|
+
requirements:
|
|
61
|
+
- - ">="
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
version: '0.0'
|
|
64
|
+
- - "<"
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: 2.a
|
|
47
67
|
- !ruby/object:Gem::Dependency
|
|
48
68
|
name: google-style
|
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|