google-apis-dialogflow_v2 0.106.0 → 0.107.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: 60a1b6eab3e585601fbb1d4dd1542cb96e64a7d59e8d0bc4caeaa5c8fe0a20f4
4
- data.tar.gz: 307e21d8af4e62135aea25c57fa3eadafc7ba45f0d5bd3d3b8910dba38c11c22
3
+ metadata.gz: 2abb792b565da6def5041e7d30b6d4b4b5d456448e297a5e3ad688b0758bb0fd
4
+ data.tar.gz: ad1a2268ba7b2a0c3f14195ec243d19a746308c8197db926402bc544a62f9ea7
5
5
  SHA512:
6
- metadata.gz: d04bbd2bd9c56cbf2a0b255f21d7bacfe40214306f2b193477ce29f983d522e0842ce21067b016fa358a140053183f04b1f66a3c1b9da68079265a38c27a6077
7
- data.tar.gz: ee029c70c38dd20be58e9708ab862591a23ee5fa225e96c6eae1b2d9307c2f16068906b9fbc5730190640d783aad84accd725d7dc96ae6a404c2e4762683a9c7
6
+ metadata.gz: b666c16d0dd410310de1f64be2068c6e176dfc5537ceb400364235e27718143cdf314dc5ef6f807b38bb70c1750370f00a084ba7b91b5ddbd181e7181af1d72a
7
+ data.tar.gz: acc28b471d2bfe3418526ca2d3df92647f8f8418438037831d022a2f13641cbfe9dca6debb88f865827dec049f46b53bf0e70eaab2300104edc82b54ab8f0b21
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.107.0 (2025-06-22)
4
+
5
+ * Regenerated from discovery document revision 20250617
6
+
3
7
  ### v0.106.0 (2025-06-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20250612
@@ -1241,6 +1241,11 @@ module Google
1241
1241
  attr_accessor :enable_generative_fallback
1242
1242
  alias_method :enable_generative_fallback?, :enable_generative_fallback
1243
1243
 
1244
+ # A list of Generators to be called during this fulfillment.
1245
+ # Corresponds to the JSON property `generators`
1246
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings>]
1247
+ attr_accessor :generators
1248
+
1244
1249
  # The list of rich message responses to present to the user.
1245
1250
  # Corresponds to the JSON property `messages`
1246
1251
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage>]
@@ -1286,6 +1291,7 @@ module Google
1286
1291
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
1287
1292
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
1288
1293
  @enable_generative_fallback = args[:enable_generative_fallback] if args.key?(:enable_generative_fallback)
1294
+ @generators = args[:generators] if args.key?(:generators)
1289
1295
  @messages = args[:messages] if args.key?(:messages)
1290
1296
  @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
1291
1297
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
@@ -1380,6 +1386,44 @@ module Google
1380
1386
  end
1381
1387
  end
1382
1388
 
1389
+ # Generator settings used by the LLM to generate a text response.
1390
+ class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings
1391
+ include Google::Apis::Core::Hashable
1392
+
1393
+ # Required. The generator to call. Format: `projects//locations//agents//
1394
+ # generators/`.
1395
+ # Corresponds to the JSON property `generator`
1396
+ # @return [String]
1397
+ attr_accessor :generator
1398
+
1399
+ # Map from placeholder parameter in the Generator to corresponding session
1400
+ # parameters. By default, Dialogflow uses the session parameter with the same
1401
+ # name to fill in the generator template. e.g. If there is a placeholder
1402
+ # parameter `city` in the Generator, Dialogflow default to fill in the `$city`
1403
+ # with `$session.params.city`. However, you may choose to fill `$city` with `$
1404
+ # session.params.desination-city`. - Map key: parameter ID - Map value: session
1405
+ # parameter name
1406
+ # Corresponds to the JSON property `inputParameters`
1407
+ # @return [Hash<String,String>]
1408
+ attr_accessor :input_parameters
1409
+
1410
+ # Required. Output parameter which should contain the generator response.
1411
+ # Corresponds to the JSON property `outputParameter`
1412
+ # @return [String]
1413
+ attr_accessor :output_parameter
1414
+
1415
+ def initialize(**args)
1416
+ update!(**args)
1417
+ end
1418
+
1419
+ # Update properties of this object
1420
+ def update!(**args)
1421
+ @generator = args[:generator] if args.key?(:generator)
1422
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
1423
+ @output_parameter = args[:output_parameter] if args.key?(:output_parameter)
1424
+ end
1425
+ end
1426
+
1383
1427
  # Setting a parameter value.
