google-apis-dialogflow_v3beta1 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: 5e2e716668e2565e56f700448a0017881349441a1fd1cdfb8938e4f84e8d94ac
4
- data.tar.gz: 315afba01ec21435e5f27547bbe316abb8ec753c576b7f2ad69ffe542854d746
3
+ metadata.gz: 0e05950eccc759781ef9590d2d8223cd3be608f2e29e0f3abf4b16e2794b7db5
4
+ data.tar.gz: 72527f72f940b0dc5fb08935bf5b496d611982d47c8152b49af6eb33f26230dd
5
5
  SHA512:
6
- metadata.gz: d3ce2f6b80b2ebe0db92adf712df3ee4633515113b237b8dad8ba4cf3d961d9ea1b2d159bbd6c7d6dfd4678a6494b73809daf2cdb6e9eb2581a95a3b7212b12d
7
- data.tar.gz: 2f8bb90e111e8b5d59e08a45d77b065908aeab30a5b7845793ca9a849c173316b7176830091f79b781372c0274898d7651b55fbb4d32c552ba7c06443e0bafe9
6
+ metadata.gz: 9256bdb61d8d449cb87806b3201738b7d403aeb40ebd2763687b7119d5fb0483cadaf0bb44cd317c81bc0631cdbc33a99964f8304169e32f4940956fc153eafe
7
+ data.tar.gz: 51749250c03c2ac913008a49e1017003207fbc2530990250fc5b766417b3b40ead138ddc91a7ba289e7bcc212f00ae626865c3bdf91f8b38367f9046b6bd4f03
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.3.0 (2021-02-12)
4
+
5
+ * Regenerated from discovery document revision 20210209
6
+
3
7
  ### v0.2.0 (2021-02-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20210130
@@ -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::DialogflowV3beta1::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::DialogflowV3beta1::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
@@ -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::DialogflowV3beta1::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::DialogflowV3beta1::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 DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.2.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 = "20210130"
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
 
@@ -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
 
@@ -2637,6 +2649,8 @@ module Google
2637
2649
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
2638
2650
 
2639
2651
  hash :payload, as: 'payload'
2652
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult::Representation
2653
+
2640
2654
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation
2641
2655
 
2642
2656
  end
@@ -2668,6 +2682,14 @@ module Google
2668
2682
  end
2669
2683
  end
2670
2684
 
2685
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
2686
+ # @private
2687
+ class Representation < Google::Apis::Core::JsonRepresentation
2688
+ property :magnitude, as: 'magnitude'
2689
+ property :score, as: 'score'
2690
+ end
2691
+ end
2692
+
2671
2693
  class GoogleCloudDialogflowCxV3WebhookResponse
2672
2694
  # @private
2673
2695
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4051,6 +4073,8 @@ module Google
4051
4073
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
4052
4074
 
4053
4075
  hash :payload, as: 'payload'
4076
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
4077
+
4054
4078
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3beta1::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_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.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-08 00:00:00.000000000 Z
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_v3beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
57
57
  post_install_message:
58
58
  rdoc_options: []