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 +4 -4
- data/lib/google/cloud/dialogflow/cx/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx.rb +60 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cc25239827c25c48f9e9c845885e743d9b524ec1055f11f55b807250791cf56
|
4
|
+
data.tar.gz: a07d5d4e2b0b56dbb9c451f72ea0bde088cf0e91d7a4167f39768bbc5c848fed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a745266205e101479f16187bde7561c8df54b53c6320c704ca2a4c9de5e9a9240f76ebbd6fc47129e6274cbdb1f0f710e767400e137cd47c4f636fdcceb025d7
|
7
|
+
data.tar.gz: a218a42750e8eea9fa7c963b31d978aaba167c215fb8b03685ff270013f2c1ac22c16cfa2e6ea2c4dac89352506f30a1cde1aa5d0919ebf4c1e0793014f12870
|
@@ -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.
|
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-
|
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.
|
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.
|
43
|
+
version: '0.3'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 2.a
|