google-apis-dialogflow_v2 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62bd91152015e994fc4a5362958275b320bfe25467e611ffadf8826d328b62fb
|
4
|
+
data.tar.gz: f65441f6855d27a42e9aa4709737cf57a6fda39fb3e2a02f32c9aeeb541dc8cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3135261702b3d62dbc0718c155c75bca37d7c65e3a2c0fb4ff9a0b3adaaafafbf63f77991441ceb587a406542e8aff1221b0807b32d31e63efc72f96d58f1d7c
|
7
|
+
data.tar.gz: d30485e2e088fbe8d87872d7b99394973338ebfed4ee7e107b00d2dc4b519c32f50baa94e1f1ae3d042902816ea0389ab1d81456bf92108dbc0826d719107023
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.6.0 (2021-03-04)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.5.0 (2021-02-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210222
|
10
|
+
|
11
|
+
### v0.4.0 (2021-02-17)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210213
|
14
|
+
|
15
|
+
### v0.3.0 (2021-02-12)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210209
|
18
|
+
|
19
|
+
### v0.2.0 (2021-02-03)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210130
|
22
|
+
* Regenerated using generator version 0.1.2
|
23
|
+
|
3
24
|
### v0.1.0 (2021-01-07)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20201231
|
@@ -512,9 +512,10 @@ module Google
|
|
512
512
|
attr_accessor :is_list
|
513
513
|
alias_method :is_list?, :is_list
|
514
514
|
|
515
|
-
# Indicates whether the parameter content
|
516
|
-
#
|
517
|
-
#
|
515
|
+
# Indicates whether the parameter content should be redacted in log. If
|
516
|
+
# redaction is enabled, the parameter content will be replaced by parameter name
|
517
|
+
# during logging. Note: the parameter content is subject to redaction if either
|
518
|
+
# parameter level redaction or entity type level redaction is enabled.
|
518
519
|
# Corresponds to the JSON property `redact`
|
519
520
|
# @return [Boolean]
|
520
521
|
attr_accessor :redact
|
@@ -1057,9 +1058,10 @@ module Google
|
|
1057
1058
|
attr_accessor :is_list
|
1058
1059
|
alias_method :is_list?, :is_list
|
1059
1060
|
|
1060
|
-
# Indicates whether the parameter content
|
1061
|
-
#
|
1062
|
-
#
|
1061
|
+
# Indicates whether the parameter content should be redacted in log. If
|
1062
|
+
# redaction is enabled, the parameter content will be replaced by parameter name
|
1063
|
+
# during logging. Note: the parameter content is subject to redaction if either
|
1064
|
+
# parameter level redaction or entity type level redaction is enabled.
|
1063
1065
|
# Corresponds to the JSON property `redact`
|
1064
1066
|
# @return [Boolean]
|
1065
1067
|
attr_accessor :redact
|
@@ -1213,9 +1215,12 @@ module Google
|
|
1213
1215
|
# conversation to another page in the same flow, or another flow. When we are in
|
1214
1216
|
# a certain page, the TransitionRoutes are evalauted in the following order: *
|
1215
1217
|
# TransitionRoutes defined in the page with intent specified. * TransitionRoutes
|
1216
|
-
# defined in the transition route groups
|
1217
|
-
# with intent specified. * TransitionRoutes
|
1218
|
-
#
|
1218
|
+
# defined in the transition route groups with intent specified. *
|
1219
|
+
# TransitionRoutes defined in flow with intent specified. * TransitionRoutes
|
1220
|
+
# defined in the transition route groups with intent specified. *
|
1221
|
+
# TransitionRoutes defined in the page with only condition specified. *
|
1222
|
+
# TransitionRoutes defined in the transition route groups with only condition
|
1223
|
+
# specified.
|
1219
1224
|
# Corresponds to the JSON property `transitionRoutes`
|
1220
1225
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TransitionRoute>]
|
1221
1226
|
attr_accessor :transition_routes
|
@@ -1366,7 +1371,7 @@ module Google
|
|
1366
1371
|
attr_accessor :intent
|
1367
1372
|
|
1368
1373
|
# Required. The language of the input. See [Language Support](https://cloud.
|
1369
|
-
# google.com/dialogflow/docs/reference/language) for a list of the currently
|
1374
|
+
# google.com/dialogflow/cx/docs/reference/language) for a list of the currently
|
1370
1375
|
# supported language codes. Note that queries in the same session do not
|
1371
1376
|
# necessarily need to specify the same language.
|
1372
1377
|
# Corresponds to the JSON property `languageCode`
|
@@ -1765,7 +1770,8 @@ module Google
|
|
1765
1770
|
|
1766
1771
|
# Always present for WebhookRequest. Ignored for WebhookResponse. The unique
|
1767
1772
|
# identifier of the session. This field can be used by the webhook to identify a
|
1768
|
-
#
|
1773
|
+
# session. Format: `projects//locations//agents//sessions/` or `projects//
|
1774
|
+
# locations//agents//environments//sessions/` if environment is specified.
|
1769
1775
|
# Corresponds to the JSON property `session`
|
1770
1776
|
# @return [String]
|
1771
1777
|
attr_accessor :session
|
@@ -1889,8 +1895,8 @@ module Google
|
|
1889
1895
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ConversationTurn>]
|
1890
1896
|
attr_accessor :conversation_turns
|
1891
1897
|
|
1892
|
-
#
|
1893
|
-
#
|
1898
|
+
# Environment where the test was run. If not set, it indicates the draft
|
1899
|
+
# environment.
|
1894
1900
|
# Corresponds to the JSON property `environment`
|
1895
1901
|
# @return [String]
|
1896
1902
|
attr_accessor :environment
|
@@ -2158,6 +2164,11 @@ module Google
|
|
2158
2164
|
# @return [Hash<String,Object>]
|
2159
2165
|
attr_accessor :payload
|
2160
2166
|
|
2167
|
+
# Represents the result of sentiment analysis.
|
2168
|
+
# Corresponds to the JSON property `sentimentAnalysisResult`
|
2169
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult]
|
2170
|
+
attr_accessor :sentiment_analysis_result
|
2171
|
+
|
2161
2172
|
# Represents session information communicated to and from the webhook.
|
2162
2173
|
# Corresponds to the JSON property `sessionInfo`
|
2163
2174
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo]
|
@@ -2175,6 +2186,7 @@ module Google
|
|
2175
2186
|
@messages = args[:messages] if args.key?(:messages)
|
2176
2187
|
@page_info = args[:page_info] if args.key?(:page_info)
|
2177
2188
|
@payload = args[:payload] if args.key?(:payload)
|
2189
|
+
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
2178
2190
|
@session_info = args[:session_info] if args.key?(:session_info)
|
2179
2191
|
end
|
2180
2192
|
end
|
@@ -2202,6 +2214,17 @@ module Google
|
|
2202
2214
|
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
2203
2215
|
include Google::Apis::Core::Hashable
|
2204
2216
|
|
2217
|
+
# The confidence of the matched intent. Values range from 0.0 (completely
|
2218
|
+
# uncertain) to 1.0 (completely certain).
|
2219
|
+
# Corresponds to the JSON property `confidence`
|
2220
|
+
# @return [Float]
|
2221
|
+
attr_accessor :confidence
|
2222
|
+
|
2223
|
+
# Always present. The display name of the last matched intent.
|
2224
|
+
# Corresponds to the JSON property `displayName`
|
2225
|
+
# @return [String]
|
2226
|
+
attr_accessor :display_name
|
2227
|
+
|
2205
2228
|
# Always present. The unique identifier of the last matched intent. Format: `
|
2206
2229
|
# projects//locations//agents//intents/`.
|
2207
2230
|
# Corresponds to the JSON property `lastMatchedIntent`
|
@@ -2222,6 +2245,8 @@ module Google
|
|
2222
2245
|
|
2223
2246
|
# Update properties of this object
|
2224
2247
|
def update!(**args)
|
2248
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2249
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2225
2250
|
@last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
|
2226
2251
|
@parameters = args[:parameters] if args.key?(:parameters)
|
2227
2252
|
end
|
@@ -2253,6 +2278,32 @@ module Google
|
|
2253
2278
|
end
|
2254
2279
|
end
|
2255
2280
|
|
2281
|
+
# Represents the result of sentiment analysis.
|
2282
|
+
class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
|
2283
|
+
include Google::Apis::Core::Hashable
|
2284
|
+
|
2285
|
+
# A non-negative number in the [0, +inf) range, which represents the absolute
|
2286
|
+
# magnitude of sentiment, regardless of score (positive or negative).
|
2287
|
+
# Corresponds to the JSON property `magnitude`
|
2288
|
+
# @return [Float]
|
2289
|
+
attr_accessor :magnitude
|
2290
|
+
|
2291
|
+
# Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
|
2292
|
+
# Corresponds to the JSON property `score`
|
2293
|
+
# @return [Float]
|
2294
|
+
attr_accessor :score
|
2295
|
+
|
2296
|
+
def initialize(**args)
|
2297
|
+
update!(**args)
|
2298
|
+
end
|
2299
|
+
|
2300
|
+
# Update properties of this object
|
2301
|
+
def update!(**args)
|
2302
|
+
@magnitude = args[:magnitude] if args.key?(:magnitude)
|
2303
|
+
@score = args[:score] if args.key?(:score)
|
2304
|
+
end
|
2305
|
+
end
|
2306
|
+
|
2256
2307
|
# The response message for a webhook call.
|
2257
2308
|
class GoogleCloudDialogflowCxV3WebhookResponse
|
2258
2309
|
include Google::Apis::Core::Hashable
|
@@ -2819,9 +2870,10 @@ module Google
|
|
2819
2870
|
attr_accessor :is_list
|
2820
2871
|
alias_method :is_list?, :is_list
|
2821
2872
|
|
2822
|
-
# Indicates whether the parameter content
|
2823
|
-
#
|
2824
|
-
#
|
2873
|
+
# Indicates whether the parameter content should be redacted in log. If
|
2874
|
+
# redaction is enabled, the parameter content will be replaced by parameter name
|
2875
|
+
# during logging. Note: the parameter content is subject to redaction if either
|
2876
|
+
# parameter level redaction or entity type level redaction is enabled.
|
2825
2877
|
# Corresponds to the JSON property `redact`
|
2826
2878
|
# @return [Boolean]
|
2827
2879
|
attr_accessor :redact
|
@@ -3364,9 +3416,10 @@ module Google
|
|
3364
3416
|
attr_accessor :is_list
|
3365
3417
|
alias_method :is_list?, :is_list
|
3366
3418
|
|
3367
|
-
# Indicates whether the parameter content
|
3368
|
-
#
|
3369
|
-
#
|
3419
|
+
# Indicates whether the parameter content should be redacted in log. If
|
3420
|
+
# redaction is enabled, the parameter content will be replaced by parameter name
|
3421
|
+
# during logging. Note: the parameter content is subject to redaction if either
|
3422
|
+
# parameter level redaction or entity type level redaction is enabled.
|
3370
3423
|
# Corresponds to the JSON property `redact`
|
3371
3424
|
# @return [Boolean]
|
3372
3425
|
attr_accessor :redact
|
@@ -3520,9 +3573,12 @@ module Google
|
|
3520
3573
|
# conversation to another page in the same flow, or another flow. When we are in
|
3521
3574
|
# a certain page, the TransitionRoutes are evalauted in the following order: *
|
3522
3575
|
# TransitionRoutes defined in the page with intent specified. * TransitionRoutes
|
3523
|
-
# defined in the transition route groups
|
3524
|
-
# with intent specified. * TransitionRoutes
|
3525
|
-
#
|
3576
|
+
# defined in the transition route groups with intent specified. *
|
3577
|
+
# TransitionRoutes defined in flow with intent specified. * TransitionRoutes
|
3578
|
+
# defined in the transition route groups with intent specified. *
|
3579
|
+
# TransitionRoutes defined in the page with only condition specified. *
|
3580
|
+
# TransitionRoutes defined in the transition route groups with only condition
|
3581
|
+
# specified.
|
3526
3582
|
# Corresponds to the JSON property `transitionRoutes`
|
3527
3583
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TransitionRoute>]
|
3528
3584
|
attr_accessor :transition_routes
|
@@ -3673,7 +3729,7 @@ module Google
|
|
3673
3729
|
attr_accessor :intent
|
3674
3730
|
|
3675
3731
|
# Required. The language of the input. See [Language Support](https://cloud.
|
3676
|
-
# google.com/dialogflow/docs/reference/language) for a list of the currently
|
3732
|
+
# google.com/dialogflow/cx/docs/reference/language) for a list of the currently
|
3677
3733
|
# supported language codes. Note that queries in the same session do not
|
3678
3734
|
# necessarily need to specify the same language.
|
3679
3735
|
# Corresponds to the JSON property `languageCode`
|
@@ -4072,7 +4128,8 @@ module Google
|
|
4072
4128
|
|
4073
4129
|
# Always present for WebhookRequest. Ignored for WebhookResponse. The unique
|
4074
4130
|
# identifier of the session. This field can be used by the webhook to identify a
|
4075
|
-
#
|
4131
|
+
# session. Format: `projects//locations//agents//sessions/` or `projects//
|
4132
|
+
# locations//agents//environments//sessions/` if environment is specified.
|
4076
4133
|
# Corresponds to the JSON property `session`
|
4077
4134
|
# @return [String]
|
4078
4135
|
attr_accessor :session
|
@@ -4196,8 +4253,8 @@ module Google
|
|
4196
4253
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ConversationTurn>]
|
4197
4254
|
attr_accessor :conversation_turns
|
4198
4255
|
|
4199
|
-
#
|
4200
|
-
#
|
4256
|
+
# Environment where the test was run. If not set, it indicates the draft
|
4257
|
+
# environment.
|
4201
4258
|
# Corresponds to the JSON property `environment`
|
4202
4259
|
# @return [String]
|
4203
4260
|
attr_accessor :environment
|
@@ -4465,6 +4522,11 @@ module Google
|
|
4465
4522
|
# @return [Hash<String,Object>]
|
4466
4523
|
attr_accessor :payload
|
4467
4524
|
|
4525
|
+
# Represents the result of sentiment analysis.
|
4526
|
+
# Corresponds to the JSON property `sentimentAnalysisResult`
|
4527
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult]
|
4528
|
+
attr_accessor :sentiment_analysis_result
|
4529
|
+
|
4468
4530
|
# Represents session information communicated to and from the webhook.
|
4469
4531
|
# Corresponds to the JSON property `sessionInfo`
|
4470
4532
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo]
|
@@ -4482,6 +4544,7 @@ module Google
|
|
4482
4544
|
@messages = args[:messages] if args.key?(:messages)
|
4483
4545
|
@page_info = args[:page_info] if args.key?(:page_info)
|
4484
4546
|
@payload = args[:payload] if args.key?(:payload)
|
4547
|
+
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
4485
4548
|
@session_info = args[:session_info] if args.key?(:session_info)
|
4486
4549
|
end
|
4487
4550
|
end
|
@@ -4509,6 +4572,17 @@ module Google
|
|
4509
4572
|
class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
|
4510
4573
|
include Google::Apis::Core::Hashable
|
4511
4574
|
|
4575
|
+
# The confidence of the matched intent. Values range from 0.0 (completely
|
4576
|
+
# uncertain) to 1.0 (completely certain).
|
4577
|
+
# Corresponds to the JSON property `confidence`
|
4578
|
+
# @return [Float]
|
4579
|
+
attr_accessor :confidence
|
4580
|
+
|
4581
|
+
# Always present. The display name of the last matched intent.
|
4582
|
+
# Corresponds to the JSON property `displayName`
|
4583
|
+
# @return [String]
|
4584
|
+
attr_accessor :display_name
|
4585
|
+
|
4512
4586
|
# Always present. The unique identifier of the last matched intent. Format: `
|
4513
4587
|
# projects//locations//agents//intents/`.
|
4514
4588
|
# Corresponds to the JSON property `lastMatchedIntent`
|
@@ -4529,6 +4603,8 @@ module Google
|
|
4529
4603
|
|
4530
4604
|
# Update properties of this object
|
4531
4605
|
def update!(**args)
|
4606
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
4607
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
4532
4608
|
@last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
|
4533
4609
|
@parameters = args[:parameters] if args.key?(:parameters)
|
4534
4610
|
end
|
@@ -4560,6 +4636,32 @@ module Google
|
|
4560
4636
|
end
|
4561
4637
|
end
|
4562
4638
|
|
4639
|
+
# Represents the result of sentiment analysis.
|
4640
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
|
4641
|
+
include Google::Apis::Core::Hashable
|
4642
|
+
|
4643
|
+
# A non-negative number in the [0, +inf) range, which represents the absolute
|
4644
|
+
# magnitude of sentiment, regardless of score (positive or negative).
|
4645
|
+
# Corresponds to the JSON property `magnitude`
|
4646
|
+
# @return [Float]
|
4647
|
+
attr_accessor :magnitude
|
4648
|
+
|
4649
|
+
# Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
|
4650
|
+
# Corresponds to the JSON property `score`
|
4651
|
+
# @return [Float]
|
4652
|
+
attr_accessor :score
|
4653
|
+
|
4654
|
+
def initialize(**args)
|
4655
|
+
update!(**args)
|
4656
|
+
end
|
4657
|
+
|
4658
|
+
# Update properties of this object
|
4659
|
+
def update!(**args)
|
4660
|
+
@magnitude = args[:magnitude] if args.key?(:magnitude)
|
4661
|
+
@score = args[:score] if args.key?(:score)
|
4662
|
+
end
|
4663
|
+
end
|
4664
|
+
|
4563
4665
|
# The response message for a webhook call.
|
4564
4666
|
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
4565
4667
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.1.
|
22
|
+
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210222"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -412,6 +412,12 @@ module Google
|
|
412
412
|
include Google::Apis::Core::JsonObjectSupport
|
413
413
|
end
|
414
414
|
|
415
|
+
class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
415
421
|
class GoogleCloudDialogflowCxV3WebhookResponse
|
416
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
423
|
|
@@ -814,6 +820,12 @@ module Google
|
|
814
820
|
include Google::Apis::Core::JsonObjectSupport
|
815
821
|
end
|
816
822
|
|
823
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
817
829
|
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
818
830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
819
831
|
|
@@ -2409,6 +2421,8 @@ module Google
|
|
2409
2421
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo::Representation
|
2410
2422
|
|
2411
2423
|
hash :payload, as: 'payload'
|
2424
|
+
property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult::Representation
|
2425
|
+
|
2412
2426
|
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
2413
2427
|
|
2414
2428
|
end
|
@@ -2424,6 +2438,8 @@ module Google
|
|
2424
2438
|
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
2425
2439
|
# @private
|
2426
2440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2441
|
+
property :confidence, as: 'confidence'
|
2442
|
+
property :display_name, as: 'displayName'
|
2427
2443
|
property :last_matched_intent, as: 'lastMatchedIntent'
|
2428
2444
|
hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
|
2429
2445
|
|
@@ -2438,6 +2454,14 @@ module Google
|
|
2438
2454
|
end
|
2439
2455
|
end
|
2440
2456
|
|
2457
|
+
class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
|
2458
|
+
# @private
|
2459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2460
|
+
property :magnitude, as: 'magnitude'
|
2461
|
+
property :score, as: 'score'
|
2462
|
+
end
|
2463
|
+
end
|
2464
|
+
|
2441
2465
|
class GoogleCloudDialogflowCxV3WebhookResponse
|
2442
2466
|
# @private
|
2443
2467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3061,6 +3085,8 @@ module Google
|
|
3061
3085
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
|
3062
3086
|
|
3063
3087
|
hash :payload, as: 'payload'
|
3088
|
+
property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
|
3089
|
+
|
3064
3090
|
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
|
3065
3091
|
|
3066
3092
|
end
|
@@ -3076,6 +3102,8 @@ module Google
|
|
3076
3102
|
class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
|
3077
3103
|
# @private
|
3078
3104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3105
|
+
property :confidence, as: 'confidence'
|
3106
|
+
property :display_name, as: 'displayName'
|
3079
3107
|
property :last_matched_intent, as: 'lastMatchedIntent'
|
3080
3108
|
hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
|
3081
3109
|
|
@@ -3090,6 +3118,14 @@ module Google
|
|
3090
3118
|
end
|
3091
3119
|
end
|
3092
3120
|
|
3121
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
|
3122
|
+
# @private
|
3123
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3124
|
+
property :magnitude, as: 'magnitude'
|
3125
|
+
property :score, as: 'score'
|
3126
|
+
end
|
3127
|
+
end
|
3128
|
+
|
3093
3129
|
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
3094
3130
|
# @private
|
3095
3131
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -847,6 +847,52 @@ module Google
|
|
847
847
|
execute_or_queue_command(command, &block)
|
848
848
|
end
|
849
849
|
|
850
|
+
# Returns the list of all intents in the specified agent.
|
851
|
+
# @param [String] parent
|
852
|
+
# Required. The agent to list all intents from. Format: `projects//agent`.
|
853
|
+
# @param [String] intent_view
|
854
|
+
# Optional. The resource view to apply to the returned intent.
|
855
|
+
# @param [String] language_code
|
856
|
+
# Optional. The language used to access language-specific data. If not specified,
|
857
|
+
# the agent's default language is used. For more information, see [Multilingual
|
858
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
859
|
+
# multilingual#intent-entity).
|
860
|
+
# @param [Fixnum] page_size
|
861
|
+
# Optional. The maximum number of items to return in a single page. By default
|
862
|
+
# 100 and at most 1000.
|
863
|
+
# @param [String] page_token
|
864
|
+
# Optional. The next_page_token value returned from a previous list request.
|
865
|
+
# @param [String] fields
|
866
|
+
# Selector specifying which fields to include in a partial response.
|
867
|
+
# @param [String] quota_user
|
868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
870
|
+
# @param [Google::Apis::RequestOptions] options
|
871
|
+
# Request-specific options
|
872
|
+
#
|
873
|
+
# @yield [result, err] Result & error if block supplied
|
874
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse] parsed result object
|
875
|
+
# @yieldparam err [StandardError] error object if request failed
|
876
|
+
#
|
877
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse]
|
878
|
+
#
|
879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
882
|
+
def list_project_agent_environment_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
883
|
+
command = make_simple_command(:get, 'v2/{+parent}/intents', options)
|
884
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse::Representation
|
885
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse
|
886
|
+
command.params['parent'] = parent unless parent.nil?
|
887
|
+
command.query['intentView'] = intent_view unless intent_view.nil?
|
888
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
889
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
890
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
891
|
+
command.query['fields'] = fields unless fields.nil?
|
892
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
893
|
+
execute_or_queue_command(command, &block)
|
894
|
+
end
|
895
|
+
|
850
896
|
# Deletes all active contexts in the specified session.
|
851
897
|
# @param [String] parent
|
852
898
|
# Required. The name of the session to delete all contexts from. Format: `
|
@@ -889,7 +935,8 @@ module Google
|
|
889
935
|
# @param [String] session
|
890
936
|
# Required. The name of the session this query is sent to. Format: `projects//
|
891
937
|
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
892
|
-
# Environment ID` is not specified, we assume default 'draft' environment
|
938
|
+
# Environment ID` is not specified, we assume default 'draft' environment (`
|
939
|
+
# Environment ID` might be referred to as environment name at some places). If `
|
893
940
|
# User ID` is not specified, we are using "-". It's up to the API caller to
|
894
941
|
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
895
942
|
# or some type of user and session identifiers (preferably hashed). The length
|
@@ -1625,7 +1672,8 @@ module Google
|
|
1625
1672
|
# @param [String] session
|
1626
1673
|
# Required. The name of the session this query is sent to. Format: `projects//
|
1627
1674
|
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
1628
|
-
# Environment ID` is not specified, we assume default 'draft' environment
|
1675
|
+
# Environment ID` is not specified, we assume default 'draft' environment (`
|
1676
|
+
# Environment ID` might be referred to as environment name at some places). If `
|
1629
1677
|
# User ID` is not specified, we are using "-". It's up to the API caller to
|
1630
1678
|
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
1631
1679
|
# or some type of user and session identifiers (preferably hashed). The length
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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-08 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_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
|
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.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Dialogflow API V2
|