google-apis-dialogflow_v3 0.2.0 → 0.3.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: cbfbbb8a7d6dc181c0f6532dd7c173da9ee47e0f87919485a0b2998a3a216b15
|
4
|
+
data.tar.gz: a893e6bb25bfd4fc109d43f11252bbb14a342b91f8a06a2202942206c44617ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d470dfb1d829c8c981ae9283e2b53ac9380cbb46e6a791f4d2af0ff08e4850e3672a7066463e57d57b583970909317d5e6fc362f5718c09e7f81eb8fcab1f71
|
7
|
+
data.tar.gz: b869e01b3cb81cae8192f414fcb98de3418fa15d5c89f455065df526c41ffc2ba3156239eea20cbbe851a4179643e726b58ff71e0afd605e8c3912558cddd2b1
|
data/CHANGELOG.md
CHANGED
@@ -4959,6 +4959,11 @@ module Google
|
|
4959
4959
|
# @return [Hash<String,Object>]
|
4960
4960
|
attr_accessor :payload
|
4961
4961
|
|
4962
|
+
# Represents the result of sentiment analysis.
|
4963
|
+
# Corresponds to the JSON property `sentimentAnalysisResult`
|
4964
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult]
|
4965
|
+
attr_accessor :sentiment_analysis_result
|
4966
|
+
|
4962
4967
|
# Represents session information communicated to and from the webhook.
|
4963
4968
|
# Corresponds to the JSON property `sessionInfo`
|
4964
4969
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo]
|
@@ -4976,6 +4981,7 @@ module Google
|
|
4976
4981
|
@messages = args[:messages] if args.key?(:messages)
|
4977
4982
|
@page_info = args[:page_info] if args.key?(:page_info)
|
4978
4983
|
@payload = args[:payload] if args.key?(:payload)
|
4984
|
+
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
4979
4985
|
@session_info = args[:session_info] if args.key?(:session_info)
|
4980
4986
|
end
|
4981
4987
|
end
|
@@ -5067,6 +5073,32 @@ module Google
|
|
5067
5073
|
end
|
5068
5074
|
end
|
5069
5075
|
|
5076
|
+
# Represents the result of sentiment analysis.
|
5077
|
+
class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
|
5078
|
+
include Google::Apis::Core::Hashable
|
5079
|
+
|
5080
|
+
# A non-negative number in the [0, +inf) range, which represents the absolute
|
5081
|
+
# magnitude of sentiment, regardless of score (positive or negative).
|
5082
|
+
# Corresponds to the JSON property `magnitude`
|
5083
|
+
# @return [Float]
|
5084
|
+
attr_accessor :magnitude
|
5085
|
+
|
5086
|
+
# Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
|
5087
|
+
# Corresponds to the JSON property `score`
|
5088
|
+
# @return [Float]
|
5089
|
+
attr_accessor :score
|
5090
|
+
|
5091
|
+
def initialize(**args)
|
5092
|
+
update!(**args)
|
5093
|
+
end
|
5094
|
+
|
5095
|
+
# Update properties of this object
|
5096
|
+
def update!(**args)
|
5097
|
+
@magnitude = args[:magnitude] if args.key?(:magnitude)
|
5098
|
+
@score = args[:score] if args.key?(:score)
|
5099
|
+
end
|
5100
|
+
end
|
5101
|
+
|
5070
5102
|
# The response message for a webhook call.
|
5071
5103
|
class GoogleCloudDialogflowCxV3WebhookResponse
|
5072
5104
|
include Google::Apis::Core::Hashable
|
@@ -7285,6 +7317,11 @@ module Google
|
|
7285
7317
|
# @return [Hash<String,Object>]
|
7286
7318
|
attr_accessor :payload
|
7287
7319
|
|
7320
|
+
# Represents the result of sentiment analysis.
|
7321
|
+
# Corresponds to the JSON property `sentimentAnalysisResult`
|
7322
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult]
|
7323
|
+
attr_accessor :sentiment_analysis_result
|
7324
|
+
|
7288
7325
|
# Represents session information communicated to and from the webhook.
|
7289
7326
|
# Corresponds to the JSON property `sessionInfo`
|
7290
7327
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo]
|
@@ -7302,6 +7339,7 @@ module Google
|
|
7302
7339
|
@messages = args[:messages] if args.key?(:messages)
|
7303
7340
|
@page_info = args[:page_info] if args.key?(:page_info)
|
7304
7341
|
@payload = args[:payload] if args.key?(:payload)
|
7342
|
+
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
7305
7343
|
@session_info = args[:session_info] if args.key?(:session_info)
|
7306
7344
|
end
|
7307
7345
|
end
|
@@ -7393,6 +7431,32 @@ module Google
|
|
7393
7431
|
end
|
7394
7432
|
end
|
7395
7433
|
|
7434
|
+
# Represents the result of sentiment analysis.
|
7435
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
|
7436
|
+
include Google::Apis::Core::Hashable
|
7437
|
+
|
7438
|
+
# A non-negative number in the [0, +inf) range, which represents the absolute
|
7439
|
+
# magnitude of sentiment, regardless of score (positive or negative).
|
7440
|
+
# Corresponds to the JSON property `magnitude`
|
7441
|
+
# @return [Float]
|
7442
|
+
attr_accessor :magnitude
|
7443
|
+
|
7444
|
+
# Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
|
7445
|
+
# Corresponds to the JSON property `score`
|
7446
|
+
# @return [Float]
|
7447
|
+
attr_accessor :score
|
7448
|
+
|
7449
|
+
def initialize(**args)
|
7450
|
+
update!(**args)
|
7451
|
+
end
|
7452
|
+
|
7453
|
+
# Update properties of this object
|
7454
|
+
def update!(**args)
|
7455
|
+
@magnitude = args[:magnitude] if args.key?(:magnitude)
|
7456
|
+
@score = args[:score] if args.key?(:score)
|
7457
|
+
end
|
7458
|
+
end
|
7459
|
+
|
7396
7460
|
# The response message for a webhook call.
|
7397
7461
|
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
7398
7462
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3
|
18
18
|
# Version of the google-apis-dialogflow_v3 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
|
@@ -862,6 +862,12 @@ module Google
|
|
862
862
|
include Google::Apis::Core::JsonObjectSupport
|
863
863
|
end
|
864
864
|
|
865
|
+
class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
865
871
|
class GoogleCloudDialogflowCxV3WebhookResponse
|
866
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
873
|
|
@@ -1264,6 +1270,12 @@ module Google
|
|
1264
1270
|
include Google::Apis::Core::JsonObjectSupport
|
1265
1271
|
end
|
1266
1272
|
|
1273
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
|
1274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1275
|
+
|
1276
|
+
include Google::Apis::Core::JsonObjectSupport
|
1277
|
+
end
|
1278
|
+
|
1267
1279
|
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
1268
1280
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
1281
|
|
@@ -3397,6 +3409,8 @@ module Google
|
|
3397
3409
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo::Representation
|
3398
3410
|
|
3399
3411
|
hash :payload, as: 'payload'
|
3412
|
+
property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult::Representation
|
3413
|
+
|
3400
3414
|
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
3401
3415
|
|
3402
3416
|
end
|
@@ -3428,6 +3442,14 @@ module Google
|
|
3428
3442
|
end
|
3429
3443
|
end
|
3430
3444
|
|
3445
|
+
class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
|
3446
|
+
# @private
|
3447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3448
|
+
property :magnitude, as: 'magnitude'
|
3449
|
+
property :score, as: 'score'
|
3450
|
+
end
|
3451
|
+
end
|
3452
|
+
|
3431
3453
|
class GoogleCloudDialogflowCxV3WebhookResponse
|
3432
3454
|
# @private
|
3433
3455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4051,6 +4073,8 @@ module Google
|
|
4051
4073
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
|
4052
4074
|
|
4053
4075
|
hash :payload, as: 'payload'
|
4076
|
+
property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
|
4077
|
+
|
4054
4078
|
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
|
4055
4079
|
|
4056
4080
|
end
|
@@ -4082,6 +4106,14 @@ module Google
|
|
4082
4106
|
end
|
4083
4107
|
end
|
4084
4108
|
|
4109
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
|
4110
|
+
# @private
|
4111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4112
|
+
property :magnitude, as: 'magnitude'
|
4113
|
+
property :score, as: 'score'
|
4114
|
+
end
|
4115
|
+
end
|
4116
|
+
|
4085
4117
|
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
4086
4118
|
# @private
|
4087
4119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.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_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.3.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: []
|