google-cloud-dialogflow-v2 0.8.1 → 0.9.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/v2/agents/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/participant_pb.rb +9 -0
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +6 -6
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +3 -3
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +6 -6
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +3 -3
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +22 -0
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +4 -0
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c86303c78008f5bef3bdb05cb9214795febe9436b9fb21a6d2076d0e442e0c23
|
4
|
+
data.tar.gz: 91f7a758f57bc62416f8fadfbf5b9917f3ca5fd2c811a66a056a2a341f69b24d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29aaac78018fbb70e182d7ef1de6a1e12735a97d80f4e482b677fa66f3a6716219630dc91f1cbcff27b15e25ed59efbed930aa454571f1b0bb4776ec1d044597
|
7
|
+
data.tar.gz: 8aa2712581dc4af4affa5d1ad9786726907c6369bed35b396e15efe50c0feef36f7c9617468fed24dfccabfee505f28eb1e14a011cca9f4670acde6c4632a658
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -9,6 +9,7 @@ require 'google/api/field_behavior_pb'
|
|
9
9
|
require 'google/api/resource_pb'
|
10
10
|
require 'google/cloud/dialogflow/v2/audio_config_pb'
|
11
11
|
require 'google/cloud/dialogflow/v2/session_pb'
|
12
|
+
require 'google/protobuf/any_pb'
|
12
13
|
require 'google/protobuf/duration_pb'
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
14
15
|
require 'google/protobuf/struct_pb'
|
@@ -104,6 +105,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
104
105
|
end
|
105
106
|
add_message "google.cloud.dialogflow.v2.AutomatedAgentReply" do
|
106
107
|
optional :detect_intent_response, :message, 1, "google.cloud.dialogflow.v2.DetectIntentResponse"
|
108
|
+
optional :automated_agent_reply_type, :enum, 7, "google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType"
|
109
|
+
optional :allow_cancellation, :bool, 8
|
110
|
+
end
|
111
|
+
add_enum "google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType" do
|
112
|
+
value :AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED, 0
|
113
|
+
value :PARTIAL, 1
|
114
|
+
value :FINAL, 2
|
107
115
|
end
|
108
116
|
add_message "google.cloud.dialogflow.v2.ArticleAnswer" do
|
109
117
|
optional :title, :string, 1
|
@@ -161,6 +169,7 @@ module Google
|
|
161
169
|
SuggestFaqAnswersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SuggestFaqAnswersResponse").msgclass
|
162
170
|
OutputAudio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.OutputAudio").msgclass
|
163
171
|
AutomatedAgentReply = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AutomatedAgentReply").msgclass
|
172
|
+
AutomatedAgentReply::AutomatedAgentReplyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType").enummodule
|
164
173
|
ArticleAnswer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ArticleAnswer").msgclass
|
165
174
|
FaqAnswer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.FaqAnswer").msgclass
|
166
175
|
SuggestionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SuggestionResult").msgclass
|
@@ -68,17 +68,17 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config.rpcs.analyze_content.timeout = 220.0
|
77
77
|
default_config.rpcs.analyze_content.retry_policy = {
|
78
78
|
initial_delay: 0.1,
|
79
|
-
|
80
|
-
|
81
|
-
|
79
|
+
max_delay: 60.0,
|
80
|
+
multiplier: 1.3,
|
81
|
+
retry_codes: [14]
|
82
82
|
}
|
83
83
|
|
84
84
|
default_config
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -57,6 +57,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
57
57
|
optional :action, :string, 3
|
58
58
|
optional :parameters, :message, 4, "google.protobuf.Struct"
|
59
59
|
optional :all_required_params_present, :bool, 5
|
60
|
+
optional :cancels_slot_filling, :bool, 21
|
60
61
|
optional :fulfillment_text, :string, 6
|
61
62
|
repeated :fulfillment_messages, :message, 7, "google.cloud.dialogflow.v2.Intent.Message"
|
62
63
|
optional :webhook_source, :string, 8
|
@@ -71,17 +71,17 @@ module Google
|
|
71
71
|
default_config.timeout = 60.0
|
72
72
|
default_config.retry_policy = {
|
73
73
|
initial_delay: 0.1,
|
74
|
-
|
75
|
-
|
76
|
-
|
74
|
+
max_delay: 60.0,
|
75
|
+
multiplier: 1.3,
|
76
|
+
retry_codes: [14]
|
77
77
|
}
|
78
78
|
|
79
79
|
default_config.rpcs.detect_intent.timeout = 220.0
|
80
80
|
default_config.rpcs.detect_intent.retry_policy = {
|
81
81
|
initial_delay: 0.1,
|
82
|
-
|
83
|
-
|
84
|
-
|
82
|
+
max_delay: 60.0,
|
83
|
+
multiplier: 1.3,
|
84
|
+
retry_codes: [14]
|
85
85
|
}
|
86
86
|
|
87
87
|
default_config.rpcs.streaming_detect_intent.timeout = 220.0
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 60.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -353,9 +353,31 @@ module Google
|
|
353
353
|
# @!attribute [rw] detect_intent_response
|
354
354
|
# @return [::Google::Cloud::Dialogflow::V2::DetectIntentResponse]
|
355
355
|
# Response of the Dialogflow {::Google::Cloud::Dialogflow::V2::Sessions::Client#detect_intent Sessions.DetectIntent} call.
|
356
|
+
# @!attribute [rw] automated_agent_reply_type
|
357
|
+
# @return [::Google::Cloud::Dialogflow::V2::AutomatedAgentReply::AutomatedAgentReplyType]
|
358
|
+
# AutomatedAgentReply type.
|
359
|
+
# @!attribute [rw] allow_cancellation
|
360
|
+
# @return [::Boolean]
|
361
|
+
# Indicates whether the partial automated agent reply is interruptible when a
|
362
|
+
# later reply message arrives. e.g. if the agent specified some music as
|
363
|
+
# partial response, it can be cancelled.
|
356
364
|
class AutomatedAgentReply
|
357
365
|
include ::Google::Protobuf::MessageExts
|
358
366
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
367
|
+
|
368
|
+
# Represents different automated agent reply types.
|
369
|
+
module AutomatedAgentReplyType
|
370
|
+
# Not specified. This should never happen.
|
371
|
+
AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED = 0
|
372
|
+
|
373
|
+
# Partial reply. e.g. Aggregated responses in a `Fulfillment` that enables
|
374
|
+
# `return_partial_response` can be returned as partial reply.
|
375
|
+
# WARNING: partial reply is not eligible for barge-in.
|
376
|
+
PARTIAL = 1
|
377
|
+
|
378
|
+
# Final reply.
|
379
|
+
FINAL = 2
|
380
|
+
end
|
359
381
|
end
|
360
382
|
|
361
383
|
# Represents article answer.
|
@@ -248,6 +248,10 @@ module Google
|
|
248
248
|
# the required parameter values have been collected.
|
249
249
|
# - `true` if all required parameter values have been collected, or if the
|
250
250
|
# matched intent doesn't contain any required parameters.
|
251
|
+
# @!attribute [rw] cancels_slot_filling
|
252
|
+
# @return [::Boolean]
|
253
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
254
|
+
# filling.
|
251
255
|
# @!attribute [rw] fulfillment_text
|
252
256
|
# @return [::String]
|
253
257
|
# The text to be pronounced to the user or shown on the screen.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.5'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.5'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|