google-apis-dialogflow_v3beta1 0.99.0 → 0.100.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: cabab05fd53879a38907b506299317c4e7a266d0764f98b507df0c2fdad787f5
4
- data.tar.gz: b804f3a38261cf7fa2500e9fac05df6c8639c220b0f63059f03c157112268f1f
3
+ metadata.gz: 3be513061ca71d8c7a0d0259dfe2215cae8f5d1803341fdfa18f9ae8431705ef
4
+ data.tar.gz: 3f3d9ccb2ffa0b3e81e0d374b2131d26efde35fe0e0c9e4964455ed71f6b02c7
5
5
  SHA512:
6
- metadata.gz: 40c89759b203a1958122431df554575c3035fb48c6fd2f8c9ecb6bff9516dd95f81e398132b09a01422d005da22cdfa342991c0ae418c1bf8f6206ed5afed3d7
7
- data.tar.gz: ae274e99175acf38624f943136878a0d49b121e7b0cc2b4ade4cc7e406ad8cb8b5c8b061d7a510d981e19c368ef6c763e397402c0153391017d02972079059cc
6
+ metadata.gz: d940babc9b00f3d65beb15542f5b086792efcdb263772c0bccd1a3dff281c062ef0385bb1983ff7a622a082b2d4a8fcb71aca79b8bc9bc70d1e6aed1d5922d7a
7
+ data.tar.gz: e282477b75699cf0ebb630876c4bda7cfbb8e930afe6ef83cc192c6d9dfb6b99882f296747b556f53ff4032ad28662c412637bbb9d610402ea716a36c98cc592
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.100.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250422
6
+
3
7
  ### v0.99.0 (2025-04-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20250414
@@ -2323,6 +2323,11 @@ module Google
2323
2323
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TextInput]
2324
2324
  attr_accessor :text
2325
2325
 
2326
+ # The result of calling a tool's action that has been executed by the client.
2327
+ # Corresponds to the JSON property `toolCallResult`
2328
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResult]
2329
+ attr_accessor :tool_call_result
2330
+
2326
2331
  def initialize(**args)
2327
2332
  update!(**args)
2328
2333
  end
@@ -2335,6 +2340,7 @@ module Google
2335
2340
  @intent = args[:intent] if args.key?(:intent)
2336
2341
  @language_code = args[:language_code] if args.key?(:language_code)
2337
2342
  @text = args[:text] if args.key?(:text)
2343
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
2338
2344
  end
2339
2345
  end
2340
2346
 
@@ -2437,6 +2443,11 @@ module Google
2437
2443
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
2438
2444
  attr_accessor :text
2439
2445
 
2446
+ # Represents a call of a specific tool's action with the specified inputs.
2447
+ # Corresponds to the JSON property `toolCall`
2448
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCall]
2449
+ attr_accessor :tool_call
2450
+
2440
2451
  def initialize(**args)
2441
2452
  update!(**args)
2442
2453
  end
@@ -2455,6 +2466,7 @@ module Google
2455
2466
  @response_type = args[:response_type] if args.key?(:response_type)
2456
2467
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
2457
2468
  @text = args[:text] if args.key?(:text)
2469
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
2458
2470
  end
2459
2471
  end
2460
2472
 
@@ -3076,6 +3088,95 @@ module Google
3076
3088
  end
3077
3089
  end
3078
3090
 
3091
+ # Represents a call of a specific tool's action with the specified inputs.
3092
+ class GoogleCloudDialogflowCxV3ToolCall
3093
+ include Google::Apis::Core::Hashable
3094
+
3095
+ # Required. The name of the tool's action associated with this call.
3096
+ # Corresponds to the JSON property `action`
3097
+ # @return [String]
3098
+ attr_accessor :action
3099
+
3100
+ # Optional. The action's input parameters.
3101
+ # Corresponds to the JSON property `inputParameters`
3102
+ # @return [Hash<String,Object>]
3103
+ attr_accessor :input_parameters
3104
+
3105
+ # Required. The tool associated with this call. Format: `projects//locations//
3106
+ # agents//tools/`.
3107
+ # Corresponds to the JSON property `tool`
3108
+ # @return [String]
3109
+ attr_accessor :tool
3110
+
3111
+ def initialize(**args)
3112
+ update!(**args)
3113
+ end
3114
+
3115
+ # Update properties of this object
3116
+ def update!(**args)
3117
+ @action = args[:action] if args.key?(:action)
3118
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
3119
+ @tool = args[:tool] if args.key?(:tool)
3120
+ end
3121
+ end
3122
+
3123
+ # The result of calling a tool's action that has been executed by the client.
3124
+ class GoogleCloudDialogflowCxV3ToolCallResult
3125
+ include Google::Apis::Core::Hashable
3126
+
3127
+ # Required. The name of the tool's action associated with this call.
3128
+ # Corresponds to the JSON property `action`
3129
+ # @return [String]
3130
+ attr_accessor :action
3131
+
3132
+ # An error produced by the tool call.
3133
+ # Corresponds to the JSON property `error`
3134
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResultError]
3135
+ attr_accessor :error
3136
+
3137
+ # The tool call's output parameters.
3138
+ # Corresponds to the JSON property `outputParameters`
3139
+ # @return [Hash<String,Object>]
3140
+ attr_accessor :output_parameters
3141
+
3142
+ # Required. The tool associated with this call. Format: `projects//locations//
3143
+ # agents//tools/`.
3144
+ # Corresponds to the JSON property `tool`
3145
+ # @return [String]
3146
+ attr_accessor :tool
3147
+
3148
+ def initialize(**args)
3149
+ update!(**args)
3150
+ end
3151
+
3152
+ # Update properties of this object
3153
+ def update!(**args)
3154
+ @action = args[:action] if args.key?(:action)
3155
+ @error = args[:error] if args.key?(:error)
3156
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
3157
+ @tool = args[:tool] if args.key?(:tool)
3158
+ end
3159
+ end
3160
+
3161
+ # An error produced by the tool call.
3162
+ class GoogleCloudDialogflowCxV3ToolCallResultError
3163
+ include Google::Apis::Core::Hashable
3164
+
3165
+ # Optional. The error message of the function.
3166
+ # Corresponds to the JSON property `message`
3167
+ # @return [String]
3168
+ attr_accessor :message
3169
+
3170
+ def initialize(**args)
3171
+ update!(**args)
3172
+ end
3173
+
3174
+ # Update properties of this object
3175
+ def update!(**args)
3176
+ @message = args[:message] if args.key?(:message)
3177
+ end
3178
+ end
3179
+
3079
3180
  # A transition route specifies a intent that can be matched and/or a data
3080
3181
  # condition that can be evaluated during a session. When a specified transition
3081
3182
  # is matched, the following actions are taken in order: * If there is a `
@@ -7038,7 +7139,7 @@ module Google
7038
7139
  end
7039
7140
 
7040
7141
  # Exception thrown during the execution of an action.
7041
- class GoogleCloudDialogflowCxV3beta1Exception
7142
+ class GoogleCloudDialogflowCxV3beta1ExceptionDetail
7042
7143
  include Google::Apis::Core::Hashable
7043
7144
 
7044
7145
  # Optional. The error message.
@@ -13415,7 +13516,7 @@ module Google
13415
13516
 
13416
13517
  # Exception thrown during the execution of an action.
13417
13518
  # Corresponds to the JSON property `exception`
13418
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Exception]
13519
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExceptionDetail]
13419
13520
  attr_accessor :exception
13420
13521
 
13421
13522
  def initialize(**args)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.99.0"
19
+ GEM_VERSION = "0.100.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250414"
25
+ REVISION = "20250422"
26
26
  end
27
27
  end
28
28
  end
@@ -544,6 +544,24 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
+ class GoogleCloudDialogflowCxV3ToolCall
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class GoogleCloudDialogflowCxV3ToolCallResult
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class GoogleCloudDialogflowCxV3ToolCallResultError
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
547
565
  class GoogleCloudDialogflowCxV3TransitionRoute
548
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
567
 
@@ -1114,7 +1132,7 @@ module Google
1114
1132
  include Google::Apis::Core::JsonObjectSupport
1115
1133
  end
1116
1134
 
1117
- class GoogleCloudDialogflowCxV3beta1Exception
1135
+ class GoogleCloudDialogflowCxV3beta1ExceptionDetail
1118
1136
  class Representation < Google::Apis::Core::JsonRepresentation; end
1119
1137
 
1120
1138
  include Google::Apis::Core::JsonObjectSupport
@@ -4535,6 +4553,8 @@ module Google
4535
4553
  property :language_code, as: 'languageCode'
4536
4554
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TextInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TextInput::Representation
4537
4555
 
4556
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResult::Representation
4557
+
4538
4558
  end
4539
4559
  end
4540
4560
 
@@ -4562,6 +4582,8 @@ module Google
4562
4582
 
4563
4583
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
4564
4584
 
4585
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCall::Representation
4586
+
4565
4587
  end
4566
4588
  end
4567
4589
 
@@ -4751,6 +4773,33 @@ module Google
4751
4773
  end
4752
4774
  end
4753
4775
 
4776
+ class GoogleCloudDialogflowCxV3ToolCall
4777
+ # @private
4778
+ class Representation < Google::Apis::Core::JsonRepresentation
4779
+ property :action, as: 'action'
4780
+ hash :input_parameters, as: 'inputParameters'
4781
+ property :tool, as: 'tool'
4782
+ end
4783
+ end
4784
+
4785
+ class GoogleCloudDialogflowCxV3ToolCallResult
4786
+ # @private
4787
+ class Representation < Google::Apis::Core::JsonRepresentation
4788
+ property :action, as: 'action'
4789
+ property :error, as: 'error', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResultError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResultError::Representation
4790
+
4791
+ hash :output_parameters, as: 'outputParameters'
4792
+ property :tool, as: 'tool'
4793
+ end
4794
+ end
4795
+
4796
+ class GoogleCloudDialogflowCxV3ToolCallResultError
4797
+ # @private
4798
+ class Representation < Google::Apis::Core::JsonRepresentation
4799
+ property :message, as: 'message'
4800
+ end
4801
+ end
4802
+
4754
4803
  class GoogleCloudDialogflowCxV3TransitionRoute
4755
4804
  # @private
4756
4805
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5811,7 +5860,7 @@ module Google
5811
5860
  end
5812
5861
  end
5813
5862
 
5814
- class GoogleCloudDialogflowCxV3beta1Exception
5863
+ class GoogleCloudDialogflowCxV3beta1ExceptionDetail
5815
5864
  # @private
5816
5865
  class Representation < Google::Apis::Core::JsonRepresentation
5817
5866
  property :error_message, as: 'errorMessage'
@@ -7539,7 +7588,7 @@ module Google
7539
7588
  class GoogleCloudDialogflowCxV3beta1Status
7540
7589
  # @private
7541
7590
  class Representation < Google::Apis::Core::JsonRepresentation
7542
- property :exception, as: 'exception', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Exception, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Exception::Representation
7591
+ property :exception, as: 'exception', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExceptionDetail, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExceptionDetail::Representation
7543
7592
 
7544
7593
  end
7545
7594
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.0
4
+ version: 0.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-20 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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_v3beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.99.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.100.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
62
62
  rdoc_options: []
63
63
  require_paths: