google-apis-dialogflow_v2beta1 0.65.0 → 0.67.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: 4357d7969c70dedbdd8919df208cf038318a51fd7a5756c96b4bd45e45d065bb
4
- data.tar.gz: b12c2762a3049c6684736284e7cabc203c77fcb2ede2e51f7c1978e73de2ebe1
3
+ metadata.gz: 6ab0883901e7e7e433372e6e35ad0f94cf8184d92f092dd6b6be07574d23275c
4
+ data.tar.gz: bf6b97d6dccc3c492d293c2ed15a197934c0bf71e42f7e6dd8c24176ec594f6c
5
5
  SHA512:
6
- metadata.gz: ca2160c9880a7c8f20d880c6bb7b501e8446635214ee187825851a5ec2246d4a5525034b516e39de5620dd162bb16ffb1bd90ae5b5b2fb6ab409968a3bdfb180
7
- data.tar.gz: 66e4b13af2ebe513663a698021d91a272b973884db0f8de5d00a6e4a7f060ecce35ef34c4e8f86fd7e10ecec4420e71e5e403e59b3e27910f2c71df9a8dd49f2
6
+ metadata.gz: 329b79efc8977bd2fa9b3400332b99fbe23c7d68da11d326c7c6656ed856627ce1cf651aa5fad6ce28aa11d73320b48ad0ca658c7f1e0f1b2ddc4641ade0dd13
7
+ data.tar.gz: 199ef1eb060587e13e7b3e1ced9a60d058db96fd621ecc1bea667a1d2cff0349c90eaa58e18c4f43c5603dc5dc6db044878dd5e2c00d49accb36526894b6df76
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.67.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230821
6
+
7
+ ### v0.66.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230807
10
+
3
11
  ### v0.65.0 (2023-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230722
@@ -337,6 +337,34 @@ module Google
337
337
  end
338
338
  end
339
339
 
340
+ # A data store connection. It represents a data store in Discovery Engine and
341
+ # the type of the contents it contains.
342
+ class GoogleCloudDialogflowCxV3DataStoreConnection
343
+ include Google::Apis::Core::Hashable
344
+
345
+ # The full name of the referenced data store. Formats: `projects/`project`/
346
+ # locations/`location`/collections/`collection`/dataStores/`data_store`` `
347
+ # projects/`project`/locations/`location`/dataStores/`data_store``
348
+ # Corresponds to the JSON property `dataStore`
349
+ # @return [String]
350
+ attr_accessor :data_store
351
+
352
+ # The type of the connected data store.
353
+ # Corresponds to the JSON property `dataStoreType`
354
+ # @return [String]
355
+ attr_accessor :data_store_type
356
+
357
+ def initialize(**args)
358
+ update!(**args)
359
+ end
360
+
361
+ # Update properties of this object
362
+ def update!(**args)
363
+ @data_store = args[:data_store] if args.key?(:data_store)
364
+ @data_store_type = args[:data_store_type] if args.key?(:data_store_type)
365
+ end
366
+ end
367
+
340
368
  # Metadata for DeleteDocument operation.
341
369
  class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
342
370
  include Google::Apis::Core::Hashable
@@ -1483,6 +1511,60 @@ module Google
1483
1511
  end
1484
1512
  end
1485
1513
 
1514
+ # The Knowledge Connector settings for this page or flow. This includes
1515
+ # information such as the attached Knowledge Bases, and the way to execute
1516
+ # fulfillment.
1517
+ class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
1518
+ include Google::Apis::Core::Hashable
1519
+
1520
+ # Optional. List of related data store connections.
1521
+ # Corresponds to the JSON property `dataStoreConnections`
1522
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3DataStoreConnection>]
1523
+ attr_accessor :data_store_connections
1524
+
1525
+ # Whether Knowledge Connector is enabled or not.
1526
+ # Corresponds to the JSON property `enabled`
1527
+ # @return [Boolean]
1528
+ attr_accessor :enabled
1529
+ alias_method :enabled?, :enabled
1530
+
1531
+ # The target flow to transition to. Format: `projects//locations//agents//flows/`
1532
+ # .
1533
+ # Corresponds to the JSON property `targetFlow`
1534
+ # @return [String]
1535
+ attr_accessor :target_flow
1536
+
1537
+ # The target page to transition to. Format: `projects//locations//agents//flows//
1538
+ # pages/`.
1539
+ # Corresponds to the JSON property `targetPage`
1540
+ # @return [String]
1541
+ attr_accessor :target_page
1542
+
1543
+ # A fulfillment can do one or more of the following actions at the same time: *
1544
+ # Generate rich message responses. * Set parameter values. * Call the webhook.
1545
+ # Fulfillments can be called at various stages in the Page or Form lifecycle.
1546
+ # For example, when a DetectIntentRequest drives a session to enter a new page,
1547
+ # the page's entry fulfillment can add a static response to the QueryResult in
1548
+ # the returning DetectIntentResponse, call the webhook (for example, to load
1549
+ # user data from a database), or both.
1550
+ # Corresponds to the JSON property `triggerFulfillment`
1551
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment]
1552
+ attr_accessor :trigger_fulfillment
1553
+
1554
+ def initialize(**args)
1555
+ update!(**args)
1556
+ end
1557
+
1558
+ # Update properties of this object
1559
+ def update!(**args)
1560
+ @data_store_connections = args[:data_store_connections] if args.key?(:data_store_connections)
1561
+ @enabled = args[:enabled] if args.key?(:enabled)
1562
+ @target_flow = args[:target_flow] if args.key?(:target_flow)
1563
+ @target_page = args[:target_page] if args.key?(:target_page)
1564
+ @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
1565
+ end
1566
+ end
1567
+
1486
1568
  # A Dialogflow CX conversation (session) can be described and visualized as a
1487
1569
  # state machine. The states of a CX session are represented by pages. For each
1488
1570
  # flow, you define many pages, where your combined pages can handle a complete
@@ -1529,6 +1611,13 @@ module Google
1529
1611
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Form]
1530
1612
  attr_accessor :form
1531
1613
 
1614
+ # The Knowledge Connector settings for this page or flow. This includes
1615
+ # information such as the attached Knowledge Bases, and the way to execute
1616
+ # fulfillment.
1617
+ # Corresponds to the JSON property `knowledgeConnectorSettings`
1618
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings]
1619
+ attr_accessor :knowledge_connector_settings
1620
+
1532
1621
  # The unique identifier of the page. Required for the Pages.UpdatePage method.
1533
1622
  # Pages.CreatePage populates the name automatically. Format: `projects//
1534
1623
  # locations//agents//flows//pages/`.
@@ -1536,13 +1625,17 @@ module Google
1536
1625
  # @return [String]
1537
1626
  attr_accessor :name
1538
1627
 
1539
- # Ordered list of `TransitionRouteGroups` associated with the page. Transition
1540
- # route groups must be unique within a page. * If multiple transition routes
1541
- # within a page scope refer to the same intent, then the precedence order is:
1542
- # page's transition route -> page's transition route group -> flow's transition
1543
- # routes. * If multiple transition route groups within a page contain the same
1544
- # intent, then the first group in the ordered list takes precedence. Format:`
1545
- # projects//locations//agents//flows//transitionRouteGroups/`.
1628
+ # Ordered list of `TransitionRouteGroups` added to the page. Transition route
1629
+ # groups must be unique within a page. If the page links both flow-level
1630
+ # transition route groups and agent-level transition route groups, the flow-
1631
+ # level ones will have higher priority and will be put before the agent-level
1632
+ # ones. * If multiple transition routes within a page scope refer to the same
1633
+ # intent, then the precedence order is: page's transition route -> page's
1634
+ # transition route group -> flow's transition routes. * If multiple transition
1635
+ # route groups within a page contain the same intent, then the first group in
1636
+ # the ordered list takes precedence. Format:`projects//locations//agents//flows//
1637
+ # transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/
1638
+ # ` for agent-level groups.
1546
1639
  # Corresponds to the JSON property `transitionRouteGroups`
1547
1640
  # @return [Array<String>]
1548
1641
  attr_accessor :transition_route_groups
@@ -1571,6 +1664,7 @@ module Google
1571
1664
  @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
1572
1665
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
1573
1666
  @form = args[:form] if args.key?(:form)
1667
+ @knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
1574
1668
  @name = args[:name] if args.key?(:name)
1575
1669
  @transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
1576
1670
  @transition_routes = args[:transition_routes] if args.key?(:transition_routes)
@@ -1801,6 +1895,13 @@ module Google
1801
1895
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction]
1802
1896
  attr_accessor :end_interaction
1803
1897
 
1898
+ # Represents info card response. If the response contains generative knowledge
1899
+ # prediction, Dialogflow will return a payload with Infobot Messenger compatible
1900
+ # info card. Otherwise, the info card response is skipped.
1901
+ # Corresponds to the JSON property `knowledgeInfoCard`
1902
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard]
1903
+ attr_accessor :knowledge_info_card
1904
+
1804
1905
  # Indicates that the conversation should be handed off to a live agent.
1805
1906
  # Dialogflow only uses this to determine which conversations were handed off to
1806
1907
  # a human agent for measurement purposes. What else to do with this signal is up
@@ -1861,6 +1962,7 @@ module Google
1861
1962
  @channel = args[:channel] if args.key?(:channel)
1862
1963
  @conversation_success = args[:conversation_success] if args.key?(:conversation_success)
1863
1964
  @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
1965
+ @knowledge_info_card = args[:knowledge_info_card] if args.key?(:knowledge_info_card)
1864
1966
  @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
1865
1967
  @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
1866
1968
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
@@ -1913,6 +2015,21 @@ module Google
1913
2015
  end
1914
2016
  end
1915
2017
 
2018
+ # Represents info card response. If the response contains generative knowledge
2019
+ # prediction, Dialogflow will return a payload with Infobot Messenger compatible
2020
+ # info card. Otherwise, the info card response is skipped.
2021
+ class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
2022
+ include Google::Apis::Core::Hashable
2023
+
2024
+ def initialize(**args)
2025
+ update!(**args)
2026
+ end
2027
+
2028
+ # Update properties of this object
2029
+ def update!(**args)
2030
+ end
2031
+ end
2032
+
1916
2033
  # Indicates that the conversation should be handed off to a live agent.
1917
2034
  # Dialogflow only uses this to determine which conversations were handed off to
1918
2035
  # a human agent for measurement purposes. What else to do with this signal is up
@@ -2496,6 +2613,12 @@ module Google
2496
2613
  # @return [String]
2497
2614
  attr_accessor :condition
2498
2615
 
2616
+ # Optional. The description of the transition route. The maximum length is 500
2617
+ # characters.
2618
+ # Corresponds to the JSON property `description`
2619
+ # @return [String]
2620
+ attr_accessor :description
2621
+
2499
2622
  # The unique identifier of an Intent. Format: `projects//locations//agents//
2500
2623
  # intents/`. Indicates that the transition can only happen when the given intent
2501
2624
  # is matched. At least one of `intent` or `condition` must be specified. When
@@ -2540,6 +2663,7 @@ module Google
2540
2663
  # Update properties of this object
2541
2664
  def update!(**args)
2542
2665
  @condition = args[:condition] if args.key?(:condition)
2666
+ @description = args[:description] if args.key?(:description)
2543
2667
  @intent = args[:intent] if args.key?(:intent)
2544
2668
  @name = args[:name] if args.key?(:name)
2545
2669
  @target_flow = args[:target_flow] if args.key?(:target_flow)
@@ -3428,6 +3552,34 @@ module Google
3428
3552
  end
3429
3553
  end
3430
3554
 
3555
+ # A data store connection. It represents a data store in Discovery Engine and
3556
+ # the type of the contents it contains.
3557
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnection
3558
+ include Google::Apis::Core::Hashable
3559
+
3560
+ # The full name of the referenced data store. Formats: `projects/`project`/
3561
+ # locations/`location`/collections/`collection`/dataStores/`data_store`` `
3562
+ # projects/`project`/locations/`location`/dataStores/`data_store``
3563
+ # Corresponds to the JSON property `dataStore`
3564
+ # @return [String]
3565
+ attr_accessor :data_store
3566
+
3567
+ # The type of the connected data store.
3568
+ # Corresponds to the JSON property `dataStoreType`
3569
+ # @return [String]
3570
+ attr_accessor :data_store_type
3571
+
3572
+ def initialize(**args)
3573
+ update!(**args)
3574
+ end
3575
+
3576
+ # Update properties of this object
3577
+ def update!(**args)
3578
+ @data_store = args[:data_store] if args.key?(:data_store)
3579
+ @data_store_type = args[:data_store_type] if args.key?(:data_store_type)
3580
+ end
3581
+ end
3582
+
3431
3583
  # Metadata for DeleteDocument operation.
3432
3584
  class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
3433
3585
  include Google::Apis::Core::Hashable
@@ -4574,6 +4726,60 @@ module Google
4574
4726
  end
4575
4727
  end
4576
4728
 
4729
+ # The Knowledge Connector settings for this page or flow. This includes
4730
+ # information such as the attached Knowledge Bases, and the way to execute
4731
+ # fulfillment.
4732
+ class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
4733
+ include Google::Apis::Core::Hashable
4734
+
4735
+ # Optional. List of related data store connections.
4736
+ # Corresponds to the JSON property `dataStoreConnections`
4737
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection>]
4738
+ attr_accessor :data_store_connections
4739
+
4740
+ # Whether Knowledge Connector is enabled or not.
4741
+ # Corresponds to the JSON property `enabled`
4742
+ # @return [Boolean]
4743
+ attr_accessor :enabled
4744
+ alias_method :enabled?, :enabled
4745
+
4746
+ # The target flow to transition to. Format: `projects//locations//agents//flows/`
4747
+ # .
4748
+ # Corresponds to the JSON property `targetFlow`
4749
+ # @return [String]
4750
+ attr_accessor :target_flow
4751
+
4752
+ # The target page to transition to. Format: `projects//locations//agents//flows//
4753
+ # pages/`.
4754
+ # Corresponds to the JSON property `targetPage`
4755
+ # @return [String]
4756
+ attr_accessor :target_page
4757
+
4758
+ # A fulfillment can do one or more of the following actions at the same time: *
4759
+ # Generate rich message responses. * Set parameter values. * Call the webhook.
4760
+ # Fulfillments can be called at various stages in the Page or Form lifecycle.
4761
+ # For example, when a DetectIntentRequest drives a session to enter a new page,
4762
+ # the page's entry fulfillment can add a static response to the QueryResult in
4763
+ # the returning DetectIntentResponse, call the webhook (for example, to load
4764
+ # user data from a database), or both.
4765
+ # Corresponds to the JSON property `triggerFulfillment`
4766
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment]
4767
+ attr_accessor :trigger_fulfillment
4768
+
4769
+ def initialize(**args)
4770
+ update!(**args)
4771
+ end
4772
+
4773
+ # Update properties of this object
4774
+ def update!(**args)
4775
+ @data_store_connections = args[:data_store_connections] if args.key?(:data_store_connections)
4776
+ @enabled = args[:enabled] if args.key?(:enabled)
4777
+ @target_flow = args[:target_flow] if args.key?(:target_flow)
4778
+ @target_page = args[:target_page] if args.key?(:target_page)
4779
+ @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
4780
+ end
4781
+ end
4782
+
4577
4783
  # A Dialogflow CX conversation (session) can be described and visualized as a
4578
4784
  # state machine. The states of a CX session are represented by pages. For each
4579
4785
  # flow, you define many pages, where your combined pages can handle a complete
@@ -4620,6 +4826,13 @@ module Google
4620
4826
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Form]
4621
4827
  attr_accessor :form
4622
4828
 
4829
+ # The Knowledge Connector settings for this page or flow. This includes
4830
+ # information such as the attached Knowledge Bases, and the way to execute
4831
+ # fulfillment.
4832
+ # Corresponds to the JSON property `knowledgeConnectorSettings`
4833
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
4834
+ attr_accessor :knowledge_connector_settings
4835
+
4623
4836
  # The unique identifier of the page. Required for the Pages.UpdatePage method.
4624
4837
  # Pages.CreatePage populates the name automatically. Format: `projects//
4625
4838
  # locations//agents//flows//pages/`.
@@ -4627,13 +4840,17 @@ module Google
4627
4840
  # @return [String]
4628
4841
  attr_accessor :name
4629
4842
 
4630
- # Ordered list of `TransitionRouteGroups` associated with the page. Transition
4631
- # route groups must be unique within a page. * If multiple transition routes
4632
- # within a page scope refer to the same intent, then the precedence order is:
4633
- # page's transition route -> page's transition route group -> flow's transition
4634
- # routes. * If multiple transition route groups within a page contain the same
4635
- # intent, then the first group in the ordered list takes precedence. Format:`
4636
- # projects//locations//agents//flows//transitionRouteGroups/`.
4843
+ # Ordered list of `TransitionRouteGroups` added to the page. Transition route
4844
+ # groups must be unique within a page. If the page links both flow-level
4845
+ # transition route groups and agent-level transition route groups, the flow-
4846
+ # level ones will have higher priority and will be put before the agent-level
4847
+ # ones. * If multiple transition routes within a page scope refer to the same
4848
+ # intent, then the precedence order is: page's transition route -> page's
4849
+ # transition route group -> flow's transition routes. * If multiple transition
4850
+ # route groups within a page contain the same intent, then the first group in
4851
+ # the ordered list takes precedence. Format:`projects//locations//agents//flows//
4852
+ # transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/
4853
+ # ` for agent-level groups.
4637
4854
  # Corresponds to the JSON property `transitionRouteGroups`
4638
4855
  # @return [Array<String>]
4639
4856
  attr_accessor :transition_route_groups
@@ -4662,6 +4879,7 @@ module Google
4662
4879
  @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
4663
4880
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
4664
4881
  @form = args[:form] if args.key?(:form)
4882
+ @knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
4665
4883
  @name = args[:name] if args.key?(:name)
4666
4884
  @transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
4667
4885
  @transition_routes = args[:transition_routes] if args.key?(:transition_routes)
@@ -4892,6 +5110,13 @@ module Google
4892
5110
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction]
4893
5111
  attr_accessor :end_interaction
4894
5112
 
5113
+ # Represents info card response. If the response contains generative knowledge
5114
+ # prediction, Dialogflow will return a payload with Infobot Messenger compatible
5115
+ # info card. Otherwise, the info card response is skipped.
5116
+ # Corresponds to the JSON property `knowledgeInfoCard`
5117
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard]
5118
+ attr_accessor :knowledge_info_card
5119
+
4895
5120
  # Indicates that the conversation should be handed off to a live agent.
4896
5121
  # Dialogflow only uses this to determine which conversations were handed off to
4897
5122
  # a human agent for measurement purposes. What else to do with this signal is up
@@ -4947,6 +5172,7 @@ module Google
4947
5172
  @channel = args[:channel] if args.key?(:channel)
4948
5173
  @conversation_success = args[:conversation_success] if args.key?(:conversation_success)
4949
5174
  @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
5175
+ @knowledge_info_card = args[:knowledge_info_card] if args.key?(:knowledge_info_card)
4950
5176
  @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
4951
5177
  @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
4952
5178
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
@@ -4998,6 +5224,21 @@ module Google
4998
5224
  end
4999
5225
  end
5000
5226
 
5227
+ # Represents info card response. If the response contains generative knowledge
5228
+ # prediction, Dialogflow will return a payload with Infobot Messenger compatible
5229
+ # info card. Otherwise, the info card response is skipped.
5230
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
5231
+ include Google::Apis::Core::Hashable
5232
+
5233
+ def initialize(**args)
5234
+ update!(**args)
5235
+ end
5236
+
5237
+ # Update properties of this object
5238
+ def update!(**args)
5239
+ end
5240
+ end
5241
+
5001
5242
  # Indicates that the conversation should be handed off to a live agent.
5002
5243
  # Dialogflow only uses this to determine which conversations were handed off to
5003
5244
  # a human agent for measurement purposes. What else to do with this signal is up
@@ -5581,6 +5822,12 @@ module Google
5581
5822
  # @return [String]
5582
5823
  attr_accessor :condition
5583
5824
 
5825
+ # Optional. The description of the transition route. The maximum length is 500
5826
+ # characters.
5827
+ # Corresponds to the JSON property `description`
5828
+ # @return [String]
5829
+ attr_accessor :description
5830
+
5584
5831
  # The unique identifier of an Intent. Format: `projects//locations//agents//
5585
5832
  # intents/`. Indicates that the transition can only happen when the given intent
5586
5833
  # is matched. At least one of `intent` or `condition` must be specified. When
@@ -5625,6 +5872,7 @@ module Google
5625
5872
  # Update properties of this object
5626
5873
  def update!(**args)
5627
5874
  @condition = args[:condition] if args.key?(:condition)
5875
+ @description = args[:description] if args.key?(:description)
5628
5876
  @intent = args[:intent] if args.key?(:intent)
5629
5877
  @name = args[:name] if args.key?(:name)
5630
5878
  @target_flow = args[:target_flow] if args.key?(:target_flow)
@@ -11791,6 +12039,12 @@ module Google
11791
12039
  class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary
11792
12040
  include Google::Apis::Core::Hashable
11793
12041
 
12042
+ # The baseline model version used to generate this summary. It is empty if a
12043
+ # baseline model was not used to generate this summary.
12044
+ # Corresponds to the JSON property `baselineModelVersion`
12045
+ # @return [String]
12046
+ attr_accessor :baseline_model_version
12047
+
11794
12048
  # The summary content that is concatenated into one string.
11795
12049
  # Corresponds to the JSON property `text`
11796
12050
  # @return [String]
@@ -11809,6 +12063,7 @@ module Google
11809
12063
 
11810
12064
  # Update properties of this object
11811
12065
  def update!(**args)
12066
+ @baseline_model_version = args[:baseline_model_version] if args.key?(:baseline_model_version)
11812
12067
  @text = args[:text] if args.key?(:text)
11813
12068
  @text_sections = args[:text_sections] if args.key?(:text_sections)
11814
12069
  end
@@ -16344,6 +16599,12 @@ module Google
16344
16599
  # @return [String]
16345
16600
  attr_accessor :answer_record
16346
16601
 
16602
+ # The baseline model version used to generate this summary. It is empty if a
16603
+ # baseline model was not used to generate this summary.
16604
+ # Corresponds to the JSON property `baselineModelVersion`
16605
+ # @return [String]
16606
+ attr_accessor :baseline_model_version
16607
+
16347
16608
  # The summary content that is concatenated into one string.
16348
16609
  # Corresponds to the JSON property `text`
16349
16610
  # @return [String]
@@ -16363,6 +16624,7 @@ module Google
16363
16624
  # Update properties of this object
16364
16625
  def update!(**args)
16365
16626
  @answer_record = args[:answer_record] if args.key?(:answer_record)
16627
+ @baseline_model_version = args[:baseline_model_version] if args.key?(:baseline_model_version)
16366
16628
  @text = args[:text] if args.key?(:text)
16367
16629
  @text_sections = args[:text_sections] if args.key?(:text_sections)
16368
16630
  end
@@ -17650,13 +17912,13 @@ module Google
17650
17912
  # @return [String]
17651
17913
  attr_accessor :name
17652
17914
 
17653
- # The normal response of the operation in case of success. If the original
17654
- # method returns no data on success, such as `Delete`, the response is `google.
17655
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
17656
- # the response should be the resource. For other methods, the response should
17657
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
17658
- # example, if the original method name is `TakeSnapshot()`, the inferred
17659
- # response type is `TakeSnapshotResponse`.
17915
+ # The normal, successful response of the operation. If the original method
17916
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
17917
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
17918
+ # response should be the resource. For other methods, the response should have
17919
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
17920
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
17921
+ # `TakeSnapshotResponse`.
17660
17922
  # Corresponds to the JSON property `response`
17661
17923
  # @return [Hash<String,Object>]
17662
17924
  attr_accessor :response
@@ -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.65.0"
19
+ GEM_VERSION = "0.67.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230722"
25
+ REVISION = "20230821"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudDialogflowCxV3DataStoreConnection
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -286,6 +292,12 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class GoogleCloudDialogflowCxV3Page
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -340,6 +352,12 @@ module Google
340
352
  include Google::Apis::Core::JsonObjectSupport
341
353
  end
342
354
 
355
+ class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
343
361
  class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
344
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
363
 
@@ -592,6 +610,12 @@ module Google
592
610
  include Google::Apis::Core::JsonObjectSupport
593
611
  end
594
612
 
613
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnection
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
595
619
  class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
596
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
621
 
@@ -796,6 +820,12 @@ module Google
796
820
  include Google::Apis::Core::JsonObjectSupport
797
821
  end
798
822
 
823
+ class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
799
829
  class GoogleCloudDialogflowCxV3beta1Page
800
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
831
 
@@ -850,6 +880,12 @@ module Google
850
880
  include Google::Apis::Core::JsonObjectSupport
851
881
  end
852
882
 
883
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
853
889
  class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
854
890
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
891
 
@@ -2975,6 +3011,14 @@ module Google
2975
3011
  end
2976
3012
  end
2977
3013
 
3014
+ class GoogleCloudDialogflowCxV3DataStoreConnection
3015
+ # @private
3016
+ class Representation < Google::Apis::Core::JsonRepresentation
3017
+ property :data_store, as: 'dataStore'
3018
+ property :data_store_type, as: 'dataStoreType'
3019
+ end
3020
+ end
3021
+
2978
3022
  class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
2979
3023
  # @private
2980
3024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3289,6 +3333,19 @@ module Google
3289
3333
  end
3290
3334
  end
3291
3335
 
3336
+ class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
3337
+ # @private
3338
+ class Representation < Google::Apis::Core::JsonRepresentation
3339
+ collection :data_store_connections, as: 'dataStoreConnections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3DataStoreConnection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3DataStoreConnection::Representation
3340
+
3341
+ property :enabled, as: 'enabled'
3342
+ property :target_flow, as: 'targetFlow'
3343
+ property :target_page, as: 'targetPage'
3344
+ property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
3345
+
3346
+ end
3347
+ end
3348
+
3292
3349
  class GoogleCloudDialogflowCxV3Page
3293
3350
  # @private
3294
3351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3299,6 +3356,8 @@ module Google
3299
3356
 
3300
3357
  property :form, as: 'form', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Form, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Form::Representation
3301
3358
 
3359
+ property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::Representation
3360
+
3302
3361
  property :name, as: 'name'
3303
3362
  collection :transition_route_groups, as: 'transitionRouteGroups'
3304
3363
  collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TransitionRoute::Representation
@@ -3368,6 +3427,8 @@ module Google
3368
3427
 
3369
3428
  property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
3370
3429
 
3430
+ property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard::Representation
3431
+
3371
3432
  property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation
3372
3433
 
3373
3434
  property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation
@@ -3398,6 +3459,12 @@ module Google
3398
3459
  end
3399
3460
  end
3400
3461
 
3462
+ class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
3463
+ # @private
3464
+ class Representation < Google::Apis::Core::JsonRepresentation
3465
+ end
3466
+ end
3467
+
3401
3468
  class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
3402
3469
  # @private
3403
3470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3569,6 +3636,7 @@ module Google
3569
3636
  # @private
3570
3637
  class Representation < Google::Apis::Core::JsonRepresentation
3571
3638
  property :condition, as: 'condition'
3639
+ property :description, as: 'description'
3572
3640
  property :intent, as: 'intent'
3573
3641
  property :name, as: 'name'
3574
3642
  property :target_flow, as: 'targetFlow'
@@ -3821,6 +3889,14 @@ module Google
3821
3889
  end
3822
3890
  end
3823
3891
 
3892
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnection
3893
+ # @private
3894
+ class Representation < Google::Apis::Core::JsonRepresentation
3895
+ property :data_store, as: 'dataStore'
3896
+ property :data_store_type, as: 'dataStoreType'
3897
+ end
3898
+ end
3899
+
3824
3900
  class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
3825
3901
  # @private
3826
3902
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4135,6 +4211,19 @@ module Google
4135
4211
  end
4136
4212
  end
4137
4213
 
4214
+ class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
4215
+ # @private
4216
+ class Representation < Google::Apis::Core::JsonRepresentation
4217
+ collection :data_store_connections, as: 'dataStoreConnections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection::Representation
4218
+
4219
+ property :enabled, as: 'enabled'
4220
+ property :target_flow, as: 'targetFlow'
4221
+ property :target_page, as: 'targetPage'
4222
+ property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
4223
+
4224
+ end
4225
+ end
4226
+
4138
4227
  class GoogleCloudDialogflowCxV3beta1Page
4139
4228
  # @private
4140
4229
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4145,6 +4234,8 @@ module Google
4145
4234
 
4146
4235
  property :form, as: 'form', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Form, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Form::Representation
4147
4236
 
4237
+ property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::Representation
4238
+
4148
4239
  property :name, as: 'name'
4149
4240
  collection :transition_route_groups, as: 'transitionRouteGroups'
4150
4241
  collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
@@ -4214,6 +4305,8 @@ module Google
4214
4305
 
4215
4306
  property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
4216
4307
 
4308
+ property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard::Representation
4309
+
4217
4310
  property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
4218
4311
 
4219
4312
  property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
@@ -4243,6 +4336,12 @@ module Google
4243
4336
  end
4244
4337
  end
4245
4338
 
4339
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
4340
+ # @private
4341
+ class Representation < Google::Apis::Core::JsonRepresentation
4342
+ end
4343
+ end
4344
+
4246
4345
  class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
4247
4346
  # @private
4248
4347
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4414,6 +4513,7 @@ module Google
4414
4513
  # @private
4415
4514
  class Representation < Google::Apis::Core::JsonRepresentation
4416
4515
  property :condition, as: 'condition'
4516
+ property :description, as: 'description'
4417
4517
  property :intent, as: 'intent'
4418
4518
  property :name, as: 'name'
4419
4519
  property :target_flow, as: 'targetFlow'
@@ -6055,6 +6155,7 @@ module Google
6055
6155
  class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary
6056
6156
  # @private
6057
6157
  class Representation < Google::Apis::Core::JsonRepresentation
6158
+ property :baseline_model_version, as: 'baselineModelVersion'
6058
6159
  property :text, as: 'text'
6059
6160
  hash :text_sections, as: 'textSections'
6060
6161
  end
@@ -7325,6 +7426,7 @@ module Google
7325
7426
  # @private
7326
7427
  class Representation < Google::Apis::Core::JsonRepresentation
7327
7428
  property :answer_record, as: 'answerRecord'
7429
+ property :baseline_model_version, as: 'baselineModelVersion'
7328
7430
  property :text, as: 'text'
7329
7431
  hash :text_sections, as: 'textSections'
7330
7432
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.0
4
+ version: 0.67.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: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.65.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.67.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dialogflow API V2beta1