google-cloud-dialogflow 1.3.4 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dialogflow/version.rb +1 -1
- data/lib/google/cloud/dialogflow.rb +63 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74d87e0f9f4a6d82b295ac0d20f574725ebe3847c8a91daedfc0388874fd2de1
|
4
|
+
data.tar.gz: 0160c9dd199cfd9308dacba5307393762bec613b0511b71469b9b470c8ea7742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 052a346c633cb0cfa49906c12939412b92a89a6c28ef9f56f5444cffa60d4da041b0c51eccaa52574b0d96af76bd96af8f9f0004b39ed3d6cff086310a374b95
|
7
|
+
data.tar.gz: 91675e1875e0f872546f7ccfd009247d9b9e4560f679a8a693a10c776ef42cff70d03a1cfd634275499cf7243e09e4d917310fd79cbb03e6ad848893da0f2198
|
data/README.md
CHANGED
@@ -11,7 +11,7 @@ verisoned gems in as dependencies, and provides high-level methods for
|
|
11
11
|
constructing clients. More information on versioned clients can be found below
|
12
12
|
in the section titled *Which client should I use?*.
|
13
13
|
|
14
|
-
View the [Client Library Documentation](https://
|
14
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-dialogflow/latest)
|
15
15
|
for this library, google-cloud-dialogflow, to see the convenience methods for
|
16
16
|
constructing client objects. Reference documentation for the client objects
|
17
17
|
themselves can be found in the client library documentation for the versioned
|
@@ -317,6 +317,69 @@ module Google
|
|
317
317
|
package_module.const_get(:Conversations).const_get(:Client).new(&block)
|
318
318
|
end
|
319
319
|
|
320
|
+
##
|
321
|
+
# Create a new client object for ConversationDatasets.
|
322
|
+
#
|
323
|
+
# By default, this returns an instance of
|
324
|
+
# [Google::Cloud::Dialogflow::V2::ConversationDatasets::Client](https://googleapis.dev/ruby/google-cloud-dialogflow-v2/latest/Google/Cloud/Dialogflow/V2/ConversationDatasets/Client.html)
|
325
|
+
# for version V2 of the API.
|
326
|
+
# However, you can specify specify a different API version by passing it in the
|
327
|
+
# `version` parameter. If the ConversationDatasets service is
|
328
|
+
# supported by that API version, and the corresponding gem is available, the
|
329
|
+
# appropriate versioned client will be returned.
|
330
|
+
#
|
331
|
+
# ## About ConversationDatasets
|
332
|
+
#
|
333
|
+
# Conversation datasets.
|
334
|
+
#
|
335
|
+
# Conversation datasets contain raw conversation files and their
|
336
|
+
# customizable metadata that can be used for model training.
|
337
|
+
#
|
338
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
339
|
+
# Defaults to `:v2`.
|
340
|
+
# @return [ConversationDatasets::Client] A client object for the specified version.
|
341
|
+
#
|
342
|
+
def self.conversation_datasets version: :v2, &block
|
343
|
+
require "google/cloud/dialogflow/#{version.to_s.downcase}"
|
344
|
+
|
345
|
+
package_name = Google::Cloud::Dialogflow
|
346
|
+
.constants
|
347
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
348
|
+
.first
|
349
|
+
package_module = Google::Cloud::Dialogflow.const_get package_name
|
350
|
+
package_module.const_get(:ConversationDatasets).const_get(:Client).new(&block)
|
351
|
+
end
|
352
|
+
|
353
|
+
##
|
354
|
+
# Create a new client object for ConversationModels.
|
355
|
+
#
|
356
|
+
# By default, this returns an instance of
|
357
|
+
# [Google::Cloud::Dialogflow::V2::ConversationModels::Client](https://googleapis.dev/ruby/google-cloud-dialogflow-v2/latest/Google/Cloud/Dialogflow/V2/ConversationModels/Client.html)
|
358
|
+
# for version V2 of the API.
|
359
|
+
# However, you can specify specify a different API version by passing it in the
|
360
|
+
# `version` parameter. If the ConversationModels service is
|
361
|
+
# supported by that API version, and the corresponding gem is available, the
|
362
|
+
# appropriate versioned client will be returned.
|
363
|
+
#
|
364
|
+
# ## About ConversationModels
|
365
|
+
#
|
366
|
+
# Manages a collection of models for human agent assistant.
|
367
|
+
#
|
368
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
369
|
+
# Defaults to `:v2`.
|
370
|
+
# @return [ConversationModels::Client] A client object for the specified version.
|
371
|
+
#
|
372
|
+
def self.conversation_models version: :v2, &block
|
373
|
+
require "google/cloud/dialogflow/#{version.to_s.downcase}"
|
374
|
+
|
375
|
+
package_name = Google::Cloud::Dialogflow
|
376
|
+
.constants
|
377
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
378
|
+
.first
|
379
|
+
package_module = Google::Cloud::Dialogflow.const_get package_name
|
380
|
+
package_module.const_get(:ConversationModels).const_get(:Client).new(&block)
|
381
|
+
end
|
382
|
+
|
320
383
|
##
|
321
384
|
# Create a new client object for ConversationProfiles.
|
322
385
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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-
|
11
|
+
date: 2022-05-03 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.15'
|
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.15'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 2.a
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
- !ruby/object:Gem::Version
|
195
195
|
version: '0'
|
196
196
|
requirements: []
|
197
|
-
rubygems_version: 3.3.
|
197
|
+
rubygems_version: 3.3.5
|
198
198
|
signing_key:
|
199
199
|
specification_version: 4
|
200
200
|
summary: API Client library for the Dialogflow API
|