google-apis-dialogflow_v3 0.6.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/dialogflow_v3.rb +1 -1
- data/lib/google/apis/dialogflow_v3/classes.rb +1225 -92
- data/lib/google/apis/dialogflow_v3/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3/representations.rb +453 -0
- data/lib/google/apis/dialogflow_v3/service.rb +197 -69
- metadata +4 -4
@@ -1147,8 +1147,7 @@ module Google
|
|
1147
1147
|
execute_or_queue_command(command, &block)
|
1148
1148
|
end
|
1149
1149
|
|
1150
|
-
# Creates a session entity type.
|
1151
|
-
# exists, overrides the session entity type.
|
1150
|
+
# Creates a session entity type.
|
1152
1151
|
# @param [String] parent
|
1153
1152
|
# Required. The session to create a session entity type for. Format: `projects//
|
1154
1153
|
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
@@ -1336,11 +1335,12 @@ module Google
|
|
1336
1335
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow] google_cloud_dialogflow_cx_v3_flow_object
|
1337
1336
|
# @param [String] language_code
|
1338
1337
|
# The language of the following fields in `flow`: * `Flow.event_handlers.
|
1339
|
-
# trigger_fulfillment.messages` * `Flow.
|
1340
|
-
#
|
1341
|
-
#
|
1342
|
-
#
|
1343
|
-
#
|
1338
|
+
# trigger_fulfillment.messages` * `Flow.event_handlers.trigger_fulfillment.
|
1339
|
+
# conditional_cases` * `Flow.transition_routes.trigger_fulfillment.messages` * `
|
1340
|
+
# Flow.transition_routes.trigger_fulfillment.conditional_cases` If not specified,
|
1341
|
+
# the agent's default language is used. [Many languages](https://cloud.google.
|
1342
|
+
# com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
|
1343
|
+
# be enabled in the agent before they can be used.
|
1344
1344
|
# @param [String] fields
|
1345
1345
|
# Selector specifying which fields to include in a partial response.
|
1346
1346
|
# @param [String] quota_user
|
@@ -1410,6 +1410,41 @@ module Google
|
|
1410
1410
|
execute_or_queue_command(command, &block)
|
1411
1411
|
end
|
1412
1412
|
|
1413
|
+
# Exports the specified flow to a binary file. Note that resources (e.g. intents,
|
1414
|
+
# entities, webhooks) that the flow references will also be exported.
|
1415
|
+
# @param [String] name
|
1416
|
+
# Required. The name of the flow to export. Format: `projects//locations//agents/
|
1417
|
+
# /flows/`.
|
1418
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportFlowRequest] google_cloud_dialogflow_cx_v3_export_flow_request_object
|
1419
|
+
# @param [String] fields
|
1420
|
+
# Selector specifying which fields to include in a partial response.
|
1421
|
+
# @param [String] quota_user
|
1422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1424
|
+
# @param [Google::Apis::RequestOptions] options
|
1425
|
+
# Request-specific options
|
1426
|
+
#
|
1427
|
+
# @yield [result, err] Result & error if block supplied
|
1428
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
|
1429
|
+
# @yieldparam err [StandardError] error object if request failed
|
1430
|
+
#
|
1431
|
+
# @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
|
1432
|
+
#
|
1433
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1434
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1435
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1436
|
+
def export_project_location_agent_flow(name, google_cloud_dialogflow_cx_v3_export_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1437
|
+
command = make_simple_command(:post, 'v3/{+name}:export', options)
|
1438
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportFlowRequest::Representation
|
1439
|
+
command.request_object = google_cloud_dialogflow_cx_v3_export_flow_request_object
|
1440
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
1441
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
1442
|
+
command.params['name'] = name unless name.nil?
|
1443
|
+
command.query['fields'] = fields unless fields.nil?
|
1444
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1445
|
+
execute_or_queue_command(command, &block)
|
1446
|
+
end
|
1447
|
+
|
1413
1448
|
# Retrieves the specified flow.
|
1414
1449
|
# @param [String] name
|
1415
1450
|
# Required. The name of the flow to get. Format: `projects//locations//agents//
|
@@ -1417,10 +1452,12 @@ module Google
|
|
1417
1452
|
# @param [String] language_code
|
1418
1453
|
# The language to retrieve the flow for. The following fields are language
|
1419
1454
|
# dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.
|
1420
|
-
#
|
1421
|
-
#
|
1422
|
-
#
|
1423
|
-
#
|
1455
|
+
# event_handlers.trigger_fulfillment.conditional_cases` * `Flow.
|
1456
|
+
# transition_routes.trigger_fulfillment.messages` * `Flow.transition_routes.
|
1457
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
1458
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1459
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1460
|
+
# agent before they can be used.
|
1424
1461
|
# @param [String] fields
|
1425
1462
|
# Selector specifying which fields to include in a partial response.
|
1426
1463
|
# @param [String] quota_user
|
@@ -1484,17 +1521,53 @@ module Google
|
|
1484
1521
|
execute_or_queue_command(command, &block)
|
1485
1522
|
end
|
1486
1523
|
|
1524
|
+
# Imports the specified flow to the specified agent from a binary file.
|
1525
|
+
# @param [String] parent
|
1526
|
+
# Required. The agent to import the flow into. Format: `projects//locations//
|
1527
|
+
# agents/`.
|
1528
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportFlowRequest] google_cloud_dialogflow_cx_v3_import_flow_request_object
|
1529
|
+
# @param [String] fields
|
1530
|
+
# Selector specifying which fields to include in a partial response.
|
1531
|
+
# @param [String] quota_user
|
1532
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1533
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1534
|
+
# @param [Google::Apis::RequestOptions] options
|
1535
|
+
# Request-specific options
|
1536
|
+
#
|
1537
|
+
# @yield [result, err] Result & error if block supplied
|
1538
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
|
1539
|
+
# @yieldparam err [StandardError] error object if request failed
|
1540
|
+
#
|
1541
|
+
# @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
|
1542
|
+
#
|
1543
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1544
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1545
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1546
|
+
def import_project_location_agent_flow(parent, google_cloud_dialogflow_cx_v3_import_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1547
|
+
command = make_simple_command(:post, 'v3/{+parent}/flows:import', options)
|
1548
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportFlowRequest::Representation
|
1549
|
+
command.request_object = google_cloud_dialogflow_cx_v3_import_flow_request_object
|
1550
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
1551
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
1552
|
+
command.params['parent'] = parent unless parent.nil?
|
1553
|
+
command.query['fields'] = fields unless fields.nil?
|
1554
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1555
|
+
execute_or_queue_command(command, &block)
|
1556
|
+
end
|
1557
|
+
|
1487
1558
|
# Returns the list of all flows in the specified agent.
|
1488
1559
|
# @param [String] parent
|
1489
1560
|
# Required. The agent containing the flows. Format: `projects//locations//agents/
|
1490
1561
|
# `.
|
1491
1562
|
# @param [String] language_code
|
1492
1563
|
# The language to list flows for. The following fields are language dependent: *
|
1493
|
-
# `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.
|
1494
|
-
# trigger_fulfillment.
|
1495
|
-
#
|
1496
|
-
#
|
1497
|
-
#
|
1564
|
+
# `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.event_handlers.
|
1565
|
+
# trigger_fulfillment.conditional_cases` * `Flow.transition_routes.
|
1566
|
+
# trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
|
1567
|
+
# conditional_cases` If not specified, the agent's default language is used. [
|
1568
|
+
# Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
|
1569
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
1570
|
+
# be used.
|
1498
1571
|
# @param [Fixnum] page_size
|
1499
1572
|
# The maximum number of items to return in a single page. By default 100 and at
|
1500
1573
|
# most 1000.
|
@@ -1537,11 +1610,12 @@ module Google
|
|
1537
1610
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow] google_cloud_dialogflow_cx_v3_flow_object
|
1538
1611
|
# @param [String] language_code
|
1539
1612
|
# The language of the following fields in `flow`: * `Flow.event_handlers.
|
1540
|
-
# trigger_fulfillment.messages` * `Flow.
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
#
|
1544
|
-
#
|
1613
|
+
# trigger_fulfillment.messages` * `Flow.event_handlers.trigger_fulfillment.
|
1614
|
+
# conditional_cases` * `Flow.transition_routes.trigger_fulfillment.messages` * `
|
1615
|
+
# Flow.transition_routes.trigger_fulfillment.conditional_cases` If not specified,
|
1616
|
+
# the agent's default language is used. [Many languages](https://cloud.google.
|
1617
|
+
# com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
|
1618
|
+
# be enabled in the agent before they can be used.
|
1545
1619
|
# @param [String] update_mask
|
1546
1620
|
# Required. The mask to control which fields get updated. If `update_mask` is
|
1547
1621
|
# not specified, an error will be returned.
|
@@ -1652,13 +1726,18 @@ module Google
|
|
1652
1726
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page] google_cloud_dialogflow_cx_v3_page_object
|
1653
1727
|
# @param [String] language_code
|
1654
1728
|
# The language of the following fields in `page`: * `Page.entry_fulfillment.
|
1655
|
-
# messages` * `Page.
|
1656
|
-
# messages` * `Page.
|
1657
|
-
#
|
1658
|
-
#
|
1659
|
-
#
|
1660
|
-
#
|
1661
|
-
#
|
1729
|
+
# messages` * `Page.entry_fulfillment.conditional_cases` * `Page.event_handlers.
|
1730
|
+
# trigger_fulfillment.messages` * `Page.event_handlers.trigger_fulfillment.
|
1731
|
+
# conditional_cases` * `Page.form.parameters.fill_behavior.
|
1732
|
+
# initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.
|
1733
|
+
# initial_prompt_fulfillment.conditional_cases` * `Page.form.parameters.
|
1734
|
+
# fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.
|
1735
|
+
# fill_behavior.reprompt_event_handlers.conditional_cases` * `Page.
|
1736
|
+
# transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.
|
1737
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
1738
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1739
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1740
|
+
# agent before they can be used.
|
1662
1741
|
# @param [String] fields
|
1663
1742
|
# Selector specifying which fields to include in a partial response.
|
1664
1743
|
# @param [String] quota_user
|
@@ -1734,14 +1813,18 @@ module Google
|
|
1734
1813
|
# pages/`.
|
1735
1814
|
# @param [String] language_code
|
1736
1815
|
# The language to retrieve the page for. The following fields are language
|
1737
|
-
# dependent: * `Page.entry_fulfillment.messages` * `Page.
|
1738
|
-
#
|
1739
|
-
#
|
1740
|
-
#
|
1741
|
-
#
|
1742
|
-
#
|
1743
|
-
#
|
1744
|
-
#
|
1816
|
+
# dependent: * `Page.entry_fulfillment.messages` * `Page.entry_fulfillment.
|
1817
|
+
# conditional_cases` * `Page.event_handlers.trigger_fulfillment.messages` * `
|
1818
|
+
# Page.event_handlers.trigger_fulfillment.conditional_cases` * `Page.form.
|
1819
|
+
# parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.
|
1820
|
+
# parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * `Page.
|
1821
|
+
# form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.form.
|
1822
|
+
# parameters.fill_behavior.reprompt_event_handlers.conditional_cases` * `Page.
|
1823
|
+
# transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.
|
1824
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
1825
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1826
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1827
|
+
# agent before they can be used.
|
1745
1828
|
# @param [String] fields
|
1746
1829
|
# Selector specifying which fields to include in a partial response.
|
1747
1830
|
# @param [String] quota_user
|
@@ -1776,14 +1859,18 @@ module Google
|
|
1776
1859
|
# /flows/`.
|
1777
1860
|
# @param [String] language_code
|
1778
1861
|
# The language to list pages for. The following fields are language dependent: *
|
1779
|
-
# `Page.entry_fulfillment.messages` * `Page.
|
1862
|
+
# `Page.entry_fulfillment.messages` * `Page.entry_fulfillment.conditional_cases`
|
1863
|
+
# * `Page.event_handlers.trigger_fulfillment.messages` * `Page.event_handlers.
|
1864
|
+
# trigger_fulfillment.conditional_cases` * `Page.form.parameters.fill_behavior.
|
1780
1865
|
# initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.
|
1781
|
-
#
|
1782
|
-
#
|
1783
|
-
#
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
#
|
1866
|
+
# initial_prompt_fulfillment.conditional_cases` * `Page.form.parameters.
|
1867
|
+
# fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.
|
1868
|
+
# fill_behavior.reprompt_event_handlers.conditional_cases` * `Page.
|
1869
|
+
# transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.
|
1870
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
1871
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1872
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1873
|
+
# agent before they can be used.
|
1787
1874
|
# @param [Fixnum] page_size
|
1788
1875
|
# The maximum number of items to return in a single page. By default 100 and at
|
1789
1876
|
# most 1000.
|
@@ -1827,13 +1914,18 @@ module Google
|
|
1827
1914
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page] google_cloud_dialogflow_cx_v3_page_object
|
1828
1915
|
# @param [String] language_code
|
1829
1916
|
# The language of the following fields in `page`: * `Page.entry_fulfillment.
|
1830
|
-
# messages` * `Page.
|
1831
|
-
# messages` * `Page.
|
1832
|
-
#
|
1833
|
-
#
|
1834
|
-
#
|
1835
|
-
#
|
1836
|
-
#
|
1917
|
+
# messages` * `Page.entry_fulfillment.conditional_cases` * `Page.event_handlers.
|
1918
|
+
# trigger_fulfillment.messages` * `Page.event_handlers.trigger_fulfillment.
|
1919
|
+
# conditional_cases` * `Page.form.parameters.fill_behavior.
|
1920
|
+
# initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.
|
1921
|
+
# initial_prompt_fulfillment.conditional_cases` * `Page.form.parameters.
|
1922
|
+
# fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.
|
1923
|
+
# fill_behavior.reprompt_event_handlers.conditional_cases` * `Page.
|
1924
|
+
# transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.
|
1925
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
1926
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1927
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1928
|
+
# agent before they can be used.
|
1837
1929
|
# @param [String] update_mask
|
1838
1930
|
# The mask to control which fields get updated. If the mask is not present, all
|
1839
1931
|
# fields will be updated.
|
@@ -1874,11 +1966,12 @@ module Google
|
|
1874
1966
|
# locations//agents//flows/`.
|
1875
1967
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] google_cloud_dialogflow_cx_v3_transition_route_group_object
|
1876
1968
|
# @param [String] language_code
|
1877
|
-
# The language
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
#
|
1881
|
-
#
|
1969
|
+
# The language of the following fields in `TransitionRouteGroup`: * `
|
1970
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
|
1971
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
|
1972
|
+
# If not specified, the agent's default language is used. [Many languages](https:
|
1973
|
+
# //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
1974
|
+
# languages must be enabled in the agent before they can be used.
|
1882
1975
|
# @param [String] fields
|
1883
1976
|
# Selector specifying which fields to include in a partial response.
|
1884
1977
|
# @param [String] quota_user
|
@@ -1952,8 +2045,10 @@ module Google
|
|
1952
2045
|
# Required. The name of the TransitionRouteGroup. Format: `projects//locations//
|
1953
2046
|
# agents//flows//transitionRouteGroups/`.
|
1954
2047
|
# @param [String] language_code
|
1955
|
-
# The language to
|
1956
|
-
#
|
2048
|
+
# The language to retrieve the transition route group for. The following fields
|
2049
|
+
# are language dependent: * `TransitionRouteGroup.transition_routes.
|
2050
|
+
# trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
|
2051
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
1957
2052
|
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1958
2053
|
# reference/language) are supported. Note: languages must be enabled in the
|
1959
2054
|
# agent before they can be used.
|
@@ -1990,8 +2085,10 @@ module Google
|
|
1990
2085
|
# Required. The flow to list all transition route groups for. Format: `projects//
|
1991
2086
|
# locations//agents//flows/`.
|
1992
2087
|
# @param [String] language_code
|
1993
|
-
# The language to list transition route groups for. The
|
1994
|
-
#
|
2088
|
+
# The language to list transition route groups for. The following fields are
|
2089
|
+
# language dependent: * `TransitionRouteGroup.transition_routes.
|
2090
|
+
# trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
|
2091
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
1995
2092
|
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1996
2093
|
# reference/language) are supported. Note: languages must be enabled in the
|
1997
2094
|
# agent before they can be used.
|
@@ -2037,11 +2134,12 @@ module Google
|
|
2037
2134
|
# /locations//agents//flows//transitionRouteGroups/`.
|
2038
2135
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] google_cloud_dialogflow_cx_v3_transition_route_group_object
|
2039
2136
|
# @param [String] language_code
|
2040
|
-
# The language
|
2041
|
-
#
|
2042
|
-
#
|
2043
|
-
#
|
2044
|
-
#
|
2137
|
+
# The language of the following fields in `TransitionRouteGroup`: * `
|
2138
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
|
2139
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
|
2140
|
+
# If not specified, the agent's default language is used. [Many languages](https:
|
2141
|
+
# //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
2142
|
+
# languages must be enabled in the agent before they can be used.
|
2045
2143
|
# @param [String] update_mask
|
2046
2144
|
# The mask to control which fields get updated.
|
2047
2145
|
# @param [String] fields
|
@@ -2209,10 +2307,10 @@ module Google
|
|
2209
2307
|
execute_or_queue_command(command, &block)
|
2210
2308
|
end
|
2211
2309
|
|
2212
|
-
# Loads
|
2310
|
+
# Loads resources in the specified version to the draft flow.
|
2213
2311
|
# @param [String] name
|
2214
|
-
# Required. The Version to be loaded to draft
|
2215
|
-
#
|
2312
|
+
# Required. The Version to be loaded to draft flow. Format: `projects//locations/
|
2313
|
+
# /agents//flows//versions/`.
|
2216
2314
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LoadVersionRequest] google_cloud_dialogflow_cx_v3_load_version_request_object
|
2217
2315
|
# @param [String] fields
|
2218
2316
|
# Selector specifying which fields to include in a partial response.
|
@@ -2613,8 +2711,7 @@ module Google
|
|
2613
2711
|
execute_or_queue_command(command, &block)
|
2614
2712
|
end
|
2615
2713
|
|
2616
|
-
# Creates a session entity type.
|
2617
|
-
# exists, overrides the session entity type.
|
2714
|
+
# Creates a session entity type.
|
2618
2715
|
# @param [String] parent
|
2619
2716
|
# Required. The session to create a session entity type for. Format: `projects//
|
2620
2717
|
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
@@ -3147,6 +3244,37 @@ module Google
|
|
3147
3244
|
execute_or_queue_command(command, &block)
|
3148
3245
|
end
|
3149
3246
|
|
3247
|
+
# Gets a test case result.
|
3248
|
+
# @param [String] name
|
3249
|
+
# Required. The name of the testcase. Format: `projects//locations//agents//
|
3250
|
+
# testCases//results/`.
|
3251
|
+
# @param [String] fields
|
3252
|
+
# Selector specifying which fields to include in a partial response.
|
3253
|
+
# @param [String] quota_user
|
3254
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3255
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3256
|
+
# @param [Google::Apis::RequestOptions] options
|
3257
|
+
# Request-specific options
|
3258
|
+
#
|
3259
|
+
# @yield [result, err] Result & error if block supplied
|
3260
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult] parsed result object
|
3261
|
+
# @yieldparam err [StandardError] error object if request failed
|
3262
|
+
#
|
3263
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult]
|
3264
|
+
#
|
3265
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3266
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3267
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3268
|
+
def get_project_location_agent_test_case_result(name, fields: nil, quota_user: nil, options: nil, &block)
|
3269
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
3270
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult::Representation
|
3271
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult
|
3272
|
+
command.params['name'] = name unless name.nil?
|
3273
|
+
command.query['fields'] = fields unless fields.nil?
|
3274
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3275
|
+
execute_or_queue_command(command, &block)
|
3276
|
+
end
|
3277
|
+
|
3150
3278
|
# Fetches a list of results for a given test case.
|
3151
3279
|
# @param [String] parent
|
3152
3280
|
# Required. The test case to list results for. Format: `projects//locations//
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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: 2021-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.11.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Dialogflow API V3
|