1384
1428
  class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
1385
1429
  include Google::Apis::Core::Hashable
@@ -5128,6 +5172,11 @@ module Google
5128
5172
  attr_accessor :enable_generative_fallback
5129
5173
  alias_method :enable_generative_fallback?, :enable_generative_fallback
5130
5174
 
5175
+ # A list of Generators to be called during this fulfillment.
5176
+ # Corresponds to the JSON property `generators`
5177
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings>]
5178
+ attr_accessor :generators
5179
+
5131
5180
  # The list of rich message responses to present to the user.
5132
5181
  # Corresponds to the JSON property `messages`
5133
5182
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
@@ -5173,6 +5222,7 @@ module Google
5173
5222
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
5174
5223
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
5175
5224
  @enable_generative_fallback = args[:enable_generative_fallback] if args.key?(:enable_generative_fallback)
5225
+ @generators = args[:generators] if args.key?(:generators)
5176
5226
  @messages = args[:messages] if args.key?(:messages)
5177
5227
  @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
5178
5228
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
@@ -5267,6 +5317,44 @@ module Google
5267
5317
  end
5268
5318
  end
5269
5319
 
5320
+ # Generator settings used by the LLM to generate a text response.
5321
+ class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings
5322
+ include Google::Apis::Core::Hashable
5323
+
5324
+ # Required. The generator to call. Format: `projects//locations//agents//
5325
+ # generators/`.
5326
+ # Corresponds to the JSON property `generator`
5327
+ # @return [String]
5328
+ attr_accessor :generator
5329
+
5330
+ # Map from placeholder parameter in the Generator to corresponding session
5331
+ # parameters. By default, Dialogflow uses the session parameter with the same
5332
+ # name to fill in the generator template. e.g. If there is a placeholder
5333
+ # parameter `city` in the Generator, Dialogflow default to fill in the `$city`
5334
+ # with `$session.params.city`. However, you may choose to fill `$city` with `$
5335
+ # session.params.desination-city`. - Map key: parameter ID - Map value: session
5336
+ # parameter name
5337
+ # Corresponds to the JSON property `inputParameters`
5338
+ # @return [Hash<String,String>]
5339
+ attr_accessor :input_parameters
5340
+
5341
+ # Required. Output parameter which should contain the generator response.
5342
+ # Corresponds to the JSON property `outputParameter`
5343
+ # @return [String]
5344
+ attr_accessor :output_parameter
5345
+
5346
+ def initialize(**args)
5347
+ update!(**args)
5348
+ end
5349
+
5350
+ # Update properties of this object
5351
+ def update!(**args)
5352
+ @generator = args[:generator] if args.key?(:generator)
5353
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
5354
+ @output_parameter = args[:output_parameter] if args.key?(:output_parameter)
5355
+ end
5356
+ end
5357
+
5270
5358
  # Setting a parameter value.
5271
5359
  class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
5272
5360
  include Google::Apis::Core::Hashable
@@ -9778,6 +9866,11 @@ module Google
9778
9866
  # @return [String]
9779
9867
  attr_accessor :create_time
9780
9868
 
9869
+ # The time when the operation finished.
9870
+ # Corresponds to the JSON property `doneTime`
9871
+ # @return [String]
9872
+ attr_accessor :done_time
9873
+
9781
9874
  # State of CreateConversationModel operation.
9782
9875
  # Corresponds to the JSON property `state`
9783
9876
  # @return [String]
@@ -9791,6 +9884,7 @@ module Google
9791
9884
  def update!(**args)
9792
9885
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9793
9886
  @create_time = args[:create_time] if args.key?(:create_time)
9887
+ @done_time = args[:done_time] if args.key?(:done_time)
9794
9888
  @state = args[:state] if args.key?(:state)
9795
9889
  end
9796
9890
  end
@@ -9857,6 +9951,11 @@ module Google
9857
9951
  # @return [String]
9858
9952
  attr_accessor :create_time
9859
9953
 
9954
+ # The time when the operation finished.
9955
+ # Corresponds to the JSON property `doneTime`
9956
+ # @return [String]
9957
+ attr_accessor :done_time
9958
+
9860
9959
  def initialize(**args)
9861
9960
  update!(**args)
9862
9961
  end
@@ -9865,6 +9964,7 @@ module Google
9865
9964
  def update!(**args)
9866
9965
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9867
9966
  @create_time = args[:create_time] if args.key?(:create_time)
9967
+ @done_time = args[:done_time] if args.key?(:done_time)
9868
9968
  end
9869
9969
  end
9870
9970
 
@@ -9884,6 +9984,11 @@ module Google
9884
9984
  # @return [String]
9885
9985
  attr_accessor :create_time
9886
9986
 
9987
+ # The time when the operation finished.
9988
+ # Corresponds to the JSON property `doneTime`
9989
+ # @return [String]
9990
+ attr_accessor :done_time
9991
+
9887
9992
  def initialize(**args)
9888
9993
  update!(**args)
9889
9994
  end
@@ -9892,6 +9997,7 @@ module Google
9892
9997
  def update!(**args)
9893
9998
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
9894
9999
  @create_time = args[:create_time] if args.key?(:create_time)
10000
+ @done_time = args[:done_time] if args.key?(:done_time)
9895
10001
  end
9896
10002
  end
9897
10003
 
@@ -14110,6 +14216,11 @@ module Google
14110
14216
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
14111
14217
  include Google::Apis::Core::Hashable
14112
14218
 
14219
+ # The time when the operation finished.
14220
+ # Corresponds to the JSON property `doneTime`
14221
+ # @return [String]
14222
+ attr_accessor :done_time
14223
+
14113
14224
  # Metadata related to the Export Data Operations (e.g. ExportDocument).
14114
14225
  # Corresponds to the JSON property `exportOperationMetadata`
14115
14226
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportOperationMetadata]
@@ -14131,6 +14242,7 @@ module Google
14131
14242
 
14132
14243
  # Update properties of this object
14133
14244
  def update!(**args)
14245
+ @done_time = args[:done_time] if args.key?(:done_time)
14134
14246
  @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
14135
14247
  @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
14136
14248
  @state = args[:state] if args.key?(:state)
@@ -17226,6 +17338,11 @@ module Google
17226
17338
  # @return [String]
17227
17339
  attr_accessor :create_time
17228
17340
 
17341
+ # The time when the operation finished.
17342
+ # Corresponds to the JSON property `doneTime`
17343
+ # @return [String]
17344
+ attr_accessor :done_time
17345
+
17229
17346
  def initialize(**args)
17230
17347
  update!(**args)
17231
17348
  end
@@ -17234,6 +17351,7 @@ module Google
17234
17351
  def update!(**args)
17235
17352
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
17236
17353
  @create_time = args[:create_time] if args.key?(:create_time)
17354
+ @done_time = args[:done_time] if args.key?(:done_time)
17237
17355
  end
17238
17356
  end
17239
17357
 
@@ -20359,6 +20477,11 @@ module Google
20359
20477
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
20360
20478
  include Google::Apis::Core::Hashable
20361
20479
 
20480
+ # The time when the operation finished.
20481
+ # Corresponds to the JSON property `doneTime`
20482
+ # @return [String]
20483
+ attr_accessor :done_time
20484
+
20362
20485
  # Metadata related to the Export Data Operations (e.g. ExportDocument).
20363
20486
  # Corresponds to the JSON property `exportOperationMetadata`
20364
20487
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ExportOperationMetadata]
@@ -20380,6 +20503,7 @@ module Google
20380
20503
 
20381
20504
  # Update properties of this object
20382
20505
  def update!(**args)
20506
+ @done_time = args[:done_time] if args.key?(:done_time)
20383
20507
  @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
20384
20508
  @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
20385
20509
  @state = args[:state] if args.key?(:state)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.106.0"
19
+ GEM_VERSION = "0.107.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 = "20250612"
25
+ REVISION = "20250617"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,12 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
259
265
  class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
260
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
267
 
@@ -880,6 +886,12 @@ module Google
880
886
  include Google::Apis::Core::JsonObjectSupport
881
887
  end
882
888
 
889
+ class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
883
895
  class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
884
896
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
897
 
@@ -3918,6 +3930,8 @@ module Google
3918
3930
  collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases::Representation
3919
3931
 
3920
3932
  property :enable_generative_fallback, as: 'enableGenerativeFallback'
3933
+ collection :generators, as: 'generators', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings::Representation
3934
+
3921
3935
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
3922
3936
 
3923
3937
  property :return_partial_responses, as: 'returnPartialResponses'
@@ -3955,6 +3969,15 @@ module Google
3955
3969
  end
3956
3970
  end
3957
3971
 
3972
+ class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings
3973
+ # @private
3974
+ class Representation < Google::Apis::Core::JsonRepresentation
3975
+ property :generator, as: 'generator'
3976
+ hash :input_parameters, as: 'inputParameters'
3977
+ property :output_parameter, as: 'outputParameter'
3978
+ end
3979
+ end
3980
+
3958
3981
  class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
3959
3982
  # @private
3960
3983
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4962,6 +4985,8 @@ module Google
4962
4985
  collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation
4963
4986
 
4964
4987
  property :enable_generative_fallback, as: 'enableGenerativeFallback'
4988
+ collection :generators, as: 'generators', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings::Representation
4989
+
4965
4990
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
4966
4991
 
4967
4992
  property :return_partial_responses, as: 'returnPartialResponses'
@@ -4999,6 +5024,15 @@ module Google
4999
5024
  end
5000
5025
  end
5001
5026
 
5027
+ class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings
5028
+ # @private
5029
+ class Representation < Google::Apis::Core::JsonRepresentation
5030
+ property :generator, as: 'generator'
5031
+ hash :input_parameters, as: 'inputParameters'
5032
+ property :output_parameter, as: 'outputParameter'
5033
+ end
5034
+ end
5035
+
5002
5036
  class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
5003
5037
  # @private
5004
5038
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6194,6 +6228,7 @@ module Google
6194
6228
  class Representation < Google::Apis::Core::JsonRepresentation
6195
6229
  property :conversation_model, as: 'conversationModel'
6196
6230
  property :create_time, as: 'createTime'
6231
+ property :done_time, as: 'doneTime'
6197
6232
  property :state, as: 'state'
6198
6233
  end
6199
6234
  end
@@ -6218,6 +6253,7 @@ module Google
6218
6253
  class Representation < Google::Apis::Core::JsonRepresentation
6219
6254
  property :conversation_model, as: 'conversationModel'
6220
6255
  property :create_time, as: 'createTime'
6256
+ property :done_time, as: 'doneTime'
6221
6257
  end
6222
6258
  end
6223
6259
 
@@ -6226,6 +6262,7 @@ module Google
6226
6262
  class Representation < Google::Apis::Core::JsonRepresentation
6227
6263
  property :conversation_model, as: 'conversationModel'
6228
6264
  property :create_time, as: 'createTime'
6265
+ property :done_time, as: 'doneTime'
6229
6266
  end
6230
6267
  end
6231
6268
 
@@ -7424,6 +7461,7 @@ module Google
7424
7461
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
7425
7462
  # @private
7426
7463
  class Representation < Google::Apis::Core::JsonRepresentation
7464
+ property :done_time, as: 'doneTime'
7427
7465
  property :export_operation_metadata, as: 'exportOperationMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportOperationMetadata::Representation
7428
7466
 
7429
7467
  property :knowledge_base, as: 'knowledgeBase'
@@ -8261,6 +8299,7 @@ module Google
8261
8299
  class Representation < Google::Apis::Core::JsonRepresentation
8262
8300
  property :conversation_model, as: 'conversationModel'
8263
8301
  property :create_time, as: 'createTime'
8302
+ property :done_time, as: 'doneTime'
8264
8303
  end
8265
8304
  end
8266
8305
 
@@ -9152,6 +9191,7 @@ module Google
9152
9191
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
9153
9192
  # @private
9154
9193
  class Representation < Google::Apis::Core::JsonRepresentation
9194
+ property :done_time, as: 'doneTime'
9155
9195
  property :export_operation_metadata, as: 'exportOperationMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ExportOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ExportOperationMetadata::Representation
9156
9196
 
9157
9197
  property :knowledge_base, as: 'knowledgeBase'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.106.0
4
+ version: 0.107.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_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.106.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.107.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
62
62
  rdoc_options: []
63
63
  require_paths: