google-apis-dialogflow_v3 0.3.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -369,7 +369,7 @@ module Google
|
|
369
369
|
# The language of the following fields in `entity_type`: * `EntityType.entities.
|
370
370
|
# value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value`
|
371
371
|
# If not specified, the agent's default language is used. [Many languages](https:
|
372
|
-
# //cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
372
|
+
# //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
373
373
|
# languages must be enabled in the agent before they can be used.
|
374
374
|
# @param [String] fields
|
375
375
|
# Selector specifying which fields to include in a partial response.
|
@@ -449,8 +449,8 @@ module Google
|
|
449
449
|
# language dependent: * `EntityType.entities.value` * `EntityType.entities.
|
450
450
|
# synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's
|
451
451
|
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
452
|
-
# docs/reference/language) are supported. Note: languages must be enabled in
|
453
|
-
# agent before they can be used.
|
452
|
+
# cx/docs/reference/language) are supported. Note: languages must be enabled in
|
453
|
+
# the agent before they can be used.
|
454
454
|
# @param [String] fields
|
455
455
|
# Selector specifying which fields to include in a partial response.
|
456
456
|
# @param [String] quota_user
|
@@ -487,7 +487,7 @@ module Google
|
|
487
487
|
# The language to list entity types for. The following fields are language
|
488
488
|
# dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `
|
489
489
|
# EntityType.excluded_phrases.value` If not specified, the agent's default
|
490
|
-
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
490
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
491
491
|
# reference/language) are supported. Note: languages must be enabled in the
|
492
492
|
# agent before they can be used.
|
493
493
|
# @param [Fixnum] page_size
|
@@ -534,7 +534,7 @@ module Google
|
|
534
534
|
# The language of the following fields in `entity_type`: * `EntityType.entities.
|
535
535
|
# value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value`
|
536
536
|
# If not specified, the agent's default language is used. [Many languages](https:
|
537
|
-
# //cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
537
|
+
# //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
538
538
|
# languages must be enabled in the agent before they can be used.
|
539
539
|
# @param [String] update_mask
|
540
540
|
# The mask to control which fields get updated.
|
@@ -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//
|
@@ -1338,7 +1337,7 @@ module Google
|
|
1338
1337
|
# The language of the following fields in `flow`: * `Flow.event_handlers.
|
1339
1338
|
# trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
|
1340
1339
|
# messages` If not specified, the agent's default language is used. [Many
|
1341
|
-
# languages](https://cloud.google.com/dialogflow/docs/reference/language) are
|
1340
|
+
# languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
|
1342
1341
|
# supported. Note: languages must be enabled in the agent before they can be
|
1343
1342
|
# used.
|
1344
1343
|
# @param [String] fields
|
@@ -1419,8 +1418,8 @@ module Google
|
|
1419
1418
|
# dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.
|
1420
1419
|
# transition_routes.trigger_fulfillment.messages` If not specified, the agent's
|
1421
1420
|
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
1422
|
-
# docs/reference/language) are supported. Note: languages must be enabled in
|
1423
|
-
# agent before they can be used.
|
1421
|
+
# cx/docs/reference/language) are supported. Note: languages must be enabled in
|
1422
|
+
# the agent before they can be used.
|
1424
1423
|
# @param [String] fields
|
1425
1424
|
# Selector specifying which fields to include in a partial response.
|
1426
1425
|
# @param [String] quota_user
|
@@ -1492,9 +1491,9 @@ module Google
|
|
1492
1491
|
# The language to list flows for. The following fields are language dependent: *
|
1493
1492
|
# `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.
|
1494
1493
|
# trigger_fulfillment.messages` If not specified, the agent's default language
|
1495
|
-
# is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
1496
|
-
# language) are supported. Note: languages must be enabled in the
|
1497
|
-
# they can be used.
|
1494
|
+
# is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1495
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1496
|
+
# agent before they can be used.
|
1498
1497
|
# @param [Fixnum] page_size
|
1499
1498
|
# The maximum number of items to return in a single page. By default 100 and at
|
1500
1499
|
# most 1000.
|
@@ -1539,7 +1538,7 @@ module Google
|
|
1539
1538
|
# The language of the following fields in `flow`: * `Flow.event_handlers.
|
1540
1539
|
# trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
|
1541
1540
|
# messages` If not specified, the agent's default language is used. [Many
|
1542
|
-
# languages](https://cloud.google.com/dialogflow/docs/reference/language) are
|
1541
|
+
# languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
|
1543
1542
|
# supported. Note: languages must be enabled in the agent before they can be
|
1544
1543
|
# used.
|
1545
1544
|
# @param [String] update_mask
|
@@ -1657,7 +1656,7 @@ module Google
|
|
1657
1656
|
# messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
|
1658
1657
|
# transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
|
1659
1658
|
# specified, the agent's default language is used. [Many languages](https://
|
1660
|
-
# cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
1659
|
+
# cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
1661
1660
|
# languages must be enabled in the agent before they can be used.
|
1662
1661
|
# @param [String] fields
|
1663
1662
|
# Selector specifying which fields to include in a partial response.
|
@@ -1740,8 +1739,8 @@ module Google
|
|
1740
1739
|
# trigger_fulfillment.messages` * `Page.transition_route_groups.
|
1741
1740
|
# transition_routes.trigger_fulfillment.messages` If not specified, the agent's
|
1742
1741
|
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
1743
|
-
# docs/reference/language) are supported. Note: languages must be enabled in
|
1744
|
-
# agent before they can be used.
|
1742
|
+
# cx/docs/reference/language) are supported. Note: languages must be enabled in
|
1743
|
+
# the agent before they can be used.
|
1745
1744
|
# @param [String] fields
|
1746
1745
|
# Selector specifying which fields to include in a partial response.
|
1747
1746
|
# @param [String] quota_user
|
@@ -1782,8 +1781,8 @@ module Google
|
|
1782
1781
|
# trigger_fulfillment.messages` * `Page.transition_route_groups.
|
1783
1782
|
# transition_routes.trigger_fulfillment.messages` If not specified, the agent's
|
1784
1783
|
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
1785
|
-
# docs/reference/language) are supported. Note: languages must be enabled in
|
1786
|
-
# agent before they can be used.
|
1784
|
+
# cx/docs/reference/language) are supported. Note: languages must be enabled in
|
1785
|
+
# the agent before they can be used.
|
1787
1786
|
# @param [Fixnum] page_size
|
1788
1787
|
# The maximum number of items to return in a single page. By default 100 and at
|
1789
1788
|
# most 1000.
|
@@ -1832,7 +1831,7 @@ module Google
|
|
1832
1831
|
# messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
|
1833
1832
|
# transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
|
1834
1833
|
# specified, the agent's default language is used. [Many languages](https://
|
1835
|
-
# cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
1834
|
+
# cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
1836
1835
|
# languages must be enabled in the agent before they can be used.
|
1837
1836
|
# @param [String] update_mask
|
1838
1837
|
# The mask to control which fields get updated. If the mask is not present, all
|
@@ -1876,7 +1875,7 @@ module Google
|
|
1876
1875
|
# @param [String] language_code
|
1877
1876
|
# The language to list transition route groups for. The field `messages` in
|
1878
1877
|
# TransitionRoute is language dependent. If not specified, the agent's default
|
1879
|
-
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
1878
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1880
1879
|
# reference/language) are supported. Note: languages must be enabled in the
|
1881
1880
|
# agent before they can be used.
|
1882
1881
|
# @param [String] fields
|
@@ -1954,7 +1953,7 @@ module Google
|
|
1954
1953
|
# @param [String] language_code
|
1955
1954
|
# The language to list transition route groups for. The field `messages` in
|
1956
1955
|
# TransitionRoute is language dependent. If not specified, the agent's default
|
1957
|
-
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
1956
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1958
1957
|
# reference/language) are supported. Note: languages must be enabled in the
|
1959
1958
|
# agent before they can be used.
|
1960
1959
|
# @param [String] fields
|
@@ -1992,7 +1991,7 @@ module Google
|
|
1992
1991
|
# @param [String] language_code
|
1993
1992
|
# The language to list transition route groups for. The field `messages` in
|
1994
1993
|
# TransitionRoute is language dependent. If not specified, the agent's default
|
1995
|
-
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
1994
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
1996
1995
|
# reference/language) are supported. Note: languages must be enabled in the
|
1997
1996
|
# agent before they can be used.
|
1998
1997
|
# @param [Fixnum] page_size
|
@@ -2039,7 +2038,7 @@ module Google
|
|
2039
2038
|
# @param [String] language_code
|
2040
2039
|
# The language to list transition route groups for. The field `messages` in
|
2041
2040
|
# TransitionRoute is language dependent. If not specified, the agent's default
|
2042
|
-
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
2041
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
2043
2042
|
# reference/language) are supported. Note: languages must be enabled in the
|
2044
2043
|
# agent before they can be used.
|
2045
2044
|
# @param [String] update_mask
|
@@ -2289,7 +2288,7 @@ module Google
|
|
2289
2288
|
# @param [String] language_code
|
2290
2289
|
# The language of the following fields in `intent`: * `Intent.training_phrases.
|
2291
2290
|
# parts.text` If not specified, the agent's default language is used. [Many
|
2292
|
-
# languages](https://cloud.google.com/dialogflow/docs/reference/language) are
|
2291
|
+
# languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
|
2293
2292
|
# supported. Note: languages must be enabled in the agent before they can be
|
2294
2293
|
# used.
|
2295
2294
|
# @param [String] fields
|
@@ -2361,7 +2360,7 @@ module Google
|
|
2361
2360
|
# The language to retrieve the intent for. The following fields are language
|
2362
2361
|
# dependent: * `Intent.training_phrases.parts.text` If not specified, the agent'
|
2363
2362
|
# s default language is used. [Many languages](https://cloud.google.com/
|
2364
|
-
# dialogflow/docs/reference/language) are supported. Note: languages must be
|
2363
|
+
# dialogflow/cx/docs/reference/language) are supported. Note: languages must be
|
2365
2364
|
# enabled in the agent before they can be used.
|
2366
2365
|
# @param [String] fields
|
2367
2366
|
# Selector specifying which fields to include in a partial response.
|
@@ -2400,7 +2399,7 @@ module Google
|
|
2400
2399
|
# @param [String] language_code
|
2401
2400
|
# The language to list intents for. The following fields are language dependent:
|
2402
2401
|
# * `Intent.training_phrases.parts.text` If not specified, the agent's default
|
2403
|
-
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
2402
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
2404
2403
|
# reference/language) are supported. Note: languages must be enabled in the
|
2405
2404
|
# agent before they can be used.
|
2406
2405
|
# @param [Fixnum] page_size
|
@@ -2448,7 +2447,7 @@ module Google
|
|
2448
2447
|
# @param [String] language_code
|
2449
2448
|
# The language of the following fields in `intent`: * `Intent.training_phrases.
|
2450
2449
|
# parts.text` If not specified, the agent's default language is used. [Many
|
2451
|
-
# languages](https://cloud.google.com/dialogflow/docs/reference/language) are
|
2450
|
+
# languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
|
2452
2451
|
# supported. Note: languages must be enabled in the agent before they can be
|
2453
2452
|
# used.
|
2454
2453
|
# @param [String] update_mask
|
@@ -2613,8 +2612,7 @@ module Google
|
|
2613
2612
|
execute_or_queue_command(command, &block)
|
2614
2613
|
end
|
2615
2614
|
|
2616
|
-
# Creates a session entity type.
|
2617
|
-
# exists, overrides the session entity type.
|
2615
|
+
# Creates a session entity type.
|
2618
2616
|
# @param [String] parent
|
2619
2617
|
# Required. The session to create a session entity type for. Format: `projects//
|
2620
2618
|
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
@@ -3114,9 +3112,9 @@ module Google
|
|
3114
3112
|
end
|
3115
3113
|
|
3116
3114
|
# Kicks off a test case run.
|
3117
|
-
# @param [String]
|
3118
|
-
#
|
3119
|
-
#
|
3115
|
+
# @param [String] name
|
3116
|
+
# Required. Format of test case name to run: `projects//locations/ /agents//
|
3117
|
+
# testCases/`.
|
3120
3118
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest] google_cloud_dialogflow_cx_v3_run_test_case_request_object
|
3121
3119
|
# @param [String] fields
|
3122
3120
|
# Selector specifying which fields to include in a partial response.
|
@@ -3135,15 +3133,44 @@ module Google
|
|
3135
3133
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3136
3134
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3137
3135
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3138
|
-
def run_project_location_agent_test_case(
|
3139
|
-
command = make_simple_command(:post, 'v3/
|
3136
|
+
def run_project_location_agent_test_case(name, google_cloud_dialogflow_cx_v3_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3137
|
+
command = make_simple_command(:post, 'v3/{+name}:run', options)
|
3140
3138
|
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest::Representation
|
3141
3139
|
command.request_object = google_cloud_dialogflow_cx_v3_run_test_case_request_object
|
3142
3140
|
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
3143
3141
|
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
3144
|
-
command.params['
|
3145
|
-
command.
|
3146
|
-
command.
|
3142
|
+
command.params['name'] = name unless name.nil?
|
3143
|
+
command.query['fields'] = fields unless fields.nil?
|
3144
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3145
|
+
execute_or_queue_command(command, &block)
|
3146
|
+
end
|
3147
|
+
|
3148
|
+
# Gets a test case result.
|
3149
|
+
# @param [String] name
|
3150
|
+
# Required. The name of the testcase. Format: `projects//locations//agents//
|
3151
|
+
# testCases//results/`.
|
3152
|
+
# @param [String] fields
|
3153
|
+
# Selector specifying which fields to include in a partial response.
|
3154
|
+
# @param [String] quota_user
|
3155
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3156
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3157
|
+
# @param [Google::Apis::RequestOptions] options
|
3158
|
+
# Request-specific options
|
3159
|
+
#
|
3160
|
+
# @yield [result, err] Result & error if block supplied
|
3161
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult] parsed result object
|
3162
|
+
# @yieldparam err [StandardError] error object if request failed
|
3163
|
+
#
|
3164
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult]
|
3165
|
+
#
|
3166
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3167
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3168
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3169
|
+
def get_project_location_agent_test_case_result(name, fields: nil, quota_user: nil, options: nil, &block)
|
3170
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
3171
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult::Representation
|
3172
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult
|
3173
|
+
command.params['name'] = name unless name.nil?
|
3147
3174
|
command.query['fields'] = fields unless fields.nil?
|
3148
3175
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3149
3176
|
execute_or_queue_command(command, &block)
|
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.8.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-03-22 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.8.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: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Dialogflow API V3
|