google-apis-dialogflow_v2beta1 0.79.0 → 0.80.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cda50f6d509ee4d3d4b1bf288b2c7bdb8d3c14143c1481438881e92e7ef6be8
4
- data.tar.gz: 4037fb2597f5b1d9cc694fc59696f270ff62f8e446b70155df8f5eae23abff98
3
+ metadata.gz: 14ba360988befb449b3300590d38230f3876bba0e39337c3b94553eb612052e8
4
+ data.tar.gz: bf924eb24701ad73703db3693f84215c9cd54591da3fbfae5e1d720711b9acb1
5
5
  SHA512:
6
- metadata.gz: d091d5faceab78ca3bece2815e375601f2505be6828be8208fba3dfec3d01a2b4915eb15dd2038a9fac8754fba6bd5d1d1ade55ea92fc761344c658cb3f96ada
7
- data.tar.gz: f5854fa929740cac989023f776243165a1afc943b6468a0d9c1762b77b972a1ac533b696a16a79356d6f033a52b4e00298e281821778aa73c0e51429827f3253
6
+ metadata.gz: fe4a4d6c134d50e0e7b0874e1bf44f5e6572325da3234372c5a0730394931f968f028748f3d3d78042720cf2763bcad15442fdc0302065df804f72a69dc477ac
7
+ data.tar.gz: c9cfc5efbdc773b9fd8fb029573106f1feafc17064f7a722ed09bca0027883c53fc59e4d60d52cdd233c5555e444a7cff9cf2356bed21656d94ace30f4370c93
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.80.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240215
6
+
3
7
  ### v0.79.0 (2024-02-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240131
@@ -2433,6 +2433,11 @@ module Google
2433
2433
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
2434
2434
  attr_accessor :text
2435
2435
 
2436
+ # Represents a call of a specific tool's action with the specified inputs.
2437
+ # Corresponds to the JSON property `toolCall`
2438
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall]
2439
+ attr_accessor :tool_call
2440
+
2436
2441
  def initialize(**args)
2437
2442
  update!(**args)
2438
2443
  end
@@ -2451,6 +2456,7 @@ module Google
2451
2456
  @response_type = args[:response_type] if args.key?(:response_type)
2452
2457
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
2453
2458
  @text = args[:text] if args.key?(:text)
2459
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
2454
2460
  end
2455
2461
  end
2456
2462
 
@@ -3073,6 +3079,38 @@ module Google
3073
3079
  end
3074
3080
  end
3075
3081
 
3082
+ # Represents a call of a specific tool's action with the specified inputs.
3083
+ class GoogleCloudDialogflowCxV3ToolCall
3084
+ include Google::Apis::Core::Hashable
3085
+
3086
+ # Required. The name of the tool's action associated with this call.
3087
+ # Corresponds to the JSON property `action`
3088
+ # @return [String]
3089
+ attr_accessor :action
3090
+
3091
+ # Optional. The action's input parameters.
3092
+ # Corresponds to the JSON property `inputParameters`
3093
+ # @return [Hash<String,Object>]
3094
+ attr_accessor :input_parameters
3095
+
3096
+ # Required. The tool associated with this call. Format: `projects//locations//
3097
+ # agents//tools/`.
3098
+ # Corresponds to the JSON property `tool`
3099
+ # @return [String]
3100
+ attr_accessor :tool
3101
+
3102
+ def initialize(**args)
3103
+ update!(**args)
3104
+ end
3105
+
3106
+ # Update properties of this object
3107
+ def update!(**args)
3108
+ @action = args[:action] if args.key?(:action)
3109
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
3110
+ @tool = args[:tool] if args.key?(:tool)
3111
+ end
3112
+ end
3113
+
3076
3114
  # A transition route specifies a intent that can be matched and/or a data
3077
3115
  # condition that can be evaluated during a session. When a specified transition
3078
3116
  # is matched, the following actions are taken in order: * If there is a `
@@ -5994,6 +6032,11 @@ module Google
5994
6032
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput]
5995
6033
  attr_accessor :text
5996
6034
 
6035
+ # The result of calling a tool's action that has been executed by the client.
6036
+ # Corresponds to the JSON property `toolCallResult`
6037
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult]
6038
+ attr_accessor :tool_call_result
6039
+
5997
6040
  def initialize(**args)
5998
6041
  update!(**args)
5999
6042
  end
@@ -6006,6 +6049,7 @@ module Google
6006
6049
  @intent = args[:intent] if args.key?(:intent)
6007
6050
  @language_code = args[:language_code] if args.key?(:language_code)
6008
6051
  @text = args[:text] if args.key?(:text)
6052
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
6009
6053
  end
6010
6054
  end
6011
6055
 
@@ -6122,6 +6166,11 @@ module Google
6122
6166
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
6123
6167
  attr_accessor :text
6124
6168
 
6169
+ # Represents a call of a specific tool's action with the specified inputs.
6170
+ # Corresponds to the JSON property `toolCall`
6171
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall]
6172
+ attr_accessor :tool_call
6173
+
6125
6174
  def initialize(**args)
6126
6175
  update!(**args)
6127
6176
  end
@@ -6139,6 +6188,7 @@ module Google
6139
6188
  @play_audio = args[:play_audio] if args.key?(:play_audio)
6140
6189
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
6141
6190
  @text = args[:text] if args.key?(:text)
6191
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
6142
6192
  end
6143
6193
  end
6144
6194
 
@@ -6761,6 +6811,95 @@ module Google
6761
6811
  end
6762
6812
  end
6763
6813
 
6814
+ # Represents a call of a specific tool's action with the specified inputs.
6815
+ class GoogleCloudDialogflowCxV3beta1ToolCall
6816
+ include Google::Apis::Core::Hashable
6817
+
6818
+ # Required. The name of the tool's action associated with this call.
6819
+ # Corresponds to the JSON property `action`
6820
+ # @return [String]
6821
+ attr_accessor :action
6822
+
6823
+ # Optional. The action's input parameters.
6824
+ # Corresponds to the JSON property `inputParameters`
6825
+ # @return [Hash<String,Object>]
6826
+ attr_accessor :input_parameters
6827
+
6828
+ # Required. The tool associated with this call. Format: `projects//locations//
6829
+ # agents//tools/`.
6830
+ # Corresponds to the JSON property `tool`
6831
+ # @return [String]
6832
+ attr_accessor :tool
6833
+
6834
+ def initialize(**args)
6835
+ update!(**args)
6836
+ end
6837
+
6838
+ # Update properties of this object
6839
+ def update!(**args)
6840
+ @action = args[:action] if args.key?(:action)
6841
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
6842
+ @tool = args[:tool] if args.key?(:tool)
6843
+ end
6844
+ end
6845
+
6846
+ # The result of calling a tool's action that has been executed by the client.
6847
+ class GoogleCloudDialogflowCxV3beta1ToolCallResult
6848
+ include Google::Apis::Core::Hashable
6849
+
6850
+ # Required. The name of the tool's action associated with this call.
6851
+ # Corresponds to the JSON property `action`
6852
+ # @return [String]
6853
+ attr_accessor :action
6854
+
6855
+ # An error produced by the tool call.
6856
+ # Corresponds to the JSON property `error`
6857
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError]
6858
+ attr_accessor :error
6859
+
6860
+ # The tool call's output parameters.
6861
+ # Corresponds to the JSON property `outputParameters`
6862
+ # @return [Hash<String,Object>]
6863
+ attr_accessor :output_parameters
6864
+
6865
+ # Required. The tool associated with this call. Format: `projects//locations//
6866
+ # agents//tools/`.
6867
+ # Corresponds to the JSON property `tool`
6868
+ # @return [String]
6869
+ attr_accessor :tool
6870
+
6871
+ def initialize(**args)
6872
+ update!(**args)
6873
+ end
6874
+
6875
+ # Update properties of this object
6876
+ def update!(**args)
6877
+ @action = args[:action] if args.key?(:action)
6878
+ @error = args[:error] if args.key?(:error)
6879
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
6880
+ @tool = args[:tool] if args.key?(:tool)
6881
+ end
6882
+ end
6883
+
6884
+ # An error produced by the tool call.
6885
+ class GoogleCloudDialogflowCxV3beta1ToolCallResultError
6886
+ include Google::Apis::Core::Hashable
6887
+
6888
+ # Optional. The error message of the function.
6889
+ # Corresponds to the JSON property `message`
6890
+ # @return [String]
6891
+ attr_accessor :message
6892
+
6893
+ def initialize(**args)
6894
+ update!(**args)
6895
+ end
6896
+
6897
+ # Update properties of this object
6898
+ def update!(**args)
6899
+ @message = args[:message] if args.key?(:message)
6900
+ end
6901
+ end
6902
+
6764
6903
  # A transition route specifies a intent that can be matched and/or a data
6765
6904
  # condition that can be evaluated during a session. When a specified transition
6766
6905
  # is matched, the following actions are taken in order: * If there is a `
@@ -10700,6 +10839,12 @@ module Google
10700
10839
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput]
10701
10840
  attr_accessor :event_input
10702
10841
 
10842
+ # Represents the intent to trigger programmatically rather than as a result of
10843
+ # natural language processing. The intent input is only used for V3 agent.
10844
+ # Corresponds to the JSON property `intentInput`
10845
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput]
10846
+ attr_accessor :intent_input
10847
+
10703
10848
  # Optional. The send time of the message from end user or human agent's
10704
10849
  # perspective. It is used for identifying the same message under one participant.
10705
10850
  # Given two messages under the same participant: * If send time are different
@@ -10753,6 +10898,7 @@ module Google
10753
10898
  @cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page)
10754
10899
  @cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
10755
10900
  @event_input = args[:event_input] if args.key?(:event_input)
10901
+ @intent_input = args[:intent_input] if args.key?(:intent_input)
10756
10902
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
10757
10903
  @query_params = args[:query_params] if args.key?(:query_params)
10758
10904
  @reply_audio_config = args[:reply_audio_config] if args.key?(:reply_audio_config)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.79.0"
19
+ GEM_VERSION = "0.80.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240131"
25
+ REVISION = "20240215"
26
26
  end
27
27
  end
28
28
  end
@@ -568,6 +568,12 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class GoogleCloudDialogflowCxV3ToolCall
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
571
577
  class GoogleCloudDialogflowCxV3TransitionRoute
572
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
579
 
@@ -1192,6 +1198,24 @@ module Google
1192
1198
  include Google::Apis::Core::JsonObjectSupport
1193
1199
  end
1194
1200
 
1201
+ class GoogleCloudDialogflowCxV3beta1ToolCall
1202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1203
+
1204
+ include Google::Apis::Core::JsonObjectSupport
1205
+ end
1206
+
1207
+ class GoogleCloudDialogflowCxV3beta1ToolCallResult
1208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1209
+
1210
+ include Google::Apis::Core::JsonObjectSupport
1211
+ end
1212
+
1213
+ class GoogleCloudDialogflowCxV3beta1ToolCallResultError
1214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1215
+
1216
+ include Google::Apis::Core::JsonObjectSupport
1217
+ end
1218
+
1195
1219
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
1196
1220
  class Representation < Google::Apis::Core::JsonRepresentation; end
1197
1221
 
@@ -3809,6 +3833,8 @@ module Google
3809
3833
 
3810
3834
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
3811
3835
 
3836
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall::Representation
3837
+
3812
3838
  end
3813
3839
  end
3814
3840
 
@@ -3998,6 +4024,15 @@ module Google
3998
4024
  end
3999
4025
  end
4000
4026
 
4027
+ class GoogleCloudDialogflowCxV3ToolCall
4028
+ # @private
4029
+ class Representation < Google::Apis::Core::JsonRepresentation
4030
+ property :action, as: 'action'
4031
+ hash :input_parameters, as: 'inputParameters'
4032
+ property :tool, as: 'tool'
4033
+ end
4034
+ end
4035
+
4001
4036
  class GoogleCloudDialogflowCxV3TransitionRoute
4002
4037
  # @private
4003
4038
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4790,6 +4825,8 @@ module Google
4790
4825
  property :language_code, as: 'languageCode'
4791
4826
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput::Representation
4792
4827
 
4828
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
4829
+
4793
4830
  end
4794
4831
  end
4795
4832
 
@@ -4824,6 +4861,8 @@ module Google
4824
4861
 
4825
4862
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
4826
4863
 
4864
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
4865
+
4827
4866
  end
4828
4867
  end
4829
4868
 
@@ -5013,6 +5052,33 @@ module Google
5013
5052
  end
5014
5053
  end
5015
5054
 
5055
+ class GoogleCloudDialogflowCxV3beta1ToolCall
5056
+ # @private
5057
+ class Representation < Google::Apis::Core::JsonRepresentation
5058
+ property :action, as: 'action'
5059
+ hash :input_parameters, as: 'inputParameters'
5060
+ property :tool, as: 'tool'
5061
+ end
5062
+ end
5063
+
5064
+ class GoogleCloudDialogflowCxV3beta1ToolCallResult
5065
+ # @private
5066
+ class Representation < Google::Apis::Core::JsonRepresentation
5067
+ property :action, as: 'action'
5068
+ property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError::Representation
5069
+
5070
+ hash :output_parameters, as: 'outputParameters'
5071
+ property :tool, as: 'tool'
5072
+ end
5073
+ end
5074
+
5075
+ class GoogleCloudDialogflowCxV3beta1ToolCallResultError
5076
+ # @private
5077
+ class Representation < Google::Apis::Core::JsonRepresentation
5078
+ property :message, as: 'message'
5079
+ end
5080
+ end
5081
+
5016
5082
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
5017
5083
  # @private
5018
5084
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6058,6 +6124,8 @@ module Google
6058
6124
  hash :cx_parameters, as: 'cxParameters'
6059
6125
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
6060
6126
 
6127
+ property :intent_input, as: 'intentInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput::Representation
6128
+
6061
6129
  property :message_send_time, as: 'messageSendTime'
6062
6130
  property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters::Representation
6063
6131
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.79.0
4
+ version: 0.80.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-11 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.79.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.80.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []