google-apis-dialogflow_v2 0.67.0 → 0.68.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8ef3c0719ab4ec3bcbc3a7233440befd423c1daa452700d60bd49bcb75b8014
|
4
|
+
data.tar.gz: c2ccb8c05d1c29fd1b55d490dff29644057e40a7172d591df6535475a308aaff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69185c0d1c8fcfa7654812bfce8e695c8f467b68a96c0b7f616a3b5371dcf33d578f6a449cac74bb2bbb2fa763c9883fd8f2e0c7f6e34e3ebe0a3f7812116e38
|
7
|
+
data.tar.gz: cdde74ae31de23adfde412cac0c3843670892156570d44d1792436dacc677b5187b1a3bbe1b44c0f5a1faf0075b48bff0a5e4a1c8c845044812fbd057d9ac7fe
|
data/CHANGELOG.md
CHANGED
@@ -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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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,14 +1625,17 @@ module Google
|
|
1536
1625
|
# @return [String]
|
1537
1626
|
attr_accessor :name
|
1538
1627
|
|
1539
|
-
# Ordered list of `TransitionRouteGroups`
|
1540
|
-
#
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
#
|
1544
|
-
# intent, then the
|
1545
|
-
#
|
1546
|
-
#
|
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.
|
1547
1639
|
# Corresponds to the JSON property `transitionRouteGroups`
|
1548
1640
|
# @return [Array<String>]
|
1549
1641
|
attr_accessor :transition_route_groups
|
@@ -1572,6 +1664,7 @@ module Google
|
|
1572
1664
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
1573
1665
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
1574
1666
|
@form = args[:form] if args.key?(:form)
|
1667
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
1575
1668
|
@name = args[:name] if args.key?(:name)
|
1576
1669
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
1577
1670
|
@transition_routes = args[:transition_routes] if args.key?(:transition_routes)
|
@@ -1802,6 +1895,13 @@ module Google
|
|
1802
1895
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction]
|
1803
1896
|
attr_accessor :end_interaction
|
1804
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::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard]
|
1903
|
+
attr_accessor :knowledge_info_card
|
1904
|
+
|
1805
1905
|
# Indicates that the conversation should be handed off to a live agent.
|
1806
1906
|
# Dialogflow only uses this to determine which conversations were handed off to
|
1807
1907
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -1862,6 +1962,7 @@ module Google
|
|
1862
1962
|
@channel = args[:channel] if args.key?(:channel)
|
1863
1963
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
1864
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)
|
1865
1966
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
1866
1967
|
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
1867
1968
|
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
@@ -1914,6 +2015,21 @@ module Google
|
|
1914
2015
|
end
|
1915
2016
|
end
|
1916
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
|
+
|
1917
2033
|
# Indicates that the conversation should be handed off to a live agent.
|
1918
2034
|
# Dialogflow only uses this to determine which conversations were handed off to
|
1919
2035
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -2497,6 +2613,12 @@ module Google
|
|
2497
2613
|
# @return [String]
|
2498
2614
|
attr_accessor :condition
|
2499
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
|
+
|
2500
2622
|
# The unique identifier of an Intent. Format: `projects//locations//agents//
|
2501
2623
|
# intents/`. Indicates that the transition can only happen when the given intent
|
2502
2624
|
# is matched. At least one of `intent` or `condition` must be specified. When
|
@@ -2541,6 +2663,7 @@ module Google
|
|
2541
2663
|
# Update properties of this object
|
2542
2664
|
def update!(**args)
|
2543
2665
|
@condition = args[:condition] if args.key?(:condition)
|
2666
|
+
@description = args[:description] if args.key?(:description)
|
2544
2667
|
@intent = args[:intent] if args.key?(:intent)
|
2545
2668
|
@name = args[:name] if args.key?(:name)
|
2546
2669
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
@@ -3429,6 +3552,34 @@ module Google
|
|
3429
3552
|
end
|
3430
3553
|
end
|
3431
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
|
+
|
3432
3583
|
# Metadata for DeleteDocument operation.
|
3433
3584
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
3434
3585
|
include Google::Apis::Core::Hashable
|
@@ -4575,6 +4726,60 @@ module Google
|
|
4575
4726
|
end
|
4576
4727
|
end
|
4577
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::DialogflowV2::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::DialogflowV2::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
|
+
|
4578
4783
|
# A Dialogflow CX conversation (session) can be described and visualized as a
|
4579
4784
|
# state machine. The states of a CX session are represented by pages. For each
|
4580
4785
|
# flow, you define many pages, where your combined pages can handle a complete
|
@@ -4621,6 +4826,13 @@ module Google
|
|
4621
4826
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Form]
|
4622
4827
|
attr_accessor :form
|
4623
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::DialogflowV2::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
|
4834
|
+
attr_accessor :knowledge_connector_settings
|
4835
|
+
|
4624
4836
|
# The unique identifier of the page. Required for the Pages.UpdatePage method.
|
4625
4837
|
# Pages.CreatePage populates the name automatically. Format: `projects//
|
4626
4838
|
# locations//agents//flows//pages/`.
|
@@ -4628,14 +4840,17 @@ module Google
|
|
4628
4840
|
# @return [String]
|
4629
4841
|
attr_accessor :name
|
4630
4842
|
|
4631
|
-
# Ordered list of `TransitionRouteGroups`
|
4632
|
-
#
|
4633
|
-
#
|
4634
|
-
#
|
4635
|
-
#
|
4636
|
-
# intent, then the
|
4637
|
-
#
|
4638
|
-
#
|
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.
|
4639
4854
|
# Corresponds to the JSON property `transitionRouteGroups`
|
4640
4855
|
# @return [Array<String>]
|
4641
4856
|
attr_accessor :transition_route_groups
|
@@ -4664,6 +4879,7 @@ module Google
|
|
4664
4879
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
4665
4880
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
4666
4881
|
@form = args[:form] if args.key?(:form)
|
4882
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
4667
4883
|
@name = args[:name] if args.key?(:name)
|
4668
4884
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
4669
4885
|
@transition_routes = args[:transition_routes] if args.key?(:transition_routes)
|
@@ -4894,6 +5110,13 @@ module Google
|
|
4894
5110
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction]
|
4895
5111
|
attr_accessor :end_interaction
|
4896
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::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard]
|
5118
|
+
attr_accessor :knowledge_info_card
|
5119
|
+
|
4897
5120
|
# Indicates that the conversation should be handed off to a live agent.
|
4898
5121
|
# Dialogflow only uses this to determine which conversations were handed off to
|
4899
5122
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -4949,6 +5172,7 @@ module Google
|
|
4949
5172
|
@channel = args[:channel] if args.key?(:channel)
|
4950
5173
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
4951
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)
|
4952
5176
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
4953
5177
|
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
4954
5178
|
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
@@ -5000,6 +5224,21 @@ module Google
|
|
5000
5224
|
end
|
5001
5225
|
end
|
5002
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
|
+
|
5003
5242
|
# Indicates that the conversation should be handed off to a live agent.
|
5004
5243
|
# Dialogflow only uses this to determine which conversations were handed off to
|
5005
5244
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -5583,6 +5822,12 @@ module Google
|
|
5583
5822
|
# @return [String]
|
5584
5823
|
attr_accessor :condition
|
5585
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
|
+
|
5586
5831
|
# The unique identifier of an Intent. Format: `projects//locations//agents//
|
5587
5832
|
# intents/`. Indicates that the transition can only happen when the given intent
|
5588
5833
|
# is matched. At least one of `intent` or `condition` must be specified. When
|
@@ -5627,6 +5872,7 @@ module Google
|
|
5627
5872
|
# Update properties of this object
|
5628
5873
|
def update!(**args)
|
5629
5874
|
@condition = args[:condition] if args.key?(:condition)
|
5875
|
+
@description = args[:description] if args.key?(:description)
|
5630
5876
|
@intent = args[:intent] if args.key?(:intent)
|
5631
5877
|
@name = args[:name] if args.key?(:name)
|
5632
5878
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
@@ -8984,6 +9230,12 @@ module Google
|
|
8984
9230
|
class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary
|
8985
9231
|
include Google::Apis::Core::Hashable
|
8986
9232
|
|
9233
|
+
# The baseline model version used to generate this summary. It is empty if a
|
9234
|
+
# baseline model was not used to generate this summary.
|
9235
|
+
# Corresponds to the JSON property `baselineModelVersion`
|
9236
|
+
# @return [String]
|
9237
|
+
attr_accessor :baseline_model_version
|
9238
|
+
|
8987
9239
|
# The summary content that is concatenated into one string.
|
8988
9240
|
# Corresponds to the JSON property `text`
|
8989
9241
|
# @return [String]
|
@@ -9002,6 +9254,7 @@ module Google
|
|
9002
9254
|
|
9003
9255
|
# Update properties of this object
|
9004
9256
|
def update!(**args)
|
9257
|
+
@baseline_model_version = args[:baseline_model_version] if args.key?(:baseline_model_version)
|
9005
9258
|
@text = args[:text] if args.key?(:text)
|
9006
9259
|
@text_sections = args[:text_sections] if args.key?(:text_sections)
|
9007
9260
|
end
|
@@ -12882,6 +13135,12 @@ module Google
|
|
12882
13135
|
# @return [String]
|
12883
13136
|
attr_accessor :answer_record
|
12884
13137
|
|
13138
|
+
# The baseline model version used to generate this summary. It is empty if a
|
13139
|
+
# baseline model was not used to generate this summary.
|
13140
|
+
# Corresponds to the JSON property `baselineModelVersion`
|
13141
|
+
# @return [String]
|
13142
|
+
attr_accessor :baseline_model_version
|
13143
|
+
|
12885
13144
|
# The summary content that is concatenated into one string.
|
12886
13145
|
# Corresponds to the JSON property `text`
|
12887
13146
|
# @return [String]
|
@@ -12901,6 +13160,7 @@ module Google
|
|
12901
13160
|
# Update properties of this object
|
12902
13161
|
def update!(**args)
|
12903
13162
|
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
13163
|
+
@baseline_model_version = args[:baseline_model_version] if args.key?(:baseline_model_version)
|
12904
13164
|
@text = args[:text] if args.key?(:text)
|
12905
13165
|
@text_sections = args[:text_sections] if args.key?(:text_sections)
|
12906
13166
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.68.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 = "
|
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
|
|
@@ -2933,6 +2969,14 @@ module Google
|
|
2933
2969
|
end
|
2934
2970
|
end
|
2935
2971
|
|
2972
|
+
class GoogleCloudDialogflowCxV3DataStoreConnection
|
2973
|
+
# @private
|
2974
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2975
|
+
property :data_store, as: 'dataStore'
|
2976
|
+
property :data_store_type, as: 'dataStoreType'
|
2977
|
+
end
|
2978
|
+
end
|
2979
|
+
|
2936
2980
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
2937
2981
|
# @private
|
2938
2982
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3247,6 +3291,19 @@ module Google
|
|
3247
3291
|
end
|
3248
3292
|
end
|
3249
3293
|
|
3294
|
+
class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
|
3295
|
+
# @private
|
3296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3297
|
+
collection :data_store_connections, as: 'dataStoreConnections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3DataStoreConnection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3DataStoreConnection::Representation
|
3298
|
+
|
3299
|
+
property :enabled, as: 'enabled'
|
3300
|
+
property :target_flow, as: 'targetFlow'
|
3301
|
+
property :target_page, as: 'targetPage'
|
3302
|
+
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment::Representation
|
3303
|
+
|
3304
|
+
end
|
3305
|
+
end
|
3306
|
+
|
3250
3307
|
class GoogleCloudDialogflowCxV3Page
|
3251
3308
|
# @private
|
3252
3309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3257,6 +3314,8 @@ module Google
|
|
3257
3314
|
|
3258
3315
|
property :form, as: 'form', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Form, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Form::Representation
|
3259
3316
|
|
3317
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::Representation
|
3318
|
+
|
3260
3319
|
property :name, as: 'name'
|
3261
3320
|
collection :transition_route_groups, as: 'transitionRouteGroups'
|
3262
3321
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TransitionRoute::Representation
|
@@ -3326,6 +3385,8 @@ module Google
|
|
3326
3385
|
|
3327
3386
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
3328
3387
|
|
3388
|
+
property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard::Representation
|
3389
|
+
|
3329
3390
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation
|
3330
3391
|
|
3331
3392
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation
|
@@ -3356,6 +3417,12 @@ module Google
|
|
3356
3417
|
end
|
3357
3418
|
end
|
3358
3419
|
|
3420
|
+
class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
|
3421
|
+
# @private
|
3422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3423
|
+
end
|
3424
|
+
end
|
3425
|
+
|
3359
3426
|
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
3360
3427
|
# @private
|
3361
3428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3527,6 +3594,7 @@ module Google
|
|
3527
3594
|
# @private
|
3528
3595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3529
3596
|
property :condition, as: 'condition'
|
3597
|
+
property :description, as: 'description'
|
3530
3598
|
property :intent, as: 'intent'
|
3531
3599
|
property :name, as: 'name'
|
3532
3600
|
property :target_flow, as: 'targetFlow'
|
@@ -3779,6 +3847,14 @@ module Google
|
|
3779
3847
|
end
|
3780
3848
|
end
|
3781
3849
|
|
3850
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnection
|
3851
|
+
# @private
|
3852
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3853
|
+
property :data_store, as: 'dataStore'
|
3854
|
+
property :data_store_type, as: 'dataStoreType'
|
3855
|
+
end
|
3856
|
+
end
|
3857
|
+
|
3782
3858
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
3783
3859
|
# @private
|
3784
3860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4093,6 +4169,19 @@ module Google
|
|
4093
4169
|
end
|
4094
4170
|
end
|
4095
4171
|
|
4172
|
+
class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
4173
|
+
# @private
|
4174
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4175
|
+
collection :data_store_connections, as: 'dataStoreConnections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1DataStoreConnection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1DataStoreConnection::Representation
|
4176
|
+
|
4177
|
+
property :enabled, as: 'enabled'
|
4178
|
+
property :target_flow, as: 'targetFlow'
|
4179
|
+
property :target_page, as: 'targetPage'
|
4180
|
+
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
|
4181
|
+
|
4182
|
+
end
|
4183
|
+
end
|
4184
|
+
|
4096
4185
|
class GoogleCloudDialogflowCxV3beta1Page
|
4097
4186
|
# @private
|
4098
4187
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4103,6 +4192,8 @@ module Google
|
|
4103
4192
|
|
4104
4193
|
property :form, as: 'form', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Form, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Form::Representation
|
4105
4194
|
|
4195
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::Representation
|
4196
|
+
|
4106
4197
|
property :name, as: 'name'
|
4107
4198
|
collection :transition_route_groups, as: 'transitionRouteGroups'
|
4108
4199
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
|
@@ -4172,6 +4263,8 @@ module Google
|
|
4172
4263
|
|
4173
4264
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
4174
4265
|
|
4266
|
+
property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard::Representation
|
4267
|
+
|
4175
4268
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
|
4176
4269
|
|
4177
4270
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
@@ -4201,6 +4294,12 @@ module Google
|
|
4201
4294
|
end
|
4202
4295
|
end
|
4203
4296
|
|
4297
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
4298
|
+
# @private
|
4299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4300
|
+
end
|
4301
|
+
end
|
4302
|
+
|
4204
4303
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
4205
4304
|
# @private
|
4206
4305
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4372,6 +4471,7 @@ module Google
|
|
4372
4471
|
# @private
|
4373
4472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4374
4473
|
property :condition, as: 'condition'
|
4474
|
+
property :description, as: 'description'
|
4375
4475
|
property :intent, as: 'intent'
|
4376
4476
|
property :name, as: 'name'
|
4377
4477
|
property :target_flow, as: 'targetFlow'
|
@@ -5265,6 +5365,7 @@ module Google
|
|
5265
5365
|
class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary
|
5266
5366
|
# @private
|
5267
5367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5368
|
+
property :baseline_model_version, as: 'baselineModelVersion'
|
5268
5369
|
property :text, as: 'text'
|
5269
5370
|
hash :text_sections, as: 'textSections'
|
5270
5371
|
end
|
@@ -6360,6 +6461,7 @@ module Google
|
|
6360
6461
|
# @private
|
6361
6462
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6362
6463
|
property :answer_record, as: 'answerRecord'
|
6464
|
+
property :baseline_model_version, as: 'baselineModelVersion'
|
6363
6465
|
property :text, as: 'text'
|
6364
6466
|
hash :text_sections, as: 'textSections'
|
6365
6467
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.68.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-
|
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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.68.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
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.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V2
|