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: 0a7bacdabfa597b432bc3cadd935585d797282c320079cbcafbd7a25ab7624e6
4
- data.tar.gz: a957362d085f8cc3b62878b6c98e974f671996bf48ef1a81b7ecc4a1577931c6
3
+ metadata.gz: c57d4c2eb9b0e3dbf96c040d833eb85379d3884fa53f588463d6ef1f7f4bee4c
4
+ data.tar.gz: c0c227d8cb32884f7bb2e084e473140f28a4a76b822d4d5b2b05df0a7e4c222a
5
5
  SHA512:
6
- metadata.gz: 2ea0c6eb8e116912680fa36c7df2ed6eb50c1ebbcef9cd12b093ad1392f732db1502e1d9b97319c1b72d86f86294e64b8c96593de99fee74a228998540ca705f
7
- data.tar.gz: b0f534ac856b837479fc79bef1b9469d7197cc6ea3ec1e0692d226ecbd739cdd50cce08bfe845bc7f2100630fd66c546210f2536de5370c92f54b4c2ed7a7fb8
6
+ metadata.gz: 057db553a1ac47805f75234b874d9abf2c66d19cc25a3724c4ebc361bb9046133afbc68930b2e7a51d17a7f4b2fa7f58515c33674ee7a94b0e10858c5e3c3480
7
+ data.tar.gz: 985ef9ad1ea46274d5bde33faa8d1d5f034d0389a081e3c2efec858cc4428a3838fad50e37a0e65f8b26a5e3b8bb19e3739728eb313aa94b086b50d87a962a8b
data/README.md CHANGED
@@ -69,6 +69,11 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
79
  This library is supported on Ruby 2.5+.
@@ -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
  ##
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Datastream
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -19,4 +19,3 @@
19
19
  # This gem does not autoload during Bundler.require. To load this gem,
20
20
  # issue explicit require statements for the packages desired, e.g.:
21
21
  # require "google/cloud/datastream/v1"
22
- # require "google/cloud/location"
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.1.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-05 00:00:00.000000000 Z
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