google-cloud-dialogflow-cx 0.1.0 → 0.2.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: ea262e1f2c5e1921bef735c8f4bf6f66c09d9700bddf78c37fafaf1b439c78ff
4
- data.tar.gz: 8e2bd1b8d3d112c2a7f751cb4eccfe83fa612b21c6fc84a95cd480639d433f21
3
+ metadata.gz: 1cc25239827c25c48f9e9c845885e743d9b524ec1055f11f55b807250791cf56
4
+ data.tar.gz: a07d5d4e2b0b56dbb9c451f72ea0bde088cf0e91d7a4167f39768bbc5c848fed
5
5
  SHA512:
6
- metadata.gz: 81b92e1f124f3bd91ab9c39c5f90ae7e756387d6d9051bac734c2f0a68f02144e35b5f7c1e01304148345ea8369cbfe2b10967a342c2c71adfa4ad050ae5df38
7
- data.tar.gz: a5b4dbe9d81f5b123ed38577957af4d34cd53eb51c643c084ed51faaa49c39c7cc9e5e91c1570ac6b47bb27e8f13bde4de4c0c57637252e9665bfad04c983012
6
+ metadata.gz: a745266205e101479f16187bde7561c8df54b53c6320c704ca2a4c9de5e9a9240f76ebbd6fc47129e6274cbdb1f0f710e767400e137cd47c4f636fdcceb025d7
7
+ data.tar.gz: a218a42750e8eea9fa7c963b31d978aaba167c215fb8b03685ff270013f2c1ac22c16cfa2e6ea2c4dac89352506f30a1cde1aa5d0919ebf4c1e0793014f12870
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module CX
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -165,6 +165,66 @@ module Google
165
165
  package_module.const_get(:Agents).const_get(:Client).new(&block)
166
166
  end
167
167
 
168
+ ##
169
+ # Create a new client object for Changelogs.
170
+ #
171
+ # By default, this returns an instance of
172
+ # [Google::Cloud::Dialogflow::CX::V3::Changelogs::Client](https://googleapis.dev/ruby/google-cloud-dialogflow-cx-v3/latest/Google/Cloud/Dialogflow/CX/V3/Changelogs/Client.html)
173
+ # for version V3 of the API.
174
+ # However, you can specify specify a different API version by passing it in the
175
+ # `version` parameter. If the Changelogs service is
176
+ # supported by that API version, and the corresponding gem is available, the
177
+ # appropriate versioned client will be returned.
178
+ #
179
+ # ## About Changelogs
180
+ #
181
+ # Service for managing Changelogs.
182
+ #
183
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
184
+ # Defaults to `:v3`.
185
+ # @return [Changelogs::Client] A client object for the specified version.
186
+ #
187
+ def self.changelogs version: :v3, &block
188
+ require "google/cloud/dialogflow/cx/#{version.to_s.downcase}"
189
+
190
+ package_name = Google::Cloud::Dialogflow::CX
191
+ .constants
192
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
193
+ .first
194
+ package_module = Google::Cloud::Dialogflow::CX.const_get package_name
195
+ package_module.const_get(:Changelogs).const_get(:Client).new(&block)
196
+ end
197
+
198
+ ##
199
+ # Create a new client object for Deployments.
200
+ #
201
+ # By default, this returns an instance of
202
+ # [Google::Cloud::Dialogflow::CX::V3::Deployments::Client](https://googleapis.dev/ruby/google-cloud-dialogflow-cx-v3/latest/Google/Cloud/Dialogflow/CX/V3/Deployments/Client.html)
203
+ # for version V3 of the API.
204
+ # However, you can specify specify a different API version by passing it in the
205
+ # `version` parameter. If the Deployments service is
206
+ # supported by that API version, and the corresponding gem is available, the
207
+ # appropriate versioned client will be returned.
208
+ #
209
+ # ## About Deployments
210
+ #
211
+ # Service for managing Deployments.
212
+ #
213
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
214
+ # Defaults to `:v3`.
215
+ # @return [Deployments::Client] A client object for the specified version.
216
+ #
217
+ def self.deployments version: :v3, &block
218
+ require "google/cloud/dialogflow/cx/#{version.to_s.downcase}"
219
+
220
+ package_name = Google::Cloud::Dialogflow::CX
221
+ .constants
222
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
223
+ .first
224
+ package_module = Google::Cloud::Dialogflow::CX.const_get package_name
225
+ package_module.const_get(:Deployments).const_get(:Client).new(&block)
226
+ end
227
+
168
228
  ##
169
229
  # Create a new client object for EntityTypes.
170
230
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-cx
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: 2021-08-23 00:00:00.000000000 Z
11
+ date: 2021-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.0'
33
+ version: '0.3'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 2.a
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '0.0'
43
+ version: '0.3'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.a