google-cloud-dialogflow-cx-v3 0.15.1 → 0.16.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/v3/agents/client.rb +5 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +5 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +22 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +1 -0
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +19 -3
- data/proto_docs/google/cloud/dialogflow/cx/v3/gcs.rb +2 -4
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +80 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +6 -3
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eb011c9d6fcc019cf4e76acdcb936e0edb2c2609e8a2f149deeee6fe67c2869
|
4
|
+
data.tar.gz: 130abfc5557f7cefa783919cb1dd9b283261c3bcc60b28423e170786743894d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c06488fa809f12d64bd5c75d5e7a036df125edb36e5c8ff9debfe1f08048a52f8aa5b33c6d641d6430d1cb3e8721af26fa3243a04e92605ab8e281e3fa9b6444
|
7
|
+
data.tar.gz: 2fdf24c6c1b2e273c9c232ba62fbadd7cee1ab8fd57f8e60a1cb17d2e445e58d8cb3eff123870a388ae68a837f3f7461a7613e54b824780f4c7c7d3aab1e240f
|
@@ -71,6 +71,11 @@ module Google
|
|
71
71
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
72
72
|
}
|
73
73
|
|
74
|
+
default_config.rpcs.create_agent.timeout = 180.0
|
75
|
+
default_config.rpcs.create_agent.retry_policy = {
|
76
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
77
|
+
}
|
78
|
+
|
74
79
|
default_config
|
75
80
|
end
|
76
81
|
yield @configure if block_given?
|
@@ -73,6 +73,11 @@ module Google
|
|
73
73
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
74
74
|
}
|
75
75
|
|
76
|
+
default_config.rpcs.create_agent.timeout = 180.0
|
77
|
+
default_config.rpcs.create_agent.retry_policy = {
|
78
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
79
|
+
}
|
80
|
+
|
76
81
|
default_config
|
77
82
|
end
|
78
83
|
yield @configure if block_given?
|
@@ -44,8 +44,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
44
44
|
optional :query_input, :message, 3, "google.cloud.dialogflow.cx.v3.QueryInput"
|
45
45
|
optional :output_audio_config, :message, 4, "google.cloud.dialogflow.cx.v3.OutputAudioConfig"
|
46
46
|
optional :enable_partial_response, :bool, 5
|
47
|
+
optional :enable_debugging_info, :bool, 8
|
48
|
+
end
|
49
|
+
add_message "google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo" do
|
50
|
+
optional :audio_data_chunks, :int32, 1
|
51
|
+
optional :result_end_time_offset, :message, 2, "google.protobuf.Duration"
|
52
|
+
optional :first_audio_duration, :message, 3, "google.protobuf.Duration"
|
53
|
+
optional :single_utterance, :bool, 5
|
54
|
+
repeated :speech_partial_results_end_times, :message, 6, "google.protobuf.Duration"
|
55
|
+
repeated :speech_final_results_end_times, :message, 7, "google.protobuf.Duration"
|
56
|
+
optional :partial_responses, :int32, 8
|
57
|
+
optional :speaker_id_passive_latency_ms_offset, :int32, 9
|
58
|
+
optional :bargein_event_triggered, :bool, 10
|
59
|
+
optional :speech_single_utterance, :bool, 11
|
60
|
+
repeated :dtmf_partial_results_times, :message, 12, "google.protobuf.Duration"
|
61
|
+
repeated :dtmf_final_results_times, :message, 13, "google.protobuf.Duration"
|
62
|
+
optional :single_utterance_end_time_offset, :message, 14, "google.protobuf.Duration"
|
63
|
+
optional :no_speech_timeout, :message, 15, "google.protobuf.Duration"
|
64
|
+
optional :is_input_text, :bool, 16
|
65
|
+
optional :client_half_close_time_offset, :message, 17, "google.protobuf.Duration"
|
66
|
+
optional :client_half_close_streaming_time_offset, :message, 18, "google.protobuf.Duration"
|
47
67
|
end
|
48
68
|
add_message "google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse" do
|
69
|
+
optional :debugging_info, :message, 4, "google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo"
|
49
70
|
oneof :response do
|
50
71
|
optional :recognition_result, :message, 1, "google.cloud.dialogflow.cx.v3.StreamingRecognitionResult"
|
51
72
|
optional :detect_intent_response, :message, 2, "google.cloud.dialogflow.cx.v3.DetectIntentResponse"
|
@@ -186,6 +207,7 @@ module Google
|
|
186
207
|
DetectIntentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DetectIntentResponse").msgclass
|
187
208
|
DetectIntentResponse::ResponseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DetectIntentResponse.ResponseType").enummodule
|
188
209
|
StreamingDetectIntentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest").msgclass
|
210
|
+
CloudConversationDebuggingInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo").msgclass
|
189
211
|
StreamingDetectIntentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse").msgclass
|
190
212
|
StreamingRecognitionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.StreamingRecognitionResult").msgclass
|
191
213
|
StreamingRecognitionResult::MessageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.MessageType").enummodule
|
@@ -73,6 +73,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
73
73
|
value :PAGE, 2
|
74
74
|
value :PARAMETERS, 3
|
75
75
|
value :UTTERANCE, 4
|
76
|
+
value :FLOW, 5
|
76
77
|
end
|
77
78
|
add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage" do
|
78
79
|
repeated :transitions, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition"
|
@@ -75,6 +75,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
75
75
|
optional :trigger_intent, :string, 11
|
76
76
|
optional :transcript, :string, 12
|
77
77
|
optional :trigger_event, :string, 14
|
78
|
+
optional :dtmf_digits, :string, 17
|
78
79
|
end
|
79
80
|
end
|
80
81
|
add_message "google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo" do
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -257,7 +257,7 @@ module Google
|
|
257
257
|
# @!attribute [rw] agent_uri
|
258
258
|
# @return [::String]
|
259
259
|
# The URI to a file containing the exported agent. This field is populated
|
260
|
-
#
|
260
|
+
# if `agent_uri` is specified in
|
261
261
|
# {::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest ExportAgentRequest}.
|
262
262
|
# @!attribute [rw] agent_content
|
263
263
|
# @return [::String]
|
@@ -90,6 +90,12 @@ module Google
|
|
90
90
|
# [Cloud Speech API
|
91
91
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)
|
92
92
|
# for more details.
|
93
|
+
# If you specify a model, the following models typically have the best
|
94
|
+
# performance:
|
95
|
+
#
|
96
|
+
# - phone_call (best for Agent Assist and telephony)
|
97
|
+
# - latest_short (best for Dialogflow non-telephony)
|
98
|
+
# - command_and_search (best for very short utterances and commands)
|
93
99
|
# @!attribute [rw] model_variant
|
94
100
|
# @return [::Google::Cloud::Dialogflow::CX::V3::SpeechModelVariant]
|
95
101
|
# Optional. Which variant of the [Speech
|
@@ -185,12 +191,22 @@ module Google
|
|
185
191
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
186
192
|
end
|
187
193
|
|
188
|
-
# Settings related to speech
|
194
|
+
# Settings related to speech synthesizing.
|
189
195
|
# @!attribute [rw] synthesize_speech_configs
|
190
196
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::SynthesizeSpeechConfig}]
|
191
|
-
# Configuration of how speech should be synthesized, mapping from
|
192
|
-
#
|
197
|
+
# Configuration of how speech should be synthesized, mapping from language
|
198
|
+
# (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
|
193
199
|
# SynthesizeSpeechConfig.
|
200
|
+
#
|
201
|
+
# These settings affect:
|
202
|
+
#
|
203
|
+
# - The synthesize configuration used in [phone
|
204
|
+
# gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway).
|
205
|
+
#
|
206
|
+
# - You no longer need to specify
|
207
|
+
# {::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig#synthesize_speech_config OutputAudioConfig.synthesize_speech_config}
|
208
|
+
# when invoking API calls. Your agent will use the pre-configured options
|
209
|
+
# for speech synthesizing.
|
194
210
|
class TextToSpeechSettings
|
195
211
|
include ::Google::Protobuf::MessageExts
|
196
212
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -27,10 +27,8 @@ module Google
|
|
27
27
|
# @!attribute [rw] uri
|
28
28
|
# @return [::String]
|
29
29
|
# Required. The Google Cloud Storage URI for the exported objects. A URI is
|
30
|
-
# of the form:
|
31
|
-
#
|
32
|
-
# Whether a full object name, or just a prefix, its usage depends on the
|
33
|
-
# Dialogflow operation.
|
30
|
+
# of the form: `gs://bucket/object-name-or-prefix` Whether a full object
|
31
|
+
# name, or just a prefix, its usage depends on the Dialogflow operation.
|
34
32
|
class GcsDestination
|
35
33
|
include ::Google::Protobuf::MessageExts
|
36
34
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -173,11 +173,82 @@ module Google
|
|
173
173
|
# response stream still contains only one final `DetectIntentResponse` even
|
174
174
|
# if some `Fulfillment`s in the agent have been configured to return partial
|
175
175
|
# responses.
|
176
|
+
# @!attribute [rw] enable_debugging_info
|
177
|
+
# @return [::Boolean]
|
178
|
+
# If true, `StreamingDetectIntentResponse.debugging_info` will get populated.
|
176
179
|
class StreamingDetectIntentRequest
|
177
180
|
include ::Google::Protobuf::MessageExts
|
178
181
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
179
182
|
end
|
180
183
|
|
184
|
+
# Cloud conversation info for easier debugging.
|
185
|
+
# It will get populated in `StreamingDetectIntentResponse` or
|
186
|
+
# `StreamingAnalyzeContentResponse` when the flag `enable_debugging_info` is
|
187
|
+
# set to true in corresponding requests.
|
188
|
+
# @!attribute [rw] audio_data_chunks
|
189
|
+
# @return [::Integer]
|
190
|
+
# Number of input audio data chunks in streaming requests.
|
191
|
+
# @!attribute [rw] result_end_time_offset
|
192
|
+
# @return [::Google::Protobuf::Duration]
|
193
|
+
# Time offset of the end of speech utterance relative to the
|
194
|
+
# beginning of the first audio chunk.
|
195
|
+
# @!attribute [rw] first_audio_duration
|
196
|
+
# @return [::Google::Protobuf::Duration]
|
197
|
+
# Duration of first audio chunk.
|
198
|
+
# @!attribute [rw] single_utterance
|
199
|
+
# @return [::Boolean]
|
200
|
+
# Whether client used single utterance mode.
|
201
|
+
# @!attribute [rw] speech_partial_results_end_times
|
202
|
+
# @return [::Array<::Google::Protobuf::Duration>]
|
203
|
+
# Time offsets of the speech partial results relative to the beginning of
|
204
|
+
# the stream.
|
205
|
+
# @!attribute [rw] speech_final_results_end_times
|
206
|
+
# @return [::Array<::Google::Protobuf::Duration>]
|
207
|
+
# Time offsets of the speech final results (is_final=true) relative to the
|
208
|
+
# beginning of the stream.
|
209
|
+
# @!attribute [rw] partial_responses
|
210
|
+
# @return [::Integer]
|
211
|
+
# Total number of partial responses.
|
212
|
+
# @!attribute [rw] speaker_id_passive_latency_ms_offset
|
213
|
+
# @return [::Integer]
|
214
|
+
# Time offset of Speaker ID stream close time relative to the Speech stream
|
215
|
+
# close time in milliseconds. Only meaningful for conversations involving
|
216
|
+
# passive verification.
|
217
|
+
# @!attribute [rw] bargein_event_triggered
|
218
|
+
# @return [::Boolean]
|
219
|
+
# Whether a barge-in event is triggered in this request.
|
220
|
+
# @!attribute [rw] speech_single_utterance
|
221
|
+
# @return [::Boolean]
|
222
|
+
# Whether speech uses single utterance mode.
|
223
|
+
# @!attribute [rw] dtmf_partial_results_times
|
224
|
+
# @return [::Array<::Google::Protobuf::Duration>]
|
225
|
+
# Time offsets of the DTMF partial results relative to the beginning of
|
226
|
+
# the stream.
|
227
|
+
# @!attribute [rw] dtmf_final_results_times
|
228
|
+
# @return [::Array<::Google::Protobuf::Duration>]
|
229
|
+
# Time offsets of the DTMF final results relative to the beginning of
|
230
|
+
# the stream.
|
231
|
+
# @!attribute [rw] single_utterance_end_time_offset
|
232
|
+
# @return [::Google::Protobuf::Duration]
|
233
|
+
# Time offset of the end-of-single-utterance signal relative to the
|
234
|
+
# beginning of the stream.
|
235
|
+
# @!attribute [rw] no_speech_timeout
|
236
|
+
# @return [::Google::Protobuf::Duration]
|
237
|
+
# No speech timeout settings observed at runtime.
|
238
|
+
# @!attribute [rw] is_input_text
|
239
|
+
# @return [::Boolean]
|
240
|
+
# Whether the streaming terminates with an injected text query.
|
241
|
+
# @!attribute [rw] client_half_close_time_offset
|
242
|
+
# @return [::Google::Protobuf::Duration]
|
243
|
+
# Client half close time in terms of input audio duration.
|
244
|
+
# @!attribute [rw] client_half_close_streaming_time_offset
|
245
|
+
# @return [::Google::Protobuf::Duration]
|
246
|
+
# Client half close time in terms of API streaming duration.
|
247
|
+
class CloudConversationDebuggingInfo
|
248
|
+
include ::Google::Protobuf::MessageExts
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
|
+
end
|
251
|
+
|
181
252
|
# The top-level message returned from the
|
182
253
|
# {::Google::Cloud::Dialogflow::CX::V3::Sessions::Client#streaming_detect_intent StreamingDetectIntent}
|
183
254
|
# method.
|
@@ -212,6 +283,10 @@ module Google
|
|
212
283
|
# @!attribute [rw] detect_intent_response
|
213
284
|
# @return [::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse]
|
214
285
|
# The response from detect intent.
|
286
|
+
# @!attribute [rw] debugging_info
|
287
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::CloudConversationDebuggingInfo]
|
288
|
+
# Debugging info that would get populated when
|
289
|
+
# `StreamingDetectIntentRequest.enable_debugging_info` is set to true.
|
215
290
|
class StreamingDetectIntentResponse
|
216
291
|
include ::Google::Protobuf::MessageExts
|
217
292
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -455,6 +530,8 @@ module Google
|
|
455
530
|
# 3. Natural language speech audio to be processed.
|
456
531
|
#
|
457
532
|
# 4. An event to be triggered.
|
533
|
+
#
|
534
|
+
# 5. DTMF digits to invoke an intent and fill in parameter value.
|
458
535
|
# @!attribute [rw] text
|
459
536
|
# @return [::Google::Cloud::Dialogflow::CX::V3::TextInput]
|
460
537
|
# The natural language text to be processed.
|
@@ -503,8 +580,9 @@ module Google
|
|
503
580
|
# input, this field will contain the name of the event.
|
504
581
|
# @!attribute [rw] dtmf
|
505
582
|
# @return [::Google::Cloud::Dialogflow::CX::V3::DtmfInput]
|
506
|
-
# If a
|
507
|
-
# a copy of the
|
583
|
+
# If a {::Google::Cloud::Dialogflow::CX::V3::DtmfInput DTMF} was provided as
|
584
|
+
# input, this field will contain a copy of the
|
585
|
+
# {::Google::Cloud::Dialogflow::CX::V3::DtmfInput DtmfInput}.
|
508
586
|
# @!attribute [rw] language_code
|
509
587
|
# @return [::String]
|
510
588
|
# The language that was triggered during intent detection.
|
@@ -213,6 +213,9 @@ module Google
|
|
213
213
|
|
214
214
|
# The message utterance.
|
215
215
|
UTTERANCE = 4
|
216
|
+
|
217
|
+
# The flow.
|
218
|
+
FLOW = 5
|
216
219
|
end
|
217
220
|
end
|
218
221
|
|
@@ -255,7 +258,7 @@ module Google
|
|
255
258
|
# The end node of a transition.
|
256
259
|
# @!attribute [rw] covered
|
257
260
|
# @return [::Boolean]
|
258
|
-
# Whether
|
261
|
+
# Whether the transition is covered by at least one of the
|
259
262
|
# agent's test cases.
|
260
263
|
# @!attribute [rw] transition_route
|
261
264
|
# @return [::Google::Cloud::Dialogflow::CX::V3::TransitionRoute]
|
@@ -304,7 +307,7 @@ module Google
|
|
304
307
|
# Intent route or condition route.
|
305
308
|
# @!attribute [rw] covered
|
306
309
|
# @return [::Boolean]
|
307
|
-
# Whether
|
310
|
+
# Whether the transition route is covered by at least one of the
|
308
311
|
# agent's test cases.
|
309
312
|
class Transition
|
310
313
|
include ::Google::Protobuf::MessageExts
|
@@ -331,7 +334,7 @@ module Google
|
|
331
334
|
# The intent full resource name
|
332
335
|
# @!attribute [rw] covered
|
333
336
|
# @return [::Boolean]
|
334
|
-
# Whether
|
337
|
+
# Whether the intent is covered by at least one of the agent's
|
335
338
|
# test cases.
|
336
339
|
class Intent
|
337
340
|
include ::Google::Protobuf::MessageExts
|
@@ -245,6 +245,10 @@ module Google
|
|
245
245
|
# @return [::String]
|
246
246
|
# If an {::Google::Cloud::Dialogflow::CX::V3::EventInput event} was provided as
|
247
247
|
# input, this field will contain the name of the event.
|
248
|
+
# @!attribute [rw] dtmf_digits
|
249
|
+
# @return [::String]
|
250
|
+
# If {::Google::Cloud::Dialogflow::CX::V3::DtmfInput DTMF} was provided as input,
|
251
|
+
# this field will contain the DTMF digits.
|
248
252
|
# @!attribute [rw] language_code
|
249
253
|
# @return [::String]
|
250
254
|
# The language code specified in the [original
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-cx-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.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: 2023-
|
11
|
+
date: 2023-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|