google-apis-dialogflow_v2beta1 0.100.0 → 0.101.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: a1797bd7c73fa37ef291ed5d3d36a5c501fc0b9f64b3e0bc4eb47531afb1440b
4
- data.tar.gz: 99b4a7d3665975e820dcaeefa5fe2214a48e6cdae55ce0b1d250186c3882cbb6
3
+ metadata.gz: 5356e210af8546deef77647bbdb5bbf2b65e034060e8986c719cb45cd778da8d
4
+ data.tar.gz: 64390f3d68e6ba7dd771956923e6da950119dceb6096a1dadde7ba3da1f9bea9
5
5
  SHA512:
6
- metadata.gz: 651c5106e71e421ba9539bb9cfe36b79a961a81e60ec6b9b785c16d6b6e16c0b2ee3bfab59009dcf7928aa2cab66d269786c1e05b11cbd56b9851249795c1b78
7
- data.tar.gz: 8db7d8a01ba7c4653dda4b3313878cd858902d4cd9ad38e5fd3d202990d979e8552cc4d73939d28956d131bf7fe3bc081ac0bcb09e272bbcb246ed81c987559c
6
+ metadata.gz: b400053d098971e48dd45938a30021162897060e9b30b80f061f61b891e8233f4e0314d552e1e4865153f7b4a055a6013f1e79f218d9329fb9b05a96abd35630
7
+ data.tar.gz: 650a9c1a300a2972bf7ce1ab95faff9f71b91e2efae4e388c45f8637b415028b655dbfa97d38694d168e0897a7185ff3a0db099f2c733ce160261b1367307f5e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.101.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250422
6
+
3
7
  ### v0.100.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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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 `
@@ -15827,7 +15928,8 @@ module Google
15827
15928
  # translations. See [Language Support](https://cloud.google.com/dialogflow/docs/
15828
15929
  # reference/language) for a list of the currently supported language codes. Note
15829
15930
  # that queries in the same session do not necessarily need to specify the same
15830
- # language.
15931
+ # language. If not set, the language is inferred from the ConversationProfile.
15932
+ # stt_config.
15831
15933
  # Corresponds to the JSON property `languageCode`
15832
15934
  # @return [String]
15833
15935
  attr_accessor :language_code
@@ -20248,7 +20350,8 @@ module Google
20248
20350
  # The language of the supplied audio. Dialogflow does not do translations. See [
20249
20351
  # Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
20250
20352
  # for a list of the currently supported language codes. Note that queries in the
20251
- # same session do not necessarily need to specify the same language.
20353
+ # same session do not necessarily need to specify the same language. If not
20354
+ # specified, the default language configured at ConversationProfile is used.
20252
20355
  # Corresponds to the JSON property `languageCode`
20253
20356
  # @return [String]
20254
20357
  attr_accessor :language_code
@@ -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.100.0"
19
+ GEM_VERSION = "0.101.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
 
@@ -4187,6 +4205,8 @@ module Google
4187
4205
  property :language_code, as: 'languageCode'
4188
4206
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TextInput::Representation
4189
4207
 
4208
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResult::Representation
4209
+
4190
4210
  end
4191
4211
  end
4192
4212
 
@@ -4214,6 +4234,8 @@ module Google
4214
4234
 
4215
4235
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
4216
4236
 
4237
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall::Representation
4238
+
4217
4239
  end
4218
4240
  end
4219
4241
 
@@ -4403,6 +4425,33 @@ module Google
4403
4425
  end
4404
4426
  end
4405
4427
 
4428
+ class GoogleCloudDialogflowCxV3ToolCall
4429
+ # @private
4430
+ class Representation < Google::Apis::Core::JsonRepresentation
4431
+ property :action, as: 'action'
4432
+ hash :input_parameters, as: 'inputParameters'
4433
+ property :tool, as: 'tool'
4434
+ end
4435
+ end
4436
+
4437
+ class GoogleCloudDialogflowCxV3ToolCallResult
4438
+ # @private
4439
+ class Representation < Google::Apis::Core::JsonRepresentation
4440
+ property :action, as: 'action'
4441
+ property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResultError::Representation
4442
+
4443
+ hash :output_parameters, as: 'outputParameters'
4444
+ property :tool, as: 'tool'
4445
+ end
4446
+ end
4447
+
4448
+ class GoogleCloudDialogflowCxV3ToolCallResultError
4449
+ # @private
4450
+ class Representation < Google::Apis::Core::JsonRepresentation
4451
+ property :message, as: 'message'
4452
+ end
4453
+ end
4454
+
4406
4455
  class GoogleCloudDialogflowCxV3TransitionRoute
4407
4456
  # @private
4408
4457
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.100.0
4
+ version: 0.101.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_v2beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.100.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.101.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
62
62
  rdoc_options: []
63
63
  require_paths: