google-apis-dialogflow_v3beta1 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: ad4f325808bfbc99a86a0eac3411f7c2be19566a2b67db8bff7b7ee165740ddb
4
- data.tar.gz: c07a36c2fc2cd7e75ef6d37184e6843c2532acafd6966993e69d96220277feda
3
+ metadata.gz: 8584cf25824816e2fcab1b05f4ab01e445b4c1c4abe96d41d7337f9236c33a26
4
+ data.tar.gz: d05014e43e479bc8704573acf94559dd32ad8608606673df14113279d7dbf0f7
5
5
  SHA512:
6
- metadata.gz: b3c2a996a25ab150f431db5954c19409e6ffdb928cfd4126be70614093692d08a8ee5be040adeac4f45fef2980acc5920321952c58b695b84774021c9d9d8d61
7
- data.tar.gz: 4d186f1cd1d6285f890a52a9e0feadd30015c8be3732993950cdd19c2fa824aabbe28084af272fd8e2f67208c9e2c6cd9f7e34400227bdf37b0940833115ffaf
6
+ metadata.gz: 31c0de3d10de5540afc05919076ff144647e8af66ff57ebd4d435baa60274218b08d9761c9f0f90c620579beb7e95ec7f568e89fb9c1f65454f81085699e4f52
7
+ data.tar.gz: c808c62494663450d260425b5454b622e1f90fd3e91b4da507ed3b2004d1bc4a6e147207af5503d7ff725580249ef7bcf8d28d50a74918edb8aa0882e256409a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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
@@ -2345,7 +2396,7 @@ module Google
2345
2396
  attr_accessor :avatar_uri
2346
2397
 
2347
2398
  # Immutable. The default language of the agent as a language tag. See [Language
2348
- # Support](https://cloud.google.com/dialogflow/docs/reference/language) for a
2399
+ # Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a
2349
2400
  # list of the currently supported language codes. This field cannot be set by
2350
2401
  # the Agents.UpdateAgent method.
2351
2402
  # Corresponds to the JSON property `defaultLanguageCode`
@@ -2382,6 +2433,12 @@ module Google
2382
2433
  # @return [String]
2383
2434
  attr_accessor :name
2384
2435
 
2436
+ # Name of the SecuritySettings reference for the agent. Format: `projects//
2437
+ # locations//securitySettings/`.
2438
+ # Corresponds to the JSON property `securitySettings`
2439
+ # @return [String]
2440
+ attr_accessor :security_settings
2441
+
2385
2442
  # Settings related to speech recognition.
2386
2443
  # Corresponds to the JSON property `speechToTextSettings`
2387
2444
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings]
@@ -2413,6 +2470,7 @@ module Google
2413
2470
  @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
2414
2471
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
2415
2472
  @name = args[:name] if args.key?(:name)
2473
+ @security_settings = args[:security_settings] if args.key?(:security_settings)
2416
2474
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
2417
2475
  @start_flow = args[:start_flow] if args.key?(:start_flow)
2418
2476
  @time_zone = args[:time_zone] if args.key?(:time_zone)
@@ -2576,8 +2634,16 @@ module Google
2576
2634
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage]
2577
2635
  attr_accessor :intent_coverage
2578
2636
 
2579
- # Transition coverage represents the percentage of all possible transitions
2580
- # present within any of a parent's test cases.
2637
+ # Transition route group coverage represents the percentage of all possible
2638
+ # transition routes present within any of a parent's test cases. The results are
2639
+ # grouped by the transition route group.
2640
+ # Corresponds to the JSON property `routeGroupCoverage`
2641
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage]
2642
+ attr_accessor :route_group_coverage
2643
+
2644
+ # Transition coverage represents the percentage of all possible page transitions
2645
+ # (page-level transition routes and event handlers, excluding transition route
2646
+ # groups) present within any of a parent's test cases.
2581
2647
  # Corresponds to the JSON property `transitionCoverage`
2582
2648
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage]
2583
2649
  attr_accessor :transition_coverage
@@ -2590,6 +2656,7 @@ module Google
2590
2656
  def update!(**args)
2591
2657
  @agent = args[:agent] if args.key?(:agent)
2592
2658
  @intent_coverage = args[:intent_coverage] if args.key?(:intent_coverage)
2659
+ @route_group_coverage = args[:route_group_coverage] if args.key?(:route_group_coverage)
2593
2660
  @transition_coverage = args[:transition_coverage] if args.key?(:transition_coverage)
2594
2661
  end
2595
2662
  end
@@ -2957,6 +3024,14 @@ module Google
2957
3024
  # @return [String]
2958
3025
  attr_accessor :name
2959
3026
 
3027
+ # Indicates whether parameters of the entity type should be redacted in log. If
3028
+ # redaction is enabled, page parameters and intent parameters referring to the
3029
+ # entity type will be replaced by parameter name during logging.
3030
+ # Corresponds to the JSON property `redact`
3031
+ # @return [Boolean]
3032
+ attr_accessor :redact
3033
+ alias_method :redact?, :redact
3034
+
2960
3035
  def initialize(**args)
2961
3036
  update!(**args)
2962
3037
  end
@@ -2970,10 +3045,11 @@ module Google
2970
3045
  @excluded_phrases = args[:excluded_phrases] if args.key?(:excluded_phrases)
