google-cloud-dialogflow-cx-v3 0.12.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +2 -0
  4. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +3 -0
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +12 -14
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +12 -14
  7. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +4 -0
  8. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +4 -6
  9. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +4 -6
  10. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +4 -6
  11. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +1 -0
  12. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +28 -34
  13. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +12 -14
  14. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +4 -6
  15. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +1 -0
  16. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +16 -18
  17. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +12 -14
  18. data/lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb +26 -0
  19. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +4 -6
  20. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +4 -6
  21. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +4 -6
  22. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +4 -6
  23. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +1 -0
  24. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +10 -8
  25. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +24 -28
  26. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +12 -14
  27. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +4 -6
  28. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  29. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +1 -0
  30. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +12 -14
  31. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +12 -14
  32. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +4 -6
  33. data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +7 -0
  34. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +4 -0
  35. data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +20 -0
  36. data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +2 -2
  37. data/proto_docs/google/cloud/dialogflow/cx/v3/gcs.rb +42 -0
  38. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +3 -0
  39. metadata +12 -9
@@ -224,13 +224,11 @@ module Google
224
224
  # # Call the list_intents method.
225
225
  # result = client.list_intents request
226
226
  #
227
- # # The returned object is of type Gapic::PagedEnumerable. You can
228
- # # iterate over all elements by calling #each, and the enumerable
229
- # # will lazily make API calls to fetch subsequent pages. Other
230
- # # methods are also available for managing paging directly.
231
- # result.each do |response|
227
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
228
+ # # over elements, and API calls will be issued to fetch pages as needed.
229
+ # result.each do |item|
232
230
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::Intent.
233
- # p response
231
+ # p item
234
232
  # end
235
233
  #
236
234
  def list_intents request, options = nil
@@ -234,13 +234,11 @@ module Google
234
234
  # # Call the list_pages method.
235
235
  # result = client.list_pages request
236
236
  #
237
- # # The returned object is of type Gapic::PagedEnumerable. You can
238
- # # iterate over all elements by calling #each, and the enumerable
239
- # # will lazily make API calls to fetch subsequent pages. Other
240
- # # methods are also available for managing paging directly.
241
- # result.each do |response|
237
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
238
+ # # over elements, and API calls will be issued to fetch pages as needed.
239
+ # result.each do |item|
242
240
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::Page.
243
- # p response
241
+ # p item
244
242
  # end
245
243
  #
246
244
  def list_pages request, options = nil
@@ -479,13 +479,11 @@ module Google
479
479
  # # Call the list_security_settings method.
480
480
  # result = client.list_security_settings request
481
481
  #
482
- # # The returned object is of type Gapic::PagedEnumerable. You can
483
- # # iterate over all elements by calling #each, and the enumerable
484
- # # will lazily make API calls to fetch subsequent pages. Other
485
- # # methods are also available for managing paging directly.
486
- # result.each do |response|
482
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
483
+ # # over elements, and API calls will be issued to fetch pages as needed.
484
+ # result.each do |item|
487
485
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::SecuritySettings.
488
- # p response
486
+ # p item
489
487
  # end
490
488
  #
491
489
  def list_security_settings request, options = nil
@@ -216,13 +216,11 @@ module Google
216
216
  # # Call the list_session_entity_types method.
217
217
  # result = client.list_session_entity_types request
218
218
  #
219
- # # The returned object is of type Gapic::PagedEnumerable. You can
220
- # # iterate over all elements by calling #each, and the enumerable
221
- # # will lazily make API calls to fetch subsequent pages. Other
222
- # # methods are also available for managing paging directly.
223
- # result.each do |response|
219
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
220
+ # # over elements, and API calls will be issued to fetch pages as needed.
221
+ # result.each do |item|
224
222
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::SessionEntityType.
225
- # p response
223
+ # p item
226
224
  # end
227
225
  #
228
226
  def list_session_entity_types request, options = nil
@@ -147,6 +147,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
147
147
  optional :session, :string, 1
148
148
  optional :query_params, :message, 2, "google.cloud.dialogflow.cx.v3.QueryParameters"
149
149
  optional :query_input, :message, 3, "google.cloud.dialogflow.cx.v3.QueryInput"
150
+ optional :persist_parameter_changes, :bool, 5
150
151
  end
151
152
  add_message "google.cloud.dialogflow.cx.v3.MatchIntentResponse" do
152
153
  repeated :matches, :message, 4, "google.cloud.dialogflow.cx.v3.Match"
@@ -315,22 +315,22 @@ module Google
315
315
  # # Create a client object. The client can be reused for multiple calls.
316
316
  # client = Google::Cloud::Dialogflow::CX::V3::Sessions::Client.new
317
317
  #
318
- # # Create an input stream
318
+ # # Create an input stream.
319
319
  # input = Gapic::StreamInput.new
320
320
  #
321
321
  # # Call the streaming_detect_intent method to start streaming.
322
322
  # output = client.streaming_detect_intent input
323
323
  #
324
- # # Send requests on the stream. For each request, pass in keyword
325
- # # arguments to set fields. Be sure to close the stream when done.
324
+ # # Send requests on the stream. For each request object, set fields by
325
+ # # passing keyword arguments. Be sure to close the stream when done.
326
326
  # input << Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentRequest.new
327
327
  # input << Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentRequest.new
328
328
  # input.close
329
329
  #
330
- # # Handle streamed responses. These may be interleaved with inputs.
331
- # # Each response is of type ::Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentResponse.
332
- # output.each do |response|
333
- # p response
330
+ # # The returned object is a streamed enumerable yielding elements of type
331
+ # # ::Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentResponse
332
+ # output.each do |current_response|
333
+ # p current_response
334
334
  # end
335
335
  #
336
336
  def streaming_detect_intent request, options = nil
@@ -385,7 +385,7 @@ module Google
385
385
  # @param options [::Gapic::CallOptions, ::Hash]
386
386
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
387
387
  #
388
- # @overload match_intent(session: nil, query_params: nil, query_input: nil)
388
+ # @overload match_intent(session: nil, query_params: nil, query_input: nil, persist_parameter_changes: nil)
389
389
  # Pass arguments to `match_intent` via keyword arguments. Note that at
390
390
  # least one keyword argument is required. To specify no parameters, or to keep all
391
391
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -407,6 +407,8 @@ module Google
407
407
  # The parameters of this query.
408
408
  # @param query_input [::Google::Cloud::Dialogflow::CX::V3::QueryInput, ::Hash]
409
409
  # Required. The input specification.
410
+ # @param persist_parameter_changes [::Boolean]
411
+ # Persist session parameter changes from `query_params`.
410
412
  #
411
413
  # @yield [response, operation] Access the result along with the RPC operation
412
414
  # @yieldparam response [::Google::Cloud::Dialogflow::CX::V3::MatchIntentResponse]
@@ -228,13 +228,11 @@ module Google
228
228
  # # Call the list_test_cases method.
229
229
  # result = client.list_test_cases request
230
230
  #
231
- # # The returned object is of type Gapic::PagedEnumerable. You can
232
- # # iterate over all elements by calling #each, and the enumerable
233
- # # will lazily make API calls to fetch subsequent pages. Other
234
- # # methods are also available for managing paging directly.
235
- # result.each do |response|
231
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
232
+ # # over elements, and API calls will be issued to fetch pages as needed.
233
+ # result.each do |item|
236
234
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::TestCase.
237
- # p response
235
+ # p item
238
236
  # end
239
237
  #
240
238
  def list_test_cases request, options = nil
@@ -688,14 +686,14 @@ module Google
688
686
  # # Call the run_test_case method.
689
687
  # result = client.run_test_case request
690
688
  #
691
- # # The returned object is of type Gapic::Operation. You can use this
692
- # # object to check the status of an operation, cancel it, or wait
693
- # # for results. Here is how to block until completion:
689
+ # # The returned object is of type Gapic::Operation. You can use it to
690
+ # # check the status of an operation, cancel it, or wait for results.
691
+ # # Here is how to wait for a response.
694
692
  # result.wait_until_done! timeout: 60
695
693
  # if result.response?
696
694
  # p result.response
697
695
  # else
698
- # puts "Error!"
696
+ # puts "No response received."
699
697
  # end
700
698
  #
701
699
  def run_test_case request, options = nil
@@ -798,14 +796,14 @@ module Google
798
796
  # # Call the batch_run_test_cases method.
799
797
  # result = client.batch_run_test_cases request
800
798
  #
801
- # # The returned object is of type Gapic::Operation. You can use this
802
- # # object to check the status of an operation, cancel it, or wait
803
- # # for results. Here is how to block until completion:
799
+ # # The returned object is of type Gapic::Operation. You can use it to
800
+ # # check the status of an operation, cancel it, or wait for results.
801
+ # # Here is how to wait for a response.
804
802
  # result.wait_until_done! timeout: 60
805
803
  # if result.response?
806
804
  # p result.response
807
805
  # else
808
- # puts "Error!"
806
+ # puts "No response received."
809
807
  # end
810
808
  #
811
809
  def batch_run_test_cases request, options = nil
@@ -1003,14 +1001,14 @@ module Google
1003
1001
  # # Call the import_test_cases method.
1004
1002
  # result = client.import_test_cases request
1005
1003
  #
1006
- # # The returned object is of type Gapic::Operation. You can use this
1007
- # # object to check the status of an operation, cancel it, or wait
1008
- # # for results. Here is how to block until completion:
1004
+ # # The returned object is of type Gapic::Operation. You can use it to
1005
+ # # check the status of an operation, cancel it, or wait for results.
1006
+ # # Here is how to wait for a response.
1009
1007
  # result.wait_until_done! timeout: 60
1010
1008
  # if result.response?
1011
1009
  # p result.response
1012
1010
  # else
1013
- # puts "Error!"
1011
+ # puts "No response received."
1014
1012
  # end
1015
1013
  #
1016
1014
  def import_test_cases request, options = nil
@@ -1132,14 +1130,14 @@ module Google
1132
1130
  # # Call the export_test_cases method.
1133
1131
  # result = client.export_test_cases request
1134
1132
  #
1135
- # # The returned object is of type Gapic::Operation. You can use this
1136
- # # object to check the status of an operation, cancel it, or wait
1137
- # # for results. Here is how to block until completion:
1133
+ # # The returned object is of type Gapic::Operation. You can use it to
1134
+ # # check the status of an operation, cancel it, or wait for results.
1135
+ # # Here is how to wait for a response.
1138
1136
  # result.wait_until_done! timeout: 60
1139
1137
  # if result.response?
1140
1138
  # p result.response
1141
1139
  # else
1142
- # puts "Error!"
1140
+ # puts "No response received."
1143
1141
  # end
1144
1142
  #
1145
1143
  def export_test_cases request, options = nil
@@ -1258,13 +1256,11 @@ module Google
1258
1256
  # # Call the list_test_case_results method.
1259
1257
  # result = client.list_test_case_results request
1260
1258
  #
1261
- # # The returned object is of type Gapic::PagedEnumerable. You can
1262
- # # iterate over all elements by calling #each, and the enumerable
1263
- # # will lazily make API calls to fetch subsequent pages. Other
1264
- # # methods are also available for managing paging directly.
1265
- # result.each do |response|
1259
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1260
+ # # over elements, and API calls will be issued to fetch pages as needed.
1261
+ # result.each do |item|
1266
1262
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::TestCaseResult.
1267
- # p response
1263
+ # p item
1268
1264
  # end
1269
1265
  #
1270
1266
  def list_test_case_results request, options = nil
@@ -159,13 +159,11 @@ module Google
159
159
  # # Call the list_operations method.
160
160
  # result = client.list_operations request
161
161
  #
162
- # # The returned object is of type Gapic::PagedEnumerable. You can
163
- # # iterate over all elements by calling #each, and the enumerable
164
- # # will lazily make API calls to fetch subsequent pages. Other
165
- # # methods are also available for managing paging directly.
166
- # result.each do |response|
162
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
163
+ # # over elements, and API calls will be issued to fetch pages as needed.
164
+ # result.each do |item|
167
165
  # # Each element is of type ::Google::Longrunning::Operation.
168
- # p response
166
+ # p item
169
167
  # end
170
168
  #
171
169
  def list_operations request, options = nil
@@ -254,14 +252,14 @@ module Google
254
252
  # # Call the get_operation method.
255
253
  # result = client.get_operation request
256
254
  #
257
- # # The returned object is of type Gapic::Operation. You can use this
258
- # # object to check the status of an operation, cancel it, or wait
259
- # # for results. Here is how to block until completion:
255
+ # # The returned object is of type Gapic::Operation. You can use it to
256
+ # # check the status of an operation, cancel it, or wait for results.
257
+ # # Here is how to wait for a response.
260
258
  # result.wait_until_done! timeout: 60
261
259
  # if result.response?
262
260
  # p result.response
263
261
  # else
264
- # puts "Error!"
262
+ # puts "No response received."
265
263
  # end
266
264
  #
267
265
  def get_operation request, options = nil
@@ -541,14 +539,14 @@ module Google
541
539
  # # Call the wait_operation method.
542
540
  # result = client.wait_operation request
543
541
  #
544
- # # The returned object is of type Gapic::Operation. You can use this
545
- # # object to check the status of an operation, cancel it, or wait
546
- # # for results. Here is how to block until completion:
542
+ # # The returned object is of type Gapic::Operation. You can use it to
543
+ # # check the status of an operation, cancel it, or wait for results.
544
+ # # Here is how to wait for a response.
547
545
  # result.wait_until_done! timeout: 60
548
546
  # if result.response?
549
547
  # p result.response
550
548
  # else
551
- # puts "Error!"
549
+ # puts "No response received."
552
550
  # end
553
551
  #
554
552
  def wait_operation request, options = nil
@@ -227,13 +227,11 @@ module Google
227
227
  # # Call the list_transition_route_groups method.
228
228
  # result = client.list_transition_route_groups request
229
229
  #
230
- # # The returned object is of type Gapic::PagedEnumerable. You can
231
- # # iterate over all elements by calling #each, and the enumerable
232
- # # will lazily make API calls to fetch subsequent pages. Other
233
- # # methods are also available for managing paging directly.
234
- # result.each do |response|
230
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
231
+ # # over elements, and API calls will be issued to fetch pages as needed.
232
+ # result.each do |item|
235
233
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup.
236
- # p response
234
+ # p item
237
235
  # end
238
236
  #
239
237
  def list_transition_route_groups request, options = nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- VERSION = "0.12.0"
25
+ VERSION = "0.14.0"
26
26
  end
27
27
  end
28
28
  end
@@ -11,6 +11,7 @@ require 'google/cloud/dialogflow/cx/v3/flow_pb'
11
11
  require 'google/longrunning/operations_pb'
12
12
  require 'google/protobuf/empty_pb'
13
13
  require 'google/protobuf/field_mask_pb'
14
+ require 'google/protobuf/struct_pb'
14
15
  require 'google/protobuf/timestamp_pb'
15
16
 
16
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -226,13 +226,11 @@ module Google
226
226
  # # Call the list_versions method.
227
227
  # result = client.list_versions request
228
228
  #
229
- # # The returned object is of type Gapic::PagedEnumerable. You can
230
- # # iterate over all elements by calling #each, and the enumerable
231
- # # will lazily make API calls to fetch subsequent pages. Other
232
- # # methods are also available for managing paging directly.
233
- # result.each do |response|
229
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
230
+ # # over elements, and API calls will be issued to fetch pages as needed.
231
+ # result.each do |item|
234
232
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::Version.
235
- # p response
233
+ # p item
236
234
  # end
237
235
  #
238
236
  def list_versions request, options = nil
@@ -419,14 +417,14 @@ module Google
419
417
  # # Call the create_version method.
420
418
  # result = client.create_version request
421
419
  #
422
- # # The returned object is of type Gapic::Operation. You can use this
423
- # # object to check the status of an operation, cancel it, or wait
424
- # # for results. Here is how to block until completion:
420
+ # # The returned object is of type Gapic::Operation. You can use it to
421
+ # # check the status of an operation, cancel it, or wait for results.
422
+ # # Here is how to wait for a response.
425
423
  # result.wait_until_done! timeout: 60
426
424
  # if result.response?
427
425
  # p result.response
428
426
  # else
429
- # puts "Error!"
427
+ # puts "No response received."
430
428
  # end
431
429
  #
432
430
  def create_version request, options = nil
@@ -703,14 +701,14 @@ module Google
703
701
  # # Call the load_version method.
704
702
  # result = client.load_version request
705
703
  #
706
- # # The returned object is of type Gapic::Operation. You can use this
707
- # # object to check the status of an operation, cancel it, or wait
708
- # # for results. Here is how to block until completion:
704
+ # # The returned object is of type Gapic::Operation. You can use it to
705
+ # # check the status of an operation, cancel it, or wait for results.
706
+ # # Here is how to wait for a response.
709
707
  # result.wait_until_done! timeout: 60
710
708
  # if result.response?
711
709
  # p result.response
712
710
  # else
713
- # puts "Error!"
711
+ # puts "No response received."
714
712
  # end
715
713
  #
716
714
  def load_version request, options = nil
@@ -159,13 +159,11 @@ module Google
159
159
  # # Call the list_operations method.
160
160
  # result = client.list_operations request
161
161
  #
162
- # # The returned object is of type Gapic::PagedEnumerable. You can
163
- # # iterate over all elements by calling #each, and the enumerable
164
- # # will lazily make API calls to fetch subsequent pages. Other
165
- # # methods are also available for managing paging directly.
166
- # result.each do |response|
162
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
163
+ # # over elements, and API calls will be issued to fetch pages as needed.
164
+ # result.each do |item|
167
165
  # # Each element is of type ::Google::Longrunning::Operation.
168
- # p response
166
+ # p item
169
167
  # end
170
168
  #
171
169
  def list_operations request, options = nil
@@ -254,14 +252,14 @@ module Google
254
252
  # # Call the get_operation method.
255
253
  # result = client.get_operation request
256
254
  #
257
- # # The returned object is of type Gapic::Operation. You can use this
258
- # # object to check the status of an operation, cancel it, or wait
259
- # # for results. Here is how to block until completion:
255
+ # # The returned object is of type Gapic::Operation. You can use it to
256
+ # # check the status of an operation, cancel it, or wait for results.
257
+ # # Here is how to wait for a response.
260
258
  # result.wait_until_done! timeout: 60
261
259
  # if result.response?
262
260
  # p result.response
263
261
  # else
264
- # puts "Error!"
262
+ # puts "No response received."
265
263
  # end
266
264
  #
267
265
  def get_operation request, options = nil
@@ -541,14 +539,14 @@ module Google
541
539
  # # Call the wait_operation method.
542
540
  # result = client.wait_operation request
543
541
  #
544
- # # The returned object is of type Gapic::Operation. You can use this
545
- # # object to check the status of an operation, cancel it, or wait
546
- # # for results. Here is how to block until completion:
542
+ # # The returned object is of type Gapic::Operation. You can use it to
543
+ # # check the status of an operation, cancel it, or wait for results.
544
+ # # Here is how to wait for a response.
547
545
  # result.wait_until_done! timeout: 60
548
546
  # if result.response?
549
547
  # p result.response
550
548
  # else
551
- # puts "Error!"
549
+ # puts "No response received."
552
550
  # end
553
551
  #
554
552
  def wait_operation request, options = nil
@@ -211,13 +211,11 @@ module Google
211
211
  # # Call the list_webhooks method.
212
212
  # result = client.list_webhooks request
213
213
  #
214
- # # The returned object is of type Gapic::PagedEnumerable. You can
215
- # # iterate over all elements by calling #each, and the enumerable
216
- # # will lazily make API calls to fetch subsequent pages. Other
217
- # # methods are also available for managing paging directly.
218
- # result.each do |response|
214
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
215
+ # # over elements, and API calls will be issued to fetch pages as needed.
216
+ # result.each do |item|
219
217
  # # Each element is of type ::Google::Cloud::Dialogflow::CX::V3::Webhook.
220
- # p response
218
+ # p item
221
219
  # end
222
220
  #
223
221
  def list_webhooks request, options = nil
@@ -33,6 +33,13 @@ module Google
33
33
  # levels define DTMF detections running in parallel.
34
34
  #
35
35
  # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
36
+ # @!attribute [rw] audio_export_gcs_destination
37
+ # @return [::Google::Cloud::Dialogflow::CX::V3::GcsDestination]
38
+ # If present, incoming audio is exported by Dialogflow to the configured
39
+ # Google Cloud Storage destination.
40
+ # Exposed at the following levels:
41
+ # - Agent level
42
+ # - Flow level
36
43
  # @!attribute [rw] logging_settings
37
44
  # @return [::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings::LoggingSettings]
38
45
  # Settings for logging.
@@ -116,6 +116,10 @@ module Google
116
116
  # @return [::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings]
117
117
  # Hierarchical advanced settings for this agent. The settings exposed at the
118
118
  # lower level overrides the settings exposed at the higher level.
119
+ # @!attribute [rw] text_to_speech_settings
120
+ # @return [::Google::Cloud::Dialogflow::CX::V3::TextToSpeechSettings]
121
+ # Settings on instructing the speech synthesizer on how to generate the
122
+ # output audio content.
119
123
  class Agent
120
124
  include ::Google::Protobuf::MessageExts
121
125
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -185,6 +185,26 @@ module Google
185
185
  extend ::Google::Protobuf::MessageExts::ClassMethods
186
186
  end
187
187
 
188
+ # Settings related to speech generating.
189
+ # @!attribute [rw] synthesize_speech_configs
190
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::SynthesizeSpeechConfig}]
191
+ # Configuration of how speech should be synthesized, mapping from
192
+ # language (https://dialogflow.com/docs/reference/language) to
193
+ # SynthesizeSpeechConfig.
194
+ class TextToSpeechSettings
195
+ include ::Google::Protobuf::MessageExts
196
+ extend ::Google::Protobuf::MessageExts::ClassMethods
197
+
198
+ # @!attribute [rw] key
199
+ # @return [::String]
200
+ # @!attribute [rw] value
201
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SynthesizeSpeechConfig]
202
+ class SynthesizeSpeechConfigsEntry
203
+ include ::Google::Protobuf::MessageExts
204
+ extend ::Google::Protobuf::MessageExts::ClassMethods
205
+ end
206
+ end
207
+
188
208
  # Audio encoding of the audio content sent in the conversational query request.
189
209
  # Refer to the
190
210
  # [Cloud Speech API
@@ -45,8 +45,8 @@ module Google
45
45
  # 500 characters. If exceeded, the request is rejected.
46
46
  # @!attribute [rw] version_configs
47
47
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Environment::VersionConfig>]
48
- # Required. A list of configurations for flow versions. You should include
49
- # version configs for all flows that are reachable from [`Start
48
+ # A list of configurations for flow versions. You should include version
49
+ # configs for all flows that are reachable from [`Start
50
50
  # Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
51
51
  # returned.
52
52
  # @!attribute [r] update_time
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module CX
24
+ module V3
25
+ # Google Cloud Storage location for a Dialogflow operation that writes or
26
+ # exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
27
+ # @!attribute [rw] uri
28
+ # @return [::String]
29
+ # Required. The Google Cloud Storage URI for the exported objects. A URI is
30
+ # of the form:
31
+ # gs://bucket/object-name-or-prefix
32
+ # Whether a full object name, or just a prefix, its usage depends on the
33
+ # Dialogflow operation.
34
+ class GcsDestination
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -758,6 +758,9 @@ module Google
758
758
  # @!attribute [rw] query_input
759
759
  # @return [::Google::Cloud::Dialogflow::CX::V3::QueryInput]
760
760
  # Required. The input specification.
761
+ # @!attribute [rw] persist_parameter_changes
762
+ # @return [::Boolean]
763
+ # Persist session parameter changes from `query_params`.
761
764
  class MatchIntentRequest
762
765
  include ::Google::Protobuf::MessageExts
763
766
  extend ::Google::Protobuf::MessageExts::ClassMethods