google-apis-dialogflow_v2 0.123.0 → 0.125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2df12b77c38ebf7b27dfdc566bcec9a4743a48f4524e971b733d5f4f1eab6b4c
4
- data.tar.gz: 775590f0ff1ae0138ea2f25374c4ab72e0eb56ef6e674244b7b834998399cbdf
3
+ metadata.gz: 79bfad84223e4119dfb81bfc6cca50c412ca87c5bb87161ef7ff928130432676
4
+ data.tar.gz: 9f5cfa2426b17893d4c6fbba92985d3fff9af622395a3cc220781fe842c49440
5
5
  SHA512:
6
- metadata.gz: 2db75d4dfc3db63c46abea76dcf49e2a30de46364077e9cfdf51064b6f77a61eed2643f8d2ce1fc6dd423676d0cc44e74b96faf37b6bcc59529753f940c05d2a
7
- data.tar.gz: 73376f1b8aa79a3211a34c55b7cb4e1aa318137ec26ff3ef3b2c671183b005598be45f481a14150c45d0b6187507db62bb55a7f9acdc1131b0ee9e7919daf0cc
6
+ metadata.gz: a92ca81b78802ca7ca6f565823db1e7a79632dc49f0c0f33e0ebee1c6fbc748697ab2d52336b0f374ebb42b52e5682b1ad52240b6ecc1c123d760fb3223d15ef
7
+ data.tar.gz: e3def2011cb0f1e4efd3866f6bf13306896a6adeb627743b6306d2ef077ab5ff7f3dca6e84bdf2bc016bd5b5acbfcc0ac59a2d425ceb0ab89db86c7c161bc8d6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.125.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260604
6
+ * Regenerated using generator version 0.19.0
7
+
8
+ ### v0.124.0 (2026-05-24)
9
+
10
+ * Regenerated from discovery document revision 20260518
11
+
3
12
  ### v0.123.0 (2026-05-17)
4
13
 
5
14
  * Regenerated from discovery document revision 20260509
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/dialogflow/) may provide gu
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -8750,6 +8750,11 @@ module Google
8750
8750
  # @return [String]
8751
8751
  attr_accessor :security_settings
8752
8752
 
8753
+ #
8754
+ # Corresponds to the JSON property `sipConfig`
8755
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipConfig]
8756
+ attr_accessor :sip_config
8757
+
8753
8758
  #
8754
8759
  # Corresponds to the JSON property `sttConfig`
8755
8760
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig]
@@ -8788,6 +8793,7 @@ module Google
8788
8793
  @new_recognition_result_notification_config = args[:new_recognition_result_notification_config] if args.key?(:new_recognition_result_notification_config)
8789
8794
  @notification_config = args[:notification_config] if args.key?(:notification_config)
8790
8795
  @security_settings = args[:security_settings] if args.key?(:security_settings)
8796
+ @sip_config = args[:sip_config] if args.key?(:sip_config)
8791
8797
  @stt_config = args[:stt_config] if args.key?(:stt_config)
8792
8798
  @time_zone = args[:time_zone] if args.key?(:time_zone)
8793
8799
  @tts_config = args[:tts_config] if args.key?(:tts_config)
@@ -10977,6 +10983,12 @@ module Google
10977
10983
  attr_accessor :disable_agent_query_logging
10978
10984
  alias_method :disable_agent_query_logging?, :disable_agent_query_logging
10979
10985
 
10986
+ #
10987
+ # Corresponds to the JSON property `disableQuerySearchContext`
10988
+ # @return [Boolean]
10989
+ attr_accessor :disable_query_search_context
10990
+ alias_method :disable_query_search_context?, :disable_query_search_context
10991
+
10980
10992
  #
10981
10993
  # Corresponds to the JSON property `enableConversationAugmentedQuery`
10982
10994
  # @return [Boolean]
@@ -11022,6 +11034,11 @@ module Google
11022
11034
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature]
11023
11035
  attr_accessor :suggestion_feature
11024
11036
 
11037
+ #
11038
+ # Corresponds to the JSON property `suggestionTriggerEvent`
11039
+ # @return [String]
11040
+ attr_accessor :suggestion_trigger_event
11041
+
11025
11042
  #
11026
11043
  # Corresponds to the JSON property `suggestionTriggerSettings`
