google-apis-dialogflow_v2beta1 0.2.0 → 0.3.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6655bc212f9381ace87ccaf5419fd793f7b127e92de4d87d02137ab42ff4a1c7
|
4
|
+
data.tar.gz: d751fadd62ae2dd13e3d030131a2ac4209f995efac0f7f1c33a589da1f94a7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90341b01c63ff6a77e4f0ca2c58fc898c6bb1bcfa9621bd7f8603cc50b93839a35c3642d3894b1f975bdf751074e921b388f2d9668631e3c3cdebfa1332e5e10
|
7
|
+
data.tar.gz: fe48d64988ea2b45347d4ada7ed9c5dabd02aad394abaabc42bdcde87961171a79da39cecd9d159afda13dc476d0ed3a8f46a3a098d8fe2200e5dfbc7639829d
|
data/CHANGELOG.md
CHANGED
@@ -2164,6 +2164,11 @@ module Google
|
|
2164
2164
|
# @return [Hash<String,Object>]
|
2165
2165
|
attr_accessor :payload
|
2166
2166
|
|
2167
|
+
# Represents the result of sentiment analysis.
|
2168
|
+
# Corresponds to the JSON property `sentimentAnalysisResult`
|
2169
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult]
|
2170
|
+
attr_accessor :sentiment_analysis_result
|
2171
|
+
|
2167
2172
|
# Represents session information communicated to and from the webhook.
|
2168
2173
|
# Corresponds to the JSON property `sessionInfo`
|
2169
2174
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo]
|
@@ -2181,6 +2186,7 @@ module Google
|
|
2181
2186
|
@messages = args[:messages] if args.key?(:messages)
|
2182
2187
|
@page_info = args[:page_info] if args.key?(:page_info)
|
2183
2188
|
@payload = args[:payload] if args.key?(:payload)
|
2189
|
+
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
2184
2190
|
@session_info = args[:session_info] if args.key?(:session_info)
|
2185
2191
|
end
|
2186
2192
|
end
|
@@ -2272,6 +2278,32 @@ module Google
|
|
2272
2278
|
end
|
2273
2279
|
end
|
2274
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
|
+
|
2275
2307
|
# The response message for a webhook call.
|
2276
2308
|
class GoogleCloudDialogflowCxV3WebhookResponse
|
2277
2309
|
include Google::Apis::Core::Hashable
|
@@ -4490,6 +4522,11 @@ module Google
|
|
4490
4522
|
# @return [Hash<String,Object>]
|
4491
4523
|
attr_accessor :payload
|
4492
4524
|
|
4525
|
+
# Represents the result of sentiment analysis.
|
4526
|
+
# Corresponds to the JSON property `sentimentAnalysisResult`
|
4527
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult]
|
4528
|
+
attr_accessor :sentiment_analysis_result
|
4529
|
+
|
4493
4530
|
# Represents session information communicated to and from the webhook.
|
4494
4531
|
# Corresponds to the JSON property `sessionInfo`
|
4495
4532
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
|
@@ -4507,6 +4544,7 @@ module Google
|
|
4507
4544
|
@messages = args[:messages] if args.key?(:messages)
|
4508
4545
|
@page_info = args[:page_info] if args.key?(:page_info)
|
4509
4546
|
@payload = args[:payload] if args.key?(:payload)
|
4547
|
+
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
4510
4548
|
@session_info = args[:session_info] if args.key?(:session_info)
|
4511
4549
|
end
|
4512
4550
|
end
|
@@ -4598,6 +4636,32 @@ module Google
|
|
4598
4636
|
end
|
4599
4637
|
end
|
4600
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
|
+
|
4601
4665
|
# The response message for a webhook call.
|
4602
4666
|
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
4603
4667
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210209"
|
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
|
|
@@ -2457,6 +2469,8 @@ module Google
|
|
2457
2469
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
|
2458
2470
|
|
2459
2471
|
hash :payload, as: 'payload'
|
2472
|
+
property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult::Representation
|
2473
|
+
|
2460
2474
|
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
2461
2475
|
|
2462
2476
|
end
|
@@ -2488,6 +2502,14 @@ module Google
|
|
2488
2502
|
end
|
2489
2503
|
end
|
2490
2504
|
|
2505
|
+
class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
|
2506
|
+
# @private
|
2507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2508
|
+
property :magnitude, as: 'magnitude'
|
2509
|
+
property :score, as: 'score'
|
2510
|
+
end
|
2511
|
+
end
|
2512
|
+
|
2491
2513
|
class GoogleCloudDialogflowCxV3WebhookResponse
|
2492
2514
|
# @private
|
2493
2515
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3111,6 +3133,8 @@ module Google
|
|
3111
3133
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
|
3112
3134
|
|
3113
3135
|
hash :payload, as: 'payload'
|
3136
|
+
property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
|
3137
|
+
|
3114
3138
|
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
|
3115
3139
|
|
3116
3140
|
end
|
@@ -3142,6 +3166,14 @@ module Google
|
|
3142
3166
|
end
|
3143
3167
|
end
|
3144
3168
|
|
3169
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
|
3170
|
+
# @private
|
3171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3172
|
+
property :magnitude, as: 'magnitude'
|
3173
|
+
property :score, as: 'score'
|
3174
|
+
end
|
3175
|
+
end
|
3176
|
+
|
3145
3177
|
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
3146
3178
|
# @private
|
3147
3179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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-02-
|
11
|
+
date: 2021-02-15 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_v2beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.3.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|