2971
3046
  @kind = args[:kind] if args.key?(:kind)
2972
3047
  @name = args[:name] if args.key?(:name)
3048
+ @redact = args[:redact] if args.key?(:redact)
2973
3049
  end
2974
3050
  end
2975
3051
 
2976
- # An **entity entry** for an associated entity type. Next Id = 8
3052
+ # An **entity entry** for an associated entity type.
2977
3053
  class GoogleCloudDialogflowCxV3beta1EntityTypeEntity
2978
3054
  include Google::Apis::Core::Hashable
2979
3055
 
@@ -3172,7 +3248,7 @@ module Google
3172
3248
  end
3173
3249
  end
3174
3250
 
3175
- # Represents an experiment in an environment. Next ID: 13
3251
+ # Represents an experiment in an environment.
3176
3252
  class GoogleCloudDialogflowCxV3beta1Experiment
3177
3253
  include Google::Apis::Core::Hashable
3178
3254
 
@@ -3181,7 +3257,7 @@ module Google
3181
3257
  # @return [String]
3182
3258
  attr_accessor :create_time
3183
3259
 
3184
- # Definition of the experiment. Next ID: 3
3260
+ # Definition of the experiment.
3185
3261
  # Corresponds to the JSON property `definition`
3186
3262
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentDefinition]
3187
3263
  attr_accessor :definition
@@ -3262,7 +3338,7 @@ module Google
3262
3338
  end
3263
3339
  end
3264
3340
 
3265
- # Definition of the experiment. Next ID: 3
3341
+ # Definition of the experiment.
3266
3342
  class GoogleCloudDialogflowCxV3beta1ExperimentDefinition
3267
3343
  include Google::Apis::Core::Hashable
3268
3344
 
@@ -3367,12 +3443,24 @@ module Google
3367
3443
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval]
3368
3444
  attr_accessor :confidence_interval
3369
3445
 
3446
+ # Count value of a metric.
3447
+ # Corresponds to the JSON property `count`
3448
+ # @return [Float]
3449
+ attr_accessor :count
3450
+
3451
+ # Count-based metric type. Only one of type or count_type is specified in each
3452
+ # Metric.
3453
+ # Corresponds to the JSON property `countType`
3454
+ # @return [String]
3455
+ attr_accessor :count_type
3456
+
3370
3457
  # Ratio value of a metric.
3371
3458
  # Corresponds to the JSON property `ratio`
3372
3459
  # @return [Float]
3373
3460
  attr_accessor :ratio
3374
3461
 
3375
- # The type of the metric.
3462
+ # Ratio-based metric type. Only one of type or count_type is specified in each
3463
+ # Metric.
3376
3464
  # Corresponds to the JSON property `type`
3377
3465
  # @return [String]
3378
3466
  attr_accessor :type
@@ -3384,6 +3472,8 @@ module Google
3384
3472
  # Update properties of this object
3385
3473
  def update!(**args)
3386
3474
  @confidence_interval = args[:confidence_interval] if args.key?(:confidence_interval)
3475
+ @count = args[:count] if args.key?(:count)
3476
+ @count_type = args[:count_type] if args.key?(:count_type)
3387
3477
  @ratio = args[:ratio] if args.key?(:ratio)
3388
3478
  @type = args[:type] if args.key?(:type)
3389
3479
  end
@@ -3710,9 +3800,10 @@ module Google
3710
3800
  attr_accessor :is_list
3711
3801
  alias_method :is_list?, :is_list
3712
3802
 
3713
- # Indicates whether the parameter content is logged in text and audio. If it is
3714
- # set to true, the parameter content will be replaced to parameter name in both
3715
- # request and response. The default value is false.
3803
+ # Indicates whether the parameter content should be redacted in log. If
3804
+ # redaction is enabled, the parameter content will be replaced by parameter name
3805
+ # during logging. Note: the parameter content is subject to redaction if either
3806
+ # parameter level redaction or entity type level redaction is enabled.
3716
3807
  # Corresponds to the JSON property `redact`
3717
3808
  # @return [Boolean]
3718
3809
  attr_accessor :redact
@@ -4411,9 +4502,10 @@ module Google
4411
4502
  attr_accessor :is_list
4412
4503
  alias_method :is_list?, :is_list
4413
4504
 
4414
- # Indicates whether the parameter content is logged in text and audio. If it is
4415
- # set to true, the parameter content will be replaced to parameter id in both
4416
- # request and response. The default value is false.
4505
+ # Indicates whether the parameter content should be redacted in log. If
4506
+ # redaction is enabled, the parameter content will be replaced by parameter name
4507
+ # during logging. Note: the parameter content is subject to redaction if either
4508
+ # parameter level redaction or entity type level redaction is enabled.
4417
4509
  # Corresponds to the JSON property `redact`
4418
4510
  # @return [Boolean]
4419
4511
  attr_accessor :redact
@@ -5228,9 +5320,12 @@ module Google
5228
5320
  # conversation to another page in the same flow, or another flow. When we are in
5229
5321
  # a certain page, the TransitionRoutes are evalauted in the following order: *
5230
5322
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
5231
- # defined in the transition route groups. * TransitionRoutes defined in flow
5232
- # with intent specified. * TransitionRoutes defined in the page with only
5233
- # condition specified.
5323
+ # defined in the transition route groups with intent specified. *
5324
+ # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
5325
+ # defined in the transition route groups with intent specified. *
5326
+ # TransitionRoutes defined in the page with only condition specified. *
5327
+ # TransitionRoutes defined in the transition route groups with only condition
5328
+ # specified.
5234
5329
  # Corresponds to the JSON property `transitionRoutes`
5235
5330
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute>]
5236
5331
  attr_accessor :transition_routes
@@ -5381,7 +5476,7 @@ module Google
5381
5476
  attr_accessor :intent
5382
5477
 
5383
5478
  # Required. The language of the input. See [Language Support](https://cloud.
5384
- # google.com/dialogflow/docs/reference/language) for a list of the currently
5479
+ # google.com/dialogflow/cx/docs/reference/language) for a list of the currently
5385
5480
  # supported language codes. Note that queries in the same session do not
5386
5481
  # necessarily need to specify the same language.
5387
5482
  # Corresponds to the JSON property `languageCode`
@@ -5419,6 +5514,12 @@ module Google
5419
5514
  attr_accessor :analyze_query_text_sentiment
5420
5515
  alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
5421
5516
 
5517
+ # Whether to disable webhook calls for this request.
5518
+ # Corresponds to the JSON property `disableWebhook`
5519
+ # @return [Boolean]
5520
+ attr_accessor :disable_webhook
5521
+ alias_method :disable_webhook?, :disable_webhook
5522
+
5422
5523
  # An object that represents a latitude/longitude pair. This is expressed as a
5423
5524
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
5424
5525
  # specified otherwise, this must conform to the WGS84 standard. Values must be
@@ -5480,6 +5581,7 @@ module Google
5480
5581
  # Update properties of this object
5481
5582
  def update!(**args)
5482
5583
  @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
5584
+ @disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
5483
5585
  @geo_location = args[:geo_location] if args.key?(:geo_location)
5484
5586
  @parameters = args[:parameters] if args.key?(:parameters)
5485
5587
  @payload = args[:payload] if args.key?(:payload)
@@ -5535,7 +5637,7 @@ module Google
5535
5637
  attr_accessor :intent_detection_confidence
5536
5638
 
5537
5639
  # The language that was triggered during intent detection. See [Language Support]
5538
- # (https://cloud.google.com/dialogflow/docs/reference/language) for a list of
5640
+ # (https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of
5539
5641
  # the currently supported language codes.
5540
5642
  # Corresponds to the JSON property `languageCode`
5541
5643
  # @return [String]
@@ -6032,12 +6134,6 @@ module Google
6032
6134
  # @return [String]
6033
6135
  attr_accessor :environment
6034
6136
 
6035
- # Required. Format of test case name to run: `projects//locations/ /agents//
6036
- # testCases/`.
6037
- # Corresponds to the JSON property `name`
6038
- # @return [String]
6039
- attr_accessor :name
6040
-
6041
6137
  def initialize(**args)
6042
6138
  update!(**args)
6043
6139
  end
@@ -6045,7 +6141,6 @@ module Google
6045
6141
  # Update properties of this object
6046
6142
  def update!(**args)
6047
6143
  @environment = args[:environment] if args.key?(:environment)
6048
- @name = args[:name] if args.key?(:name)
6049
6144
  end
6050
6145
  end
6051
6146
 
@@ -6220,7 +6315,8 @@ module Google
6220
6315
 
6221
6316
  # Always present for WebhookRequest. Ignored for WebhookResponse. The unique
6222
6317
  # identifier of the session. This field can be used by the webhook to identify a
6223
- # user. Format: `projects//locations//agents//sessions/`.
6318
+ # session. Format: `projects//locations//agents//sessions/` or `projects//
6319
+ # locations//agents//environments//sessions/` if environment is specified.
6224
6320
  # Corresponds to the JSON property `session`
6225
6321
  # @return [String]
6226
6322
  attr_accessor :session
@@ -6447,8 +6543,8 @@ module Google
6447
6543
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationTurn>]
6448
6544
  attr_accessor :conversation_turns
6449
6545
 
6450
- # Optional. Environment where the test was run. If not set, it indicates the
6451
- # draft environment.
6546
+ # Environment where the test was run. If not set, it indicates the draft
6547
+ # environment.
6452
6548
  # Corresponds to the JSON property `environment`
6453
6549
  # @return [String]
6454
6550
  attr_accessor :environment
@@ -6603,8 +6699,9 @@ module Google
6603
6699
  end
6604
6700
  end
6605
6701
 
6606
- # Transition coverage represents the percentage of all possible transitions
6607
- # present within any of a parent's test cases.
6702
+ # Transition coverage represents the percentage of all possible page transitions
6703
+ # (page-level transition routes and event handlers, excluding transition route
6704
+ # groups) present within any of a parent's test cases.
6608
6705
  class GoogleCloudDialogflowCxV3beta1TransitionCoverage
6609
6706
  include Google::Apis::Core::Hashable
6610
6707
 
@@ -6629,7 +6726,7 @@ module Google
6629
6726
  end
6630
6727
  end
6631
6728
 
6632
- # A transition in the agent's graph.
6729
+ # A transition in a page.
6633
6730
  class GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition
6634
6731
  include Google::Apis::Core::Hashable
6635
6732
 
@@ -6826,9 +6923,7 @@ module Google
6826
6923
  # @return [String]
6827
6924
  attr_accessor :name
6828
6925
 
6829
- # Transition routes associated with the TransitionRouteGroup. Duplicate
6830
- # transition routes (i.e. using the same `intent`) are not allowed. Note that
6831
- # the `name` field is not used in the transition route group scope.
6926
+ # Transition routes associated with the TransitionRouteGroup.
6832
6927
  # Corresponds to the JSON property `transitionRoutes`
6833
6928
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute>]
6834
6929
  attr_accessor :transition_routes
@@ -6845,6 +6940,100 @@ module Google
6845
6940
  end
6846
6941
  end
6847
6942
 
6943
+ # Transition route group coverage represents the percentage of all possible
6944
+ # transition routes present within any of a parent's test cases. The results are
6945
+ # grouped by the transition route group.
6946
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
6947
+ include Google::Apis::Core::Hashable
6948
+
6949
+ # The percent of transition routes in all the transition route groups that are
6950
+ # covered.
6951
+ # Corresponds to the JSON property `coverageScore`
6952
+ # @return [Float]
6953
+ attr_accessor :coverage_score
6954
+
6955
+ # Transition route group coverages.
6956
+ # Corresponds to the JSON property `coverages`
6957
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage>]
6958
+ attr_accessor :coverages
6959
+
6960
+ def initialize(**args)
6961
+ update!(**args)
6962
+ end
6963
+
6964
+ # Update properties of this object
6965
+ def update!(**args)
6966
+ @coverage_score = args[:coverage_score] if args.key?(:coverage_score)
6967
+ @coverages = args[:coverages] if args.key?(:coverages)
6968
+ end
6969
+ end
6970
+
6971
+ # Coverage result message for one transition route group.
6972
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
6973
+ include Google::Apis::Core::Hashable
6974
+
6975
+ # The percent of transition routes in the transition route group that are
6976
+ # covered.
6977
+ # Corresponds to the JSON property `coverageScore`
6978
+ # @return [Float]
6979
+ attr_accessor :coverage_score
6980
+
6981
+ # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
6982
+ # a Page.
6983
+ # Corresponds to the JSON property `routeGroup`
6984
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
6985
+ attr_accessor :route_group
6986
+
6987
+ # The list of transition routes and coverage in the transition route group.
6988
+ # Corresponds to the JSON property `transitions`
6989
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition>]
6990
+ attr_accessor :transitions
6991
+
6992
+ def initialize(**args)
6993
+ update!(**args)
6994
+ end
6995
+
6996
+ # Update properties of this object
6997
+ def update!(**args)
6998
+ @coverage_score = args[:coverage_score] if args.key?(:coverage_score)
6999
+ @route_group = args[:route_group] if args.key?(:route_group)
7000
+ @transitions = args[:transitions] if args.key?(:transitions)
7001
+ end
7002
+ end
7003
+
7004
+ # A transition coverage in a transition route group.
7005
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
7006
+ include Google::Apis::Core::Hashable
7007
+
7008
+ # Whether or not the transition route is covered by at least one of the agent's
7009
+ # test cases.
7010
+ # Corresponds to the JSON property `covered`
7011
+ # @return [Boolean]
7012
+ attr_accessor :covered
7013
+ alias_method :covered?, :covered
7014
+
7015
+ # A transition route specifies a intent that can be matched and/or a data
7016
+ # condition that can be evaluated during a session. When a specified transition
7017
+ # is matched, the following actions are taken in order: * If there is a `
7018
+ # trigger_fulfillment` associated with the transition, it will be called. * If
7019
+ # there is a `target_page` associated with the transition, the session will
7020
+ # transition into the specified page. * If there is a `target_flow` associated
7021
+ # with the transition, the session will transition into the specified flow.
7022
+ # Corresponds to the JSON property `transitionRoute`
7023
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute]
7024
+ attr_accessor :transition_route
7025
+
7026
+ def initialize(**args)
7027
+ update!(**args)
7028
+ end
7029
+
7030
+ # Update properties of this object
7031
+ def update!(**args)
7032
+ @covered = args[:covered] if args.key?(:covered)
7033
+ @transition_route = args[:transition_route] if args.key?(:transition_route)
7034
+ end
7035
+ end
7036
+
6848
7037
  # Metadata for UpdateDocument operation.
6849
7038
  class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
6850
7039
  include Google::Apis::Core::Hashable
@@ -7232,6 +7421,11 @@ module Google
7232
7421
  # @return [Hash<String,Object>]
7233
7422
  attr_accessor :payload
7234
7423
 
7424
+ # Represents the result of sentiment analysis.
7425
+ # Corresponds to the JSON property `sentimentAnalysisResult`
7426
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult]
7427
+ attr_accessor :sentiment_analysis_result
7428
+
7235
7429
  # Represents session information communicated to and from the webhook.
7236
7430
  # Corresponds to the JSON property `sessionInfo`
7237
7431
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
@@ -7249,6 +7443,7 @@ module Google
7249
7443
  @messages = args[:messages] if args.key?(:messages)
7250
7444
  @page_info = args[:page_info] if args.key?(:page_info)
7251
7445
  @payload = args[:payload] if args.key?(:payload)
7446
+ @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
7252
7447
  @session_info = args[:session_info] if args.key?(:session_info)
7253
7448
  end
7254
7449
  end
@@ -7276,6 +7471,17 @@ module Google
7276
7471
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
7277
7472
  include Google::Apis::Core::Hashable
7278
7473
 
7474
+ # The confidence of the matched intent. Values range from 0.0 (completely
7475
+ # uncertain) to 1.0 (completely certain).
7476
+ # Corresponds to the JSON property `confidence`
7477
+ # @return [Float]
7478
+ attr_accessor :confidence
7479
+
7480
+ # Always present. The display name of the last matched intent.
7481
+ # Corresponds to the JSON property `displayName`
7482
+ # @return [String]
7483
+ attr_accessor :display_name
7484
+
7279
7485
  # Always present. The unique identifier of the last matched intent. Format: `
7280
7486
  # projects//locations//agents//intents/`.
7281
7487
  # Corresponds to the JSON property `lastMatchedIntent`
@@ -7296,6 +7502,8 @@ module Google
7296
7502
 
7297
7503
  # Update properties of this object
7298
7504
  def update!(**args)
7505
+ @confidence = args[:confidence] if args.key?(:confidence)
7506
+ @display_name = args[:display_name] if args.key?(:display_name)
7299
7507
  @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
7300
7508
  @parameters = args[:parameters] if args.key?(:parameters)
7301
7509
  end
@@ -7327,6 +7535,32 @@ module Google
7327
7535
  end
7328
7536
  end
7329
7537
 
7538
+ # Represents the result of sentiment analysis.
7539
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
7540
+ include Google::Apis::Core::Hashable
7541
+
7542
+ # A non-negative number in the [0, +inf) range, which represents the absolute
7543
+ # magnitude of sentiment, regardless of score (positive or negative).
7544
+ # Corresponds to the JSON property `magnitude`
7545
+ # @return [Float]
7546
+ attr_accessor :magnitude
7547
+
7548
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
7549
+ # Corresponds to the JSON property `score`
7550
+ # @return [Float]
7551
+ attr_accessor :score
7552
+
7553
+ def initialize(**args)
7554
+ update!(**args)
7555
+ end
7556
+
7557
+ # Update properties of this object
7558
+ def update!(**args)
7559
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
7560
+ @score = args[:score] if args.key?(:score)
7561
+ end
7562
+ end
7563
+
7330
7564
  # The response message for a webhook call.
7331
7565
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
7332
7566
  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.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
 
@@ -1174,6 +1180,24 @@ module Google
1174
1180
  include Google::Apis::Core::JsonObjectSupport
1175
1181
  end
1176
1182
 
1183
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
1184
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1185
+
1186
+ include Google::Apis::Core::JsonObjectSupport
1187
+ end
1188
+
1189
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1195
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1177
1201
  class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
1178
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1179
1203
 
@@ -1264,6 +1288,12 @@ module Google
1264
1288
  include Google::Apis::Core::JsonObjectSupport
1265
1289
  end
1266
1290
 
1291
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
1292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1293
+
1294
+ include Google::Apis::Core::JsonObjectSupport
1295
+ end
1296
+
1267
1297
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
1268
1298
  class Representation < Google::Apis::Core::JsonRepresentation; end
1269
1299
 
@@ -2637,6 +2667,8 @@ module Google
2637
2667
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
2638
2668
 
2639
2669
  hash :payload, as: 'payload'
2670
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult::Representation
2671
+
2640
2672
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation
2641
2673
 
2642
2674
  end
@@ -2652,6 +2684,8 @@ module Google
2652
2684
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
2653
2685
  # @private
2654
2686
  class Representation < Google::Apis::Core::JsonRepresentation
2687
+ property :confidence, as: 'confidence'
2688
+ property :display_name, as: 'displayName'
2655
2689
  property :last_matched_intent, as: 'lastMatchedIntent'
2656
2690
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
2657
2691
 
@@ -2666,6 +2700,14 @@ module Google
2666
2700
  end
2667
2701
  end
2668
2702
 
2703
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
2704
+ # @private
2705
+ class Representation < Google::Apis::Core::JsonRepresentation
2706
+ property :magnitude, as: 'magnitude'
2707
+ property :score, as: 'score'
2708
+ end
2709
+ end
2710
+
2669
2711
  class GoogleCloudDialogflowCxV3WebhookResponse
2670
2712
  # @private
2671
2713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2700,6 +2742,7 @@ module Google
2700
2742
  property :enable_spell_correction, as: 'enableSpellCorrection'
2701
2743
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
2702
2744
  property :name, as: 'name'
2745
+ property :security_settings, as: 'securitySettings'
2703
2746
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings::Representation
2704
2747
 
2705
2748
  property :start_flow, as: 'startFlow'
@@ -2762,6 +2805,8 @@ module Google
2762
2805
  property :agent, as: 'agent'
2763
2806
  property :intent_coverage, as: 'intentCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage::Representation
2764
2807
 
2808
+ property :route_group_coverage, as: 'routeGroupCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage::Representation
2809
+
2765
2810
  property :transition_coverage, as: 'transitionCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage::Representation
2766
2811
 
2767
2812
  end
@@ -2872,6 +2917,7 @@ module Google
2872
2917
 
2873
2918
  property :kind, as: 'kind'
2874
2919
  property :name, as: 'name'
2920
+ property :redact, as: 'redact'
2875
2921
  end
2876
2922
  end
2877
2923
 
@@ -2982,6 +3028,8 @@ module Google
2982
3028
  class Representation < Google::Apis::Core::JsonRepresentation
2983
3029
  property :confidence_interval, as: 'confidenceInterval', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval::Representation
2984
3030
 
3031
+ property :count, as: 'count'
3032
+ property :count_type, as: 'countType'
2985
3033
  property :ratio, as: 'ratio'
2986
3034
  property :type, as: 'type'
2987
3035
  end
@@ -3556,6 +3604,7 @@ module Google
3556
3604
  # @private
3557
3605
  class Representation < Google::Apis::Core::JsonRepresentation
3558
3606
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
3607
+ property :disable_webhook, as: 'disableWebhook'
3559
3608
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng::Representation
3560
3609
 
3561
3610
  hash :parameters, as: 'parameters'
@@ -3711,7 +3760,6 @@ module Google
3711
3760
  # @private
3712
3761
  class Representation < Google::Apis::Core::JsonRepresentation
3713
3762
  property :environment, as: 'environment'
3714
- property :name, as: 'name'
3715
3763
  end
3716
3764
  end
3717
3765
 
@@ -3929,6 +3977,35 @@ module Google
3929
3977
  end
3930
3978
  end
3931
3979
 
3980
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
3981
+ # @private
3982
+ class Representation < Google::Apis::Core::JsonRepresentation
3983
+ property :coverage_score, as: 'coverageScore'
3984
+ collection :coverages, as: 'coverages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage::Representation
3985
+
3986
+ end
3987
+ end
3988
+
3989
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
3990
+ # @private
3991
+ class Representation < Google::Apis::Core::JsonRepresentation
3992
+ property :coverage_score, as: 'coverageScore'
3993
+ property :route_group, as: 'routeGroup', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
3994
+
3995
+ collection :transitions, as: 'transitions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition::Representation
3996
+
3997
+ end
3998
+ end
3999
+
4000
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
4001
+ # @private
4002
+ class Representation < Google::Apis::Core::JsonRepresentation
4003
+ property :covered, as: 'covered'
4004
+ property :transition_route, as: 'transitionRoute', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
4005
+
4006
+ end
4007
+ end
4008
+
3932
4009
  class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
3933
4010
  # @private
3934
4011
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4045,6 +4122,8 @@ module Google
4045
4122
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
4046
4123
 
4047
4124
  hash :payload, as: 'payload'
4125
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
4126
+
4048
4127
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
4049
4128
 
4050
4129
  end
@@ -4060,6 +4139,8 @@ module Google
4060
4139
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
4061
4140
  # @private
4062
4141
  class Representation < Google::Apis::Core::JsonRepresentation
4142
+ property :confidence, as: 'confidence'
4143
+ property :display_name, as: 'displayName'
4063
4144
  property :last_matched_intent, as: 'lastMatchedIntent'
4064
4145
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
4065
4146
 
@@ -4074,6 +4155,14 @@ module Google
4074
4155
  end
4075
4156
  end
4076
4157
 
4158
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
4159
+ # @private
4160
+ class Representation < Google::Apis::Core::JsonRepresentation
4161
+ property :magnitude, as: 'magnitude'
4162
+ property :score, as: 'score'
4163
+ end
4164
+ end
4165
+
4077
4166
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
4078
4167
  # @private
4079
4168
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -369,7 +369,7 @@ module Google
369
369
  # The language of the following fields in `entity_type`: * `EntityType.entities.
370
370
  # value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value`
371
371
  # If not specified, the agent's default language is used. [Many languages](https:
372
- # //cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
372
+ # //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
373
373
  # languages must be enabled in the agent before they can be used.
374
374
  # @param [String] fields
375
375
  # Selector specifying which fields to include in a partial response.
@@ -449,8 +449,8 @@ module Google
449
449
  # language dependent: * `EntityType.entities.value` * `EntityType.entities.
450
450
  # synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's
451
451
  # default language is used. [Many languages](https://cloud.google.com/dialogflow/
452
- # docs/reference/language) are supported. Note: languages must be enabled in the
453
- # agent before they can be used.
452
+ # cx/docs/reference/language) are supported. Note: languages must be enabled in
453
+ # the agent before they can be used.
454
454
  # @param [String] fields
455
455
  # Selector specifying which fields to include in a partial response.
456
456
  # @param [String] quota_user
@@ -487,7 +487,7 @@ module Google
487
487
  # The language to list entity types for. The following fields are language
488
488
  # dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `
489
489
  # EntityType.excluded_phrases.value` If not specified, the agent's default
490
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
490
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
491
491
  # reference/language) are supported. Note: languages must be enabled in the
492
492
  # agent before they can be used.
493
493
  # @param [Fixnum] page_size
@@ -534,7 +534,7 @@ module Google
534
534
  # The language of the following fields in `entity_type`: * `EntityType.entities.
535
535
  # value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value`
536
536
  # If not specified, the agent's default language is used. [Many languages](https:
537
- # //cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
537
+ # //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
538
538
  # languages must be enabled in the agent before they can be used.
539
539
  # @param [String] update_mask
540
540
  # The mask to control which fields get updated.
@@ -1338,7 +1338,7 @@ module Google
1338
1338
  # The language of the following fields in `flow`: * `Flow.event_handlers.
1339
1339
  # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
1340
1340
  # messages` If not specified, the agent's default language is used. [Many
1341
- # languages](https://cloud.google.com/dialogflow/docs/reference/language) are
1341
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
1342
1342
  # supported. Note: languages must be enabled in the agent before they can be
1343
1343
  # used.
1344
1344
  # @param [String] fields
@@ -1419,8 +1419,8 @@ module Google
1419
1419
  # dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.
1420
1420
  # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1421
1421
  # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1422
- # docs/reference/language) are supported. Note: languages must be enabled in the
1423
- # agent before they can be used.
1422
+ # cx/docs/reference/language) are supported. Note: languages must be enabled in
1423
+ # the agent before they can be used.
1424
1424
  # @param [String] fields
1425
1425
  # Selector specifying which fields to include in a partial response.
1426
1426
  # @param [String] quota_user
@@ -1492,9 +1492,9 @@ module Google
1492
1492
  # The language to list flows for. The following fields are language dependent: *
1493
1493
  # `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.
1494
1494
  # trigger_fulfillment.messages` If not specified, the agent's default language
1495
- # is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/
1496
- # language) are supported. Note: languages must be enabled in the agent before
1497
- # they can be used.
1495
+ # is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1496
+ # reference/language) are supported. Note: languages must be enabled in the
1497
+ # agent before they can be used.
1498
1498
  # @param [Fixnum] page_size
1499
1499
  # The maximum number of items to return in a single page. By default 100 and at
1500
1500
  # most 1000.
@@ -1539,7 +1539,7 @@ module Google
1539
1539
  # The language of the following fields in `flow`: * `Flow.event_handlers.
1540
1540
  # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
1541
1541
  # messages` If not specified, the agent's default language is used. [Many
1542
- # languages](https://cloud.google.com/dialogflow/docs/reference/language) are
1542
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
1543
1543
  # supported. Note: languages must be enabled in the agent before they can be
1544
1544
  # used.
1545
1545
  # @param [String] update_mask
@@ -1657,7 +1657,7 @@ module Google
1657
1657
  # messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
1658
1658
  # transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
1659
1659
  # specified, the agent's default language is used. [Many languages](https://
1660
- # cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
1660
+ # cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
1661
1661
  # languages must be enabled in the agent before they can be used.
1662
1662
  # @param [String] fields
1663
1663
  # Selector specifying which fields to include in a partial response.
@@ -1740,8 +1740,8 @@ module Google
1740
1740
  # trigger_fulfillment.messages` * `Page.transition_route_groups.
1741
1741
  # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1742
1742
  # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1743
- # docs/reference/language) are supported. Note: languages must be enabled in the
1744
- # agent before they can be used.
1743
+ # cx/docs/reference/language) are supported. Note: languages must be enabled in
1744
+ # the agent before they can be used.
1745
1745
  # @param [String] fields
1746
1746
  # Selector specifying which fields to include in a partial response.
1747
1747
  # @param [String] quota_user
@@ -1782,8 +1782,8 @@ module Google
1782
1782
  # trigger_fulfillment.messages` * `Page.transition_route_groups.
1783
1783
  # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1784
1784
  # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1785
- # docs/reference/language) are supported. Note: languages must be enabled in the
1786
- # agent before they can be used.
1785
+ # cx/docs/reference/language) are supported. Note: languages must be enabled in
1786
+ # the agent before they can be used.
1787
1787
  # @param [Fixnum] page_size
1788
1788
  # The maximum number of items to return in a single page. By default 100 and at
1789
1789
  # most 1000.
@@ -1832,7 +1832,7 @@ module Google
1832
1832
  # messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
1833
1833
  # transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
1834
1834
  # specified, the agent's default language is used. [Many languages](https://
1835
- # cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
1835
+ # cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
1836
1836
  # languages must be enabled in the agent before they can be used.
1837
1837
  # @param [String] update_mask
1838
1838
  # The mask to control which fields get updated. If the mask is not present, all
@@ -1876,7 +1876,7 @@ module Google
1876
1876
  # @param [String] language_code
1877
1877
  # The language to list transition route groups for. The field `messages` in
1878
1878
  # TransitionRoute is language dependent. If not specified, the agent's default
1879
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
1879
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1880
1880
  # reference/language) are supported. Note: languages must be enabled in the
1881
1881
  # agent before they can be used.
1882
1882
  # @param [String] fields
@@ -1954,7 +1954,7 @@ module Google
1954
1954
  # @param [String] language_code
1955
1955
  # The language to list transition route groups for. The field `messages` in
1956
1956
  # TransitionRoute is language dependent. If not specified, the agent's default
1957
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
1957
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1958
1958
  # reference/language) are supported. Note: languages must be enabled in the
1959
1959
  # agent before they can be used.
1960
1960
  # @param [String] fields
@@ -1992,7 +1992,7 @@ module Google
1992
1992
  # @param [String] language_code
1993
1993
  # The language to list transition route groups for. The field `messages` in
1994
1994
  # TransitionRoute is language dependent. If not specified, the agent's default
1995
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
1995
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1996
1996
  # reference/language) are supported. Note: languages must be enabled in the
1997
1997
  # agent before they can be used.
1998
1998
  # @param [Fixnum] page_size
@@ -2039,7 +2039,7 @@ module Google
2039
2039
  # @param [String] language_code
2040
2040
  # The language to list transition route groups for. The field `messages` in
2041
2041
  # TransitionRoute is language dependent. If not specified, the agent's default
2042
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
2042
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
2043
2043
  # reference/language) are supported. Note: languages must be enabled in the
2044
2044
  # agent before they can be used.
2045
2045
  # @param [String] update_mask
@@ -2289,7 +2289,7 @@ module Google
2289
2289
  # @param [String] language_code
2290
2290
  # The language of the following fields in `intent`: * `Intent.training_phrases.
2291
2291
  # parts.text` If not specified, the agent's default language is used. [Many
2292
- # languages](https://cloud.google.com/dialogflow/docs/reference/language) are
2292
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
2293
2293
  # supported. Note: languages must be enabled in the agent before they can be
2294
2294
  # used.
2295
2295
  # @param [String] fields
@@ -2361,7 +2361,7 @@ module Google
2361
2361
  # The language to retrieve the intent for. The following fields are language
2362
2362
  # dependent: * `Intent.training_phrases.parts.text` If not specified, the agent'
2363
2363
  # s default language is used. [Many languages](https://cloud.google.com/
2364
- # dialogflow/docs/reference/language) are supported. Note: languages must be
2364
+ # dialogflow/cx/docs/reference/language) are supported. Note: languages must be
2365
2365
  # enabled in the agent before they can be used.
2366
2366
  # @param [String] fields
2367
2367
  # Selector specifying which fields to include in a partial response.
@@ -2400,7 +2400,7 @@ module Google
2400
2400
  # @param [String] language_code
2401
2401
  # The language to list intents for. The following fields are language dependent:
2402
2402
  # * `Intent.training_phrases.parts.text` If not specified, the agent's default
2403
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
2403
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
2404
2404
  # reference/language) are supported. Note: languages must be enabled in the
2405
2405
  # agent before they can be used.
2406
2406
  # @param [Fixnum] page_size
@@ -2448,7 +2448,7 @@ module Google
2448
2448
  # @param [String] language_code
2449
2449
  # The language of the following fields in `intent`: * `Intent.training_phrases.
2450
2450
  # parts.text` If not specified, the agent's default language is used. [Many
2451
- # languages](https://cloud.google.com/dialogflow/docs/reference/language) are
2451
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
2452
2452
  # supported. Note: languages must be enabled in the agent before they can be
2453
2453
  # used.
2454
2454
  # @param [String] update_mask
@@ -3081,9 +3081,8 @@ module Google
3081
3081
  # testCases/`.
3082
3082
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCase] google_cloud_dialogflow_cx_v3beta1_test_case_object
3083
3083
  # @param [String] update_mask
3084
- # Required. The mask to specify which fields should be updated. Only a test case'
3085
- # s metadata and replayed_conversation_turns may be updated. The original
3086
- # test_case_conversation_turns may not be updated.
3084
+ # Required. The mask to specify which fields should be updated. The `
3085
+ # creationTime` and `lastTestResult` cannot be updated.
3087
3086
  # @param [String] fields
3088
3087
  # Selector specifying which fields to include in a partial response.
3089
3088
  # @param [String] quota_user
@@ -3115,9 +3114,9 @@ module Google
3115
3114
  end
3116
3115
 
3117
3116
  # Kicks off a test case run.
3118
- # @param [String] projects_id
3119
- # @param [String] locations_id
3120
- # @param [String] agents_id
3117
+ # @param [String] name
3118
+ # Required. Format of test case name to run: `projects//locations/ /agents//
3119
+ # testCases/`.
3121
3120
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseRequest] google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object
3122
3121
  # @param [String] fields
3123
3122
  # Selector specifying which fields to include in a partial response.
@@ -3136,15 +3135,13 @@ module Google
3136
3135
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3137
3136
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3138
3137
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3139
- def run_project_location_agent_test_case(projects_id, locations_id, agents_id, google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3140
- command = make_simple_command(:post, 'v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run', options)
3138
+ def run_project_location_agent_test_case(name, google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3139
+ command = make_simple_command(:post, 'v3beta1/{+name}:run', options)
3141
3140
  command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseRequest::Representation
3142
3141
  command.request_object = google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object
3143
3142
  command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
3144
3143
  command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
3145
- command.params['projectsId'] = projects_id unless projects_id.nil?
3146
- command.params['locationsId'] = locations_id unless locations_id.nil?
3147
- command.params['agentsId'] = agents_id unless agents_id.nil?
3144
+ command.params['name'] = name unless name.nil?
3148
3145
  command.query['fields'] = fields unless fields.nil?
3149
3146
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3150
3147
  execute_or_queue_command(command, &block)
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.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_v3beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.6.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: []
@@ -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 V3beta1