11027
11044
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings]
@@ -11036,6 +11053,7 @@ module Google
11036
11053
  @conversation_model_config = args[:conversation_model_config] if args.key?(:conversation_model_config)
11037
11054
  @conversation_process_config = args[:conversation_process_config] if args.key?(:conversation_process_config)
11038
11055
  @disable_agent_query_logging = args[:disable_agent_query_logging] if args.key?(:disable_agent_query_logging)
11056
+ @disable_query_search_context = args[:disable_query_search_context] if args.key?(:disable_query_search_context)
11039
11057
  @enable_conversation_augmented_query = args[:enable_conversation_augmented_query] if args.key?(:enable_conversation_augmented_query)
11040
11058
  @enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion)
11041
11059
  @enable_query_suggestion_only = args[:enable_query_suggestion_only] if args.key?(:enable_query_suggestion_only)
@@ -11044,6 +11062,7 @@ module Google
11044
11062
  @query_config = args[:query_config] if args.key?(:query_config)
11045
11063
  @rai_settings = args[:rai_settings] if args.key?(:rai_settings)
11046
11064
  @suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature)
11065
+ @suggestion_trigger_event = args[:suggestion_trigger_event] if args.key?(:suggestion_trigger_event)
11047
11066
  @suggestion_trigger_settings = args[:suggestion_trigger_settings] if args.key?(:suggestion_trigger_settings)
11048
11067
  end
11049
11068
  end
@@ -13122,6 +13141,25 @@ module Google
13122
13141
  end
13123
13142
  end
13124
13143
 
13144
+ #
13145
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult
13146
+ include Google::Apis::Core::Hashable
13147
+
13148
+ #
13149
+ # Corresponds to the JSON property `suggestedQuery`
13150
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery]
13151
+ attr_accessor :suggested_query
13152
+
13153
+ def initialize(**args)
13154
+ update!(**args)
13155
+ end
13156
+
13157
+ # Update properties of this object
13158
+ def update!(**args)
13159
+ @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
13160
+ end
13161
+ end
13162
+
13125
13163
  #
13126
13164
  class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
13127
13165
  include Google::Apis::Core::Hashable
@@ -13274,6 +13312,11 @@ module Google
13274
13312
  # @return [String]
13275
13313
  attr_accessor :query_text
13276
13314
 
13315
+ #
13316
+ # Corresponds to the JSON property `searchContexts`
13317
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext>]
13318
+ attr_accessor :search_contexts
13319
+
13277
13320
  def initialize(**args)
13278
13321
  update!(**args)
13279
13322
  end
@@ -13281,6 +13324,32 @@ module Google
13281
13324
  # Update properties of this object
13282
13325
  def update!(**args)
13283
13326
  @query_text = args[:query_text] if args.key?(:query_text)
13327
+ @search_contexts = args[:search_contexts] if args.key?(:search_contexts)
13328
+ end
13329
+ end
13330
+
13331
+ #
13332
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
13333
+ include Google::Apis::Core::Hashable
13334
+
13335
+ #
13336
+ # Corresponds to the JSON property `key`
13337
+ # @return [String]
13338
+ attr_accessor :key
13339
+
13340
+ #
13341
+ # Corresponds to the JSON property `value`
13342
+ # @return [String]
13343
+ attr_accessor :value
13344
+
13345
+ def initialize(**args)
13346
+ update!(**args)
13347
+ end
13348
+
13349
+ # Update properties of this object
13350
+ def update!(**args)
13351
+ @key = args[:key] if args.key?(:key)
13352
+ @value = args[:value] if args.key?(:value)
13284
13353
  end
13285
13354
  end
13286
13355
 
@@ -13288,6 +13357,11 @@ module Google
13288
13357
  class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo
13289
13358
  include Google::Apis::Core::Hashable
13290
13359
 
13360
+ #
13361
+ # Corresponds to the JSON property `cesDebugInfo`
13362
+ # @return [Hash<String,Object>]
13363
+ attr_accessor :ces_debug_info
13364
+
13291
13365
  #
13292
13366
  # Corresponds to the JSON property `datastoreResponseReason`
13293
13367
  # @return [String]
@@ -13308,6 +13382,11 @@ module Google
13308
13382
  # @return [String]
13309
13383
  attr_accessor :query_categorization_failure_reason
13310
13384
 
13385
+ #
13386
+ # Corresponds to the JSON property `queryGenerationDebugInfo`
13387
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo]
13388
+ attr_accessor :query_generation_debug_info
13389
+
13311
13390
  #
13312
13391
  # Corresponds to the JSON property `queryGenerationFailureReason`
13313
13392
  # @return [String]
@@ -13324,10 +13403,12 @@ module Google
13324
13403
 
13325
13404
  # Update properties of this object
13326
13405
  def update!(**args)
13406
+ @ces_debug_info = args[:ces_debug_info] if args.key?(:ces_debug_info)
13327
13407
  @datastore_response_reason = args[:datastore_response_reason] if args.key?(:datastore_response_reason)
13328
13408
  @ingested_context_reference_debug_info = args[:ingested_context_reference_debug_info] if args.key?(:ingested_context_reference_debug_info)
13329
13409
  @knowledge_assist_behavior = args[:knowledge_assist_behavior] if args.key?(:knowledge_assist_behavior)
13330
13410
  @query_categorization_failure_reason = args[:query_categorization_failure_reason] if args.key?(:query_categorization_failure_reason)
13411
+ @query_generation_debug_info = args[:query_generation_debug_info] if args.key?(:query_generation_debug_info)
13331
13412
  @query_generation_failure_reason = args[:query_generation_failure_reason] if args.key?(:query_generation_failure_reason)
13332
13413
  @service_latency = args[:service_latency] if args.key?(:service_latency)
13333
13414
  end
@@ -13464,6 +13545,37 @@ module Google
13464
13545
  end
13465
13546
  end
13466
13547
 
13548
+ #
13549
+ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo
13550
+ include Google::Apis::Core::Hashable
13551
+
13552
+ #
13553
+ # Corresponds to the JSON property `candidatesTokenCount`
13554
+ # @return [Fixnum]
13555
+ attr_accessor :candidates_token_count
13556
+
13557
+ #
13558
+ # Corresponds to the JSON property `promptTokenCount`
13559
+ # @return [Fixnum]
13560
+ attr_accessor :prompt_token_count
13561
+
13562
+ #
13563
+ # Corresponds to the JSON property `totalTokenCount`
13564
+ # @return [Fixnum]
13565
+ attr_accessor :total_token_count
13566
+
13567
+ def initialize(**args)
13568
+ update!(**args)
13569
+ end
13570
+
13571
+ # Update properties of this object
13572
+ def update!(**args)
13573
+ @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count)
13574
+ @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
13575
+ @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
13576
+ end
13577
+ end
13578
+
13467
13579
  #
13468
13580
  class GoogleCloudDialogflowV2KnowledgeBase
13469
13581
  include Google::Apis::Core::Hashable
@@ -15332,6 +15444,66 @@ module Google
15332
15444
  end
15333
15445
  end
15334
15446
 
15447
+ #
15448
+ class GoogleCloudDialogflowV2SipConfig
15449
+ include Google::Apis::Core::Hashable
15450
+
15451
+ #
15452
+ # Corresponds to the JSON property `allowVirtualAgentInteraction`
15453
+ # @return [Boolean]
15454
+ attr_accessor :allow_virtual_agent_interaction
15455
+ alias_method :allow_virtual_agent_interaction?, :allow_virtual_agent_interaction
15456
+
15457
+ #
15458
+ # Corresponds to the JSON property `copyInboundCallLegHeaders`
15459
+ # @return [Array<String>]
15460
+ attr_accessor :copy_inbound_call_leg_headers
15461
+
15462
+ #
15463
+ # Corresponds to the JSON property `createConversationOnTheFly`
15464
+ # @return [Boolean]
15465
+ attr_accessor :create_conversation_on_the_fly
15466
+ alias_method :create_conversation_on_the_fly?, :create_conversation_on_the_fly
15467
+
15468
+ #
15469
+ # Corresponds to the JSON property `ignoreReinviteMediaDirection`
15470
+ # @return [Boolean]
15471
+ attr_accessor :ignore_reinvite_media_direction
15472
+ alias_method :ignore_reinvite_media_direction?, :ignore_reinvite_media_direction
15473
+
15474
+ #
15475
+ # Corresponds to the JSON property `inactiveStart`
15476
+ # @return [Boolean]
15477
+ attr_accessor :inactive_start
15478
+ alias_method :inactive_start?, :inactive_start
15479
+
15480
+ #
15481
+ # Corresponds to the JSON property `keepConversationRunning`
15482
+ # @return [Boolean]
15483
+ attr_accessor :keep_conversation_running
15484
+ alias_method :keep_conversation_running?, :keep_conversation_running
15485
+
15486
+ #
15487
+ # Corresponds to the JSON property `maxAudioRecordingDuration`
15488
+ # @return [String]
15489
+ attr_accessor :max_audio_recording_duration
15490
+
15491
+ def initialize(**args)
15492
+ update!(**args)
15493
+ end
15494
+
15495
+ # Update properties of this object
15496
+ def update!(**args)
15497
+ @allow_virtual_agent_interaction = args[:allow_virtual_agent_interaction] if args.key?(:allow_virtual_agent_interaction)
15498
+ @copy_inbound_call_leg_headers = args[:copy_inbound_call_leg_headers] if args.key?(:copy_inbound_call_leg_headers)
15499
+ @create_conversation_on_the_fly = args[:create_conversation_on_the_fly] if args.key?(:create_conversation_on_the_fly)
15500
+ @ignore_reinvite_media_direction = args[:ignore_reinvite_media_direction] if args.key?(:ignore_reinvite_media_direction)
15501
+ @inactive_start = args[:inactive_start] if args.key?(:inactive_start)
15502
+ @keep_conversation_running = args[:keep_conversation_running] if args.key?(:keep_conversation_running)
15503
+ @max_audio_recording_duration = args[:max_audio_recording_duration] if args.key?(:max_audio_recording_duration)
15504
+ end
15505
+ end
15506
+
15335
15507
  #
15336
15508
  class GoogleCloudDialogflowV2SipTrunk
15337
15509
  include Google::Apis::Core::Hashable
@@ -15945,6 +16117,11 @@ module Google
15945
16117
  class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
15946
16118
  include Google::Apis::Core::Hashable
15947
16119
 
16120
+ #
16121
+ # Corresponds to the JSON property `additionalSuggestedQueryResults`
16122
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult>]
16123
+ attr_accessor :additional_suggested_query_results
16124
+
15948
16125
  #
15949
16126
  # Corresponds to the JSON property `contextSize`
15950
16127
  # @return [Fixnum]
@@ -15966,6 +16143,7 @@ module Google
15966
16143
 
15967
16144
  # Update properties of this object
15968
16145
  def update!(**args)
16146
+ @additional_suggested_query_results = args[:additional_suggested_query_results] if args.key?(:additional_suggested_query_results)
15969
16147
  @context_size = args[:context_size] if args.key?(:context_size)
15970
16148
  @knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
15971
16149
  @latest_message = args[:latest_message] if args.key?(:latest_message)
@@ -20548,6 +20726,25 @@ module Google
20548
20726
  end
20549
20727
  end
20550
20728
 
20729
+ #
20730
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult
20731
+ include Google::Apis::Core::Hashable
20732
+
20733
+ #
20734
+ # Corresponds to the JSON property `suggestedQuery`
20735
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery]
20736
+ attr_accessor :suggested_query
20737
+
20738
+ def initialize(**args)
20739
+ update!(**args)
20740
+ end
20741
+
20742
+ # Update properties of this object
20743
+ def update!(**args)
20744
+ @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
20745
+ end
20746
+ end
20747
+
20551
20748
  #
20552
20749
  class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
20553
20750
  include Google::Apis::Core::Hashable
@@ -20700,6 +20897,11 @@ module Google
20700
20897
  # @return [String]
20701
20898
  attr_accessor :query_text
20702
20899
 
20900
+ #
20901
+ # Corresponds to the JSON property `searchContexts`
20902
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext>]
20903
+ attr_accessor :search_contexts
20904
+
20703
20905
  def initialize(**args)
20704
20906
  update!(**args)
20705
20907
  end
@@ -20707,6 +20909,32 @@ module Google
20707
20909
  # Update properties of this object
20708
20910
  def update!(**args)
20709
20911
  @query_text = args[:query_text] if args.key?(:query_text)
20912
+ @search_contexts = args[:search_contexts] if args.key?(:search_contexts)
20913
+ end
20914
+ end
20915
+
20916
+ #
20917
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext
20918
+ include Google::Apis::Core::Hashable
20919
+
20920
+ #
20921
+ # Corresponds to the JSON property `key`
20922
+ # @return [String]
20923
+ attr_accessor :key
20924
+
20925
+ #
20926
+ # Corresponds to the JSON property `value`
20927
+ # @return [String]
20928
+ attr_accessor :value
20929
+
20930
+ def initialize(**args)
20931
+ update!(**args)
20932
+ end
20933
+
20934
+ # Update properties of this object
20935
+ def update!(**args)
20936
+ @key = args[:key] if args.key?(:key)
20937
+ @value = args[:value] if args.key?(:value)
20710
20938
  end
20711
20939
  end
20712
20940
 
@@ -20714,6 +20942,11 @@ module Google
20714
20942
  class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo
20715
20943
  include Google::Apis::Core::Hashable
20716
20944
 
20945
+ #
20946
+ # Corresponds to the JSON property `cesDebugInfo`
20947
+ # @return [Hash<String,Object>]
20948
+ attr_accessor :ces_debug_info
20949
+
20717
20950
  #
20718
20951
  # Corresponds to the JSON property `datastoreResponseReason`
20719
20952
  # @return [String]
@@ -20734,6 +20967,11 @@ module Google
20734
20967
  # @return [String]
20735
20968
  attr_accessor :query_categorization_failure_reason
20736
20969
 
20970
+ #
20971
+ # Corresponds to the JSON property `queryGenerationDebugInfo`
20972
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo]
20973
+ attr_accessor :query_generation_debug_info
20974
+
20737
20975
  #
20738
20976
  # Corresponds to the JSON property `queryGenerationFailureReason`
20739
20977
  # @return [String]
@@ -20750,10 +20988,12 @@ module Google
20750
20988
 
20751
20989
  # Update properties of this object
20752
20990
  def update!(**args)
20991
+ @ces_debug_info = args[:ces_debug_info] if args.key?(:ces_debug_info)
20753
20992
  @datastore_response_reason = args[:datastore_response_reason] if args.key?(:datastore_response_reason)
20754
20993
  @ingested_context_reference_debug_info = args[:ingested_context_reference_debug_info] if args.key?(:ingested_context_reference_debug_info)
20755
20994
  @knowledge_assist_behavior = args[:knowledge_assist_behavior] if args.key?(:knowledge_assist_behavior)
20756
20995
  @query_categorization_failure_reason = args[:query_categorization_failure_reason] if args.key?(:query_categorization_failure_reason)
20996
+ @query_generation_debug_info = args[:query_generation_debug_info] if args.key?(:query_generation_debug_info)
20757
20997
  @query_generation_failure_reason = args[:query_generation_failure_reason] if args.key?(:query_generation_failure_reason)
20758
20998
  @service_latency = args[:service_latency] if args.key?(:service_latency)
20759
20999
  end
@@ -20890,6 +21130,37 @@ module Google
20890
21130
  end
20891
21131
  end
20892
21132
 
21133
+ #
21134
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
21135
+ include Google::Apis::Core::Hashable
21136
+
21137
+ #
21138
+ # Corresponds to the JSON property `candidatesTokenCount`
21139
+ # @return [Fixnum]
21140
+ attr_accessor :candidates_token_count
21141
+
21142
+ #
21143
+ # Corresponds to the JSON property `promptTokenCount`
21144
+ # @return [Fixnum]
21145
+ attr_accessor :prompt_token_count
21146
+
21147
+ #
21148
+ # Corresponds to the JSON property `totalTokenCount`
21149
+ # @return [Fixnum]
21150
+ attr_accessor :total_token_count
21151
+
21152
+ def initialize(**args)
21153
+ update!(**args)
21154
+ end
21155
+
21156
+ # Update properties of this object
21157
+ def update!(**args)
21158
+ @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count)
21159
+ @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
21160
+ @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
21161
+ end
21162
+ end
21163
+
20893
21164
  #
20894
21165
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
20895
21166
  include Google::Apis::Core::Hashable
@@ -21752,6 +22023,11 @@ module Google
21752
22023
  class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
21753
22024
  include Google::Apis::Core::Hashable
21754
22025
 
22026
+ #
22027
+ # Corresponds to the JSON property `additionalSuggestedQueryResults`
22028
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult>]
22029
+ attr_accessor :additional_suggested_query_results
22030
+
21755
22031
  #
21756
22032
  # Corresponds to the JSON property `contextSize`
21757
22033
  # @return [Fixnum]
@@ -21773,6 +22049,7 @@ module Google
21773
22049
 
21774
22050
  # Update properties of this object
21775
22051
  def update!(**args)
22052
+ @additional_suggested_query_results = args[:additional_suggested_query_results] if args.key?(:additional_suggested_query_results)
21776
22053
  @context_size = args[:context_size] if args.key?(:context_size)
21777
22054
  @knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
21778
22055
  @latest_message = args[:latest_message] if args.key?(:latest_message)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.123.0"
19
+ GEM_VERSION = "0.125.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260509"
25
+ REVISION = "20260604"
26
26
  end
27
27
  end
28
28
  end
@@ -2422,6 +2422,12 @@ module Google
2422
2422
  include Google::Apis::Core::JsonObjectSupport
2423
2423
  end
2424
2424
 
2425
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult
2426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2427
+
2428
+ include Google::Apis::Core::JsonObjectSupport
2429
+ end
2430
+
2425
2431
  class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
2426
2432
  class Representation < Google::Apis::Core::JsonRepresentation; end
2427
2433
 
@@ -2458,6 +2464,12 @@ module Google
2458
2464
  include Google::Apis::Core::JsonObjectSupport
2459
2465
  end
2460
2466
 
2467
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
2468
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2469
+
2470
+ include Google::Apis::Core::JsonObjectSupport
2471
+ end
2472
+
2461
2473
  class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo
2462
2474
  class Representation < Google::Apis::Core::JsonRepresentation; end
2463
2475
 
@@ -2470,6 +2482,12 @@ module Google
2470
2482
  include Google::Apis::Core::JsonObjectSupport
2471
2483
  end
2472
2484
 
2485
+ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo
2486
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2487
+
2488
+ include Google::Apis::Core::JsonObjectSupport
2489
+ end
2490
+
2473
2491
  class GoogleCloudDialogflowV2KnowledgeBase
2474
2492
  class Representation < Google::Apis::Core::JsonRepresentation; end
2475
2493
 
@@ -2830,6 +2848,12 @@ module Google
2830
2848
  include Google::Apis::Core::JsonObjectSupport
2831
2849
  end
2832
2850
 
2851
+ class GoogleCloudDialogflowV2SipConfig
2852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2853
+
2854
+ include Google::Apis::Core::JsonObjectSupport
2855
+ end
2856
+
2833
2857
  class GoogleCloudDialogflowV2SipTrunk
2834
2858
  class Representation < Google::Apis::Core::JsonRepresentation; end
2835
2859
 
@@ -3796,6 +3820,12 @@ module Google
3796
3820
  include Google::Apis::Core::JsonObjectSupport
3797
3821
  end
3798
3822
 
3823
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult
3824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3825
+
3826
+ include Google::Apis::Core::JsonObjectSupport
3827
+ end
3828
+
3799
3829
  class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
3800
3830
  class Representation < Google::Apis::Core::JsonRepresentation; end
3801
3831
 
@@ -3832,6 +3862,12 @@ module Google
3832
3862
  include Google::Apis::Core::JsonObjectSupport
3833
3863
  end
3834
3864
 
3865
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext
3866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3867
+
3868
+ include Google::Apis::Core::JsonObjectSupport
3869
+ end
3870
+
3835
3871
  class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo
3836
3872
  class Representation < Google::Apis::Core::JsonRepresentation; end
3837
3873
 
@@ -3844,6 +3880,12 @@ module Google
3844
3880
  include Google::Apis::Core::JsonObjectSupport
3845
3881
  end
3846
3882
 
3883
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
3884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3885
+
3886
+ include Google::Apis::Core::JsonObjectSupport
3887
+ end
3888
+
3847
3889
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
3848
3890
  class Representation < Google::Apis::Core::JsonRepresentation; end
3849
3891
 
@@ -6850,6 +6892,8 @@ module Google
6850
6892
  property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig::Representation
6851
6893
 
6852
6894
  property :security_settings, as: 'securitySettings'
6895
+ property :sip_config, as: 'sipConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipConfig::Representation
6896
+
6853
6897
  property :stt_config, as: 'sttConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig::Representation
6854
6898
 
6855
6899
  property :time_zone, as: 'timeZone'
@@ -7542,6 +7586,7 @@ module Google
7542
7586
  property :conversation_process_config, as: 'conversationProcessConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig::Representation
7543
7587
 
7544
7588
  property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
7589
+ property :disable_query_search_context, as: 'disableQuerySearchContext'
7545
7590
  property :enable_conversation_augmented_query, as: 'enableConversationAugmentedQuery'
7546
7591
  property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
7547
7592
  property :enable_query_suggestion_only, as: 'enableQuerySuggestionOnly'
@@ -7553,6 +7598,7 @@ module Google
7553
7598
 
7554
7599
  property :suggestion_feature, as: 'suggestionFeature', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature::Representation
7555
7600
 
7601
+ property :suggestion_trigger_event, as: 'suggestionTriggerEvent'
7556
7602
  property :suggestion_trigger_settings, as: 'suggestionTriggerSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings::Representation
7557
7603
 
7558
7604
  end
@@ -8216,6 +8262,14 @@ module Google
8216
8262
  end
8217
8263
  end
8218
8264
 
8265
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult
8266
+ # @private
8267
+ class Representation < Google::Apis::Core::JsonRepresentation
8268
+ property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery::Representation
8269
+
8270
+ end
8271
+ end
8272
+
8219
8273
  class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
8220
8274
  # @private
8221
8275
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8269,18 +8323,31 @@ module Google
8269
8323
  # @private
8270
8324
  class Representation < Google::Apis::Core::JsonRepresentation
8271
8325
  property :query_text, as: 'queryText'
8326
+ collection :search_contexts, as: 'searchContexts', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext::Representation
8327
+
8328
+ end
8329
+ end
8330
+
8331
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
8332
+ # @private
8333
+ class Representation < Google::Apis::Core::JsonRepresentation
8334
+ property :key, as: 'key'
8335
+ property :value, as: 'value'
8272
8336
  end
8273
8337
  end
8274
8338
 
8275
8339
  class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo
8276
8340
  # @private
8277
8341
  class Representation < Google::Apis::Core::JsonRepresentation
8342
+ hash :ces_debug_info, as: 'cesDebugInfo'
8278
8343
  property :datastore_response_reason, as: 'datastoreResponseReason'
8279
8344
  property :ingested_context_reference_debug_info, as: 'ingestedContextReferenceDebugInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo::Representation
8280
8345
 
8281
8346
  property :knowledge_assist_behavior, as: 'knowledgeAssistBehavior', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior::Representation
8282
8347
 
8283
8348
  property :query_categorization_failure_reason, as: 'queryCategorizationFailureReason'
8349
+ property :query_generation_debug_info, as: 'queryGenerationDebugInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo::Representation
8350
+
8284
8351
  property :query_generation_failure_reason, as: 'queryGenerationFailureReason'
8285
8352
  property :service_latency, as: 'serviceLatency', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ServiceLatency, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ServiceLatency::Representation
8286
8353
 
@@ -8310,6 +8377,15 @@ module Google
8310
8377
  end
8311
8378
  end
8312
8379
 
8380
+ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo
8381
+ # @private
8382
+ class Representation < Google::Apis::Core::JsonRepresentation
8383
+ property :candidates_token_count, as: 'candidatesTokenCount'
8384
+ property :prompt_token_count, as: 'promptTokenCount'
8385
+ property :total_token_count, as: 'totalTokenCount'
8386
+ end
8387
+ end
8388
+
8313
8389
  class GoogleCloudDialogflowV2KnowledgeBase
8314
8390
  # @private
8315
8391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8906,6 +8982,19 @@ module Google
8906
8982
  end
8907
8983
  end
8908
8984
 
8985
+ class GoogleCloudDialogflowV2SipConfig
8986
+ # @private
8987
+ class Representation < Google::Apis::Core::JsonRepresentation
8988
+ property :allow_virtual_agent_interaction, as: 'allowVirtualAgentInteraction'
8989
+ collection :copy_inbound_call_leg_headers, as: 'copyInboundCallLegHeaders'
8990
+ property :create_conversation_on_the_fly, as: 'createConversationOnTheFly'
8991
+ property :ignore_reinvite_media_direction, as: 'ignoreReinviteMediaDirection'
8992
+ property :inactive_start, as: 'inactiveStart'
8993
+ property :keep_conversation_running, as: 'keepConversationRunning'
8994
+ property :max_audio_recording_duration, as: 'maxAudioRecordingDuration'
8995
+ end
8996
+ end
8997
+
8909
8998
  class GoogleCloudDialogflowV2SipTrunk
8910
8999
  # @private
8911
9000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9089,6 +9178,8 @@ module Google
9089
9178
  class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
9090
9179
  # @private
9091
9180
  class Representation < Google::Apis::Core::JsonRepresentation
9181
+ collection :additional_suggested_query_results, as: 'additionalSuggestedQueryResults', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult::Representation
9182
+
9092
9183
  property :context_size, as: 'contextSize'
9093
9184
  property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswer::Representation
9094
9185
 
@@ -10548,6 +10639,14 @@ module Google
10548
10639
  end
10549
10640
  end
10550
10641
 
10642
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult
10643
+ # @private
10644
+ class Representation < Google::Apis::Core::JsonRepresentation
10645
+ property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery::Representation
10646
+
10647
+ end
10648
+ end
10649
+
10551
10650
  class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
10552
10651
  # @private
10553
10652
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10601,18 +10700,31 @@ module Google
10601
10700
  # @private
10602
10701
  class Representation < Google::Apis::Core::JsonRepresentation
10603
10702
  property :query_text, as: 'queryText'
10703
+ collection :search_contexts, as: 'searchContexts', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext::Representation
10704
+
10705
+ end
10706
+ end
10707
+
10708
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext
10709
+ # @private
10710
+ class Representation < Google::Apis::Core::JsonRepresentation
10711
+ property :key, as: 'key'
10712
+ property :value, as: 'value'
10604
10713
  end
10605
10714
  end
10606
10715
 
10607
10716
  class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo
10608
10717
  # @private
10609
10718
  class Representation < Google::Apis::Core::JsonRepresentation
10719
+ hash :ces_debug_info, as: 'cesDebugInfo'
10610
10720
  property :datastore_response_reason, as: 'datastoreResponseReason'
10611
10721
  property :ingested_context_reference_debug_info, as: 'ingestedContextReferenceDebugInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo::Representation
10612
10722
 
10613
10723
  property :knowledge_assist_behavior, as: 'knowledgeAssistBehavior', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior::Representation
10614
10724
 
10615
10725
  property :query_categorization_failure_reason, as: 'queryCategorizationFailureReason'
10726
+ property :query_generation_debug_info, as: 'queryGenerationDebugInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo::Representation
10727
+
10616
10728
  property :query_generation_failure_reason, as: 'queryGenerationFailureReason'
10617
10729
  property :service_latency, as: 'serviceLatency', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ServiceLatency, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ServiceLatency::Representation
10618
10730
 
@@ -10642,6 +10754,15 @@ module Google
10642
10754
  end
10643
10755
  end
10644
10756
 
10757
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
10758
+ # @private
10759
+ class Representation < Google::Apis::Core::JsonRepresentation
10760
+ property :candidates_token_count, as: 'candidatesTokenCount'
10761
+ property :prompt_token_count, as: 'promptTokenCount'
10762
+ property :total_token_count, as: 'totalTokenCount'
10763
+ end
10764
+ end
10765
+
10645
10766
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
10646
10767
  # @private
10647
10768
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10903,6 +11024,8 @@ module Google
10903
11024
  class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
10904
11025
  # @private
10905
11026
  class Representation < Google::Apis::Core::JsonRepresentation
11027
+ collection :additional_suggested_query_results, as: 'additionalSuggestedQueryResults', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult::Representation
11028
+
10906
11029
  property :context_size, as: 'contextSize'
10907
11030
  property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer::Representation
10908
11031
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.123.0
4
+ version: 0.125.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.123.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.125.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="