google-apis-dialogflow_v3 0.115.0 → 0.116.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: a8f6cc4defb5ede55f20fce5c56f5722333e71f28d1ccd00c11b0aa08414a97c
4
- data.tar.gz: 1613be153f8e442b3359f3afc66b25884f630b62edb5511fb178a12d301a901c
3
+ metadata.gz: 9817b0f67fcf4e4a5a472ce1bba3b8dfb49cd05cea9084b968466ce6e379a8fe
4
+ data.tar.gz: f0ede190d4b0459dadb52b6fa1314a4e3f0571a9b09b6e709917e2536822025c
5
5
  SHA512:
6
- metadata.gz: dea7a2786b458b9ef9ebfbe228e806c2c183991a511ffa8208957f8e8de6d07a810f866d679cc0f33be65335287a3095ac20de6d3f74192f17a39f2d41ca7b93
7
- data.tar.gz: 6c558c526a11993ea3ff2e7faf12bf06fd4a5b9c8b4bd256c058c205a2ef3147ae33cffc47a7d9f19bb591baaa74a95c4c18ff731cf1e097705c752eaa9e0e9b
6
+ metadata.gz: fc491e440e3d28c9eb0a2c77a53299c9e727dec1a5fa77cc38e8ca399fffe62348f518109440fdef52b128bf253b66421360bf32cd67921ab73e2627fd7463bb
7
+ data.tar.gz: 55316e78ff891c1b6537b3f939bae8959f16e5da52b82a024cdb6278753d55d936250707f8667221af03e4a880781ead5dec1152020250e8196b247fc74f3af6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.116.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250929
6
+
3
7
  ### v0.115.0 (2025-09-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20250902
@@ -14796,6 +14796,282 @@ module Google
14796
14796
  end
14797
14797
  end
14798
14798
 
14799
+ # Agent Coaching instructions that customer can configure.
14800
+ class GoogleCloudDialogflowV2AgentCoachingInstruction
14801
+ include Google::Apis::Core::Hashable
14802
+
14803
+ # Optional. The action that human agent should take. For example, "apologize for
14804
+ # the slow shipping". If the users only want to use agent coaching for intent
14805
+ # detection, agent_action can be empty
14806
+ # Corresponds to the JSON property `agentAction`
14807
+ # @return [String]
14808
+ attr_accessor :agent_action
14809
+
14810
+ # Optional. The condition of the instruction. For example, "the customer wants
14811
+ # to cancel an order". If the users want the instruction to be triggered
14812
+ # unconditionally, the condition can be empty.
14813
+ # Corresponds to the JSON property `condition`
14814
+ # @return [String]
14815
+ attr_accessor :condition
14816
+
14817
+ # Optional. The detailed description of this instruction.
14818
+ # Corresponds to the JSON property `displayDetails`
14819
+ # @return [String]
14820
+ attr_accessor :display_details
14821
+
14822
+ # Optional. Display name for the instruction.
14823
+ # Corresponds to the JSON property `displayName`
14824
+ # @return [String]
14825
+ attr_accessor :display_name
14826
+
14827
+ # Duplication check for the suggestion.
14828
+ # Corresponds to the JSON property `duplicateCheckResult`
14829
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult]
14830
+ attr_accessor :duplicate_check_result
14831
+
14832
+ # Optional. The action that system should take. For example, "call GetOrderTime
14833
+ # with order_number=`order number provided by the customer`". If the users don't
14834
+ # have plugins or don't want to trigger plugins, the system_action can be empty
14835
+ # Corresponds to the JSON property `systemAction`
14836
+ # @return [String]
14837
+ attr_accessor :system_action
14838
+
14839
+ def initialize(**args)
14840
+ update!(**args)
14841
+ end
14842
+
14843
+ # Update properties of this object
14844
+ def update!(**args)
14845
+ @agent_action = args[:agent_action] if args.key?(:agent_action)
14846
+ @condition = args[:condition] if args.key?(:condition)
14847
+ @display_details = args[:display_details] if args.key?(:display_details)
14848
+ @display_name = args[:display_name] if args.key?(:display_name)
14849
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
14850
+ @system_action = args[:system_action] if args.key?(:system_action)
14851
+ end
14852
+ end
14853
+
14854
+ # Duplication check for the suggestion.
14855
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
14856
+ include Google::Apis::Core::Hashable
14857
+
14858
+ # Output only. The duplicate suggestions.
14859
+ # Corresponds to the JSON property `duplicateSuggestions`
14860
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>]
14861
+ attr_accessor :duplicate_suggestions
14862
+
14863
+ def initialize(**args)
14864
+ update!(**args)
14865
+ end
14866
+
14867
+ # Update properties of this object
14868
+ def update!(**args)
14869
+ @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
14870
+ end
14871
+ end
14872
+
14873
+ # The duplicate suggestion details.
14874
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
14875
+ include Google::Apis::Core::Hashable
14876
+
14877
+ # Output only. The answer record id of the past duplicate suggestion.
14878
+ # Corresponds to the JSON property `answerRecord`
14879
+ # @return [String]
14880
+ attr_accessor :answer_record
14881
+
14882
+ # Output only. The similarity score of between the past and current suggestion.
14883
+ # Corresponds to the JSON property `similarityScore`
14884
+ # @return [Float]
14885
+ attr_accessor :similarity_score
14886
+
14887
+ # Output only. The index of the duplicate suggestion in the past suggestion list.
14888
+ # Corresponds to the JSON property `suggestionIndex`
14889
+ # @return [Fixnum]
14890
+ attr_accessor :suggestion_index
14891
+
14892
+ def initialize(**args)
14893
+ update!(**args)
14894
+ end
14895
+
14896
+ # Update properties of this object
14897
+ def update!(**args)
14898
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
14899
+ @similarity_score = args[:similarity_score] if args.key?(:similarity_score)
14900
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
14901
+ end
14902
+ end
14903
+
14904
+ # Suggestion for coaching agents.
14905
+ class GoogleCloudDialogflowV2AgentCoachingSuggestion
14906
+ include Google::Apis::Core::Hashable
14907
+
14908
+ # Optional. Suggested actions for the agent to take.
14909
+ # Corresponds to the JSON property `agentActionSuggestions`
14910
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion>]
14911
+ attr_accessor :agent_action_suggestions
14912
+
14913
+ # Optional. Instructions applicable based on the current context.
14914
+ # Corresponds to the JSON property `applicableInstructions`
14915
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstruction>]
14916
+ attr_accessor :applicable_instructions
14917
+
14918
+ # Optional. Sample response for the Agent.
14919
+ # Corresponds to the JSON property `sampleResponses`
14920
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse>]
14921
+ attr_accessor :sample_responses
14922
+
14923
+ def initialize(**args)
14924
+ update!(**args)
14925
+ end
14926
+
14927
+ # Update properties of this object
14928
+ def update!(**args)
14929
+ @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
14930
+ @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
14931
+ @sample_responses = args[:sample_responses] if args.key?(:sample_responses)
14932
+ end
14933
+ end
14934
+
14935
+ # Actions suggested for the agent. This is based on applicable instructions.
14936
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
14937
+ include Google::Apis::Core::Hashable
14938
+
14939
+ # Optional. The suggested action for the agent.
14940
+ # Corresponds to the JSON property `agentAction`
14941
+ # @return [String]
14942
+ attr_accessor :agent_action
14943
+
14944
+ # Duplication check for the suggestion.
14945
+ # Corresponds to the JSON property `duplicateCheckResult`
14946
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult]
14947
+ attr_accessor :duplicate_check_result
14948
+
14949
+ # Sources for the suggestion.
14950
+ # Corresponds to the JSON property `sources`
14951
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
14952
+ attr_accessor :sources
14953
+
14954
+ def initialize(**args)
14955
+ update!(**args)
14956
+ end
14957
+
14958
+ # Update properties of this object
14959
+ def update!(**args)
14960
+ @agent_action = args[:agent_action] if args.key?(:agent_action)
14961
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
14962
+ @sources = args[:sources] if args.key?(:sources)
14963
+ end
14964
+ end
14965
+
14966
+ # Duplication check for the suggestion.
14967
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
14968
+ include Google::Apis::Core::Hashable
14969
+
14970
+ # Output only. The duplicate suggestions.
14971
+ # Corresponds to the JSON property `duplicateSuggestions`
14972
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>]
14973
+ attr_accessor :duplicate_suggestions
14974
+
14975
+ def initialize(**args)
14976
+ update!(**args)
14977
+ end
14978
+
14979
+ # Update properties of this object
14980
+ def update!(**args)
14981
+ @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
14982
+ end
14983
+ end
14984
+
14985
+ # The duplicate suggestion details. Keeping answer_record and sources together
14986
+ # as they are identifiers for duplicate suggestions.
14987
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
14988
+ include Google::Apis::Core::Hashable
14989
+
14990
+ # Output only. The answer record id of the past duplicate suggestion.
14991
+ # Corresponds to the JSON property `answerRecord`
14992
+ # @return [String]
14993
+ attr_accessor :answer_record
14994
+
14995
+ # Output only. The similarity score of between the past and current suggestion.
14996
+ # Corresponds to the JSON property `similarityScore`
14997
+ # @return [Float]
14998
+ attr_accessor :similarity_score
14999
+
15000
+ # Sources for the suggestion.
15001
+ # Corresponds to the JSON property `sources`
15002
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
15003
+ attr_accessor :sources
15004
+
15005
+ # Output only. The index of the duplicate suggestion in the past suggestion list.
15006
+ # Corresponds to the JSON property `suggestionIndex`
15007
+ # @return [Fixnum]
15008
+ attr_accessor :suggestion_index
15009
+
15010
+ def initialize(**args)
15011
+ update!(**args)
15012
+ end
15013
+
15014
+ # Update properties of this object
15015
+ def update!(**args)
15016
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
15017
+ @similarity_score = args[:similarity_score] if args.key?(:similarity_score)
15018
+ @sources = args[:sources] if args.key?(:sources)
15019
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
15020
+ end
15021
+ end
15022
+
15023
+ # Sample response that the agent can use. This could be based on applicable
15024
+ # instructions and ingested data from other systems.
15025
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
15026
+ include Google::Apis::Core::Hashable
15027
+
15028
+ # Duplication check for the suggestion.
15029
+ # Corresponds to the JSON property `duplicateCheckResult`
15030
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult]
15031
+ attr_accessor :duplicate_check_result
15032
+
15033
+ # Optional. Sample response for Agent in text.
15034
+ # Corresponds to the JSON property `responseText`
15035
+ # @return [String]
15036
+ attr_accessor :response_text
15037
+
15038
+ # Sources for the suggestion.
15039
+ # Corresponds to the JSON property `sources`
15040
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
15041
+ attr_accessor :sources
15042
+
15043
+ def initialize(**args)
15044
+ update!(**args)
15045
+ end
15046
+
15047
+ # Update properties of this object
15048
+ def update!(**args)
15049
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
15050
+ @response_text = args[:response_text] if args.key?(:response_text)
15051
+ @sources = args[:sources] if args.key?(:sources)
15052
+ end
15053
+ end
15054
+
15055
+ # Sources for the suggestion.
15056
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
15057
+ include Google::Apis::Core::Hashable
15058
+
15059
+ # Output only. Source instruction indexes for the suggestion. This is the index
15060
+ # of the applicable_instructions field.
15061
+ # Corresponds to the JSON property `instructionIndexes`
15062
+ # @return [Array<Fixnum>]
15063
+ attr_accessor :instruction_indexes
15064
+
15065
+ def initialize(**args)
15066
+ update!(**args)
15067
+ end
15068
+
15069
+ # Update properties of this object
15070
+ def update!(**args)
15071
+ @instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
15072
+ end
15073
+ end
15074
+
14799
15075
  # Represents a part of a message possibly annotated with an entity. The part can
