google-apis-dialogflow_v2beta1 0.105.0 → 0.106.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: 13fce6429a0cee165f9c6dbb1e87c31533c96fae1285a39a335a881f4b4c866b
4
- data.tar.gz: 91d04db44fc09ebde238a6222ba7a1acf41c64af2b61da15bbc38064157938a4
3
+ metadata.gz: ee32615eda01459d728bf70243beb25986b0b5c95a33f90b50d63febaf15410b
4
+ data.tar.gz: ddf9f71408d39de75cfe0559bff83964430603d669c907212205594b4f77311a
5
5
  SHA512:
6
- metadata.gz: 722b6a5ea4f03fe32225e667cddb2905b2107fe703cdd21ffc90c77f7d5f753846f378a772a62d761ff6132029c8e938585aa89b4139c2247e6391b9b19178a9
7
- data.tar.gz: 2c49ebcf0185946a4990e387e221aadd9badb89877b1498086890918912c04bf1e9a1e7b98c92571a8114886f34e178e4c5c12b78c7175bd6bcf3dcb594f4c1a
6
+ metadata.gz: 78dee92f150252d6c43568827ee2a7d1219e8066def2d0e6662119b39d39e3ab17045f03522f42b76079a3b3a45a9c15a2f2790110a65224043a5fc7740f23ee
7
+ data.tar.gz: 2cdd194f65454f1c7cedca76f9cb80ba5cb29d0e7cf74d73432b1bb3e979d7d0d9917de5f4741a14889b87805a769278efd564277bda00cbb4908938701e719d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.106.0 (2025-06-22)
4
+
5
+ * Regenerated from discovery document revision 20250617
6
+
3
7
  ### v0.105.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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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
@@ -8268,6 +8356,11 @@ module Google
8268
8356
  # @return [String]
8269
8357
  attr_accessor :create_time
8270
8358
 
8359
+ # The time when the operation finished.
8360
+ # Corresponds to the JSON property `doneTime`
8361
+ # @return [String]
8362
+ attr_accessor :done_time
8363
+
8271
8364
  # State of CreateConversationModel operation.
8272
8365
  # Corresponds to the JSON property `state`
8273
8366
  # @return [String]
@@ -8281,6 +8374,7 @@ module Google
8281
8374
  def update!(**args)
8282
8375
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
8283
8376
  @create_time = args[:create_time] if args.key?(:create_time)
8377
+ @done_time = args[:done_time] if args.key?(:done_time)
8284
8378
  @state = args[:state] if args.key?(:state)
8285
8379
  end
8286
8380
  end
@@ -8314,6 +8408,11 @@ module Google
8314
8408
  # @return [String]
8315
8409
  attr_accessor :create_time
8316
8410
 
8411
+ # The time when the operation finished.
8412
+ # Corresponds to the JSON property `doneTime`
8413
+ # @return [String]
8414
+ attr_accessor :done_time
8415
+
8317
8416
  def initialize(**args)
8318
8417
  update!(**args)
8319
8418
  end
@@ -8322,6 +8421,7 @@ module Google
8322
8421
  def update!(**args)
8323
8422
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
8324
8423
  @create_time = args[:create_time] if args.key?(:create_time)
8424
+ @done_time = args[:done_time] if args.key?(:done_time)
8325
8425
  end
8326
8426
  end
8327
8427
 
@@ -8341,6 +8441,11 @@ module Google
8341
8441
  # @return [String]
8342
8442
  attr_accessor :create_time
8343
8443
 
8444
+ # The time when the operation finished.
8445
+ # Corresponds to the JSON property `doneTime`
8446
+ # @return [String]
8447
+ attr_accessor :done_time
8448
+
8344
8449
  def initialize(**args)
8345
8450
  update!(**args)
8346
8451
  end
@@ -8349,6 +8454,7 @@ module Google
8349
8454
  def update!(**args)
8350
8455
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
8351
8456
  @create_time = args[:create_time] if args.key?(:create_time)
8457
+ @done_time = args[:done_time] if args.key?(:done_time)
8352
8458
  end
8353
8459
  end
8354
8460
 
@@ -10364,6 +10470,11 @@ module Google
10364
10470
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
10365
10471
  include Google::Apis::Core::Hashable
10366
10472
 
10473
+ # The time when the operation finished.
10474
+ # Corresponds to the JSON property `doneTime`
10475
+ # @return [String]
10476
+ attr_accessor :done_time
10477
+
10367
10478
  # Metadata related to the Export Data Operations (e.g. ExportDocument).
10368
10479
  # Corresponds to the JSON property `exportOperationMetadata`
10369
10480
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ExportOperationMetadata]
@@ -10385,6 +10496,7 @@ module Google
10385
10496
 
10386
10497
  # Update properties of this object
10387
10498
  def update!(**args)
10499
+ @done_time = args[:done_time] if args.key?(:done_time)
10388
10500
  @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
10389
10501
  @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
10390
10502
  @state = args[:state] if args.key?(:state)
@@ -11388,6 +11500,11 @@ module Google
11388
11500
  # @return [String]
11389
11501
  attr_accessor :create_time
11390
11502
 
11503
+ # The time when the operation finished.
11504
+ # Corresponds to the JSON property `doneTime`
11505
+ # @return [String]
11506
+ attr_accessor :done_time
11507
+
11391
11508
  def initialize(**args)
11392
11509
  update!(**args)
11393
11510
  end
@@ -11396,6 +11513,7 @@ module Google
11396
11513
  def update!(**args)
11397
11514
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
11398
11515
  @create_time = args[:create_time] if args.key?(:create_time)
11516
+ @done_time = args[:done_time] if args.key?(:done_time)
11399
11517
  end
11400
11518
  end
11401
11519
 
@@ -18116,6 +18234,11 @@ module Google
18116
18234
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
18117
18235
  include Google::Apis::Core::Hashable
18118
18236
 
18237
+ # The time when the operation finished.
18238
+ # Corresponds to the JSON property `doneTime`
18239
+ # @return [String]
18240
+ attr_accessor :done_time
18241
+
18119
18242
  # Metadata related to the Export Data Operations (e.g. ExportDocument).
18120
18243
  # Corresponds to the JSON property `exportOperationMetadata`
18121
18244
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportOperationMetadata]
@@ -18137,6 +18260,7 @@ module Google
18137
18260
 
18138
18261
  # Update properties of this object
18139
18262
  def update!(**args)
18263
+ @done_time = args[:done_time] if args.key?(:done_time)
18140
18264
  @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata)
18141
18265
  @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
18142
18266
  @state = args[:state] if args.key?(:state)
@@ -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.105.0"
19
+ GEM_VERSION = "0.106.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
 
@@ -3924,6 +3936,8 @@ module Google
3924
3936
  collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases::Representation
3925
3937
 
3926
3938
  property :enable_generative_fallback, as: 'enableGenerativeFallback'
3939
+ collection :generators, as: 'generators', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings::Representation
3940
+
3927
3941
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
3928
3942
 
3929
3943
  property :return_partial_responses, as: 'returnPartialResponses'
@@ -3961,6 +3975,15 @@ module Google
3961
3975
  end
3962
3976
  end
3963
3977
 
3978
+ class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings
3979
+ # @private
3980
+ class Representation < Google::Apis::Core::JsonRepresentation
3981
+ property :generator, as: 'generator'
3982
+ hash :input_parameters, as: 'inputParameters'
3983
+ property :output_parameter, as: 'outputParameter'
3984
+ end
3985
+ end
3986
+
3964
3987
  class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
3965
3988
  # @private
3966
3989
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4968,6 +4991,8 @@ module Google
4968
4991
  collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation
4969
4992
 
4970
4993
  property :enable_generative_fallback, as: 'enableGenerativeFallback'
4994
+ collection :generators, as: 'generators', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings::Representation
4995
+
4971
4996
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
4972
4997
 
4973
4998
  property :return_partial_responses, as: 'returnPartialResponses'
@@ -5005,6 +5030,15 @@ module Google
5005
5030
  end
5006
5031
  end
5007
5032
 
5033
+ class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings
5034
+ # @private
5035
+ class Representation < Google::Apis::Core::JsonRepresentation
5036
+ property :generator, as: 'generator'
5037
+ hash :input_parameters, as: 'inputParameters'
5038
+ property :output_parameter, as: 'outputParameter'
5039
+ end
5040
+ end
5041
+
5008
5042
  class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
5009
5043
  # @private
5010
5044
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5791,6 +5825,7 @@ module Google
5791
5825
  class Representation < Google::Apis::Core::JsonRepresentation
5792
5826
  property :conversation_model, as: 'conversationModel'
5793
5827
  property :create_time, as: 'createTime'
5828
+ property :done_time, as: 'doneTime'
5794
5829
  property :state, as: 'state'
5795
5830
  end
5796
5831
  end
@@ -5806,6 +5841,7 @@ module Google
5806
5841
  class Representation < Google::Apis::Core::JsonRepresentation
5807
5842
  property :conversation_model, as: 'conversationModel'
5808
5843
  property :create_time, as: 'createTime'
5844
+ property :done_time, as: 'doneTime'
5809
5845
  end
5810
5846
  end
5811
5847
 
@@ -5814,6 +5850,7 @@ module Google
5814
5850
  class Representation < Google::Apis::Core::JsonRepresentation
5815
5851
  property :conversation_model, as: 'conversationModel'
5816
5852
  property :create_time, as: 'createTime'
5853
+ property :done_time, as: 'doneTime'
5817
5854
  end
5818
5855
  end
5819
5856
 
@@ -6415,6 +6452,7 @@ module Google
6415
6452
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
6416
6453
  # @private
6417
6454
  class Representation < Google::Apis::Core::JsonRepresentation
6455
+ property :done_time, as: 'doneTime'
6418
6456
  property :export_operation_metadata, as: 'exportOperationMetadata', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ExportOperationMetadata, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ExportOperationMetadata::Representation
6419
6457
 
6420
6458
  property :knowledge_base, as: 'knowledgeBase'
@@ -6668,6 +6706,7 @@ module Google
6668
6706
  class Representation < Google::Apis::Core::JsonRepresentation
6669
6707
  property :conversation_model, as: 'conversationModel'
6670
6708
  property :create_time, as: 'createTime'
6709
+ property :done_time, as: 'doneTime'
6671
6710
  end
6672
6711
  end
6673
6712
 
@@ -8509,6 +8548,7 @@ module Google
8509
8548
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
8510
8549
  # @private
8511
8550
  class Representation < Google::Apis::Core::JsonRepresentation
8551
+ property :done_time, as: 'doneTime'
8512
8552
  property :export_operation_metadata, as: 'exportOperationMetadata', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportOperationMetadata, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportOperationMetadata::Representation
8513
8553
 
8514
8554
  property :knowledge_base, as: 'knowledgeBase'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.105.0
4
+ version: 0.106.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_v2beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.105.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.106.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: