google-apis-dialogflow_v3beta1 0.66.0 → 0.67.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 345c252ce3035b6aa9f48400adf70c76214799e2d6578734d6500a55d1c636b7
|
4
|
+
data.tar.gz: 485c6b4d6ad2534790baa27f66ef57c39d7054cf558b1612b22a77f8f16241d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fad1bef526b8d0a8cf11daa91cf1872a5e7c202e9e5066a9609b376ed61a790d8eac081db8dd9a90eca37c2a16f660a6370a36e9be728e0a0b6d580533c7032
|
7
|
+
data.tar.gz: c34bd67f68b3a9d44f4b2bd14be5aef1002baf8c22a45d159c846fbef42aa2f1eb4e85da39d1f5d84c088b1e0392ae94f3d09e33fc457e5b12d77525af98453c
|
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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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)
|
@@ -3921,6 +4044,34 @@ module Google
|
|
3921
4044
|
end
|
3922
4045
|
end
|
3923
4046
|
|
4047
|
+
# A data store connection. It represents a data store in Discovery Engine and
|
4048
|
+
# the type of the contents it contains.
|
4049
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnection
|
4050
|
+
include Google::Apis::Core::Hashable
|
4051
|
+
|
4052
|
+
# The full name of the referenced data store. Formats: `projects/`project`/
|
4053
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store`` `
|
4054
|
+
# projects/`project`/locations/`location`/dataStores/`data_store``
|
4055
|
+
# Corresponds to the JSON property `dataStore`
|
4056
|
+
# @return [String]
|
4057
|
+
attr_accessor :data_store
|
4058
|
+
|
4059
|
+
# The type of the connected data store.
|
4060
|
+
# Corresponds to the JSON property `dataStoreType`
|
4061
|
+
# @return [String]
|
4062
|
+
attr_accessor :data_store_type
|
4063
|
+
|
4064
|
+
def initialize(**args)
|
4065
|
+
update!(**args)
|
4066
|
+
end
|
4067
|
+
|
4068
|
+
# Update properties of this object
|
4069
|
+
def update!(**args)
|
4070
|
+
@data_store = args[:data_store] if args.key?(:data_store)
|
4071
|
+
@data_store_type = args[:data_store_type] if args.key?(:data_store_type)
|
4072
|
+
end
|
4073
|
+
end
|
4074
|
+
|
3924
4075
|
# Metadata for DeleteDocument operation.
|
3925
4076
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
3926
4077
|
include Google::Apis::Core::Hashable
|
@@ -5140,6 +5291,13 @@ module Google
|
|
5140
5291
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler>]
|
5141
5292
|
attr_accessor :event_handlers
|
5142
5293
|
|
5294
|
+
# The Knowledge Connector settings for this page or flow. This includes
|
5295
|
+
# information such as the attached Knowledge Bases, and the way to execute
|
5296
|
+
# fulfillment.
|
5297
|
+
# Corresponds to the JSON property `knowledgeConnectorSettings`
|
5298
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
|
5299
|
+
attr_accessor :knowledge_connector_settings
|
5300
|
+
|
5143
5301
|
# The unique identifier of the flow. Format: `projects//locations//agents//flows/
|
5144
5302
|
# `.
|
5145
5303
|
# Corresponds to the JSON property `name`
|
@@ -5183,6 +5341,7 @@ module Google
|
|
5183
5341
|
@description = args[:description] if args.key?(:description)
|
5184
5342
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5185
5343
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
5344
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
5186
5345
|
@name = args[:name] if args.key?(:name)
|
5187
5346
|
@nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
|
5188
5347
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
@@ -6202,6 +6361,60 @@ module Google
|
|
6202
6361
|
end
|
6203
6362
|
end
|
6204
6363
|
|
6364
|
+
# The Knowledge Connector settings for this page or flow. This includes
|
6365
|
+
# information such as the attached Knowledge Bases, and the way to execute
|
6366
|
+
# fulfillment.
|
6367
|
+
class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
6368
|
+
include Google::Apis::Core::Hashable
|
6369
|
+
|
6370
|
+
# Optional. List of related data store connections.
|
6371
|
+
# Corresponds to the JSON property `dataStoreConnections`
|
6372
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection>]
|
6373
|
+
attr_accessor :data_store_connections
|
6374
|
+
|
6375
|
+
# Whether Knowledge Connector is enabled or not.
|
6376
|
+
# Corresponds to the JSON property `enabled`
|
6377
|
+
# @return [Boolean]
|
6378
|
+
attr_accessor :enabled
|
6379
|
+
alias_method :enabled?, :enabled
|
6380
|
+
|
6381
|
+
# The target flow to transition to. Format: `projects//locations//agents//flows/`
|
6382
|
+
# .
|
6383
|
+
# Corresponds to the JSON property `targetFlow`
|
6384
|
+
# @return [String]
|
6385
|
+
attr_accessor :target_flow
|
6386
|
+
|
6387
|
+
# The target page to transition to. Format: `projects//locations//agents//flows//
|
6388
|
+
# pages/`.
|
6389
|
+
# Corresponds to the JSON property `targetPage`
|
6390
|
+
# @return [String]
|
6391
|
+
attr_accessor :target_page
|
6392
|
+
|
6393
|
+
# A fulfillment can do one or more of the following actions at the same time: *
|
6394
|
+
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
6395
|
+
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
6396
|
+
# For example, when a DetectIntentRequest drives a session to enter a new page,
|
6397
|
+
# the page's entry fulfillment can add a static response to the QueryResult in
|
6398
|
+
# the returning DetectIntentResponse, call the webhook (for example, to load
|
6399
|
+
# user data from a database), or both.
|
6400
|
+
# Corresponds to the JSON property `triggerFulfillment`
|
6401
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment]
|
6402
|
+
attr_accessor :trigger_fulfillment
|
6403
|
+
|
6404
|
+
def initialize(**args)
|
6405
|
+
update!(**args)
|
6406
|
+
end
|
6407
|
+
|
6408
|
+
# Update properties of this object
|
6409
|
+
def update!(**args)
|
6410
|
+
@data_store_connections = args[:data_store_connections] if args.key?(:data_store_connections)
|
6411
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
6412
|
+
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
6413
|
+
@target_page = args[:target_page] if args.key?(:target_page)
|
6414
|
+
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
6415
|
+
end
|
6416
|
+
end
|
6417
|
+
|
6205
6418
|
# The response message for Agents.ListAgents.
|
6206
6419
|
class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
6207
6420
|
include Google::Apis::Core::Hashable
|
@@ -6999,6 +7212,13 @@ module Google
|
|
6999
7212
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form]
|
7000
7213
|
attr_accessor :form
|
7001
7214
|
|
7215
|
+
# The Knowledge Connector settings for this page or flow. This includes
|
7216
|
+
# information such as the attached Knowledge Bases, and the way to execute
|
7217
|
+
# fulfillment.
|
7218
|
+
# Corresponds to the JSON property `knowledgeConnectorSettings`
|
7219
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
|
7220
|
+
attr_accessor :knowledge_connector_settings
|
7221
|
+
|
7002
7222
|
# The unique identifier of the page. Required for the Pages.UpdatePage method.
|
7003
7223
|
# Pages.CreatePage populates the name automatically. Format: `projects//
|
7004
7224
|
# locations//agents//flows//pages/`.
|
@@ -7006,14 +7226,17 @@ module Google
|
|
7006
7226
|
# @return [String]
|
7007
7227
|
attr_accessor :name
|
7008
7228
|
|
7009
|
-
# Ordered list of `TransitionRouteGroups`
|
7010
|
-
#
|
7011
|
-
#
|
7012
|
-
#
|
7013
|
-
#
|
7014
|
-
# intent, then the
|
7015
|
-
#
|
7016
|
-
#
|
7229
|
+
# Ordered list of `TransitionRouteGroups` added to the page. Transition route
|
7230
|
+
# groups must be unique within a page. If the page links both flow-level
|
7231
|
+
# transition route groups and agent-level transition route groups, the flow-
|
7232
|
+
# level ones will have higher priority and will be put before the agent-level
|
7233
|
+
# ones. * If multiple transition routes within a page scope refer to the same
|
7234
|
+
# intent, then the precedence order is: page's transition route -> page's
|
7235
|
+
# transition route group -> flow's transition routes. * If multiple transition
|
7236
|
+
# route groups within a page contain the same intent, then the first group in
|
7237
|
+
# the ordered list takes precedence. Format:`projects//locations//agents//flows//
|
7238
|
+
# transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/
|
7239
|
+
# ` for agent-level groups.
|
7017
7240
|
# Corresponds to the JSON property `transitionRouteGroups`
|
7018
7241
|
# @return [Array<String>]
|
7019
7242
|
attr_accessor :transition_route_groups
|
@@ -7042,6 +7265,7 @@ module Google
|
|
7042
7265
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
7043
7266
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
7044
7267
|
@form = args[:form] if args.key?(:form)
|
7268
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
7045
7269
|
@name = args[:name] if args.key?(:name)
|
7046
7270
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
7047
7271
|
@transition_routes = args[:transition_routes] if args.key?(:transition_routes)
|
@@ -7588,6 +7812,13 @@ module Google
|
|
7588
7812
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction]
|
7589
7813
|
attr_accessor :end_interaction
|
7590
7814
|
|
7815
|
+
# Represents info card response. If the response contains generative knowledge
|
7816
|
+
# prediction, Dialogflow will return a payload with Infobot Messenger compatible
|
7817
|
+
# info card. Otherwise, the info card response is skipped.
|
7818
|
+
# Corresponds to the JSON property `knowledgeInfoCard`
|
7819
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard]
|
7820
|
+
attr_accessor :knowledge_info_card
|
7821
|
+
|
7591
7822
|
# Indicates that the conversation should be handed off to a live agent.
|
7592
7823
|
# Dialogflow only uses this to determine which conversations were handed off to
|
7593
7824
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -7643,6 +7874,7 @@ module Google
|
|
7643
7874
|
@channel = args[:channel] if args.key?(:channel)
|
7644
7875
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
7645
7876
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
7877
|
+
@knowledge_info_card = args[:knowledge_info_card] if args.key?(:knowledge_info_card)
|
7646
7878
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
7647
7879
|
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
7648
7880
|
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
@@ -7694,6 +7926,21 @@ module Google
|
|
7694
7926
|
end
|
7695
7927
|
end
|
7696
7928
|
|
7929
|
+
# Represents info card response. If the response contains generative knowledge
|
7930
|
+
# prediction, Dialogflow will return a payload with Infobot Messenger compatible
|
7931
|
+
# info card. Otherwise, the info card response is skipped.
|
7932
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
7933
|
+
include Google::Apis::Core::Hashable
|
7934
|
+
|
7935
|
+
def initialize(**args)
|
7936
|
+
update!(**args)
|
7937
|
+
end
|
7938
|
+
|
7939
|
+
# Update properties of this object
|
7940
|
+
def update!(**args)
|
7941
|
+
end
|
7942
|
+
end
|
7943
|
+
|
7697
7944
|
# Indicates that the conversation should be handed off to a live agent.
|
7698
7945
|
# Dialogflow only uses this to determine which conversations were handed off to
|
7699
7946
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -8986,6 +9233,12 @@ module Google
|
|
8986
9233
|
# @return [String]
|
8987
9234
|
attr_accessor :condition
|
8988
9235
|
|
9236
|
+
# Optional. The description of the transition route. The maximum length is 500
|
9237
|
+
# characters.
|
9238
|
+
# Corresponds to the JSON property `description`
|
9239
|
+
# @return [String]
|
9240
|
+
attr_accessor :description
|
9241
|
+
|
8989
9242
|
# The unique identifier of an Intent. Format: `projects//locations//agents//
|
8990
9243
|
# intents/`. Indicates that the transition can only happen when the given intent
|
8991
9244
|
# is matched. At least one of `intent` or `condition` must be specified. When
|
@@ -9030,6 +9283,7 @@ module Google
|
|
9030
9283
|
# Update properties of this object
|
9031
9284
|
def update!(**args)
|
9032
9285
|
@condition = args[:condition] if args.key?(:condition)
|
9286
|
+
@description = args[:description] if args.key?(:description)
|
9033
9287
|
@intent = args[:intent] if args.key?(:intent)
|
9034
9288
|
@name = args[:name] if args.key?(:name)
|
9035
9289
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "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 = "
|
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
|
|
@@ -664,6 +682,12 @@ module Google
|
|
664
682
|
include Google::Apis::Core::JsonObjectSupport
|
665
683
|
end
|
666
684
|
|
685
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnection
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
|
+
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
689
|
+
end
|
690
|
+
|
667
691
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
668
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
693
|
|
@@ -1036,6 +1060,12 @@ module Google
|
|
1036
1060
|
include Google::Apis::Core::JsonObjectSupport
|
1037
1061
|
end
|
1038
1062
|
|
1063
|
+
class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1065
|
+
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
1067
|
+
end
|
1068
|
+
|
1039
1069
|
class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
1040
1070
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1041
1071
|
|
@@ -1252,6 +1282,12 @@ module Google
|
|
1252
1282
|
include Google::Apis::Core::JsonObjectSupport
|
1253
1283
|
end
|
1254
1284
|
|
1285
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
1286
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
|
+
|
1288
|
+
include Google::Apis::Core::JsonObjectSupport
|
1289
|
+
end
|
1290
|
+
|
1255
1291
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
1256
1292
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1257
1293
|
|
@@ -2807,6 +2843,14 @@ module Google
|
|
2807
2843
|
end
|
2808
2844
|
end
|
2809
2845
|
|
2846
|
+
class GoogleCloudDialogflowCxV3DataStoreConnection
|
2847
|
+
# @private
|
2848
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2849
|
+
property :data_store, as: 'dataStore'
|
2850
|
+
property :data_store_type, as: 'dataStoreType'
|
2851
|
+
end
|
2852
|
+
end
|
2853
|
+
|
2810
2854
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
2811
2855
|
# @private
|
2812
2856
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3121,6 +3165,19 @@ module Google
|
|
3121
3165
|
end
|
3122
3166
|
end
|
3123
3167
|
|
3168
|
+
class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
|
3169
|
+
# @private
|
3170
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3171
|
+
collection :data_store_connections, as: 'dataStoreConnections', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3DataStoreConnection, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3DataStoreConnection::Representation
|
3172
|
+
|
3173
|
+
property :enabled, as: 'enabled'
|
3174
|
+
property :target_flow, as: 'targetFlow'
|
3175
|
+
property :target_page, as: 'targetPage'
|
3176
|
+
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
|
3177
|
+
|
3178
|
+
end
|
3179
|
+
end
|
3180
|
+
|
3124
3181
|
class GoogleCloudDialogflowCxV3Page
|
3125
3182
|
# @private
|
3126
3183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3131,6 +3188,8 @@ module Google
|
|
3131
3188
|
|
3132
3189
|
property :form, as: 'form', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Form, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Form::Representation
|
3133
3190
|
|
3191
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::Representation
|
3192
|
+
|
3134
3193
|
property :name, as: 'name'
|
3135
3194
|
collection :transition_route_groups, as: 'transitionRouteGroups'
|
3136
3195
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TransitionRoute::Representation
|
@@ -3200,6 +3259,8 @@ module Google
|
|
3200
3259
|
|
3201
3260
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
3202
3261
|
|
3262
|
+
property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard::Representation
|
3263
|
+
|
3203
3264
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation
|
3204
3265
|
|
3205
3266
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation
|
@@ -3230,6 +3291,12 @@ module Google
|
|
3230
3291
|
end
|
3231
3292
|
end
|
3232
3293
|
|
3294
|
+
class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
|
3295
|
+
# @private
|
3296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3297
|
+
end
|
3298
|
+
end
|
3299
|
+
|
3233
3300
|
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
3234
3301
|
# @private
|
3235
3302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3401,6 +3468,7 @@ module Google
|
|
3401
3468
|
# @private
|
3402
3469
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3403
3470
|
property :condition, as: 'condition'
|
3471
|
+
property :description, as: 'description'
|
3404
3472
|
property :intent, as: 'intent'
|
3405
3473
|
property :name, as: 'name'
|
3406
3474
|
property :target_flow, as: 'targetFlow'
|
@@ -3783,6 +3851,14 @@ module Google
|
|
3783
3851
|
end
|
3784
3852
|
end
|
3785
3853
|
|
3854
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnection
|
3855
|
+
# @private
|
3856
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3857
|
+
property :data_store, as: 'dataStore'
|
3858
|
+
property :data_store_type, as: 'dataStoreType'
|
3859
|
+
end
|
3860
|
+
end
|
3861
|
+
|
3786
3862
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
3787
3863
|
# @private
|
3788
3864
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4111,6 +4187,8 @@ module Google
|
|
4111
4187
|
property :display_name, as: 'displayName'
|
4112
4188
|
collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler::Representation
|
4113
4189
|
|
4190
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::Representation
|
4191
|
+
|
4114
4192
|
property :name, as: 'name'
|
4115
4193
|
property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings::Representation
|
4116
4194
|
|
@@ -4395,6 +4473,19 @@ module Google
|
|
4395
4473
|
end
|
4396
4474
|
end
|
4397
4475
|
|
4476
|
+
class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
4477
|
+
# @private
|
4478
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4479
|
+
collection :data_store_connections, as: 'dataStoreConnections', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection::Representation
|
4480
|
+
|
4481
|
+
property :enabled, as: 'enabled'
|
4482
|
+
property :target_flow, as: 'targetFlow'
|
4483
|
+
property :target_page, as: 'targetPage'
|
4484
|
+
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
|
4485
|
+
|
4486
|
+
end
|
4487
|
+
end
|
4488
|
+
|
4398
4489
|
class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
4399
4490
|
# @private
|
4400
4491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4631,6 +4722,8 @@ module Google
|
|
4631
4722
|
|
4632
4723
|
property :form, as: 'form', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form::Representation
|
4633
4724
|
|
4725
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::Representation
|
4726
|
+
|
4634
4727
|
property :name, as: 'name'
|
4635
4728
|
collection :transition_route_groups, as: 'transitionRouteGroups'
|
4636
4729
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
|
@@ -4757,6 +4850,8 @@ module Google
|
|
4757
4850
|
|
4758
4851
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
4759
4852
|
|
4853
|
+
property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard::Representation
|
4854
|
+
|
4760
4855
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
|
4761
4856
|
|
4762
4857
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
@@ -4786,6 +4881,12 @@ module Google
|
|
4786
4881
|
end
|
4787
4882
|
end
|
4788
4883
|
|
4884
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
4885
|
+
# @private
|
4886
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4887
|
+
end
|
4888
|
+
end
|
4889
|
+
|
4789
4890
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
4790
4891
|
# @private
|
4791
4892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5149,6 +5250,7 @@ module Google
|
|
5149
5250
|
# @private
|
5150
5251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5151
5252
|
property :condition, as: 'condition'
|
5253
|
+
property :description, as: 'description'
|
5152
5254
|
property :intent, as: 'intent'
|
5153
5255
|
property :name, as: 'name'
|
5154
5256
|
property :target_flow, as: 'targetFlow'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.67.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
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 V3beta1
|