google-apis-dialogflow_v3beta1 0.65.0 → 0.67.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +315 -26
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +117 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +232 -5
- metadata +4 -4
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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
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-07-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230717
|
@@ -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,13 +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
|
-
#
|
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::DialogflowV3beta1::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::DialogflowV3beta1::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)
|
@@ -3177,7 +3301,8 @@ module Google
|
|
3177
3301
|
# transform user requests into actionable data. You can include agents in your
|
3178
3302
|
# app, product, or service to determine user intent and respond to the user in a
|
3179
3303
|
# natural way. After you create an agent, you can add Intents, Entity Types,
|
3180
|
-
# Flows, Fulfillments, Webhooks, and so on to manage the
|
3304
|
+
# Flows, Fulfillments, Webhooks, TransitionRouteGroups and so on to manage the
|
3305
|
+
# conversation flows.
|
3181
3306
|
class GoogleCloudDialogflowCxV3beta1Agent
|
3182
3307
|
include Google::Apis::Core::Hashable
|
3183
3308
|
|
@@ -3919,6 +4044,34 @@ module Google
|
|
3919
4044
|
end
|
3920
4045
|
end
|
3921
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
|
+
|
3922
4075
|
# Metadata for DeleteDocument operation.
|
3923
4076
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
3924
4077
|
include Google::Apis::Core::Hashable
|
@@ -5138,6 +5291,13 @@ module Google
|
|
5138
5291
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler>]
|
5139
5292
|
attr_accessor :event_handlers
|
5140
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
|
+
|
5141
5301
|
# The unique identifier of the flow. Format: `projects//locations//agents//flows/
|
5142
5302
|
# `.
|
5143
5303
|
# Corresponds to the JSON property `name`
|
@@ -5153,7 +5313,8 @@ module Google
|
|
5153
5313
|
# matching the user's first utterances in the flow. * They are inherited by
|
5154
5314
|
# every page's transition route groups. Transition route groups defined in the
|
5155
5315
|
# page have higher priority than those defined in the flow. Format:`projects//
|
5156
|
-
# locations//agents//flows//transitionRouteGroups
|
5316
|
+
# locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
5317
|
+
# agents//transitionRouteGroups/` for agent-level groups.
|
5157
5318
|
# Corresponds to the JSON property `transitionRouteGroups`
|
5158
5319
|
# @return [Array<String>]
|
5159
5320
|
attr_accessor :transition_route_groups
|
@@ -5180,6 +5341,7 @@ module Google
|
|
5180
5341
|
@description = args[:description] if args.key?(:description)
|
5181
5342
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5182
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)
|
5183
5345
|
@name = args[:name] if args.key?(:name)
|
5184
5346
|
@nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
|
5185
5347
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
@@ -5187,6 +5349,29 @@ module Google
|
|
5187
5349
|
end
|
5188
5350
|
end
|
5189
5351
|
|
5352
|
+
# The flow import strategy used for resource conflict resolution associated with
|
5353
|
+
# an ImportFlowRequest.
|
5354
|
+
class GoogleCloudDialogflowCxV3beta1FlowImportStrategy
|
5355
|
+
include Google::Apis::Core::Hashable
|
5356
|
+
|
5357
|
+
# Optional. Global flow import strategy for resource conflict resolution. The
|
5358
|
+
# import Import strategy for resource conflict resolution, applied globally
|
5359
|
+
# throughout the flow. It will be applied for all display name conflicts in the
|
5360
|
+
# imported content. If not specified, 'CREATE_NEW' is assumed.
|
5361
|
+
# Corresponds to the JSON property `globalImportStrategy`
|
5362
|
+
# @return [String]
|
5363
|
+
attr_accessor :global_import_strategy
|
5364
|
+
|
5365
|
+
def initialize(**args)
|
5366
|
+
update!(**args)
|
5367
|
+
end
|
5368
|
+
|
5369
|
+
# Update properties of this object
|
5370
|
+
def update!(**args)
|
5371
|
+
@global_import_strategy = args[:global_import_strategy] if args.key?(:global_import_strategy)
|
5372
|
+
end
|
5373
|
+
end
|
5374
|
+
|
5190
5375
|
# The response message for Flows.GetFlowValidationResult.
|
5191
5376
|
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
|
5192
5377
|
include Google::Apis::Core::Hashable
|
@@ -5702,6 +5887,12 @@ module Google
|
|
5702
5887
|
# @return [String]
|
5703
5888
|
attr_accessor :flow_content
|
5704
5889
|
|
5890
|
+
# The flow import strategy used for resource conflict resolution associated with
|
5891
|
+
# an ImportFlowRequest.
|
5892
|
+
# Corresponds to the JSON property `flowImportStrategy`
|
5893
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowImportStrategy]
|
5894
|
+
attr_accessor :flow_import_strategy
|
5895
|
+
|
5705
5896
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
5706
5897
|
# import flow from. The format of this URI must be `gs:///`. Dialogflow performs
|
5707
5898
|
# a read operation for the Cloud Storage object on the caller's behalf, so your
|
@@ -5724,6 +5915,7 @@ module Google
|
|
5724
5915
|
# Update properties of this object
|
5725
5916
|
def update!(**args)
|
5726
5917
|
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
5918
|
+
@flow_import_strategy = args[:flow_import_strategy] if args.key?(:flow_import_strategy)
|
5727
5919
|
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
5728
5920
|
@import_option = args[:import_option] if args.key?(:import_option)
|
5729
5921
|
end
|
@@ -6169,6 +6361,60 @@ module Google
|
|
6169
6361
|
end
|
6170
6362
|
end
|
6171
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
|
+
|
6172
6418
|
# The response message for Agents.ListAgents.
|
6173
6419
|
class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
6174
6420
|
include Google::Apis::Core::Hashable
|
@@ -6966,6 +7212,13 @@ module Google
|
|
6966
7212
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form]
|
6967
7213
|
attr_accessor :form
|
6968
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
|
+
|
6969
7222
|
# The unique identifier of the page. Required for the Pages.UpdatePage method.
|
6970
7223
|
# Pages.CreatePage populates the name automatically. Format: `projects//
|
6971
7224
|
# locations//agents//flows//pages/`.
|
@@ -6973,13 +7226,17 @@ module Google
|
|
6973
7226
|
# @return [String]
|
6974
7227
|
attr_accessor :name
|
6975
7228
|
|
6976
|
-
# Ordered list of `TransitionRouteGroups`
|
6977
|
-
#
|
6978
|
-
#
|
6979
|
-
#
|
6980
|
-
#
|
6981
|
-
# intent, then the
|
6982
|
-
#
|
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.
|
6983
7240
|
# Corresponds to the JSON property `transitionRouteGroups`
|
6984
7241
|
# @return [Array<String>]
|
6985
7242
|
attr_accessor :transition_route_groups
|
@@ -7008,6 +7265,7 @@ module Google
|
|
7008
7265
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
7009
7266
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
7010
7267
|
@form = args[:form] if args.key?(:form)
|
7268
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
7011
7269
|
@name = args[:name] if args.key?(:name)
|
7012
7270
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
7013
7271
|
@transition_routes = args[:transition_routes] if args.key?(:transition_routes)
|
@@ -7554,6 +7812,13 @@ module Google
|
|
7554
7812
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction]
|
7555
7813
|
attr_accessor :end_interaction
|
7556
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
|
+
|
7557
7822
|
# Indicates that the conversation should be handed off to a live agent.
|
7558
7823
|
# Dialogflow only uses this to determine which conversations were handed off to
|
7559
7824
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -7609,6 +7874,7 @@ module Google
|
|
7609
7874
|
@channel = args[:channel] if args.key?(:channel)
|
7610
7875
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
7611
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)
|
7612
7878
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
7613
7879
|
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
7614
7880
|
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
@@ -7660,6 +7926,21 @@ module Google
|
|
7660
7926
|
end
|
7661
7927
|
end
|
7662
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
|
+
|
7663
7944
|
# Indicates that the conversation should be handed off to a live agent.
|
7664
7945
|
# Dialogflow only uses this to determine which conversations were handed off to
|
7665
7946
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -8952,6 +9233,12 @@ module Google
|
|
8952
9233
|
# @return [String]
|
8953
9234
|
attr_accessor :condition
|
8954
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
|
+
|
8955
9242
|
# The unique identifier of an Intent. Format: `projects//locations//agents//
|
8956
9243
|
# intents/`. Indicates that the transition can only happen when the given intent
|
8957
9244
|
# is matched. At least one of `intent` or `condition` must be specified. When
|
@@ -8996,6 +9283,7 @@ module Google
|
|
8996
9283
|
# Update properties of this object
|
8997
9284
|
def update!(**args)
|
8998
9285
|
@condition = args[:condition] if args.key?(:condition)
|
9286
|
+
@description = args[:description] if args.key?(:description)
|
8999
9287
|
@intent = args[:intent] if args.key?(:intent)
|
9000
9288
|
@name = args[:name] if args.key?(:name)
|
9001
9289
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
@@ -9004,7 +9292,7 @@ module Google
|
|
9004
9292
|
end
|
9005
9293
|
end
|
9006
9294
|
|
9007
|
-
#
|
9295
|
+
# A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
|
9008
9296
|
# a Page.
|
9009
9297
|
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
|
9010
9298
|
include Google::Apis::Core::Hashable
|
@@ -9017,7 +9305,8 @@ module Google
|
|
9017
9305
|
|
9018
9306
|
# The unique identifier of the transition route group. TransitionRouteGroups.
|
9019
9307
|
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
9020
|
-
# /locations//agents//flows//transitionRouteGroups
|
9308
|
+
# /locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
9309
|
+
# agents//transitionRouteGroups/` for agent-level groups.
|
9021
9310
|
# Corresponds to the JSON property `name`
|
9022
9311
|
# @return [String]
|
9023
9312
|
attr_accessor :name
|
@@ -9077,7 +9366,7 @@ module Google
|
|
9077
9366
|
# @return [Float]
|
9078
9367
|
attr_accessor :coverage_score
|
9079
9368
|
|
9080
|
-
#
|
9369
|
+
# A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
|
9081
9370
|
# a Page.
|
9082
9371
|
# Corresponds to the JSON property `routeGroup`
|
9083
9372
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
|
@@ -16632,13 +16921,13 @@ module Google
|
|
16632
16921
|
# @return [String]
|
16633
16922
|
attr_accessor :name
|
16634
16923
|
|
16635
|
-
# The normal response of the operation
|
16636
|
-
#
|
16637
|
-
#
|
16638
|
-
#
|
16639
|
-
#
|
16640
|
-
#
|
16641
|
-
#
|
16924
|
+
# The normal, successful response of the operation. If the original method
|
16925
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
16926
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
16927
|
+
# response should be the resource. For other methods, the response should have
|
16928
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
16929
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
16930
|
+
# `TakeSnapshotResponse`.
|
16642
16931
|
# Corresponds to the JSON property `response`
|
16643
16932
|
# @return [Hash<String,Object>]
|
16644
16933
|
attr_accessor :response
|
@@ -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
|
|
@@ -862,6 +886,12 @@ module Google
|
|
862
886
|
include Google::Apis::Core::JsonObjectSupport
|
863
887
|
end
|
864
888
|
|
889
|
+
class GoogleCloudDialogflowCxV3beta1FlowImportStrategy
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
891
|
+
|
892
|
+
include Google::Apis::Core::JsonObjectSupport
|
893
|
+
end
|
894
|
+
|
865
895
|
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
|
866
896
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
897
|
|
@@ -1030,6 +1060,12 @@ module Google
|
|
1030
1060
|
include Google::Apis::Core::JsonObjectSupport
|
1031
1061
|
end
|
1032
1062
|
|
1063
|
+
class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1065
|
+
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
1067
|
+
end
|
1068
|
+
|
1033
1069
|
class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
1034
1070
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1035
1071
|
|
@@ -1246,6 +1282,12 @@ module Google
|
|
1246
1282
|
include Google::Apis::Core::JsonObjectSupport
|
1247
1283
|
end
|
1248
1284
|
|
1285
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
1286
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
|
+
|
1288
|
+
include Google::Apis::Core::JsonObjectSupport
|
1289
|
+
end
|
1290
|
+
|
1249
1291
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
1250
1292
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1251
1293
|
|
@@ -2801,6 +2843,14 @@ module Google
|
|
2801
2843
|
end
|
2802
2844
|
end
|
2803
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
|
+
|
2804
2854
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
2805
2855
|
# @private
|
2806
2856
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3115,6 +3165,19 @@ module Google
|
|
3115
3165
|
end
|
3116
3166
|
end
|
3117
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
|
+
|
3118
3181
|
class GoogleCloudDialogflowCxV3Page
|
3119
3182
|
# @private
|
3120
3183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3125,6 +3188,8 @@ module Google
|
|
3125
3188
|
|
3126
3189
|
property :form, as: 'form', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Form, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Form::Representation
|
3127
3190
|
|
3191
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::Representation
|
3192
|
+
|
3128
3193
|
property :name, as: 'name'
|
3129
3194
|
collection :transition_route_groups, as: 'transitionRouteGroups'
|
3130
3195
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TransitionRoute::Representation
|
@@ -3194,6 +3259,8 @@ module Google
|
|
3194
3259
|
|
3195
3260
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
3196
3261
|
|
3262
|
+
property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard::Representation
|
3263
|
+
|
3197
3264
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation
|
3198
3265
|
|
3199
3266
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation
|
@@ -3224,6 +3291,12 @@ module Google
|
|
3224
3291
|
end
|
3225
3292
|
end
|
3226
3293
|
|
3294
|
+
class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
|
3295
|
+
# @private
|
3296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3297
|
+
end
|
3298
|
+
end
|
3299
|
+
|
3227
3300
|
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
3228
3301
|
# @private
|
3229
3302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3395,6 +3468,7 @@ module Google
|
|
3395
3468
|
# @private
|
3396
3469
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3397
3470
|
property :condition, as: 'condition'
|
3471
|
+
property :description, as: 'description'
|
3398
3472
|
property :intent, as: 'intent'
|
3399
3473
|
property :name, as: 'name'
|
3400
3474
|
property :target_flow, as: 'targetFlow'
|
@@ -3777,6 +3851,14 @@ module Google
|
|
3777
3851
|
end
|
3778
3852
|
end
|
3779
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
|
+
|
3780
3862
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
3781
3863
|
# @private
|
3782
3864
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4105,6 +4187,8 @@ module Google
|
|
4105
4187
|
property :display_name, as: 'displayName'
|
4106
4188
|
collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler::Representation
|
4107
4189
|
|
4190
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::Representation
|
4191
|
+
|
4108
4192
|
property :name, as: 'name'
|
4109
4193
|
property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings::Representation
|
4110
4194
|
|
@@ -4114,6 +4198,13 @@ module Google
|
|
4114
4198
|
end
|
4115
4199
|
end
|
4116
4200
|
|
4201
|
+
class GoogleCloudDialogflowCxV3beta1FlowImportStrategy
|
4202
|
+
# @private
|
4203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4204
|
+
property :global_import_strategy, as: 'globalImportStrategy'
|
4205
|
+
end
|
4206
|
+
end
|
4207
|
+
|
4117
4208
|
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
|
4118
4209
|
# @private
|
4119
4210
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4264,6 +4355,8 @@ module Google
|
|
4264
4355
|
# @private
|
4265
4356
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4266
4357
|
property :flow_content, :base64 => true, as: 'flowContent'
|
4358
|
+
property :flow_import_strategy, as: 'flowImportStrategy', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowImportStrategy, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowImportStrategy::Representation
|
4359
|
+
|
4267
4360
|
property :flow_uri, as: 'flowUri'
|
4268
4361
|
property :import_option, as: 'importOption'
|
4269
4362
|
end
|
@@ -4380,6 +4473,19 @@ module Google
|
|
4380
4473
|
end
|
4381
4474
|
end
|
4382
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
|
+
|
4383
4489
|
class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
4384
4490
|
# @private
|
4385
4491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4616,6 +4722,8 @@ module Google
|
|
4616
4722
|
|
4617
4723
|
property :form, as: 'form', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form::Representation
|
4618
4724
|
|
4725
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::Representation
|
4726
|
+
|
4619
4727
|
property :name, as: 'name'
|
4620
4728
|
collection :transition_route_groups, as: 'transitionRouteGroups'
|
4621
4729
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
|
@@ -4742,6 +4850,8 @@ module Google
|
|
4742
4850
|
|
4743
4851
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
4744
4852
|
|
4853
|
+
property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard::Representation
|
4854
|
+
|
4745
4855
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
|
4746
4856
|
|
4747
4857
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
@@ -4771,6 +4881,12 @@ module Google
|
|
4771
4881
|
end
|
4772
4882
|
end
|
4773
4883
|
|
4884
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
4885
|
+
# @private
|
4886
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4887
|
+
end
|
4888
|
+
end
|
4889
|
+
|
4774
4890
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
4775
4891
|
# @private
|
4776
4892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5134,6 +5250,7 @@ module Google
|
|
5134
5250
|
# @private
|
5135
5251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5136
5252
|
property :condition, as: 'condition'
|
5253
|
+
property :description, as: 'description'
|
5137
5254
|
property :intent, as: 'intent'
|
5138
5255
|
property :name, as: 'name'
|
5139
5256
|
property :target_flow, as: 'targetFlow'
|
@@ -2353,7 +2353,8 @@ module Google
|
|
2353
2353
|
# https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
2354
2354
|
# @param [String] parent
|
2355
2355
|
# Required. The flow to create an TransitionRouteGroup for. Format: `projects//
|
2356
|
-
# locations//agents//flows
|
2356
|
+
# locations//agents//flows/` or `projects//locations//agents/` for agent-level
|
2357
|
+
# groups.
|
2357
2358
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
2358
2359
|
# @param [String] language_code
|
2359
2360
|
# The language of the following fields in `TransitionRouteGroup`: * `
|
@@ -2397,7 +2398,8 @@ module Google
|
|
2397
2398
|
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
2398
2399
|
# @param [String] name
|
2399
2400
|
# Required. The name of the TransitionRouteGroup to delete. Format: `projects//
|
2400
|
-
# locations//agents//flows//transitionRouteGroups
|
2401
|
+
# locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
2402
|
+
# agents//transitionRouteGroups/`.
|
2401
2403
|
# @param [Boolean] force
|
2402
2404
|
# This field has no effect for transition route group that no page is using. If
|
2403
2405
|
# the transition route group is referenced by any page: * If `force` is set to
|
@@ -2435,7 +2437,8 @@ module Google
|
|
2435
2437
|
# Retrieves the specified TransitionRouteGroup.
|
2436
2438
|
# @param [String] name
|
2437
2439
|
# Required. The name of the TransitionRouteGroup. Format: `projects//locations//
|
2438
|
-
# agents//flows//transitionRouteGroups
|
2440
|
+
# agents//flows//transitionRouteGroups/` or `projects//locations//agents//
|
2441
|
+
# transitionRouteGroups/`.
|
2439
2442
|
# @param [String] language_code
|
2440
2443
|
# The language to retrieve the transition route group for. The following fields
|
2441
2444
|
# are language dependent: * `TransitionRouteGroup.transition_routes.
|
@@ -2475,7 +2478,7 @@ module Google
|
|
2475
2478
|
# Returns the list of all transition route groups in the specified flow.
|
2476
2479
|
# @param [String] parent
|
2477
2480
|
# Required. The flow to list all transition route groups for. Format: `projects//
|
2478
|
-
# locations//agents//flows
|
2481
|
+
# locations//agents//flows/` or `projects//locations//agents/.
|
2479
2482
|
# @param [String] language_code
|
2480
2483
|
# The language to list transition route groups for. The following fields are
|
2481
2484
|
# language dependent: * `TransitionRouteGroup.transition_routes.
|
@@ -2525,7 +2528,8 @@ module Google
|
|
2525
2528
|
# @param [String] name
|
2526
2529
|
# The unique identifier of the transition route group. TransitionRouteGroups.
|
2527
2530
|
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
2528
|
-
# /locations//agents//flows//transitionRouteGroups
|
2531
|
+
# /locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
2532
|
+
# agents//transitionRouteGroups/` for agent-level groups.
|
2529
2533
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
2530
2534
|
# @param [String] language_code
|
2531
2535
|
# The language of the following fields in `TransitionRouteGroup`: * `
|
@@ -3787,6 +3791,229 @@ module Google
|
|
3787
3791
|
execute_or_queue_command(command, &block)
|
3788
3792
|
end
|
3789
3793
|
|
3794
|
+
# Creates an TransitionRouteGroup in the specified flow. Note: You should always
|
3795
|
+
# train a flow prior to sending it queries. See the [training documentation](
|
3796
|
+
# https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
3797
|
+
# @param [String] parent
|
3798
|
+
# Required. The flow to create an TransitionRouteGroup for. Format: `projects//
|
3799
|
+
# locations//agents//flows/` or `projects//locations//agents/` for agent-level
|
3800
|
+
# groups.
|
3801
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
3802
|
+
# @param [String] language_code
|
3803
|
+
# The language of the following fields in `TransitionRouteGroup`: * `
|
3804
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
|
3805
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
|
3806
|
+
# If not specified, the agent's default language is used. [Many languages](https:
|
3807
|
+
# //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
3808
|
+
# languages must be enabled in the agent before they can be used.
|
3809
|
+
# @param [String] fields
|
3810
|
+
# Selector specifying which fields to include in a partial response.
|
3811
|
+
# @param [String] quota_user
|
3812
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3813
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3814
|
+
# @param [Google::Apis::RequestOptions] options
|
3815
|
+
# Request-specific options
|
3816
|
+
#
|
3817
|
+
# @yield [result, err] Result & error if block supplied
|
3818
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
|
3819
|
+
# @yieldparam err [StandardError] error object if request failed
|
3820
|
+
#
|
3821
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
|
3822
|
+
#
|
3823
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3824
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3825
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3826
|
+
def create_project_location_agent_transition_route_group(parent, google_cloud_dialogflow_cx_v3beta1_transition_route_group_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3827
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/transitionRouteGroups', options)
|
3828
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
3829
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
3830
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
3831
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
|
3832
|
+
command.params['parent'] = parent unless parent.nil?
|
3833
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3834
|
+
command.query['fields'] = fields unless fields.nil?
|
3835
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3836
|
+
execute_or_queue_command(command, &block)
|
3837
|
+
end
|
3838
|
+
|
3839
|
+
# Deletes the specified TransitionRouteGroup. Note: You should always train a
|
3840
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
3841
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
3842
|
+
# @param [String] name
|
3843
|
+
# Required. The name of the TransitionRouteGroup to delete. Format: `projects//
|
3844
|
+
# locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
3845
|
+
# agents//transitionRouteGroups/`.
|
3846
|
+
# @param [Boolean] force
|
3847
|
+
# This field has no effect for transition route group that no page is using. If
|
3848
|
+
# the transition route group is referenced by any page: * If `force` is set to
|
3849
|
+
# false, an error will be returned with message indicating pages that reference
|
3850
|
+
# the transition route group. * If `force` is set to true, Dialogflow will
|
3851
|
+
# remove the transition route group, as well as any reference to it.
|
3852
|
+
# @param [String] fields
|
3853
|
+
# Selector specifying which fields to include in a partial response.
|
3854
|
+
# @param [String] quota_user
|
3855
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3856
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3857
|
+
# @param [Google::Apis::RequestOptions] options
|
3858
|
+
# Request-specific options
|
3859
|
+
#
|
3860
|
+
# @yield [result, err] Result & error if block supplied
|
3861
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
3862
|
+
# @yieldparam err [StandardError] error object if request failed
|
3863
|
+
#
|
3864
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
3865
|
+
#
|
3866
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3867
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3868
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3869
|
+
def delete_project_location_agent_transition_route_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3870
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
3871
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
3872
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
3873
|
+
command.params['name'] = name unless name.nil?
|
3874
|
+
command.query['force'] = force unless force.nil?
|
3875
|
+
command.query['fields'] = fields unless fields.nil?
|
3876
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3877
|
+
execute_or_queue_command(command, &block)
|
3878
|
+
end
|
3879
|
+
|
3880
|
+
# Retrieves the specified TransitionRouteGroup.
|
3881
|
+
# @param [String] name
|
3882
|
+
# Required. The name of the TransitionRouteGroup. Format: `projects//locations//
|
3883
|
+
# agents//flows//transitionRouteGroups/` or `projects//locations//agents//
|
3884
|
+
# transitionRouteGroups/`.
|
3885
|
+
# @param [String] language_code
|
3886
|
+
# The language to retrieve the transition route group for. The following fields
|
3887
|
+
# are language dependent: * `TransitionRouteGroup.transition_routes.
|
3888
|
+
# trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
|
3889
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
3890
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
3891
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
3892
|
+
# agent before they can be used.
|
3893
|
+
# @param [String] fields
|
3894
|
+
# Selector specifying which fields to include in a partial response.
|
3895
|
+
# @param [String] quota_user
|
3896
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3897
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3898
|
+
# @param [Google::Apis::RequestOptions] options
|
3899
|
+
# Request-specific options
|
3900
|
+
#
|
3901
|
+
# @yield [result, err] Result & error if block supplied
|
3902
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
|
3903
|
+
# @yieldparam err [StandardError] error object if request failed
|
3904
|
+
#
|
3905
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
|
3906
|
+
#
|
3907
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3908
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3909
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3910
|
+
def get_project_location_agent_transition_route_group(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3911
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
3912
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
3913
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
|
3914
|
+
command.params['name'] = name unless name.nil?
|
3915
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3916
|
+
command.query['fields'] = fields unless fields.nil?
|
3917
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3918
|
+
execute_or_queue_command(command, &block)
|
3919
|
+
end
|
3920
|
+
|
3921
|
+
# Returns the list of all transition route groups in the specified flow.
|
3922
|
+
# @param [String] parent
|
3923
|
+
# Required. The flow to list all transition route groups for. Format: `projects//
|
3924
|
+
# locations//agents//flows/` or `projects//locations//agents/.
|
3925
|
+
# @param [String] language_code
|
3926
|
+
# The language to list transition route groups for. The following fields are
|
3927
|
+
# language dependent: * `TransitionRouteGroup.transition_routes.
|
3928
|
+
# trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
|
3929
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
3930
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
3931
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
3932
|
+
# agent before they can be used.
|
3933
|
+
# @param [Fixnum] page_size
|
3934
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
3935
|
+
# most 1000.
|
3936
|
+
# @param [String] page_token
|
3937
|
+
# The next_page_token value returned from a previous list request.
|
3938
|
+
# @param [String] fields
|
3939
|
+
# Selector specifying which fields to include in a partial response.
|
3940
|
+
# @param [String] quota_user
|
3941
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3942
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3943
|
+
# @param [Google::Apis::RequestOptions] options
|
3944
|
+
# Request-specific options
|
3945
|
+
#
|
3946
|
+
# @yield [result, err] Result & error if block supplied
|
3947
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse] parsed result object
|
3948
|
+
# @yieldparam err [StandardError] error object if request failed
|
3949
|
+
#
|
3950
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse]
|
3951
|
+
#
|
3952
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3953
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3954
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3955
|
+
def list_project_location_agent_transition_route_groups(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3956
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/transitionRouteGroups', options)
|
3957
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse::Representation
|
3958
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse
|
3959
|
+
command.params['parent'] = parent unless parent.nil?
|
3960
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3961
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3962
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3963
|
+
command.query['fields'] = fields unless fields.nil?
|
3964
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3965
|
+
execute_or_queue_command(command, &block)
|
3966
|
+
end
|
3967
|
+
|
3968
|
+
# Updates the specified TransitionRouteGroup. Note: You should always train a
|
3969
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
3970
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
3971
|
+
# @param [String] name
|
3972
|
+
# The unique identifier of the transition route group. TransitionRouteGroups.
|
3973
|
+
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
3974
|
+
# /locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
3975
|
+
# agents//transitionRouteGroups/` for agent-level groups.
|
3976
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
3977
|
+
# @param [String] language_code
|
3978
|
+
# The language of the following fields in `TransitionRouteGroup`: * `
|
3979
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
|
3980
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
|
3981
|
+
# If not specified, the agent's default language is used. [Many languages](https:
|
3982
|
+
# //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
3983
|
+
# languages must be enabled in the agent before they can be used.
|
3984
|
+
# @param [String] update_mask
|
3985
|
+
# The mask to control which fields get updated.
|
3986
|
+
# @param [String] fields
|
3987
|
+
# Selector specifying which fields to include in a partial response.
|
3988
|
+
# @param [String] quota_user
|
3989
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3990
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3991
|
+
# @param [Google::Apis::RequestOptions] options
|
3992
|
+
# Request-specific options
|
3993
|
+
#
|
3994
|
+
# @yield [result, err] Result & error if block supplied
|
3995
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
|
3996
|
+
# @yieldparam err [StandardError] error object if request failed
|
3997
|
+
#
|
3998
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
|
3999
|
+
#
|
4000
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4001
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4002
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4003
|
+
def patch_project_location_agent_transition_route_group(name, google_cloud_dialogflow_cx_v3beta1_transition_route_group_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4004
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
4005
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
4006
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
4007
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
4008
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
|
4009
|
+
command.params['name'] = name unless name.nil?
|
4010
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
4011
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4012
|
+
command.query['fields'] = fields unless fields.nil?
|
4013
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4014
|
+
execute_or_queue_command(command, &block)
|
4015
|
+
end
|
4016
|
+
|
3790
4017
|
# Creates a webhook in the specified agent.
|
3791
4018
|
# @param [String] parent
|
3792
4019
|
# Required. The agent to create a webhook for. Format: `projects//locations//
|
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
|