14800
15076
  # be an entity or purely a part of the message between two entities or message
14801
15077
  # start/end.
@@ -15749,6 +16025,11 @@ module Google
15749
16025
  class GoogleCloudDialogflowV2GeneratorSuggestion
15750
16026
  include Google::Apis::Core::Hashable
15751
16027
 
16028
+ # Suggestion for coaching agents.
16029
+ # Corresponds to the JSON property `agentCoachingSuggestion`
16030
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestion]
16031
+ attr_accessor :agent_coaching_suggestion
16032
+
15752
16033
  # Suggestion generated using free form generator.
15753
16034
  # Corresponds to the JSON property `freeFormSuggestion`
15754
16035
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FreeFormSuggestion]
@@ -15770,6 +16051,7 @@ module Google
15770
16051
 
15771
16052
  # Update properties of this object
15772
16053
  def update!(**args)
16054
+ @agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
15773
16055
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
15774
16056
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
15775
16057
  @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
@@ -18302,6 +18584,11 @@ module Google
18302
18584
  # @return [String]
18303
18585
  attr_accessor :action
18304
18586
 
18587
+ # Optional. The answer record associated with this tool call.
18588
+ # Corresponds to the JSON property `answerRecord`
18589
+ # @return [String]
18590
+ attr_accessor :answer_record
18591
+
18305
18592
  # Output only. Create time of the tool call.
18306
18593
  # Corresponds to the JSON property `createTime`
18307
18594
  # @return [String]
@@ -18312,12 +18599,27 @@ module Google
18312
18599
  # @return [Hash<String,Object>]
18313
18600
  attr_accessor :input_parameters
18314
18601
 
18602
+ # Output only. State of the tool call.
18603
+ # Corresponds to the JSON property `state`
18604
+ # @return [String]
18605
+ attr_accessor :state
18606
+
18315
18607
  # Optional. The tool associated with this call. Format: `projects//locations//
18316
18608
  # tools/`.
18317
18609
  # Corresponds to the JSON property `tool`
18318
18610
  # @return [String]
18319
18611
  attr_accessor :tool
18320
18612
 
18613
+ # Optional. A human readable description of the tool.
18614
+ # Corresponds to the JSON property `toolDisplayDetails`
18615
+ # @return [String]
18616
+ attr_accessor :tool_display_details
18617
+
18618
+ # Optional. A human readable short name of the tool, to be shown on the UI.
18619
+ # Corresponds to the JSON property `toolDisplayName`
18620
+ # @return [String]
18621
+ attr_accessor :tool_display_name
18622
+
18321
18623
  def initialize(**args)
18322
18624
  update!(**args)
18323
18625
  end
@@ -18325,9 +18627,13 @@ module Google
18325
18627
  # Update properties of this object
18326
18628
  def update!(**args)
18327
18629
  @action = args[:action] if args.key?(:action)
18630
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
18328
18631
  @create_time = args[:create_time] if args.key?(:create_time)
18329
18632
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
18633
+ @state = args[:state] if args.key?(:state)
18330
18634
  @tool = args[:tool] if args.key?(:tool)
18635
+ @tool_display_details = args[:tool_display_details] if args.key?(:tool_display_details)
18636
+ @tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
18331
18637
  end
18332
18638
  end
18333
18639
 
@@ -18340,6 +18646,11 @@ module Google
18340
18646
  # @return [String]
18341
18647
  attr_accessor :action
18342
18648
 
18649
+ # Optional. The answer record associated with this tool call result.
18650
+ # Corresponds to the JSON property `answerRecord`
18651
+ # @return [String]
18652
+ attr_accessor :answer_record
18653
+
18343
18654
  # Only populated if the response content is utf-8 encoded.
18344
18655
  # Corresponds to the JSON property `content`
18345
18656
  # @return [String]
@@ -18375,6 +18686,7 @@ module Google
18375
18686
  # Update properties of this object
18376
18687
  def update!(**args)
18377
18688
  @action = args[:action] if args.key?(:action)
18689
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
18378
18690
  @content = args[:content] if args.key?(:content)
18379
18691
  @create_time = args[:create_time] if args.key?(:create_time)
18380
18692
  @error = args[:error] if args.key?(:error)
@@ -18561,6 +18873,282 @@ module Google
18561
18873
  end
18562
18874
  end
18563
18875
 
18876
+ # Agent Coaching instructions that customer can configure.
18877
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
18878
+ include Google::Apis::Core::Hashable
18879
+
18880
+ # Optional. The action that human agent should take. For example, "apologize for
18881
+ # the slow shipping". If the users only want to use agent coaching for intent
18882
+ # detection, agent_action can be empty
18883
+ # Corresponds to the JSON property `agentAction`
18884
+ # @return [String]
18885
+ attr_accessor :agent_action
18886
+
18887
+ # Optional. The condition of the instruction. For example, "the customer wants
18888
+ # to cancel an order". If the users want the instruction to be triggered
18889
+ # unconditionally, the condition can be empty.
18890
+ # Corresponds to the JSON property `condition`
18891
+ # @return [String]
18892
+ attr_accessor :condition
18893
+
18894
+ # Optional. The detailed description of this instruction.
18895
+ # Corresponds to the JSON property `displayDetails`
18896
+ # @return [String]
18897
+ attr_accessor :display_details
18898
+
18899
+ # Optional. Display name for the instruction.
18900
+ # Corresponds to the JSON property `displayName`
18901
+ # @return [String]
18902
+ attr_accessor :display_name
18903
+
18904
+ # Duplication check for the suggestion.
18905
+ # Corresponds to the JSON property `duplicateCheckResult`
18906
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult]
18907
+ attr_accessor :duplicate_check_result
18908
+
18909
+ # Optional. The action that system should take. For example, "call GetOrderTime
18910
+ # with order_number=`order number provided by the customer`". If the users don't
18911
+ # have plugins or don't want to trigger plugins, the system_action can be empty
18912
+ # Corresponds to the JSON property `systemAction`
18913
+ # @return [String]
18914
+ attr_accessor :system_action
18915
+
18916
+ def initialize(**args)
18917
+ update!(**args)
18918
+ end
18919
+
18920
+ # Update properties of this object
18921
+ def update!(**args)
18922
+ @agent_action = args[:agent_action] if args.key?(:agent_action)
18923
+ @condition = args[:condition] if args.key?(:condition)
18924
+ @display_details = args[:display_details] if args.key?(:display_details)
18925
+ @display_name = args[:display_name] if args.key?(:display_name)
18926
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
18927
+ @system_action = args[:system_action] if args.key?(:system_action)
18928
+ end
18929
+ end
18930
+
18931
+ # Duplication check for the suggestion.
18932
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
18933
+ include Google::Apis::Core::Hashable
18934
+
18935
+ # Output only. The duplicate suggestions.
18936
+ # Corresponds to the JSON property `duplicateSuggestions`
18937
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>]
18938
+ attr_accessor :duplicate_suggestions
18939
+
18940
+ def initialize(**args)
18941
+ update!(**args)
18942
+ end
18943
+
18944
+ # Update properties of this object
18945
+ def update!(**args)
18946
+ @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
18947
+ end
18948
+ end
18949
+
18950
+ # The duplicate suggestion details.
18951
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
18952
+ include Google::Apis::Core::Hashable
18953
+
18954
+ # Output only. The answer record id of the past duplicate suggestion.
18955
+ # Corresponds to the JSON property `answerRecord`
18956
+ # @return [String]
18957
+ attr_accessor :answer_record
18958
+
18959
+ # Output only. The similarity score of between the past and current suggestion.
18960
+ # Corresponds to the JSON property `similarityScore`
18961
+ # @return [Float]
18962
+ attr_accessor :similarity_score
18963
+
18964
+ # Output only. The index of the duplicate suggestion in the past suggestion list.
18965
+ # Corresponds to the JSON property `suggestionIndex`
18966
+ # @return [Fixnum]
18967
+ attr_accessor :suggestion_index
18968
+
18969
+ def initialize(**args)
18970
+ update!(**args)
18971
+ end
18972
+
18973
+ # Update properties of this object
18974
+ def update!(**args)
18975
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
18976
+ @similarity_score = args[:similarity_score] if args.key?(:similarity_score)
18977
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
18978
+ end
18979
+ end
18980
+
18981
+ # Suggestion for coaching agents.
18982
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
18983
+ include Google::Apis::Core::Hashable
18984
+
18985
+ # Optional. Suggested actions for the agent to take.
18986
+ # Corresponds to the JSON property `agentActionSuggestions`
18987
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion>]
18988
+ attr_accessor :agent_action_suggestions
18989
+
18990
+ # Optional. Instructions applicable based on the current context.
18991
+ # Corresponds to the JSON property `applicableInstructions`
18992
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>]
18993
+ attr_accessor :applicable_instructions
18994
+
18995
+ # Optional. Sample response for the Agent.
18996
+ # Corresponds to the JSON property `sampleResponses`
18997
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse>]
18998
+ attr_accessor :sample_responses
18999
+
19000
+ def initialize(**args)
19001
+ update!(**args)
19002
+ end
19003
+
19004
+ # Update properties of this object
19005
+ def update!(**args)
19006
+ @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
19007
+ @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
19008
+ @sample_responses = args[:sample_responses] if args.key?(:sample_responses)
19009
+ end
19010
+ end
19011
+
19012
+ # Actions suggested for the agent. This is based on applicable instructions.
19013
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
19014
+ include Google::Apis::Core::Hashable
19015
+
19016
+ # Optional. The suggested action for the agent.
19017
+ # Corresponds to the JSON property `agentAction`
19018
+ # @return [String]
19019
+ attr_accessor :agent_action
19020
+
19021
+ # Duplication check for the suggestion.
19022
+ # Corresponds to the JSON property `duplicateCheckResult`
19023
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult]
19024
+ attr_accessor :duplicate_check_result
19025
+
19026
+ # Sources for the suggestion.
19027
+ # Corresponds to the JSON property `sources`
19028
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
19029
+ attr_accessor :sources
19030
+
19031
+ def initialize(**args)
19032
+ update!(**args)
19033
+ end
19034
+
19035
+ # Update properties of this object
19036
+ def update!(**args)
19037
+ @agent_action = args[:agent_action] if args.key?(:agent_action)
19038
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
19039
+ @sources = args[:sources] if args.key?(:sources)
19040
+ end
19041
+ end
19042
+
19043
+ # Duplication check for the suggestion.
19044
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
19045
+ include Google::Apis::Core::Hashable
19046
+
19047
+ # Output only. The duplicate suggestions.
19048
+ # Corresponds to the JSON property `duplicateSuggestions`
19049
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>]
19050
+ attr_accessor :duplicate_suggestions
19051
+
19052
+ def initialize(**args)
19053
+ update!(**args)
19054
+ end
19055
+
19056
+ # Update properties of this object
19057
+ def update!(**args)
19058
+ @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
19059
+ end
19060
+ end
19061
+
19062
+ # The duplicate suggestion details. Keeping answer_record and sources together
19063
+ # as they are identifiers for duplicate suggestions.
19064
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
19065
+ include Google::Apis::Core::Hashable
19066
+
19067
+ # Output only. The answer record id of the past duplicate suggestion.
19068
+ # Corresponds to the JSON property `answerRecord`
19069
+ # @return [String]
19070
+ attr_accessor :answer_record
19071
+
19072
+ # Output only. The similarity score of between the past and current suggestion.
19073
+ # Corresponds to the JSON property `similarityScore`
19074
+ # @return [Float]
19075
+ attr_accessor :similarity_score
19076
+
19077
+ # Sources for the suggestion.
19078
+ # Corresponds to the JSON property `sources`
19079
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
19080
+ attr_accessor :sources
19081
+
19082
+ # Output only. The index of the duplicate suggestion in the past suggestion list.
19083
+ # Corresponds to the JSON property `suggestionIndex`
19084
+ # @return [Fixnum]
19085
+ attr_accessor :suggestion_index
19086
+
19087
+ def initialize(**args)
19088
+ update!(**args)
19089
+ end
19090
+
19091
+ # Update properties of this object
19092
+ def update!(**args)
19093
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
19094
+ @similarity_score = args[:similarity_score] if args.key?(:similarity_score)
19095
+ @sources = args[:sources] if args.key?(:sources)
19096
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
19097
+ end
19098
+ end
19099
+
19100
+ # Sample response that the agent can use. This could be based on applicable
19101
+ # instructions and ingested data from other systems.
19102
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
19103
+ include Google::Apis::Core::Hashable
19104
+
19105
+ # Duplication check for the suggestion.
19106
+ # Corresponds to the JSON property `duplicateCheckResult`
19107
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult]
19108
+ attr_accessor :duplicate_check_result
19109
+
19110
+ # Optional. Sample response for Agent in text.
19111
+ # Corresponds to the JSON property `responseText`
19112
+ # @return [String]
19113
+ attr_accessor :response_text
19114
+
19115
+ # Sources for the suggestion.
19116
+ # Corresponds to the JSON property `sources`
19117
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
19118
+ attr_accessor :sources
19119
+
19120
+ def initialize(**args)
19121
+ update!(**args)
19122
+ end
19123
+
19124
+ # Update properties of this object
19125
+ def update!(**args)
19126
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
19127
+ @response_text = args[:response_text] if args.key?(:response_text)
19128
+ @sources = args[:sources] if args.key?(:sources)
19129
+ end
19130
+ end
19131
+
19132
+ # Sources for the suggestion.
19133
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
19134
+ include Google::Apis::Core::Hashable
19135
+
19136
+ # Output only. Source instruction indexes for the suggestion. This is the index
19137
+ # of the applicable_instructions field.
19138
+ # Corresponds to the JSON property `instructionIndexes`
19139
+ # @return [Array<Fixnum>]
19140
+ attr_accessor :instruction_indexes
19141
+
19142
+ def initialize(**args)
19143
+ update!(**args)
19144
+ end
19145
+
19146
+ # Update properties of this object
19147
+ def update!(**args)
19148
+ @instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
19149
+ end
19150
+ end
19151
+
18564
19152
  # Represents a part of a message possibly annotated with an entity. The part can
