google-apis-dialogflow_v2beta1 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: c1330d65ef2d315304696d7a9e570167e54531bfa8e50b16af720284f16e6d17
4
- data.tar.gz: 484141d0d850d9848c1e88bfbd1242604b9a59dbda47a1f2c3f12890094baf2c
3
+ metadata.gz: 6dfd62efc4b3eab5a3c0a71083473663a1be35e245bb9fcc4527247a7dbe1060
4
+ data.tar.gz: 8f5f0b3253532eb49751f892a6d4f7cedee8980f856327a7adbb4fca628a9b71
5
5
  SHA512:
6
- metadata.gz: 9abe4e06e6ae9bea54eeb8060b8bf0b9b1b61a2607eadfa0446ef128c4c0a79d41b53aaba46394857b7961b7f13e35578e624ef15a9f301e3b900ddfd6774e75
7
- data.tar.gz: 216dadc37938bb80ed8429b98fa3473bfd6c7d0b4074ac191dde74b0d36eab9dfd64f5b1d17db92e70526be5d6897178c1b8e7595892b23ade0ffb0f9f8f4b66
6
+ metadata.gz: 77da337994d95f97c7aef0ec82892bfc3d366b35da4d3037565cbac3cf168e1e90350066bbc8654f8ecc9ab281c348de4efbb97f1a6ef12c4c1066b8b5ad33d3
7
+ data.tar.gz: f4e236222d7b2f7b542d0eee305c37b1fe61e1447b3e3959a6bf8e0eb5cc6650fed98ee8a1e4e6e050672a40a7850bc40c453293c0d1db7bfc13f6fabc642d83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
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 is logged in text and audio. If it is
516
- # set to true, the parameter content will be replaced to parameter name in both
517
- # request and response. The default value is false.
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 is logged in text and audio. If it is
1061
- # set to true, the parameter content will be replaced to parameter id in both
1062
- # request and response. The default value is false.
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. * TransitionRoutes defined in flow
1217
- # with intent specified. * TransitionRoutes defined in the page with only
1218
- # condition specified.
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::DialogflowV2beta1::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
- # user. Format: `projects//locations//agents//sessions/`.
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::DialogflowV2beta1::GoogleCloudDialogflowCxV3ConversationTurn>]
1890
1896
  attr_accessor :conversation_turns
1891
1897
 
1892
- # Optional. Environment where the test was run. If not set, it indicates the
1893
- # draft environment.
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::DialogflowV2beta1::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::DialogflowV2beta1::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 is logged in text and audio. If it is
2823
- # set to true, the parameter content will be replaced to parameter name in both
2824
- # request and response. The default value is false.
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 is logged in text and audio. If it is
3368
- # set to true, the parameter content will be replaced to parameter id in both
3369
- # request and response. The default value is false.
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. * TransitionRoutes defined in flow
3524
- # with intent specified. * TransitionRoutes defined in the page with only
3525
- # condition specified.
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::DialogflowV2beta1::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
- # user. Format: `projects//locations//agents//sessions/`.
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::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ConversationTurn>]
4197
4254
  attr_accessor :conversation_turns
4198
4255
 
4199
- # Optional. Environment where the test was run. If not set, it indicates the
4200
- # draft environment.
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::DialogflowV2beta1::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::DialogflowV2beta1::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 DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.1.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.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201231"
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
 
@@ -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
@@ -2472,6 +2486,8 @@ module Google
2472
2486
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
2473
2487
  # @private
2474
2488
  class Representation < Google::Apis::Core::JsonRepresentation
2489
+ property :confidence, as: 'confidence'
2490
+ property :display_name, as: 'displayName'
2475
2491
  property :last_matched_intent, as: 'lastMatchedIntent'
2476
2492
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
2477
2493
 
@@ -2486,6 +2502,14 @@ module Google
2486
2502
  end
2487
2503
  end
2488
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
+
2489
2513
  class GoogleCloudDialogflowCxV3WebhookResponse
2490
2514
  # @private
2491
2515
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3109,6 +3133,8 @@ module Google
3109
3133
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
3110
3134
 
3111
3135
  hash :payload, as: 'payload'
3136
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
3137
+
3112
3138
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
3113
3139
 
3114
3140
  end
@@ -3124,6 +3150,8 @@ module Google
3124
3150
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
3125
3151
  # @private
3126
3152
  class Representation < Google::Apis::Core::JsonRepresentation
3153
+ property :confidence, as: 'confidence'
3154
+ property :display_name, as: 'displayName'
3127
3155
  property :last_matched_intent, as: 'lastMatchedIntent'
3128
3156
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
3129
3157
 
@@ -3138,6 +3166,14 @@ module Google
3138
3166
  end
3139
3167
  end
3140
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
+
3141
3177
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
3142
3178
  # @private
3143
3179
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -857,6 +857,52 @@ module Google
857
857
  execute_or_queue_command(command, &block)
858
858
  end
859
859
 
860
+ # Returns the list of all intents in the specified agent.
861
+ # @param [String] parent
862
+ # Required. The agent to list all intents from. Format: `projects//agent`.
863
+ # @param [String] intent_view
864
+ # Optional. The resource view to apply to the returned intent.
865
+ # @param [String] language_code
866
+ # Optional. The language used to access language-specific data. If not specified,
867
+ # the agent's default language is used. For more information, see [Multilingual
868
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
869
+ # multilingual#intent-entity).
870
+ # @param [Fixnum] page_size
871
+ # Optional. The maximum number of items to return in a single page. By default
872
+ # 100 and at most 1000.
873
+ # @param [String] page_token
874
+ # Optional. The next_page_token value returned from a previous list request.
875
+ # @param [String] fields
876
+ # Selector specifying which fields to include in a partial response.
877
+ # @param [String] quota_user
878
+ # Available to use for quota purposes for server-side applications. Can be any
879
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
880
+ # @param [Google::Apis::RequestOptions] options
881
+ # Request-specific options
882
+ #
883
+ # @yield [result, err] Result & error if block supplied
884
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse] parsed result object
885
+ # @yieldparam err [StandardError] error object if request failed
886
+ #
887
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse]
888
+ #
889
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
890
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
891
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
892
+ 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)
893
+ command = make_simple_command(:get, 'v2beta1/{+parent}/intents', options)
894
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse::Representation
895
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse
896
+ command.params['parent'] = parent unless parent.nil?
897
+ command.query['intentView'] = intent_view unless intent_view.nil?
898
+ command.query['languageCode'] = language_code unless language_code.nil?
899
+ command.query['pageSize'] = page_size unless page_size.nil?
900
+ command.query['pageToken'] = page_token unless page_token.nil?
901
+ command.query['fields'] = fields unless fields.nil?
902
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
903
+ execute_or_queue_command(command, &block)
904
+ end
905
+
860
906
  # Deletes all active contexts in the specified session.
861
907
  # @param [String] parent
862
908
  # Required. The name of the session to delete all contexts from. Supported
@@ -905,12 +951,13 @@ module Google
905
951
  # projects//agent/environments//users//sessions/`, - `projects//locations//agent/
906
952
  # environments//users//sessions/`, If `Location ID` is not specified we assume
907
953
  # default 'us' location. If `Environment ID` is not specified, we assume default
908
- # 'draft' environment. If `User ID` is not specified, we are using "-". It's up
909
- # to the API caller to choose an appropriate `Session ID` and `User Id`. They
910
- # can be a random number or some type of user and session identifiers (
911
- # preferably hashed). The length of the `Session ID` and `User ID` must not
912
- # exceed 36 characters. For more information, see the [API interactions guide](
913
- # https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
954
+ # 'draft' environment (`Environment ID` might be referred to as environment name
955
+ # at some places). If `User ID` is not specified, we are using "-". It's up to
956
+ # the API caller to choose an appropriate `Session ID` and `User Id`. They can
957
+ # be a random number or some type of user and session identifiers (preferably
958
+ # hashed). The length of the `Session ID` and `User ID` must not exceed 36
959
+ # characters. For more information, see the [API interactions guide](https://
960
+ # cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
914
961
  # versions for production traffic. See [Versions and environments](https://cloud.
915
962
  # google.com/dialogflow/es/docs/agents-versions).
916
963
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
@@ -2108,12 +2155,13 @@ module Google
2108
2155
  # projects//agent/environments//users//sessions/`, - `projects//locations//agent/
2109
2156
  # environments//users//sessions/`, If `Location ID` is not specified we assume
2110
2157
  # default 'us' location. If `Environment ID` is not specified, we assume default
2111
- # 'draft' environment. If `User ID` is not specified, we are using "-". It's up
2112
- # to the API caller to choose an appropriate `Session ID` and `User Id`. They
2113
- # can be a random number or some type of user and session identifiers (
2114
- # preferably hashed). The length of the `Session ID` and `User ID` must not
2115
- # exceed 36 characters. For more information, see the [API interactions guide](
2116
- # https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
2158
+ # 'draft' environment (`Environment ID` might be referred to as environment name
2159
+ # at some places). If `User ID` is not specified, we are using "-". It's up to
2160
+ # the API caller to choose an appropriate `Session ID` and `User Id`. They can
2161
+ # be a random number or some type of user and session identifiers (preferably
2162
+ # hashed). The length of the `Session ID` and `User ID` must not exceed 36
2163
+ # characters. For more information, see the [API interactions guide](https://
2164
+ # cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
2117
2165
  # versions for production traffic. See [Versions and environments](https://cloud.
2118
2166
  # google.com/dialogflow/es/docs/agents-versions).
2119
2167
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
@@ -3842,12 +3890,13 @@ module Google
3842
3890
  # projects//agent/environments//users//sessions/`, - `projects//locations//agent/
3843
3891
  # environments//users//sessions/`, If `Location ID` is not specified we assume
3844
3892
  # default 'us' location. If `Environment ID` is not specified, we assume default
3845
- # 'draft' environment. If `User ID` is not specified, we are using "-". It's up
3846
- # to the API caller to choose an appropriate `Session ID` and `User Id`. They
3847
- # can be a random number or some type of user and session identifiers (
3848
- # preferably hashed). The length of the `Session ID` and `User ID` must not
3849
- # exceed 36 characters. For more information, see the [API interactions guide](
3850
- # https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
3893
+ # 'draft' environment (`Environment ID` might be referred to as environment name
3894
+ # at some places). If `User ID` is not specified, we are using "-". It's up to
3895
+ # the API caller to choose an appropriate `Session ID` and `User Id`. They can
3896
+ # be a random number or some type of user and session identifiers (preferably
3897
+ # hashed). The length of the `Session ID` and `User ID` must not exceed 36
3898
+ # characters. For more information, see the [API interactions guide](https://
3899
+ # cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
3851
3900
  # versions for production traffic. See [Versions and environments](https://cloud.
3852
3901
  # google.com/dialogflow/es/docs/agents-versions).
3853
3902
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
@@ -4609,12 +4658,13 @@ module Google
4609
4658
  # projects//agent/environments//users//sessions/`, - `projects//locations//agent/
4610
4659
  # environments//users//sessions/`, If `Location ID` is not specified we assume
4611
4660
  # default 'us' location. If `Environment ID` is not specified, we assume default
4612
- # 'draft' environment. If `User ID` is not specified, we are using "-". It's up
4613
- # to the API caller to choose an appropriate `Session ID` and `User Id`. They
4614
- # can be a random number or some type of user and session identifiers (
4615
- # preferably hashed). The length of the `Session ID` and `User ID` must not
4616
- # exceed 36 characters. For more information, see the [API interactions guide](
4617
- # https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
4661
+ # 'draft' environment (`Environment ID` might be referred to as environment name
4662
+ # at some places). If `User ID` is not specified, we are using "-". It's up to
4663
+ # the API caller to choose an appropriate `Session ID` and `User Id`. They can
4664
+ # be a random number or some type of user and session identifiers (preferably
4665
+ # hashed). The length of the `Session ID` and `User ID` must not exceed 36
4666
+ # characters. For more information, see the [API interactions guide](https://
4667
+ # cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent
4618
4668
  # versions for production traffic. See [Versions and environments](https://cloud.
4619
4669
  # google.com/dialogflow/es/docs/agents-versions).
4620
4670
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
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.1.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-01-08 00:00:00.000000000 Z
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_v2beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.6.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: []
@@ -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.4'
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.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Dialogflow API V2beta1