google-apis-dialogflow_v3 0.80.0 → 0.82.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: 926a04aa1e344f3ffe6c50619c52769a7899bfd1fc6663e6049312b83db87e22
4
- data.tar.gz: bd3413dbebb68088b66a89438164849527b57c1b799f44e437f994f8e2a07743
3
+ metadata.gz: 17ad83a5858d3141f01c6018482db59b7d0806c598861e4f2b7da03e65b3b4ba
4
+ data.tar.gz: d755ac8574d169f57dffa977abde38601c6ac4e553aee6a2e7b396c3d25cbbbd
5
5
  SHA512:
6
- metadata.gz: 46fa9d6a489df796273f9ce6ce6388a813ccf515295b13ca99d4d52663b189b6b730216da7df40ccb86b6621392f92242e7e8c9566723237071848d0c79ab962
7
- data.tar.gz: 65ad994eeeb6a5d1e5ef12d00446f51d75eac21368b4f4f0798751e9f64cb94b024d540c9c2a7228d2f51b1abb73492953ca7df8846d9f672a9b0a8cbb7462df
6
+ metadata.gz: af0bcb62db1e58be14f9e7391b83d245982eb5761e15035b4d194c1377fbf168a514e57191f3c2af636e7184ab775ad20958bedf25422bf012cbd8f2ca443f3e
7
+ data.tar.gz: d3a73c9037c6596ee3cc1cdd68c99c1352b923e465f0150765660062b03fb4687e8111e1a35f91837c80d28886c5f03a296a63b94aa2c9c0ee5dff812e2ad249
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.82.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
7
+ ### v0.81.0 (2024-02-23)
8
+
9
+ * Regenerated from discovery document revision 20240219
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.80.0 (2024-02-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20240215
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/dialogflow/) may provide gu
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -49,6 +49,11 @@ module Google
49
49
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
50
50
  attr_accessor :logging_settings
51
51
 
52
+ # Define behaviors of speech to text detection.
53
+ # Corresponds to the JSON property `speechSettings`
54
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings]
55
+ attr_accessor :speech_settings
56
+
52
57
  def initialize(**args)
53
58
  update!(**args)
54
59
  end
@@ -58,6 +63,7 @@ module Google
58
63
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
59
64
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
60
65
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
66
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
61
67
  end
62
68
  end
63
69
 
@@ -124,6 +130,49 @@ module Google
124
130
  end
125
131
  end
126
132
 
133
+ # Define behaviors of speech to text detection.
134
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
135
+ include Google::Apis::Core::Hashable
136
+
137
+ # Sensitivity of the speech model that detects the end of speech. Scale from 0
138
+ # to 100.
139
+ # Corresponds to the JSON property `endpointerSensitivity`
140
+ # @return [Fixnum]
141
+ attr_accessor :endpointer_sensitivity
142
+
143
+ # Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
144
+ # will be selected for requests from its corresponding language. For more
145
+ # information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
146
+ # concept/speech-models).
147
+ # Corresponds to the JSON property `models`
148
+ # @return [Hash<String,String>]
149
+ attr_accessor :models
150
+
151
+ # Timeout before detecting no speech.
152
+ # Corresponds to the JSON property `noSpeechTimeout`
153
+ # @return [String]
154
+ attr_accessor :no_speech_timeout
155
+
156
+ # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
157
+ # timeout value.
158
+ # Corresponds to the JSON property `useTimeoutBasedEndpointing`
159
+ # @return [Boolean]
160
+ attr_accessor :use_timeout_based_endpointing
161
+ alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
162
+
163
+ def initialize(**args)
164
+ update!(**args)
165
+ end
166
+
167
+ # Update properties of this object
168
+ def update!(**args)
169
+ @endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
170
+ @models = args[:models] if args.key?(:models)
171
+ @no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
172
+ @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
173
+ end
174
+ end
175
+
127
176
  # Agents are best described as Natural Language Understanding (NLU) modules that
128
177
  # transform user requests into actionable data. You can include agents in your
129
178
  # app, product, or service to determine user intent and respond to the user in a
@@ -213,6 +262,11 @@ module Google
213
262
  # @return [String]
214
263
  attr_accessor :name
215
264
 
265
+ # Settings for end user personalization.
266
+ # Corresponds to the JSON property `personalizationSettings`
267
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings]
268
+ attr_accessor :personalization_settings
269
+
216
270
  # Name of the SecuritySettings reference for the agent. Format: `projects//
217
271
  # locations//securitySettings/`.
218
272
  # Corresponds to the JSON property `securitySettings`
@@ -226,9 +280,7 @@ module Google
226
280
 
227
281
  # Immutable. Name of the start flow in this agent. A start flow will be
228
282
  # automatically created when the agent is created, and can only be deleted by
229
- # deleting the agent. Format: `projects//locations//agents//flows/`. Currently
230
- # only the default start flow with id "00000000-0000-0000-0000-000000000000" is
231
- # allowed.
283
+ # deleting the agent. Format: `projects//locations//agents//flows/`.
232
284
  # Corresponds to the JSON property `startFlow`
233
285
  # @return [String]
234
286
  attr_accessor :start_flow
@@ -268,6 +320,7 @@ module Google
268
320
  @git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
269
321
  @locked = args[:locked] if args.key?(:locked)
270
322
  @name = args[:name] if args.key?(:name)
323
+ @personalization_settings = args[:personalization_settings] if args.key?(:personalization_settings)
271
324
  @security_settings = args[:security_settings] if args.key?(:security_settings)
272
325
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
273
326
  @start_flow = args[:start_flow] if args.key?(:start_flow)
@@ -382,6 +435,29 @@ module Google
382
435
  end
383
436
  end
384
437
 
438
+ # Settings for end user personalization.
439
+ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
440
+ include Google::Apis::Core::Hashable
441
+
442
+ # Optional. Default end user metadata, used when processing DetectIntent
443
+ # requests. Recommended to be filled as a template instead of hard-coded value,
444
+ # for example ` "age": "$session.params.age" `. The data will be merged with the
445
+ # QueryParameters.end_user_metadata in DetectIntentRequest.query_params during
446
+ # query processing.
447
+ # Corresponds to the JSON property `defaultEndUserMetadata`
448
+ # @return [Hash<String,Object>]
449
+ attr_accessor :default_end_user_metadata
450
+
451
+ def initialize(**args)
452
+ update!(**args)
453
+ end
454
+
455
+ # Update properties of this object
456
+ def update!(**args)
457
+ @default_end_user_metadata = args[:default_end_user_metadata] if args.key?(:default_end_user_metadata)
458
+ end
459
+ end
460
+
385
461
  # The response message for Agents.GetAgentValidationResult.
386
462
  class GoogleCloudDialogflowCxV3AgentValidationResult
387
463
  include Google::Apis::Core::Hashable
@@ -5534,21 +5610,6 @@ module Google
5534
5610
  attr_accessor :allow_answer_feedback
5535
5611
  alias_method :allow_answer_feedback?, :allow_answer_feedback
5536
5612
 
5537
- # Flows represents the conversation flows when you build your chatbot agent. A
5538
- # flow consists of many pages connected by the transition routes. Conversations
5539
- # always start with the built-in Start Flow (with an all-0 ID). Transition
5540
- # routes can direct the conversation session from the current flow (parent flow)
5541
- # to another flow (sub flow). When the sub flow is finished, Dialogflow will
5542
- # bring the session back to the parent flow, where the sub flow is started.
5543
- # Usually, when a transition route is followed by a matched intent, the intent
5544
- # will be "consumed". This means the intent won't activate more transition
5545
- # routes. However, when the followed transition route moves the conversation
5546
- # session into a different flow, the matched intent can be carried over and to
5547
- # be consumed in the target flow.
5548
- # Corresponds to the JSON property `currentFlow`
5549
- # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow]
5550
- attr_accessor :current_flow
5551
-
5552
5613
  # A Dialogflow CX conversation (session) can be described and visualized as a
5553
5614
  # state machine. The states of a CX session are represented by pages. For each
5554
5615
  # flow, you define many pages, where your combined pages can handle a complete
@@ -5667,21 +5728,6 @@ module Google
5667
5728
  # @return [String]
5668
5729
  attr_accessor :trigger_intent
5669
5730
 
5670
- # The list of webhook display names in the order of call sequence.
5671
- # Corresponds to the JSON property `webhookDisplayNames`
5672
- # @return [Array<String>]
5673
- attr_accessor :webhook_display_names
5674
-
5675
- # The list of webhook ids in the order of call sequence.
5676
- # Corresponds to the JSON property `webhookIds`
5677
- # @return [Array<String>]
5678
- attr_accessor :webhook_ids
5679
-
5680
- # The list of webhook latencies in the order of call sequence.
5681
- # Corresponds to the JSON property `webhookLatencies`
5682
- # @return [Array<String>]
5683
- attr_accessor :webhook_latencies
5684
-
5685
5731
  # The list of webhook payload in WebhookResponse.payload, in the order of call
5686
5732
  # sequence. If some webhook call fails or doesn't return any payload, an empty `
5687
5733
  # Struct` would be used instead.
@@ -5694,11 +5740,6 @@ module Google
5694
5740
  # @return [Array<Google::Apis::DialogflowV3::GoogleRpcStatus>]
5695
5741
  attr_accessor :webhook_statuses
5696
5742
 
5697
- # The list of webhook tags in the order of call sequence.
5698
- # Corresponds to the JSON property `webhookTags`
5699
- # @return [Array<String>]
5700
- attr_accessor :webhook_tags
5701
-
5702
5743
  def initialize(**args)
5703
5744
  update!(**args)
5704
5745
  end
@@ -5707,7 +5748,6 @@ module Google
5707
5748
  def update!(**args)
5708
5749
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
5709
5750
  @allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
5710
- @current_flow = args[:current_flow] if args.key?(:current_flow)
5711
5751
  @current_page = args[:current_page] if args.key?(:current_page)
5712
5752
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
5713
5753
  @dtmf = args[:dtmf] if args.key?(:dtmf)
@@ -5722,12 +5762,8 @@ module Google
5722
5762
  @transcript = args[:transcript] if args.key?(:transcript)
5723
5763
  @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
5724
5764
  @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
5725
- @webhook_display_names = args[:webhook_display_names] if args.key?(:webhook_display_names)
5726
- @webhook_ids = args[:webhook_ids] if args.key?(:webhook_ids)
5727
- @webhook_latencies = args[:webhook_latencies] if args.key?(:webhook_latencies)
5728
5765
  @webhook_payloads = args[:webhook_payloads] if args.key?(:webhook_payloads)
5729
5766
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
5730
- @webhook_tags = args[:webhook_tags] if args.key?(:webhook_tags)
5731
5767
  end
5732
5768
  end
5733
5769
 
@@ -5874,11 +5910,6 @@ module Google
5874
5910
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText]
5875
5911
  attr_accessor :text
5876
5912
 
5877
- # Represents a call of a specific tool's action with the specified inputs.
5878
- # Corresponds to the JSON property `toolCall`
5879
- # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCall]
5880
- attr_accessor :tool_call
5881
-
5882
5913
  def initialize(**args)
5883
5914
  update!(**args)
5884
5915
  end
@@ -5897,7 +5928,6 @@ module Google
5897
5928
  @response_type = args[:response_type] if args.key?(:response_type)
5898
5929
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
5899
5930
  @text = args[:text] if args.key?(:text)
5900
- @tool_call = args[:tool_call] if args.key?(:tool_call)
5901
5931
  end
5902
5932
  end
5903
5933
 
@@ -6572,7 +6602,10 @@ module Google
6572
6602
  # Retains the data for the specified number of days. User must set a value lower
6573
6603
  # than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher
6574
6604
  # value will be ignored and use default. Setting a value higher than that has no
6575
- # effect. A missing value or setting to 0 also means we use default TTL.
6605
+ # effect. A missing value or setting to 0 also means we use default TTL. When
6606
+ # data retention configuration is changed, it only applies to the data created
6607
+ # after the change; the TTL of existing data created before the change stays
6608
+ # intact.
6576
6609
  # Corresponds to the JSON property `retentionWindowDays`
6577
6610
  # @return [Fixnum]
6578
6611
  attr_accessor :retention_window_days
@@ -6611,7 +6644,8 @@ module Google
6611
6644
  # @return [String]
6612
6645
  attr_accessor :audio_format
6613
6646
 
6614
- # Enable audio redaction if it is true.
6647
+ # Enable audio redaction if it is true. Note that this only redacts end-user
6648
+ # audio data; Synthesised audio from the virtual agent is not redacted.
6615
6649
  # Corresponds to the JSON property `enableAudioRedaction`
6616
6650
  # @return [Boolean]
6617
6651
  attr_accessor :enable_audio_redaction
@@ -7188,38 +7222,6 @@ module Google
7188
7222
  end
7189
7223
  end
7190
7224
 
7191
- # Represents a call of a specific tool's action with the specified inputs.
7192
- class GoogleCloudDialogflowCxV3ToolCall
7193
- include Google::Apis::Core::Hashable
7194
-
7195
- # Required. The name of the tool's action associated with this call.
7196
- # Corresponds to the JSON property `action`
7197
- # @return [String]
7198
- attr_accessor :action
7199
-
7200
- # Optional. The action's input parameters.
7201
- # Corresponds to the JSON property `inputParameters`
7202
- # @return [Hash<String,Object>]
7203
- attr_accessor :input_parameters
7204
-
7205
- # Required. The tool associated with this call. Format: `projects//locations//
7206
- # agents//tools/`.
7207
- # Corresponds to the JSON property `tool`
7208
- # @return [String]
7209
- attr_accessor :tool
7210
-
7211
- def initialize(**args)
7212
- update!(**args)
7213
- end
7214
-
7215
- # Update properties of this object
7216
- def update!(**args)
7217
- @action = args[:action] if args.key?(:action)
7218
- @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
7219
- @tool = args[:tool] if args.key?(:tool)
7220
- end
7221
- end
7222
-
7223
7225
  # The request message for Flows.TrainFlow.
7224
7226
  class GoogleCloudDialogflowCxV3TrainFlowRequest
7225
7227
  include Google::Apis::Core::Hashable
@@ -8409,6 +8411,11 @@ module Google
8409
8411
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
8410
8412
  attr_accessor :logging_settings
8411
8413
 
8414
+ # Define behaviors of speech to text detection.
8415
+ # Corresponds to the JSON property `speechSettings`
8416
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings]
8417
+ attr_accessor :speech_settings
8418
+
8412
8419
  def initialize(**args)
8413
8420
  update!(**args)
8414
8421
  end
@@ -8418,6 +8425,7 @@ module Google
8418
8425
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
8419
8426
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
8420
8427
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
8428
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
8421
8429
  end
8422
8430
  end
8423
8431
 
@@ -8484,6 +8492,49 @@ module Google
8484
8492
  end
8485
8493
  end
8486
8494
 
8495
+ # Define behaviors of speech to text detection.
8496
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
8497
+ include Google::Apis::Core::Hashable
8498
+
8499
+ # Sensitivity of the speech model that detects the end of speech. Scale from 0
8500
+ # to 100.
8501
+ # Corresponds to the JSON property `endpointerSensitivity`
8502
+ # @return [Fixnum]
8503
+ attr_accessor :endpointer_sensitivity
8504
+
8505
+ # Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
8506
+ # will be selected for requests from its corresponding language. For more
8507
+ # information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
8508
+ # concept/speech-models).
8509
+ # Corresponds to the JSON property `models`
8510
+ # @return [Hash<String,String>]
8511
+ attr_accessor :models
8512
+
8513
+ # Timeout before detecting no speech.
8514
+ # Corresponds to the JSON property `noSpeechTimeout`
8515
+ # @return [String]
8516
+ attr_accessor :no_speech_timeout
8517
+
8518
+ # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
8519
+ # timeout value.
8520
+ # Corresponds to the JSON property `useTimeoutBasedEndpointing`
8521
+ # @return [Boolean]
8522
+ attr_accessor :use_timeout_based_endpointing
8523
+ alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
8524
+
8525
+ def initialize(**args)
8526
+ update!(**args)
8527
+ end
8528
+
8529
+ # Update properties of this object
8530
+ def update!(**args)
8531
+ @endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
8532
+ @models = args[:models] if args.key?(:models)
8533
+ @no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
8534
+ @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
8535
+ end
8536
+ end
8537
+
8487
8538
  # Represents the natural speech audio to be processed.
8488
8539
  class GoogleCloudDialogflowCxV3beta1AudioInput
8489
8540
  include Google::Apis::Core::Hashable
@@ -10660,11 +10711,6 @@ module Google
10660
10711
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput]
10661
10712
  attr_accessor :text
10662
10713
 
10663
- # The result of calling a tool's action that has been executed by the client.
10664
- # Corresponds to the JSON property `toolCallResult`
10665
- # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult]
10666
- attr_accessor :tool_call_result
10667
-
10668
10714
  def initialize(**args)
10669
10715
  update!(**args)
10670
10716
  end
@@ -10677,7 +10723,6 @@ module Google
10677
10723
  @intent = args[:intent] if args.key?(:intent)
10678
10724
  @language_code = args[:language_code] if args.key?(:language_code)
10679
10725
  @text = args[:text] if args.key?(:text)
10680
- @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
10681
10726
  end
10682
10727
  end
10683
10728
 
@@ -10794,11 +10839,6 @@ module Google
10794
10839
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
10795
10840
  attr_accessor :text
10796
10841
 
10797
- # Represents a call of a specific tool's action with the specified inputs.
10798
- # Corresponds to the JSON property `toolCall`
10799
- # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall]
10800
- attr_accessor :tool_call
10801
-
10802
10842
  def initialize(**args)
10803
10843
  update!(**args)
10804
10844
  end
@@ -10816,7 +10856,6 @@ module Google
10816
10856
  @play_audio = args[:play_audio] if args.key?(:play_audio)
10817
10857
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
10818
10858
  @text = args[:text] if args.key?(:text)
10819
- @tool_call = args[:tool_call] if args.key?(:tool_call)
10820
10859
  end
10821
10860
  end
10822
10861
 
@@ -11439,95 +11478,6 @@ module Google
11439
11478
  end
11440
11479
  end
11441
11480
 
11442
- # Represents a call of a specific tool's action with the specified inputs.
11443
- class GoogleCloudDialogflowCxV3beta1ToolCall
11444
- include Google::Apis::Core::Hashable
11445
-
11446
- # Required. The name of the tool's action associated with this call.
11447
- # Corresponds to the JSON property `action`
11448
- # @return [String]
11449
- attr_accessor :action
11450
-
11451
- # Optional. The action's input parameters.
11452
- # Corresponds to the JSON property `inputParameters`
11453
- # @return [Hash<String,Object>]
11454
- attr_accessor :input_parameters
11455
-
11456
- # Required. The tool associated with this call. Format: `projects//locations//
11457
- # agents//tools/`.
11458
- # Corresponds to the JSON property `tool`
11459
- # @return [String]
11460
- attr_accessor :tool
11461
-
11462
- def initialize(**args)
11463
- update!(**args)
11464
- end
11465
-
11466
- # Update properties of this object
11467
- def update!(**args)
11468
- @action = args[:action] if args.key?(:action)
11469
- @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
11470
- @tool = args[:tool] if args.key?(:tool)
11471
- end
11472
- end
11473
-
11474
- # The result of calling a tool's action that has been executed by the client.
11475
- class GoogleCloudDialogflowCxV3beta1ToolCallResult
11476
- include Google::Apis::Core::Hashable
11477
-
11478
- # Required. The name of the tool's action associated with this call.
11479
- # Corresponds to the JSON property `action`
11480
- # @return [String]
11481
- attr_accessor :action
11482
-
11483
- # An error produced by the tool call.
11484
- # Corresponds to the JSON property `error`
11485
- # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError]
11486
- attr_accessor :error
11487
-
11488
- # The tool call's output parameters.
11489
- # Corresponds to the JSON property `outputParameters`
11490
- # @return [Hash<String,Object>]
11491
- attr_accessor :output_parameters
11492
-
11493
- # Required. The tool associated with this call. Format: `projects//locations//
11494
- # agents//tools/`.
11495
- # Corresponds to the JSON property `tool`
11496
- # @return [String]
11497
- attr_accessor :tool
11498
-
11499
- def initialize(**args)
11500
- update!(**args)
11501
- end
11502
-
11503
- # Update properties of this object
11504
- def update!(**args)
11505
- @action = args[:action] if args.key?(:action)
11506
- @error = args[:error] if args.key?(:error)
11507
- @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
11508
- @tool = args[:tool] if args.key?(:tool)
11509
- end
11510
- end
11511
-
11512
- # An error produced by the tool call.
11513
- class GoogleCloudDialogflowCxV3beta1ToolCallResultError
11514
- include Google::Apis::Core::Hashable
11515
-
11516
- # Optional. The error message of the function.
11517
- # Corresponds to the JSON property `message`
11518
- # @return [String]
11519
- attr_accessor :message
11520
-
11521
- def initialize(**args)
11522
- update!(**args)
11523
- end
11524
-
11525
- # Update properties of this object
11526
- def update!(**args)
11527
- @message = args[:message] if args.key?(:message)
11528
- end
11529
- end
11530
-
11531
11481
  # A transition route specifies a intent that can be matched and/or a data
11532
11482
  # condition that can be evaluated during a session. When a specified transition
11533
11483
  # is matched, the following actions are taken in order: * If there is a `
@@ -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.80.0"
19
+ GEM_VERSION = "0.82.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240215"
25
+ REVISION = "20240305"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudDialogflowCxV3Agent
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -70,6 +76,12 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class GoogleCloudDialogflowCxV3AgentValidationResult
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -1204,12 +1216,6 @@ module Google
1204
1216
  include Google::Apis::Core::JsonObjectSupport
1205
1217
  end
1206
1218
 
1207
- class GoogleCloudDialogflowCxV3ToolCall
1208
- class Representation < Google::Apis::Core::JsonRepresentation; end
1209
-
1210
- include Google::Apis::Core::JsonObjectSupport
1211
- end
1212
-
1213
1219
  class GoogleCloudDialogflowCxV3TrainFlowRequest
1214
1220
  class Representation < Google::Apis::Core::JsonRepresentation; end
1215
1221
 
@@ -1402,6 +1408,12 @@ module Google
1402
1408
  include Google::Apis::Core::JsonObjectSupport
1403
1409
  end
1404
1410
 
1411
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
1412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1413
+
1414
+ include Google::Apis::Core::JsonObjectSupport
1415
+ end
1416
+
1405
1417
  class GoogleCloudDialogflowCxV3beta1AudioInput
1406
1418
  class Representation < Google::Apis::Core::JsonRepresentation; end
1407
1419
 
@@ -1930,24 +1942,6 @@ module Google
1930
1942
  include Google::Apis::Core::JsonObjectSupport
1931
1943
  end
1932
1944
 
1933
- class GoogleCloudDialogflowCxV3beta1ToolCall
1934
- class Representation < Google::Apis::Core::JsonRepresentation; end
1935
-
1936
- include Google::Apis::Core::JsonObjectSupport
1937
- end
1938
-
1939
- class GoogleCloudDialogflowCxV3beta1ToolCallResult
1940
- class Representation < Google::Apis::Core::JsonRepresentation; end
1941
-
1942
- include Google::Apis::Core::JsonObjectSupport
1943
- end
1944
-
1945
- class GoogleCloudDialogflowCxV3beta1ToolCallResultError
1946
- class Representation < Google::Apis::Core::JsonRepresentation; end
1947
-
1948
- include Google::Apis::Core::JsonObjectSupport
1949
- end
1950
-
1951
1945
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
1952
1946
  class Representation < Google::Apis::Core::JsonRepresentation; end
1953
1947
 
@@ -3103,6 +3097,8 @@ module Google
3103
3097
 
3104
3098
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
3105
3099
 
3100
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::Representation
3101
+
3106
3102
  end
3107
3103
  end
3108
3104
 
@@ -3123,6 +3119,16 @@ module Google
3123
3119
  end
3124
3120
  end
3125
3121
 
3122
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
3123
+ # @private
3124
+ class Representation < Google::Apis::Core::JsonRepresentation
3125
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
3126
+ hash :models, as: 'models'
3127
+ property :no_speech_timeout, as: 'noSpeechTimeout'
3128
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
3129
+ end
3130
+ end
3131
+
3126
3132
  class GoogleCloudDialogflowCxV3Agent
3127
3133
  # @private
3128
3134
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3142,6 +3148,8 @@ module Google
3142
3148
 
3143
3149
  property :locked, as: 'locked'
3144
3150
  property :name, as: 'name'
3151
+ property :personalization_settings, as: 'personalizationSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings::Representation
3152
+
3145
3153
  property :security_settings, as: 'securitySettings'
3146
3154
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
3147
3155
 
@@ -3186,6 +3194,13 @@ module Google
3186
3194
  end
3187
3195
  end
3188
3196
 
3197
+ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
3198
+ # @private
3199
+ class Representation < Google::Apis::Core::JsonRepresentation
3200
+ hash :default_end_user_metadata, as: 'defaultEndUserMetadata'
3201
+ end
3202
+ end
3203
+
3189
3204
  class GoogleCloudDialogflowCxV3AgentValidationResult
3190
3205
  # @private
3191
3206
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4590,8 +4605,6 @@ module Google
4590
4605
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
4591
4606
 
4592
4607
  property :allow_answer_feedback, as: 'allowAnswerFeedback'
4593
- property :current_flow, as: 'currentFlow', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow::Representation
4594
-
4595
4608
  property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation
4596
4609
 
4597
4610
  hash :diagnostic_info, as: 'diagnosticInfo'
@@ -4612,13 +4625,9 @@ module Google
4612
4625
  property :transcript, as: 'transcript'
4613
4626
  property :trigger_event, as: 'triggerEvent'
4614
4627
  property :trigger_intent, as: 'triggerIntent'
4615
- collection :webhook_display_names, as: 'webhookDisplayNames'
4616
- collection :webhook_ids, as: 'webhookIds'
4617
- collection :webhook_latencies, as: 'webhookLatencies'
4618
4628
  collection :webhook_payloads, as: 'webhookPayloads'
4619
4629
  collection :webhook_statuses, as: 'webhookStatuses', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
4620
4630
 
4621
- collection :webhook_tags, as: 'webhookTags'
4622
4631
  end
4623
4632
  end
4624
4633
 
@@ -4662,8 +4671,6 @@ module Google
4662
4671
 
4663
4672
  property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
4664
4673
 
4665
- property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCall::Representation
4666
-
4667
4674
  end
4668
4675
  end
4669
4676
 
@@ -5041,15 +5048,6 @@ module Google
5041
5048
  end
5042
5049
  end
5043
5050
 
5044
- class GoogleCloudDialogflowCxV3ToolCall
5045
- # @private
5046
- class Representation < Google::Apis::Core::JsonRepresentation
5047
- property :action, as: 'action'
5048
- hash :input_parameters, as: 'inputParameters'
5049
- property :tool, as: 'tool'
5050
- end
5051
- end
5052
-
5053
5051
  class GoogleCloudDialogflowCxV3TrainFlowRequest
5054
5052
  # @private
5055
5053
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5372,6 +5370,8 @@ module Google
5372
5370
 
5373
5371
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
5374
5372
 
5373
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings::Representation
5374
+
5375
5375
  end
5376
5376
  end
5377
5377
 
@@ -5392,6 +5392,16 @@ module Google
5392
5392
  end
5393
5393
  end
5394
5394
 
5395
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
5396
+ # @private
5397
+ class Representation < Google::Apis::Core::JsonRepresentation
5398
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
5399
+ hash :models, as: 'models'
5400
+ property :no_speech_timeout, as: 'noSpeechTimeout'
5401
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
5402
+ end
5403
+ end
5404
+
5395
5405
  class GoogleCloudDialogflowCxV3beta1AudioInput
5396
5406
  # @private
5397
5407
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5995,8 +6005,6 @@ module Google
5995
6005
  property :language_code, as: 'languageCode'
5996
6006
  property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput::Representation
5997
6007
 
5998
- property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
5999
-
6000
6008
  end
6001
6009
  end
6002
6010
 
@@ -6031,8 +6039,6 @@ module Google
6031
6039
 
6032
6040
  property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
6033
6041
 
6034
- property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
6035
-
6036
6042
  end
6037
6043
  end
6038
6044
 
@@ -6222,33 +6228,6 @@ module Google
6222
6228
  end
6223
6229
  end
6224
6230
 
6225
- class GoogleCloudDialogflowCxV3beta1ToolCall
6226
- # @private
6227
- class Representation < Google::Apis::Core::JsonRepresentation
6228
- property :action, as: 'action'
6229
- hash :input_parameters, as: 'inputParameters'
6230
- property :tool, as: 'tool'
6231
- end
6232
- end
6233
-
6234
- class GoogleCloudDialogflowCxV3beta1ToolCallResult
6235
- # @private
6236
- class Representation < Google::Apis::Core::JsonRepresentation
6237
- property :action, as: 'action'
6238
- property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError::Representation
6239
-
6240
- hash :output_parameters, as: 'outputParameters'
6241
- property :tool, as: 'tool'
6242
- end
6243
- end
6244
-
6245
- class GoogleCloudDialogflowCxV3beta1ToolCallResultError
6246
- # @private
6247
- class Representation < Google::Apis::Core::JsonRepresentation
6248
- property :message, as: 'message'
6249
- end
6250
- end
6251
-
6252
6231
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
6253
6232
  # @private
6254
6233
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.80.0
4
+ version: 0.82.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-18 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.80.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.82.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dialogflow API V3