18565
19153
  # be an entity or purely a part of the message between two entities or message
18566
19154
  # start/end.
@@ -19261,6 +19849,11 @@ module Google
19261
19849
  class GoogleCloudDialogflowV2beta1GeneratorSuggestion
19262
19850
  include Google::Apis::Core::Hashable
19263
19851
 
19852
+ # Suggestion for coaching agents.
19853
+ # Corresponds to the JSON property `agentCoachingSuggestion`
19854
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion]
19855
+ attr_accessor :agent_coaching_suggestion
19856
+
19264
19857
  # Suggestion generated using free form generator.
19265
19858
  # Corresponds to the JSON property `freeFormSuggestion`
19266
19859
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FreeFormSuggestion]
@@ -19282,6 +19875,7 @@ module Google
19282
19875
 
19283
19876
  # Update properties of this object
19284
19877
  def update!(**args)
19878
+ @agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
19285
19879
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
19286
19880
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
19287
19881
  @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
@@ -22598,6 +23192,11 @@ module Google
22598
23192
  # @return [String]
22599
23193
  attr_accessor :action
22600
23194
 
23195
+ # Optional. The answer record associated with this tool call.
23196
+ # Corresponds to the JSON property `answerRecord`
23197
+ # @return [String]
23198
+ attr_accessor :answer_record
23199
+
22601
23200
  # Output only. Create time of the tool call.
22602
23201
  # Corresponds to the JSON property `createTime`
22603
23202
  # @return [String]
@@ -22608,12 +23207,27 @@ module Google
22608
23207
  # @return [Hash<String,Object>]
22609
23208
  attr_accessor :input_parameters
22610
23209
 
23210
+ # Output only. State of the tool call
23211
+ # Corresponds to the JSON property `state`
23212
+ # @return [String]
23213
+ attr_accessor :state
23214
+
22611
23215
  # Optional. The tool associated with this call. Format: `projects//locations//
22612
23216
  # tools/`.
22613
23217
  # Corresponds to the JSON property `tool`
22614
23218
  # @return [String]
22615
23219
  attr_accessor :tool
22616
23220
 
23221
+ # Optional. A human readable description of the tool.
23222
+ # Corresponds to the JSON property `toolDisplayDetails`
23223
+ # @return [String]
23224
+ attr_accessor :tool_display_details
23225
+
23226
+ # Optional. A human readable short name of the tool, to be shown on the UI.
23227
+ # Corresponds to the JSON property `toolDisplayName`
23228
+ # @return [String]
23229
+ attr_accessor :tool_display_name
23230
+
22617
23231
  def initialize(**args)
22618
23232
  update!(**args)
22619
23233
  end
@@ -22621,9 +23235,13 @@ module Google
22621
23235
  # Update properties of this object
22622
23236
  def update!(**args)
22623
23237
  @action = args[:action] if args.key?(:action)
23238
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
22624
23239
  @create_time = args[:create_time] if args.key?(:create_time)
22625
23240
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
23241
+ @state = args[:state] if args.key?(:state)
22626
23242
  @tool = args[:tool] if args.key?(:tool)
23243
+ @tool_display_details = args[:tool_display_details] if args.key?(:tool_display_details)
23244
+ @tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
22627
23245
  end
22628
23246
  end
22629
23247
 
@@ -22636,6 +23254,11 @@ module Google
22636
23254
  # @return [String]
22637
23255
  attr_accessor :action
22638
23256
 
23257
+ # Optional. The answer record associated with this tool call result.
23258
+ # Corresponds to the JSON property `answerRecord`
23259
+ # @return [String]
23260
+ attr_accessor :answer_record
23261
+
22639
23262
  # Only populated if the response content is utf-8 encoded.
22640
23263
  # Corresponds to the JSON property `content`
22641
23264
  # @return [String]
@@ -22671,6 +23294,7 @@ module Google
22671
23294
  # Update properties of this object
22672
23295
  def update!(**args)
22673
23296
  @action = args[:action] if args.key?(:action)
23297
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
22674
23298
  @content = args[:content] if args.key?(:content)
22675
23299
  @create_time = args[:create_time] if args.key?(:create_time)
22676
23300
  @error = args[:error] if args.key?(:error)
@@ -23047,6 +23671,13 @@ module Google
23047
23671
  # @return [Array<Google::Apis::DialogflowV3::GoogleLongrunningOperation>]
23048
23672
  attr_accessor :operations
23049
23673
 
23674
+ # Unordered list. Unreachable resources. Populated when the request sets `
23675
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
23676
+ # when attempting to list all resources across all supported locations.
23677
+ # Corresponds to the JSON property `unreachable`
23678
+ # @return [Array<String>]
23679
+ attr_accessor :unreachable
23680
+
23050
23681
  def initialize(**args)
23051
23682
  update!(**args)
23052
23683
  end
@@ -23055,6 +23686,7 @@ module Google
23055
23686
  def update!(**args)
23056
23687
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
23057
23688
  @operations = args[:operations] if args.key?(:operations)
23689
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
23058
23690
  end
23059
23691
  end
23060
23692
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.115.0"
19
+ GEM_VERSION = "0.116.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250902"
25
+ REVISION = "20250929"
26
26
  end
27
27
  end
28
28
  end
@@ -2398,6 +2398,60 @@ module Google
2398
2398
  include Google::Apis::Core::JsonObjectSupport
2399
2399
  end
2400
2400
 
2401
+ class GoogleCloudDialogflowV2AgentCoachingInstruction
2402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2403
+
2404
+ include Google::Apis::Core::JsonObjectSupport
2405
+ end
2406
+
2407
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
2408
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2409
+
2410
+ include Google::Apis::Core::JsonObjectSupport
2411
+ end
2412
+
2413
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
2414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2415
+
2416
+ include Google::Apis::Core::JsonObjectSupport
2417
+ end
2418
+
2419
+ class GoogleCloudDialogflowV2AgentCoachingSuggestion
2420
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2421
+
2422
+ include Google::Apis::Core::JsonObjectSupport
2423
+ end
2424
+
2425
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
2426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2427
+
2428
+ include Google::Apis::Core::JsonObjectSupport
2429
+ end
2430
+
2431
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
2432
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2433
+
2434
+ include Google::Apis::Core::JsonObjectSupport
2435
+ end
2436
+
2437
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
2438
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2439
+
2440
+ include Google::Apis::Core::JsonObjectSupport
2441
+ end
2442
+
2443
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
2444
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2445
+
2446
+ include Google::Apis::Core::JsonObjectSupport
2447
+ end
2448
+
2449
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
2450
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2451
+
2452
+ include Google::Apis::Core::JsonObjectSupport
2453
+ end
2454
+
2401
2455
  class GoogleCloudDialogflowV2AnnotatedMessagePart
2402
2456
  class Representation < Google::Apis::Core::JsonRepresentation; end
2403
2457
 
@@ -2998,6 +3052,60 @@ module Google
2998
3052
  include Google::Apis::Core::JsonObjectSupport
2999
3053
  end
3000
3054
 
3055
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
3056
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3057
+
3058
+ include Google::Apis::Core::JsonObjectSupport
3059
+ end
3060
+
3061
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
3062
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3063
+
3064
+ include Google::Apis::Core::JsonObjectSupport
3065
+ end
3066
+
3067
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
3068
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3069
+
3070
+ include Google::Apis::Core::JsonObjectSupport
3071
+ end
3072
+
3073
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
3074
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3075
+
3076
+ include Google::Apis::Core::JsonObjectSupport
3077
+ end
3078
+
3079
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
3080
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3081
+
3082
+ include Google::Apis::Core::JsonObjectSupport
3083
+ end
3084
+
3085
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
3086
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3087
+
3088
+ include Google::Apis::Core::JsonObjectSupport
3089
+ end
3090
+
3091
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
3092
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3093
+
3094
+ include Google::Apis::Core::JsonObjectSupport
3095
+ end
3096
+
3097
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
3098
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3099
+
3100
+ include Google::Apis::Core::JsonObjectSupport
3101
+ end
3102
+
3103
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
3104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3105
+
3106
+ include Google::Apis::Core::JsonObjectSupport
3107
+ end
3108
+
3001
3109
  class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
3002
3110
  class Representation < Google::Apis::Core::JsonRepresentation; end
3003
3111
 
@@ -7748,6 +7856,96 @@ module Google
7748
7856
  end
7749
7857
  end
7750
7858
 
7859
+ class GoogleCloudDialogflowV2AgentCoachingInstruction
7860
+ # @private
7861
+ class Representation < Google::Apis::Core::JsonRepresentation
7862
+ property :agent_action, as: 'agentAction'
7863
+ property :condition, as: 'condition'
7864
+ property :display_details, as: 'displayDetails'
7865
+ property :display_name, as: 'displayName'
7866
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult::Representation
7867
+
7868
+ property :system_action, as: 'systemAction'
7869
+ end
7870
+ end
7871
+
7872
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
7873
+ # @private
7874
+ class Representation < Google::Apis::Core::JsonRepresentation
7875
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion::Representation
7876
+
7877
+ end
7878
+ end
7879
+
7880
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
7881
+ # @private
7882
+ class Representation < Google::Apis::Core::JsonRepresentation
7883
+ property :answer_record, as: 'answerRecord'
7884
+ property :similarity_score, as: 'similarityScore'
7885
+ property :suggestion_index, as: 'suggestionIndex'
7886
+ end
7887
+ end
7888
+
7889
+ class GoogleCloudDialogflowV2AgentCoachingSuggestion
7890
+ # @private
7891
+ class Representation < Google::Apis::Core::JsonRepresentation
7892
+ collection :agent_action_suggestions, as: 'agentActionSuggestions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion::Representation
7893
+
7894
+ collection :applicable_instructions, as: 'applicableInstructions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstruction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstruction::Representation
7895
+
7896
+ collection :sample_responses, as: 'sampleResponses', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse::Representation
7897
+
7898
+ end
7899
+ end
7900
+
7901
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
7902
+ # @private
7903
+ class Representation < Google::Apis::Core::JsonRepresentation
7904
+ property :agent_action, as: 'agentAction'
7905
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult::Representation
7906
+
7907
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
7908
+
7909
+ end
7910
+ end
7911
+
7912
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
7913
+ # @private
7914
+ class Representation < Google::Apis::Core::JsonRepresentation
7915
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion::Representation
7916
+
7917
+ end
7918
+ end
7919
+
7920
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
7921
+ # @private
7922
+ class Representation < Google::Apis::Core::JsonRepresentation
7923
+ property :answer_record, as: 'answerRecord'
7924
+ property :similarity_score, as: 'similarityScore'
7925
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
7926
+
7927
+ property :suggestion_index, as: 'suggestionIndex'
7928
+ end
7929
+ end
7930
+
7931
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
7932
+ # @private
7933
+ class Representation < Google::Apis::Core::JsonRepresentation
7934
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult::Representation
7935
+
7936
+ property :response_text, as: 'responseText'
7937
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
7938
+
7939
+ end
7940
+ end
7941
+
7942
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
7943
+ # @private
7944
+ class Representation < Google::Apis::Core::JsonRepresentation
7945
+ collection :instruction_indexes, as: 'instructionIndexes'
7946
+ end
7947
+ end
7948
+
7751
7949
  class GoogleCloudDialogflowV2AnnotatedMessagePart
7752
7950
  # @private
7753
7951
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7997,6 +8195,8 @@ module Google
7997
8195
  class GoogleCloudDialogflowV2GeneratorSuggestion
7998
8196
  # @private
7999
8197
  class Representation < Google::Apis::Core::JsonRepresentation
8198
+ property :agent_coaching_suggestion, as: 'agentCoachingSuggestion', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestion::Representation
8199
+
8000
8200
  property :free_form_suggestion, as: 'freeFormSuggestion', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FreeFormSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FreeFormSuggestion::Representation
8001
8201
 
8002
8202
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SummarySuggestion::Representation
@@ -8716,9 +8916,13 @@ module Google
8716
8916
  # @private
8717
8917
  class Representation < Google::Apis::Core::JsonRepresentation
8718
8918
  property :action, as: 'action'
8919
+ property :answer_record, as: 'answerRecord'
8719
8920
  property :create_time, as: 'createTime'
8720
8921
  hash :input_parameters, as: 'inputParameters'
8922
+ property :state, as: 'state'
8721
8923
  property :tool, as: 'tool'
8924
+ property :tool_display_details, as: 'toolDisplayDetails'
8925
+ property :tool_display_name, as: 'toolDisplayName'
8722
8926
  end
8723
8927
  end
8724
8928
 
@@ -8726,6 +8930,7 @@ module Google
8726
8930
  # @private
8727
8931
  class Representation < Google::Apis::Core::JsonRepresentation
8728
8932
  property :action, as: 'action'
8933
+ property :answer_record, as: 'answerRecord'
8729
8934
  property :content, as: 'content'
8730
8935
  property :create_time, as: 'createTime'
8731
8936
  property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResultError::Representation
@@ -8780,6 +8985,96 @@ module Google
8780
8985
  end
8781
8986
  end
8782
8987
 
8988
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
8989
+ # @private
8990
+ class Representation < Google::Apis::Core::JsonRepresentation
8991
+ property :agent_action, as: 'agentAction'
8992
+ property :condition, as: 'condition'
8993
+ property :display_details, as: 'displayDetails'
8994
+ property :display_name, as: 'displayName'
8995
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult::Representation
8996
+
8997
+ property :system_action, as: 'systemAction'
8998
+ end
8999
+ end
9000
+
9001
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
9002
+ # @private
9003
+ class Representation < Google::Apis::Core::JsonRepresentation
9004
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion::Representation
9005
+
9006
+ end
9007
+ end
9008
+
9009
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
9010
+ # @private
9011
+ class Representation < Google::Apis::Core::JsonRepresentation
9012
+ property :answer_record, as: 'answerRecord'
9013
+ property :similarity_score, as: 'similarityScore'
9014
+ property :suggestion_index, as: 'suggestionIndex'
9015
+ end
9016
+ end
9017
+
9018
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
9019
+ # @private
9020
+ class Representation < Google::Apis::Core::JsonRepresentation
9021
+ collection :agent_action_suggestions, as: 'agentActionSuggestions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion::Representation
9022
+
9023
+ collection :applicable_instructions, as: 'applicableInstructions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstruction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstruction::Representation
9024
+
9025
+ collection :sample_responses, as: 'sampleResponses', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse::Representation
9026
+
9027
+ end
9028
+ end
9029
+
9030
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
9031
+ # @private
9032
+ class Representation < Google::Apis::Core::JsonRepresentation
9033
+ property :agent_action, as: 'agentAction'
9034
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult::Representation
9035
+
9036
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9037
+
9038
+ end
9039
+ end
9040
+
9041
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
9042
+ # @private
9043
+ class Representation < Google::Apis::Core::JsonRepresentation
9044
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion::Representation
9045
+
9046
+ end
9047
+ end
9048
+
9049
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
9050
+ # @private
9051
+ class Representation < Google::Apis::Core::JsonRepresentation
9052
+ property :answer_record, as: 'answerRecord'
9053
+ property :similarity_score, as: 'similarityScore'
9054
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9055
+
9056
+ property :suggestion_index, as: 'suggestionIndex'
9057
+ end
9058
+ end
9059
+
9060
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
9061
+ # @private
9062
+ class Representation < Google::Apis::Core::JsonRepresentation
9063
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult::Representation
9064
+
9065
+ property :response_text, as: 'responseText'
9066
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9067
+
9068
+ end
9069
+ end
9070
+
9071
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
9072
+ # @private
9073
+ class Representation < Google::Apis::Core::JsonRepresentation
9074
+ collection :instruction_indexes, as: 'instructionIndexes'
9075
+ end
9076
+ end
9077
+
8783
9078
  class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
8784
9079
  # @private
8785
9080
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8962,6 +9257,8 @@ module Google
8962
9257
  class GoogleCloudDialogflowV2beta1GeneratorSuggestion
8963
9258
  # @private
8964
9259
  class Representation < Google::Apis::Core::JsonRepresentation
9260
+ property :agent_coaching_suggestion, as: 'agentCoachingSuggestion', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion::Representation
9261
+
8965
9262
  property :free_form_suggestion, as: 'freeFormSuggestion', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FreeFormSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FreeFormSuggestion::Representation
8966
9263
 
8967
9264
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
@@ -9903,9 +10200,13 @@ module Google
9903
10200
  # @private
9904
10201
  class Representation < Google::Apis::Core::JsonRepresentation
9905
10202
  property :action, as: 'action'
10203
+ property :answer_record, as: 'answerRecord'
9906
10204
  property :create_time, as: 'createTime'
9907
10205
  hash :input_parameters, as: 'inputParameters'
10206
+ property :state, as: 'state'
9908
10207
  property :tool, as: 'tool'
10208
+ property :tool_display_details, as: 'toolDisplayDetails'
10209
+ property :tool_display_name, as: 'toolDisplayName'
9909
10210
  end
9910
10211
  end
9911
10212
 
@@ -9913,6 +10214,7 @@ module Google
9913
10214
  # @private
9914
10215
  class Representation < Google::Apis::Core::JsonRepresentation
9915
10216
  property :action, as: 'action'
10217
+ property :answer_record, as: 'answerRecord'
9916
10218
  property :content, as: 'content'
9917
10219
  property :create_time, as: 'createTime'
9918
10220
  property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
@@ -10013,6 +10315,7 @@ module Google
10013
10315
  property :next_page_token, as: 'nextPageToken'
10014
10316
  collection :operations, as: 'operations', class: Google::Apis::DialogflowV3::GoogleLongrunningOperation, decorator: Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
10015
10317
 
10318
+ collection :unreachable, as: 'unreachable'
10016
10319
  end
10017
10320
  end
10018
10321
 
@@ -86,8 +86,8 @@ module Google
86
86
  # @param [String] name
87
87
  # The resource that owns the locations collection, if applicable.
88
88
  # @param [Array<String>, String] extra_location_types
89
- # Optional. Do not use this field. It is unsupported and is ignored unless
90
- # explicitly documented otherwise. This is primarily for internal usage.
89
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
90
+ # field which is primarily intended for internal usage.
91
91
  # @param [String] filter
92
92
  # A filter to narrow down results to a preferred subset. The filtering language
93
93
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -5754,6 +5754,13 @@ module Google
5754
5754
  # The standard list page size.
5755
5755
  # @param [String] page_token
5756
5756
  # The standard list page token.
5757
+ # @param [Boolean] return_partial_success
5758
+ # When set to `true`, operations that are reachable are returned as normal, and
5759
+ # those that are unreachable are returned in the [ListOperationsResponse.
5760
+ # unreachable] field. This can only be `true` when reading across collections e.
5761
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5762
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5763
+ # explicitly documented otherwise in service or product specific documentation.
5757
5764
  # @param [String] fields
5758
5765
  # Selector specifying which fields to include in a partial response.
5759
5766
  # @param [String] quota_user
@@ -5771,7 +5778,7 @@ module Google
5771
5778
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5772
5779
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5773
5780
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5774
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5781
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
5775
5782
  command = make_simple_command(:get, 'v3/{+name}/operations', options)
5776
5783
  command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningListOperationsResponse::Representation
5777
5784
  command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningListOperationsResponse
@@ -5779,6 +5786,7 @@ module Google
5779
5786
  command.query['filter'] = filter unless filter.nil?
5780
5787
  command.query['pageSize'] = page_size unless page_size.nil?
5781
5788
  command.query['pageToken'] = page_token unless page_token.nil?
5789
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
5782
5790
  command.query['fields'] = fields unless fields.nil?
5783
5791
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5784
5792
  execute_or_queue_command(command, &block)
@@ -6037,6 +6045,13 @@ module Google
6037
6045
  # The standard list page size.
6038
6046
  # @param [String] page_token
6039
6047
  # The standard list page token.
6048
+ # @param [Boolean] return_partial_success
6049
+ # When set to `true`, operations that are reachable are returned as normal, and
6050
+ # those that are unreachable are returned in the [ListOperationsResponse.
6051
+ # unreachable] field. This can only be `true` when reading across collections e.
6052
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6053
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6054
+ # explicitly documented otherwise in service or product specific documentation.
6040
6055
  # @param [String] fields
6041
6056
  # Selector specifying which fields to include in a partial response.
6042
6057
  # @param [String] quota_user
@@ -6054,7 +6069,7 @@ module Google
6054
6069
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6055
6070
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6056
6071
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6057
- def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6072
+ def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
6058
6073
  command = make_simple_command(:get, 'v3/{+name}/operations', options)
6059
6074
  command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningListOperationsResponse::Representation
6060
6075
  command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningListOperationsResponse
@@ -6062,6 +6077,7 @@ module Google
6062
6077
  command.query['filter'] = filter unless filter.nil?
6063
6078
  command.query['pageSize'] = page_size unless page_size.nil?
6064
6079
  command.query['pageToken'] = page_token unless page_token.nil?
6080
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
6065
6081
  command.query['fields'] = fields unless fields.nil?
6066
6082
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6067
6083
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.115.0
4
+ version: 0.116.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_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.115.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.116.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
62
62
  rdoc_options: []
63
63
  require_paths: