google-cloud-dialogflow-cx-v3 0.26.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +4 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +3 -1
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +25 -11
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +13 -5
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +25 -11
  7. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +11 -4
  8. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +7 -2
  9. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +7 -2
  10. data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +15 -1
  11. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +7 -2
  12. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +7 -2
  13. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +17 -7
  14. data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +13 -5
  15. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +17 -7
  16. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +11 -4
  17. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +21 -9
  18. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +13 -5
  19. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +21 -9
  20. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +11 -4
  21. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +17 -7
  22. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +17 -7
  23. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -1
  24. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +23 -10
  25. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +13 -5
  26. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +23 -10
  27. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +11 -4
  28. data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +13 -5
  29. data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +13 -5
  30. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +17 -7
  31. data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +13 -5
  32. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +17 -7
  33. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +11 -4
  34. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +13 -5
  35. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +13 -5
  36. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +1 -1
  37. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +13 -5
  38. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +13 -5
  39. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +13 -5
  40. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +13 -5
  41. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +3 -1
  42. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +15 -6
  43. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +13 -5
  44. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +27 -12
  45. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +13 -5
  46. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +27 -12
  47. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +11 -4
  48. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +13 -5
  49. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +13 -5
  50. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  51. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +17 -7
  52. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +13 -5
  53. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +17 -7
  54. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +11 -4
  55. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +4 -1
  56. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +13 -5
  57. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +13 -5
  58. data/proto_docs/google/api/client.rb +18 -10
  59. data/proto_docs/google/api/resource.rb +7 -2
  60. data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +54 -2
  61. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +24 -2
  62. data/proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb +199 -0
  63. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +28 -0
  64. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +9 -0
  65. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +18 -0
  66. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +4 -6
  67. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +75 -0
  68. metadata +2 -2
@@ -34,6 +34,9 @@ module Google
34
34
  # Service for managing security settings for Dialogflow.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
39
42
 
@@ -233,12 +236,13 @@ module Google
233
236
  # Customize the options with defaults
234
237
  call_metadata = @config.rpcs.create_security_settings.metadata.to_h
235
238
 
236
- # Set x-goog-api-client and x-goog-user-project headers
239
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
237
240
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
238
241
  lib_name: @config.lib_name, lib_version: @config.lib_version,
239
242
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
240
243
  transports_version_send: [:rest]
241
244
 
245
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
242
246
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
243
247
 
244
248
  options.apply_defaults timeout: @config.rpcs.create_security_settings.timeout,
@@ -315,12 +319,13 @@ module Google
315
319
  # Customize the options with defaults
316
320
  call_metadata = @config.rpcs.get_security_settings.metadata.to_h
317
321
 
318
- # Set x-goog-api-client and x-goog-user-project headers
322
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
319
323
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
320
324
  lib_name: @config.lib_name, lib_version: @config.lib_version,
321
325
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
322
326
  transports_version_send: [:rest]
323
327
 
328
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
324
329
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
325
330
 
326
331
  options.apply_defaults timeout: @config.rpcs.get_security_settings.timeout,
@@ -398,12 +403,13 @@ module Google
398
403
  # Customize the options with defaults
399
404
  call_metadata = @config.rpcs.update_security_settings.metadata.to_h
400
405
 
401
- # Set x-goog-api-client and x-goog-user-project headers
406
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
402
407
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
403
408
  lib_name: @config.lib_name, lib_version: @config.lib_version,
404
409
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
405
410
  transports_version_send: [:rest]
406
411
 
412
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
407
413
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
408
414
 
409
415
  options.apply_defaults timeout: @config.rpcs.update_security_settings.timeout,
@@ -486,12 +492,13 @@ module Google
486
492
  # Customize the options with defaults
487
493
  call_metadata = @config.rpcs.list_security_settings.metadata.to_h
488
494
 
489
- # Set x-goog-api-client and x-goog-user-project headers
495
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
490
496
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
491
497
  lib_name: @config.lib_name, lib_version: @config.lib_version,
492
498
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
493
499
  transports_version_send: [:rest]
494
500
 
501
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
495
502
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
496
503
 
497
504
  options.apply_defaults timeout: @config.rpcs.list_security_settings.timeout,
@@ -569,12 +576,13 @@ module Google
569
576
  # Customize the options with defaults
570
577
  call_metadata = @config.rpcs.delete_security_settings.metadata.to_h
571
578
 
572
- # Set x-goog-api-client and x-goog-user-project headers
579
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
573
580
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
574
581
  lib_name: @config.lib_name, lib_version: @config.lib_version,
575
582
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
576
583
  transports_version_send: [:rest]
577
584
 
585
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
578
586
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
579
587
 
580
588
  options.apply_defaults timeout: @config.rpcs.delete_security_settings.timeout,
@@ -33,6 +33,9 @@ module Google
33
33
  # {::Google::Cloud::Dialogflow::CX::V3::SessionEntityType SessionEntityTypes}.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
38
41
 
@@ -251,10 +254,11 @@ module Google
251
254
  # Customize the options with defaults
252
255
  metadata = @config.rpcs.list_session_entity_types.metadata.to_h
253
256
 
254
- # Set x-goog-api-client and x-goog-user-project headers
257
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
255
258
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
256
259
  lib_name: @config.lib_name, lib_version: @config.lib_version,
257
260
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
261
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
258
262
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
259
263
 
260
264
  header_params = {}
@@ -343,10 +347,11 @@ module Google
343
347
  # Customize the options with defaults
344
348
  metadata = @config.rpcs.get_session_entity_type.metadata.to_h
345
349
 
346
- # Set x-goog-api-client and x-goog-user-project headers
350
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
347
351
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
348
352
  lib_name: @config.lib_name, lib_version: @config.lib_version,
349
353
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
354
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
350
355
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
351
356
 
352
357
  header_params = {}
@@ -435,10 +440,11 @@ module Google
435
440
  # Customize the options with defaults
436
441
  metadata = @config.rpcs.create_session_entity_type.metadata.to_h
437
442
 
438
- # Set x-goog-api-client and x-goog-user-project headers
443
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
439
444
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
440
445
  lib_name: @config.lib_name, lib_version: @config.lib_version,
441
446
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
447
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
442
448
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
443
449
 
444
450
  header_params = {}
@@ -528,10 +534,11 @@ module Google
528
534
  # Customize the options with defaults
529
535
  metadata = @config.rpcs.update_session_entity_type.metadata.to_h
530
536
 
531
- # Set x-goog-api-client and x-goog-user-project headers
537
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
532
538
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
533
539
  lib_name: @config.lib_name, lib_version: @config.lib_version,
534
540
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
541
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
535
542
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
536
543
 
537
544
  header_params = {}
@@ -619,10 +626,11 @@ module Google
619
626
  # Customize the options with defaults
620
627
  metadata = @config.rpcs.delete_session_entity_type.metadata.to_h
621
628
 
622
- # Set x-goog-api-client and x-goog-user-project headers
629
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
623
630
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
624
631
  lib_name: @config.lib_name, lib_version: @config.lib_version,
625
632
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
633
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
626
634
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
627
635
 
628
636
  header_params = {}
@@ -35,6 +35,9 @@ module Google
35
35
  # {::Google::Cloud::Dialogflow::CX::V3::SessionEntityType SessionEntityTypes}.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
40
43
 
@@ -244,12 +247,13 @@ module Google
244
247
  # Customize the options with defaults
245
248
  call_metadata = @config.rpcs.list_session_entity_types.metadata.to_h
246
249
 
247
- # Set x-goog-api-client and x-goog-user-project headers
250
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
248
251
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
249
252
  lib_name: @config.lib_name, lib_version: @config.lib_version,
250
253
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
251
254
  transports_version_send: [:rest]
252
255
 
256
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
253
257
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
254
258
 
255
259
  options.apply_defaults timeout: @config.rpcs.list_session_entity_types.timeout,
@@ -329,12 +333,13 @@ module Google
329
333
  # Customize the options with defaults
330
334
  call_metadata = @config.rpcs.get_session_entity_type.metadata.to_h
331
335
 
332
- # Set x-goog-api-client and x-goog-user-project headers
336
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
333
337
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
334
338
  lib_name: @config.lib_name, lib_version: @config.lib_version,
335
339
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
336
340
  transports_version_send: [:rest]
337
341
 
342
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
338
343
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
339
344
 
340
345
  options.apply_defaults timeout: @config.rpcs.get_session_entity_type.timeout,
@@ -414,12 +419,13 @@ module Google
414
419
  # Customize the options with defaults
415
420
  call_metadata = @config.rpcs.create_session_entity_type.metadata.to_h
416
421
 
417
- # Set x-goog-api-client and x-goog-user-project headers
422
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
418
423
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
419
424
  lib_name: @config.lib_name, lib_version: @config.lib_version,
420
425
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
421
426
  transports_version_send: [:rest]
422
427
 
428
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
423
429
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
424
430
 
425
431
  options.apply_defaults timeout: @config.rpcs.create_session_entity_type.timeout,
@@ -500,12 +506,13 @@ module Google
500
506
  # Customize the options with defaults
501
507
  call_metadata = @config.rpcs.update_session_entity_type.metadata.to_h
502
508
 
503
- # Set x-goog-api-client and x-goog-user-project headers
509
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
504
510
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
505
511
  lib_name: @config.lib_name, lib_version: @config.lib_version,
506
512
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
507
513
  transports_version_send: [:rest]
508
514
 
515
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
509
516
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
510
517
 
511
518
  options.apply_defaults timeout: @config.rpcs.update_session_entity_type.timeout,
@@ -584,12 +591,13 @@ module Google
584
591
  # Customize the options with defaults
585
592
  call_metadata = @config.rpcs.delete_session_entity_type.metadata.to_h
586
593
 
587
- # Set x-goog-api-client and x-goog-user-project headers
594
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
588
595
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
589
596
  lib_name: @config.lib_name, lib_version: @config.lib_version,
590
597
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
591
598
  transports_version_send: [:rest]
592
599
 
600
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
593
601
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
594
602
 
595
603
  options.apply_defaults timeout: @config.rpcs.delete_session_entity_type.timeout,
@@ -10,6 +10,7 @@ require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
11
  require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
12
12
  require 'google/cloud/dialogflow/cx/v3/audio_config_pb'
13
+ require 'google/cloud/dialogflow/cx/v3/data_store_connection_pb'
13
14
  require 'google/cloud/dialogflow/cx/v3/flow_pb'
14
15
  require 'google/cloud/dialogflow/cx/v3/intent_pb'
15
16
  require 'google/cloud/dialogflow/cx/v3/page_pb'
@@ -22,7 +23,7 @@ require 'google/rpc/status_pb'
22
23
  require 'google/type/latlng_pb'
23
24
 
24
25
 
25
- descriptor_data = "\n+google/cloud/dialogflow/cx/v3/session.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a*google/cloud/dialogflow/cx/v3/intent.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a\x37google/cloud/dialogflow/cx/v3/session_entity_type.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/rpc/status.proto\x1a\x18google/type/latlng.proto\"\xd4\x02\n\x0e\x41nswerFeedback\x12I\n\x06rating\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingB\x03\xe0\x41\x01\x12V\n\rrating_reason\x18\x02 \x01(\x0b\x32:.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReasonB\x03\xe0\x41\x01\x12\x1a\n\rcustom_rating\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\x41\n\x0cRatingReason\x12\x1a\n\rreason_labels\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x02 \x01(\tB\x03\xe0\x41\x01\"@\n\x06Rating\x12\x16\n\x12RATING_UNSPECIFIED\x10\x00\x12\r\n\tTHUMBS_UP\x10\x01\x12\x0f\n\x0bTHUMBS_DOWN\x10\x02\"\xf6\x01\n\x1bSubmitAnswerFeedbackRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x18\n\x0bresponse_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0f\x61nswer_feedback\x18\x03 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.AnswerFeedbackB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xab\x02\n\x13\x44\x65tectIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\x8e\x03\n\x14\x44\x65tectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x04 \x01(\x0c\x12M\n\x13output_audio_config\x18\x05 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12W\n\rresponse_type\x18\x06 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.DetectIntentResponse.ResponseType\x12\x1a\n\x12\x61llow_cancellation\x18\x07 \x01(\x08\"E\n\x0cResponseType\x12\x1d\n\x19RESPONSE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PARTIAL\x10\x01\x12\t\n\x05\x46INAL\x10\x02\"\xf1\x02\n\x1cStreamingDetectIntentRequest\x12\x37\n\x07session\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12\x1f\n\x17\x65nable_partial_response\x18\x05 \x01(\x08\x12\x1d\n\x15\x65nable_debugging_info\x18\x08 \x01(\x08\"\xb0\x07\n\x1e\x43loudConversationDebuggingInfo\x12\x19\n\x11\x61udio_data_chunks\x18\x01 \x01(\x05\x12\x39\n\x16result_end_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14\x66irst_audio_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10single_utterance\x18\x05 \x01(\x08\x12\x43\n speech_partial_results_end_times\x18\x06 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1espeech_final_results_end_times\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x11partial_responses\x18\x08 \x01(\x05\x12,\n$speaker_id_passive_latency_ms_offset\x18\t \x01(\x05\x12\x1f\n\x17\x62\x61rgein_event_triggered\x18\n \x01(\x08\x12\x1f\n\x17speech_single_utterance\x18\x0b \x01(\x08\x12=\n\x1a\x64tmf_partial_results_times\x18\x0c \x03(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18\x64tmf_final_results_times\x18\r \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n single_utterance_end_time_offset\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11no_speech_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13\x65ndpointing_timeout\x18\x13 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\ris_input_text\x18\x10 \x01(\x08\x12@\n\x1d\x63lient_half_close_time_offset\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12J\n\'client_half_close_streaming_time_offset\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xb2\x02\n\x1dStreamingDetectIntentResponse\x12W\n\x12recognition_result\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.StreamingRecognitionResultH\x00\x12U\n\x16\x64\x65tect_intent_response\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponseH\x00\x12U\n\x0e\x64\x65\x62ugging_info\x18\x04 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfoB\n\n\x08response\"\xb6\x03\n\x1aStreamingRecognitionResult\x12[\n\x0cmessage_type\x18\x01 \x01(\x0e\x32\x45.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.MessageType\x12\x12\n\ntranscript\x18\x02 \x01(\t\x12\x10\n\x08is_final\x18\x03 \x01(\x08\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x11\n\tstability\x18\x06 \x01(\x02\x12G\n\x10speech_word_info\x18\x07 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.SpeechWordInfo\x12\x34\n\x11speech_end_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rlanguage_code\x18\n \x01(\t\"X\n\x0bMessageType\x12\x1c\n\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTRANSCRIPT\x10\x01\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x02\"\x8b\x06\n\x0fQueryParameters\x12\x11\n\ttime_zone\x18\x01 \x01(\t\x12)\n\x0cgeo_location\x18\x02 \x01(\x0b\x32\x13.google.type.LatLng\x12N\n\x14session_entity_types\x18\x03 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nparameters\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x06 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\x12\x17\n\x0f\x64isable_webhook\x18\x07 \x01(\x08\x12$\n\x1c\x61nalyze_query_text_sentiment\x18\x08 \x01(\x08\x12[\n\x0fwebhook_headers\x18\n \x03(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.QueryParameters.WebhookHeadersEntry\x12=\n\rflow_versions\x18\x0e \x03(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x0f\n\x07\x63hannel\x18\x0f \x01(\t\x12\x33\n\x0bsession_ttl\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x11\x65nd_user_metadata\x18\x12 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12G\n\rsearch_config\x18\x14 \x01(\x0b\x32+.google.cloud.dialogflow.cx.v3.SearchConfigB\x03\xe0\x41\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9a\x01\n\x0cSearchConfig\x12\x43\n\x0b\x62oost_specs\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.cx.v3.BoostSpecsB\x03\xe0\x41\x01\x12\x45\n\x0c\x66ilter_specs\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.cx.v3.FilterSpecsB\x03\xe0\x41\x01\"\xae\x01\n\tBoostSpec\x12_\n\x15\x63ondition_boost_specs\x18\x01 \x03(\x0b\x32;.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpecB\x03\xe0\x41\x01\x1a@\n\x12\x43onditionBoostSpec\x12\x16\n\tcondition\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x62oost\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"\x90\x01\n\nBoostSpecs\x12\x45\n\x0b\x64\x61ta_stores\x18\x01 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12;\n\x04spec\x18\x02 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.BoostSpecB\x03\xe0\x41\x01\"i\n\x0b\x46ilterSpecs\x12\x45\n\x0b\x64\x61ta_stores\x18\x01 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xdb\x02\n\nQueryInput\x12\x38\n\x04text\x18\x02 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.TextInputH\x00\x12<\n\x06intent\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.IntentInputH\x00\x12:\n\x05\x61udio\x18\x05 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.AudioInputH\x00\x12:\n\x05\x65vent\x18\x06 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.EventInputH\x00\x12\x38\n\x04\x64tmf\x18\x07 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\x07\n\x05input\"\xc7\x08\n\x0bQueryResult\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x0b \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x0c \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x0e \x01(\tH\x00\x12\x38\n\x04\x64tmf\x18\x17 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12+\n\nparameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12I\n\x11response_messages\x18\x04 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12\x13\n\x0bwebhook_ids\x18\x19 \x03(\t\x12\x1d\n\x15webhook_display_names\x18\x1a \x03(\t\x12\x34\n\x11webhook_latencies\x18\x1b \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x14\n\x0cwebhook_tags\x18\x1d \x03(\t\x12,\n\x10webhook_statuses\x18\r \x03(\x0b\x32\x12.google.rpc.Status\x12\x31\n\x10webhook_payloads\x18\x06 \x03(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x07 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Page\x12\x39\n\x0c\x63urrent_flow\x18\x1f \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Flow\x12\x39\n\x06intent\x18\x08 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.IntentB\x02\x18\x01\x12\'\n\x1bintent_detection_confidence\x18\t \x01(\x02\x42\x02\x18\x01\x12\x33\n\x05match\x18\x0f \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x30\n\x0f\x64iagnostic_info\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\x12Y\n\x19sentiment_analysis_result\x18\x11 \x01(\x0b\x32\x36.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult\x12J\n\x11\x61\x64vanced_settings\x18\x15 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.AdvancedSettings\x12\x1d\n\x15\x61llow_answer_feedback\x18 \x01(\x08\x42\x07\n\x05query\"\x1e\n\tTextInput\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x02\"G\n\x0bIntentInput\x12\x38\n\x06intent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n dialogflow.googleapis.com/Intent\"a\n\nAudioInput\x12\x44\n\x06\x63onfig\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.InputAudioConfigB\x03\xe0\x41\x02\x12\r\n\x05\x61udio\x18\x02 \x01(\x0c\"\x1b\n\nEventInput\x12\r\n\x05\x65vent\x18\x01 \x01(\t\"1\n\tDtmfInput\x12\x0e\n\x06\x64igits\x18\x01 \x01(\t\x12\x14\n\x0c\x66inish_digit\x18\x02 \x01(\t\"\xf1\x02\n\x05Match\x12\x35\n\x06intent\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.Intent\x12\r\n\x05\x65vent\x18\x06 \x01(\t\x12+\n\nparameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0eresolved_input\x18\x03 \x01(\t\x12\x42\n\nmatch_type\x18\x04 \x01(\x0e\x32..google.cloud.dialogflow.cx.v3.Match.MatchType\x12\x12\n\nconfidence\x18\x05 \x01(\x02\"\x84\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x11\n\rDIRECT_INTENT\x10\x02\x12\x15\n\x11PARAMETER_FILLING\x10\x03\x12\x0c\n\x08NO_MATCH\x10\x04\x12\x0c\n\x08NO_INPUT\x10\x05\x12\t\n\x05\x45VENT\x10\x06\"\xfe\x01\n\x12MatchIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12!\n\x19persist_parameter_changes\x18\x05 \x01(\x08\"\x90\x02\n\x13MatchIntentResponse\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x02 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x03 \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x06 \x01(\tH\x00\x12\x35\n\x07matches\x18\x04 \x03(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x39\n\x0c\x63urrent_page\x18\x05 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.PageB\x07\n\x05query\"\xeb\x01\n\x14\x46ulfillIntentRequest\x12O\n\x14match_intent_request\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x12\x33\n\x05match\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12M\n\x13output_audio_config\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\xd3\x01\n\x15\x46ulfillIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x03 \x01(\x0c\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\";\n\x17SentimentAnalysisResult\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x32\xfa\r\n\x08Sessions\x12\xa6\x02\n\x0c\x44\x65tectIntent\x12\x32.google.cloud.dialogflow.cx.v3.DetectIntentRequest\x1a\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"E/v3/{session=projects/*/locations/*/agents/*/sessions/*}:detectIntent:\x01*ZY\"T/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:detectIntent:\x01*\x12\xd5\x02\n\x1bServerStreamingDetectIntent\x12\x32.google.cloud.dialogflow.cx.v3.DetectIntentRequest\x1a\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponse\"\xca\x01\x82\xd3\xe4\x93\x02\xc3\x01\"T/v3/{session=projects/*/locations/*/agents/*/sessions/*}:serverStreamingDetectIntent:\x01*Zh\"c/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:serverStreamingDetectIntent:\x01*0\x01\x12\x98\x01\n\x15StreamingDetectIntent\x12;.google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest\x1a<.google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse\"\x00(\x01\x30\x01\x12\xa1\x02\n\x0bMatchIntent\x12\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x1a\x32.google.cloud.dialogflow.cx.v3.MatchIntentResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"D/v3/{session=projects/*/locations/*/agents/*/sessions/*}:matchIntent:\x01*ZX\"S/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:matchIntent:\x01*\x12\xd5\x02\n\rFulfillIntent\x12\x33.google.cloud.dialogflow.cx.v3.FulfillIntentRequest\x1a\x34.google.cloud.dialogflow.cx.v3.FulfillIntentResponse\"\xd8\x01\x82\xd3\xe4\x93\x02\xd1\x01\"[/v3/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent:\x01*Zo\"j/v3/{match_intent_request.session=projects/*/locations/*/agents/*/environments/*/sessions/*}:fulfillIntent:\x01*\x12\xdb\x01\n\x14SubmitAnswerFeedback\x12:.google.cloud.dialogflow.cx.v3.SubmitAnswerFeedbackRequest\x1a-.google.cloud.dialogflow.cx.v3.AnswerFeedback\"X\x82\xd3\xe4\x93\x02R\"M/v3/{session=projects/*/locations/*/agents/*/sessions/*}:submitAnswerFeedback:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xd3\x04\n!com.google.cloud.dialogflow.cx.v3B\x0cSessionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41\xd4\x01\n!dialogflow.googleapis.com/Session\x12Iprojects/{project}/locations/{location}/agents/{agent}/sessions/{session}\x12\x64projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}\xea\x41\xc5\x01\n(discoveryengine.googleapis.com/DataStore\x12?projects/{project}/locations/{location}/dataStores/{data_store}\x12Xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}b\x06proto3"
26
+ descriptor_data = "\n+google/cloud/dialogflow/cx/v3/session.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a\x39google/cloud/dialogflow/cx/v3/data_store_connection.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a*google/cloud/dialogflow/cx/v3/intent.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a\x37google/cloud/dialogflow/cx/v3/session_entity_type.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/rpc/status.proto\x1a\x18google/type/latlng.proto\"\xd4\x02\n\x0e\x41nswerFeedback\x12I\n\x06rating\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingB\x03\xe0\x41\x01\x12V\n\rrating_reason\x18\x02 \x01(\x0b\x32:.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReasonB\x03\xe0\x41\x01\x12\x1a\n\rcustom_rating\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\x41\n\x0cRatingReason\x12\x1a\n\rreason_labels\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x02 \x01(\tB\x03\xe0\x41\x01\"@\n\x06Rating\x12\x16\n\x12RATING_UNSPECIFIED\x10\x00\x12\r\n\tTHUMBS_UP\x10\x01\x12\x0f\n\x0bTHUMBS_DOWN\x10\x02\"\xf6\x01\n\x1bSubmitAnswerFeedbackRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x18\n\x0bresponse_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0f\x61nswer_feedback\x18\x03 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.AnswerFeedbackB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xab\x02\n\x13\x44\x65tectIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\x8e\x03\n\x14\x44\x65tectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x04 \x01(\x0c\x12M\n\x13output_audio_config\x18\x05 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12W\n\rresponse_type\x18\x06 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.DetectIntentResponse.ResponseType\x12\x1a\n\x12\x61llow_cancellation\x18\x07 \x01(\x08\"E\n\x0cResponseType\x12\x1d\n\x19RESPONSE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PARTIAL\x10\x01\x12\t\n\x05\x46INAL\x10\x02\"\xf1\x02\n\x1cStreamingDetectIntentRequest\x12\x37\n\x07session\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12\x1f\n\x17\x65nable_partial_response\x18\x05 \x01(\x08\x12\x1d\n\x15\x65nable_debugging_info\x18\x08 \x01(\x08\"\xb0\x07\n\x1e\x43loudConversationDebuggingInfo\x12\x19\n\x11\x61udio_data_chunks\x18\x01 \x01(\x05\x12\x39\n\x16result_end_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14\x66irst_audio_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10single_utterance\x18\x05 \x01(\x08\x12\x43\n speech_partial_results_end_times\x18\x06 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1espeech_final_results_end_times\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x11partial_responses\x18\x08 \x01(\x05\x12,\n$speaker_id_passive_latency_ms_offset\x18\t \x01(\x05\x12\x1f\n\x17\x62\x61rgein_event_triggered\x18\n \x01(\x08\x12\x1f\n\x17speech_single_utterance\x18\x0b \x01(\x08\x12=\n\x1a\x64tmf_partial_results_times\x18\x0c \x03(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18\x64tmf_final_results_times\x18\r \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n single_utterance_end_time_offset\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11no_speech_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13\x65ndpointing_timeout\x18\x13 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\ris_input_text\x18\x10 \x01(\x08\x12@\n\x1d\x63lient_half_close_time_offset\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12J\n\'client_half_close_streaming_time_offset\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xb2\x02\n\x1dStreamingDetectIntentResponse\x12W\n\x12recognition_result\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.StreamingRecognitionResultH\x00\x12U\n\x16\x64\x65tect_intent_response\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponseH\x00\x12U\n\x0e\x64\x65\x62ugging_info\x18\x04 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfoB\n\n\x08response\"\xb6\x03\n\x1aStreamingRecognitionResult\x12[\n\x0cmessage_type\x18\x01 \x01(\x0e\x32\x45.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.MessageType\x12\x12\n\ntranscript\x18\x02 \x01(\t\x12\x10\n\x08is_final\x18\x03 \x01(\x08\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x11\n\tstability\x18\x06 \x01(\x02\x12G\n\x10speech_word_info\x18\x07 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.SpeechWordInfo\x12\x34\n\x11speech_end_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rlanguage_code\x18\n \x01(\t\"X\n\x0bMessageType\x12\x1c\n\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTRANSCRIPT\x10\x01\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x02\"\xc0\x06\n\x0fQueryParameters\x12\x11\n\ttime_zone\x18\x01 \x01(\t\x12)\n\x0cgeo_location\x18\x02 \x01(\x0b\x32\x13.google.type.LatLng\x12N\n\x14session_entity_types\x18\x03 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nparameters\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x06 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\x12\x17\n\x0f\x64isable_webhook\x18\x07 \x01(\x08\x12$\n\x1c\x61nalyze_query_text_sentiment\x18\x08 \x01(\x08\x12[\n\x0fwebhook_headers\x18\n \x03(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.QueryParameters.WebhookHeadersEntry\x12=\n\rflow_versions\x18\x0e \x03(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x0f\n\x07\x63hannel\x18\x0f \x01(\t\x12\x33\n\x0bsession_ttl\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x11\x65nd_user_metadata\x18\x12 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12G\n\rsearch_config\x18\x14 \x01(\x0b\x32+.google.cloud.dialogflow.cx.v3.SearchConfigB\x03\xe0\x41\x01\x12\x33\n&populate_data_store_connection_signals\x18\x19 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9a\x01\n\x0cSearchConfig\x12\x43\n\x0b\x62oost_specs\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.cx.v3.BoostSpecsB\x03\xe0\x41\x01\x12\x45\n\x0c\x66ilter_specs\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.cx.v3.FilterSpecsB\x03\xe0\x41\x01\"\xae\x01\n\tBoostSpec\x12_\n\x15\x63ondition_boost_specs\x18\x01 \x03(\x0b\x32;.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpecB\x03\xe0\x41\x01\x1a@\n\x12\x43onditionBoostSpec\x12\x16\n\tcondition\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x62oost\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"\x90\x01\n\nBoostSpecs\x12\x45\n\x0b\x64\x61ta_stores\x18\x01 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12;\n\x04spec\x18\x02 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.BoostSpecB\x03\xe0\x41\x01\"i\n\x0b\x46ilterSpecs\x12\x45\n\x0b\x64\x61ta_stores\x18\x01 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xdb\x02\n\nQueryInput\x12\x38\n\x04text\x18\x02 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.TextInputH\x00\x12<\n\x06intent\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.IntentInputH\x00\x12:\n\x05\x61udio\x18\x05 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.AudioInputH\x00\x12:\n\x05\x65vent\x18\x06 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.EventInputH\x00\x12\x38\n\x04\x64tmf\x18\x07 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\x07\n\x05input\"\xae\t\n\x0bQueryResult\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x0b \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x0c \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x0e \x01(\tH\x00\x12\x38\n\x04\x64tmf\x18\x17 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12+\n\nparameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12I\n\x11response_messages\x18\x04 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12\x13\n\x0bwebhook_ids\x18\x19 \x03(\t\x12\x1d\n\x15webhook_display_names\x18\x1a \x03(\t\x12\x34\n\x11webhook_latencies\x18\x1b \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x14\n\x0cwebhook_tags\x18\x1d \x03(\t\x12,\n\x10webhook_statuses\x18\r \x03(\x0b\x32\x12.google.rpc.Status\x12\x31\n\x10webhook_payloads\x18\x06 \x03(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x07 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Page\x12\x39\n\x0c\x63urrent_flow\x18\x1f \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Flow\x12\x39\n\x06intent\x18\x08 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.IntentB\x02\x18\x01\x12\'\n\x1bintent_detection_confidence\x18\t \x01(\x02\x42\x02\x18\x01\x12\x33\n\x05match\x18\x0f \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x30\n\x0f\x64iagnostic_info\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\x12Y\n\x19sentiment_analysis_result\x18\x11 \x01(\x0b\x32\x36.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult\x12J\n\x11\x61\x64vanced_settings\x18\x15 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.AdvancedSettings\x12\x1d\n\x15\x61llow_answer_feedback\x18 \x01(\x08\x12\x65\n\x1d\x64\x61ta_store_connection_signals\x18# \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignalsB\x03\xe0\x41\x01\x42\x07\n\x05query\"\x1e\n\tTextInput\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x02\"G\n\x0bIntentInput\x12\x38\n\x06intent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n dialogflow.googleapis.com/Intent\"a\n\nAudioInput\x12\x44\n\x06\x63onfig\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.InputAudioConfigB\x03\xe0\x41\x02\x12\r\n\x05\x61udio\x18\x02 \x01(\x0c\"\x1b\n\nEventInput\x12\r\n\x05\x65vent\x18\x01 \x01(\t\"1\n\tDtmfInput\x12\x0e\n\x06\x64igits\x18\x01 \x01(\t\x12\x14\n\x0c\x66inish_digit\x18\x02 \x01(\t\"\x98\x03\n\x05Match\x12\x35\n\x06intent\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.Intent\x12\r\n\x05\x65vent\x18\x06 \x01(\t\x12+\n\nparameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0eresolved_input\x18\x03 \x01(\t\x12\x42\n\nmatch_type\x18\x04 \x01(\x0e\x32..google.cloud.dialogflow.cx.v3.Match.MatchType\x12\x12\n\nconfidence\x18\x05 \x01(\x02\"\xab\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x11\n\rDIRECT_INTENT\x10\x02\x12\x15\n\x11PARAMETER_FILLING\x10\x03\x12\x0c\n\x08NO_MATCH\x10\x04\x12\x0c\n\x08NO_INPUT\x10\x05\x12\t\n\x05\x45VENT\x10\x06\x12\x17\n\x13KNOWLEDGE_CONNECTOR\x10\x08\x12\x0c\n\x08PLAYBOOK\x10\t\"\xfe\x01\n\x12MatchIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12!\n\x19persist_parameter_changes\x18\x05 \x01(\x08\"\x90\x02\n\x13MatchIntentResponse\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x02 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x03 \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x06 \x01(\tH\x00\x12\x35\n\x07matches\x18\x04 \x03(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x39\n\x0c\x63urrent_page\x18\x05 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.PageB\x07\n\x05query\"\xeb\x01\n\x14\x46ulfillIntentRequest\x12O\n\x14match_intent_request\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x12\x33\n\x05match\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12M\n\x13output_audio_config\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\xd3\x01\n\x15\x46ulfillIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x03 \x01(\x0c\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\";\n\x17SentimentAnalysisResult\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x32\xfa\r\n\x08Sessions\x12\xa6\x02\n\x0c\x44\x65tectIntent\x12\x32.google.cloud.dialogflow.cx.v3.DetectIntentRequest\x1a\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"E/v3/{session=projects/*/locations/*/agents/*/sessions/*}:detectIntent:\x01*ZY\"T/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:detectIntent:\x01*\x12\xd5\x02\n\x1bServerStreamingDetectIntent\x12\x32.google.cloud.dialogflow.cx.v3.DetectIntentRequest\x1a\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponse\"\xca\x01\x82\xd3\xe4\x93\x02\xc3\x01\"T/v3/{session=projects/*/locations/*/agents/*/sessions/*}:serverStreamingDetectIntent:\x01*Zh\"c/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:serverStreamingDetectIntent:\x01*0\x01\x12\x98\x01\n\x15StreamingDetectIntent\x12;.google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest\x1a<.google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse\"\x00(\x01\x30\x01\x12\xa1\x02\n\x0bMatchIntent\x12\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x1a\x32.google.cloud.dialogflow.cx.v3.MatchIntentResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"D/v3/{session=projects/*/locations/*/agents/*/sessions/*}:matchIntent:\x01*ZX\"S/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:matchIntent:\x01*\x12\xd5\x02\n\rFulfillIntent\x12\x33.google.cloud.dialogflow.cx.v3.FulfillIntentRequest\x1a\x34.google.cloud.dialogflow.cx.v3.FulfillIntentResponse\"\xd8\x01\x82\xd3\xe4\x93\x02\xd1\x01\"[/v3/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent:\x01*Zo\"j/v3/{match_intent_request.session=projects/*/locations/*/agents/*/environments/*/sessions/*}:fulfillIntent:\x01*\x12\xdb\x01\n\x14SubmitAnswerFeedback\x12:.google.cloud.dialogflow.cx.v3.SubmitAnswerFeedbackRequest\x1a-.google.cloud.dialogflow.cx.v3.AnswerFeedback\"X\x82\xd3\xe4\x93\x02R\"M/v3/{session=projects/*/locations/*/agents/*/sessions/*}:submitAnswerFeedback:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xd3\x04\n!com.google.cloud.dialogflow.cx.v3B\x0cSessionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41\xd4\x01\n!dialogflow.googleapis.com/Session\x12Iprojects/{project}/locations/{location}/agents/{agent}/sessions/{session}\x12\x64projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}\xea\x41\xc5\x01\n(discoveryengine.googleapis.com/DataStore\x12?projects/{project}/locations/{location}/dataStores/{data_store}\x12Xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}b\x06proto3"
26
27
 
27
28
  pool = Google::Protobuf::DescriptorPool.generated_pool
28
29
 
@@ -49,6 +50,7 @@ rescue TypeError
49
50
  ["google.cloud.dialogflow.cx.v3.Flow", "google/cloud/dialogflow/cx/v3/flow.proto"],
50
51
  ["google.cloud.dialogflow.cx.v3.Intent", "google/cloud/dialogflow/cx/v3/intent.proto"],
51
52
  ["google.cloud.dialogflow.cx.v3.AdvancedSettings", "google/cloud/dialogflow/cx/v3/advanced_settings.proto"],
53
+ ["google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals", "google/cloud/dialogflow/cx/v3/data_store_connection.proto"],
52
54
  ]
53
55
  imports.each do |type_name, expected_filename|
54
56
  import_file = pool.lookup(type_name).file_descriptor
@@ -35,6 +35,9 @@ module Google
35
35
  # determine user intent and respond.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
40
43
 
@@ -276,10 +279,11 @@ module Google
276
279
  # Customize the options with defaults
277
280
  metadata = @config.rpcs.detect_intent.metadata.to_h
278
281
 
279
- # Set x-goog-api-client and x-goog-user-project headers
282
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
280
283
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
281
284
  lib_name: @config.lib_name, lib_version: @config.lib_version,
282
285
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
286
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
283
287
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
284
288
 
285
289
  header_params = {}
@@ -389,10 +393,11 @@ module Google
389
393
  # Customize the options with defaults
390
394
  metadata = @config.rpcs.server_streaming_detect_intent.metadata.to_h
391
395
 
392
- # Set x-goog-api-client and x-goog-user-project headers
396
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
393
397
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
394
398
  lib_name: @config.lib_name, lib_version: @config.lib_version,
395
399
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
400
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
396
401
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
397
402
 
398
403
  header_params = {}
@@ -481,10 +486,11 @@ module Google
481
486
  # Customize the options with defaults
482
487
  metadata = @config.rpcs.streaming_detect_intent.metadata.to_h
483
488
 
484
- # Set x-goog-api-client and x-goog-user-project headers
489
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
485
490
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
486
491
  lib_name: @config.lib_name, lib_version: @config.lib_version,
487
492
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
493
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
488
494
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
489
495
 
490
496
  options.apply_defaults timeout: @config.rpcs.streaming_detect_intent.timeout,
@@ -576,10 +582,11 @@ module Google
576
582
  # Customize the options with defaults
577
583
  metadata = @config.rpcs.match_intent.metadata.to_h
578
584
 
579
- # Set x-goog-api-client and x-goog-user-project headers
585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
580
586
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
581
587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
582
588
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
589
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
583
590
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
584
591
 
585
592
  header_params = {}
@@ -672,10 +679,11 @@ module Google
672
679
  # Customize the options with defaults
673
680
  metadata = @config.rpcs.fulfill_intent.metadata.to_h
674
681
 
675
- # Set x-goog-api-client and x-goog-user-project headers
682
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
676
683
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
677
684
  lib_name: @config.lib_name, lib_version: @config.lib_version,
678
685
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
686
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
679
687
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
680
688
 
681
689
  header_params = {}
@@ -766,10 +774,11 @@ module Google
766
774
  # Customize the options with defaults
767
775
  metadata = @config.rpcs.submit_answer_feedback.metadata.to_h
768
776
 
769
- # Set x-goog-api-client and x-goog-user-project headers
777
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
770
778
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
771
779
  lib_name: @config.lib_name, lib_version: @config.lib_version,
772
780
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
781
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
773
782
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
774
783
 
775
784
  header_params = {}
@@ -37,6 +37,9 @@ module Google
37
37
  # determine user intent and respond.
38
38
  #
39
39
  class Client
40
+ # @private
41
+ API_VERSION = ""
42
+
40
43
  # @private
41
44
  DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
42
45
 
@@ -267,12 +270,13 @@ module Google
267
270
  # Customize the options with defaults
268
271
  call_metadata = @config.rpcs.detect_intent.metadata.to_h
269
272
 
270
- # Set x-goog-api-client and x-goog-user-project headers
273
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
271
274
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
272
275
  lib_name: @config.lib_name, lib_version: @config.lib_version,
273
276
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
274
277
  transports_version_send: [:rest]
275
278
 
279
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
276
280
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
277
281
 
278
282
  options.apply_defaults timeout: @config.rpcs.detect_intent.timeout,
@@ -369,12 +373,13 @@ module Google
369
373
  # Customize the options with defaults
370
374
  call_metadata = @config.rpcs.server_streaming_detect_intent.metadata.to_h
371
375
 
372
- # Set x-goog-api-client and x-goog-user-project headers
376
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
373
377
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
374
378
  lib_name: @config.lib_name, lib_version: @config.lib_version,
375
379
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
376
380
  transports_version_send: [:rest]
377
381
 
382
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
378
383
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
379
384
 
380
385
  options.apply_defaults timeout: @config.rpcs.server_streaming_detect_intent.timeout,
@@ -470,12 +475,13 @@ module Google
470
475
  # Customize the options with defaults
471
476
  call_metadata = @config.rpcs.match_intent.metadata.to_h
472
477
 
473
- # Set x-goog-api-client and x-goog-user-project headers
478
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
479
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
480
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
481
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
477
482
  transports_version_send: [:rest]
478
483
 
484
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
479
485
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
480
486
 
481
487
  options.apply_defaults timeout: @config.rpcs.match_intent.timeout,
@@ -559,12 +565,13 @@ module Google
559
565
  # Customize the options with defaults
560
566
  call_metadata = @config.rpcs.fulfill_intent.metadata.to_h
561
567
 
562
- # Set x-goog-api-client and x-goog-user-project headers
568
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
563
569
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
564
570
  lib_name: @config.lib_name, lib_version: @config.lib_version,
565
571
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
566
572
  transports_version_send: [:rest]
567
573
 
574
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
568
575
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
569
576
 
570
577
  options.apply_defaults timeout: @config.rpcs.fulfill_intent.timeout,
@@ -646,12 +653,13 @@ module Google
646
653
  # Customize the options with defaults
647
654
  call_metadata = @config.rpcs.submit_answer_feedback.metadata.to_h
648
655
 
649
- # Set x-goog-api-client and x-goog-user-project headers
656
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
650
657
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
651
658
  lib_name: @config.lib_name, lib_version: @config.lib_version,
652
659
  gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
653
660
  transports_version_send: [:rest]
654
661
 
662
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
655
663
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
656
664
 
657
665
  options.apply_defaults timeout: @config.rpcs.submit_answer_feedback.timeout,