google-apis-dialogflow_v2 0.12.0 → 0.13.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: f3386d93bb66ae4e5592277e5af45166b72afc14890d014a3e57406eb8c059af
4
- data.tar.gz: c665528e6191dbbad744d99f5db5f10747c7b08e6dff585fec5d578cf50ef1a8
3
+ metadata.gz: 10a0f41bc363c3205d608b9146e40dffc7f71def5bbe623245be0c5f7bb97b36
4
+ data.tar.gz: 430b992d80ff6037ad87d5ce4e3e387e22b03251cc4f981d9f1158f7e0d013d9
5
5
  SHA512:
6
- metadata.gz: c804c160aacacd7a9ec03663fc58fb3f0994f8f5fd406f1589ca68e2260909dc82ec48ba6835249df4e378230fd25dcd2eb569a2684e9182a19298bd44121ef2
7
- data.tar.gz: bbf21b92e0335c887b27c147a3c91b576d73f5a948964df1d95a4432f9b87274f5c7509e3c9919cdf48ae8aa53ea878c9d5a74446481fe192b48876c5bbd29d2
6
+ metadata.gz: f0d8aa1f30a62d2fe3b5bdcf4f59f65f84654775c2fb92ef5f50ce2a525da18e398b3ea047ae20030ce93a90de2eae7641c318d1ff82baeb9f98180a36cb8616
7
+ data.tar.gz: 54c32e4a984f99c4a3d37436b0a319399b1f48756febd68522a7bfc4a28bf6a9c867a814f5f696d5e6b8f094d86a158b7063d80a86b086b63e408b49bba9aea4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.13.0 (2021-05-26)
4
+
5
+ * Regenerated from discovery document revision 20210524
6
+
3
7
  ### v0.12.0 (2021-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20210517
@@ -92,6 +92,45 @@ module Google
92
92
  end
93
93
  end
94
94
 
95
+ # Represents a result from running a test case in an agent environment.
96
+ class GoogleCloudDialogflowCxV3ContinuousTestResult
97
+ include Google::Apis::Core::Hashable
98
+
99
+ # The resource name for the continuous test result. Format: `projects//locations/
100
+ # /agents//environments//continuousTestResults/`.
101
+ # Corresponds to the JSON property `name`
102
+ # @return [String]
103
+ attr_accessor :name
104
+
105
+ # The result of this continuous test run, i.e. whether all the tests in this
106
+ # continuous test run pass or not.
107
+ # Corresponds to the JSON property `result`
108
+ # @return [String]
109
+ attr_accessor :result
110
+
111
+ # Time when the continuous testing run starts.
112
+ # Corresponds to the JSON property `runTime`
113
+ # @return [String]
114
+ attr_accessor :run_time
115
+
116
+ # A list of individual test case results names in this continuous test run.
117
+ # Corresponds to the JSON property `testCaseResults`
118
+ # @return [Array<String>]
119
+ attr_accessor :test_case_results
120
+
121
+ def initialize(**args)
122
+ update!(**args)
123
+ end
124
+
125
+ # Update properties of this object
126
+ def update!(**args)
127
+ @name = args[:name] if args.key?(:name)
128
+ @result = args[:result] if args.key?(:result)
129
+ @run_time = args[:run_time] if args.key?(:run_time)
130
+ @test_case_results = args[:test_case_results] if args.key?(:test_case_results)
131
+ end
132
+ end
133
+
95
134
  # One interaction between a human and virtual agent. The human provides some
96
135
  # input and the virtual agent provides a response.
97
136
  class GoogleCloudDialogflowCxV3ConversationTurn
@@ -1770,6 +1809,45 @@ module Google
1770
1809
  end
1771
1810
  end
1772
1811
 
1812
+ # Metadata returned for the Environments.RunContinuousTest long running
1813
+ # operation.
1814
+ class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
1815
+ include Google::Apis::Core::Hashable
1816
+
1817
+ # The test errors.
1818
+ # Corresponds to the JSON property `errors`
1819
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError>]
1820
+ attr_accessor :errors
1821
+
1822
+ def initialize(**args)
1823
+ update!(**args)
1824
+ end
1825
+
1826
+ # Update properties of this object
1827
+ def update!(**args)
1828
+ @errors = args[:errors] if args.key?(:errors)
1829
+ end
1830
+ end
1831
+
1832
+ # The response message for Environments.RunContinuousTest.
1833
+ class GoogleCloudDialogflowCxV3RunContinuousTestResponse
1834
+ include Google::Apis::Core::Hashable
1835
+
1836
+ # Represents a result from running a test case in an agent environment.
1837
+ # Corresponds to the JSON property `continuousTestResult`
1838
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ContinuousTestResult]
1839
+ attr_accessor :continuous_test_result
1840
+
1841
+ def initialize(**args)
1842
+ update!(**args)
1843
+ end
1844
+
1845
+ # Update properties of this object
1846
+ def update!(**args)
1847
+ @continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
1848
+ end
1849
+ end
1850
+
1773
1851
  # Metadata returned for the TestCases.RunTestCase long running operation.
1774
1852
  class GoogleCloudDialogflowCxV3RunTestCaseMetadata
1775
1853
  include Google::Apis::Core::Hashable
@@ -2532,6 +2610,45 @@ module Google
2532
2610
  end
2533
2611
  end
2534
2612
 
2613
+ # Represents a result from running a test case in an agent environment.
2614
+ class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
2615
+ include Google::Apis::Core::Hashable
2616
+
2617
+ # The resource name for the continuous test result. Format: `projects//locations/
2618
+ # /agents//environments//continuousTestResults/`.
2619
+ # Corresponds to the JSON property `name`
2620
+ # @return [String]
2621
+ attr_accessor :name
2622
+
2623
+ # The result of this continuous test run, i.e. whether all the tests in this
2624
+ # continuous test run pass or not.
2625
+ # Corresponds to the JSON property `result`
2626
+ # @return [String]
2627
+ attr_accessor :result
2628
+
2629
+ # Time when the continuous testing run starts.
2630
+ # Corresponds to the JSON property `runTime`
2631
+ # @return [String]
2632
+ attr_accessor :run_time
2633
+
2634
+ # A list of individual test case results names in this continuous test run.
2635
+ # Corresponds to the JSON property `testCaseResults`
2636
+ # @return [Array<String>]
2637
+ attr_accessor :test_case_results
2638
+
2639
+ def initialize(**args)
2640
+ update!(**args)
2641
+ end
2642
+
2643
+ # Update properties of this object
2644
+ def update!(**args)
2645
+ @name = args[:name] if args.key?(:name)
2646
+ @result = args[:result] if args.key?(:result)
2647
+ @run_time = args[:run_time] if args.key?(:run_time)
2648
+ @test_case_results = args[:test_case_results] if args.key?(:test_case_results)
2649
+ end
2650
+ end
2651
+
2535
2652
  # One interaction between a human and virtual agent. The human provides some
2536
2653
  # input and the virtual agent provides a response.
2537
2654
  class GoogleCloudDialogflowCxV3beta1ConversationTurn
@@ -4210,6 +4327,45 @@ module Google
4210
4327
  end
4211
4328
  end
4212
4329
 
4330
+ # Metadata returned for the Environments.RunContinuousTest long running
4331
+ # operation.
4332
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
4333
+ include Google::Apis::Core::Hashable
4334
+
4335
+ # The test errors.
4336
+ # Corresponds to the JSON property `errors`
4337
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError>]
4338
+ attr_accessor :errors
4339
+
4340
+ def initialize(**args)
4341
+ update!(**args)
4342
+ end
4343
+
4344
+ # Update properties of this object
4345
+ def update!(**args)
4346
+ @errors = args[:errors] if args.key?(:errors)
4347
+ end
4348
+ end
4349
+
4350
+ # The response message for Environments.RunContinuousTest.
4351
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
4352
+ include Google::Apis::Core::Hashable
4353
+
4354
+ # Represents a result from running a test case in an agent environment.
4355
+ # Corresponds to the JSON property `continuousTestResult`
4356
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
4357
+ attr_accessor :continuous_test_result
4358
+
4359
+ def initialize(**args)
4360
+ update!(**args)
4361
+ end
4362
+
4363
+ # Update properties of this object
4364
+ def update!(**args)
4365
+ @continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
4366
+ end
4367
+ end
4368
+
4213
4369
  # Metadata returned for the TestCases.RunTestCase long running operation.
4214
4370
  class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
4215
4371
  include Google::Apis::Core::Hashable
@@ -9472,6 +9628,13 @@ module Google
9472
9628
  attr_accessor :all_required_params_present
9473
9629
  alias_method :all_required_params_present?, :all_required_params_present
9474
9630
 
9631
+ # Indicates whether the conversational query triggers a cancellation for slot
9632
+ # filling.
9633
+ # Corresponds to the JSON property `cancelsSlotFilling`
9634
+ # @return [Boolean]
9635
+ attr_accessor :cancels_slot_filling
9636
+ alias_method :cancels_slot_filling?, :cancels_slot_filling
9637
+
9475
9638
  # Free-form diagnostic information for the associated detect intent request. The
9476
9639
  # fields of this data can change without notice, so you should not write code
9477
9640
  # that depends on its structure. The data may contain: - webhook call latency -
@@ -9592,6 +9755,7 @@ module Google
9592
9755
  def update!(**args)
9593
9756
  @action = args[:action] if args.key?(:action)
9594
9757
  @all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
9758
+ @cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
9595
9759
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
9596
9760
  @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
9597
9761
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
@@ -12935,6 +13099,13 @@ module Google
12935
13099
  attr_accessor :all_required_params_present
12936
13100
  alias_method :all_required_params_present?, :all_required_params_present
12937
13101
 
13102
+ # Indicates whether the conversational query triggers a cancellation for slot
13103
+ # filling.
13104
+ # Corresponds to the JSON property `cancelsSlotFilling`
13105
+ # @return [Boolean]
13106
+ attr_accessor :cancels_slot_filling
13107
+ alias_method :cancels_slot_filling?, :cancels_slot_filling
13108
+
12938
13109
  # Free-form diagnostic information for the associated detect intent request. The
12939
13110
  # fields of this data can change without notice, so you should not write code
12940
13111
  # that depends on its structure. The data may contain: - webhook call latency -
@@ -13060,6 +13231,7 @@ module Google
13060
13231
  def update!(**args)
13061
13232
  @action = args[:action] if args.key?(:action)
13062
13233
  @all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
13234
+ @cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
13063
13235
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
13064
13236
  @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
13065
13237
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210517"
25
+ REVISION = "20210524"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudDialogflowCxV3ContinuousTestResult
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudDialogflowCxV3ConversationTurn
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -328,6 +334,18 @@ module Google
328
334
  include Google::Apis::Core::JsonObjectSupport
329
335
  end
330
336
 
337
+ class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleCloudDialogflowCxV3RunContinuousTestResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
331
349
  class GoogleCloudDialogflowCxV3RunTestCaseMetadata
332
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
351
 
@@ -460,6 +478,12 @@ module Google
460
478
  include Google::Apis::Core::JsonObjectSupport
461
479
  end
462
480
 
481
+ class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
463
487
  class GoogleCloudDialogflowCxV3beta1ConversationTurn
464
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
489
 
@@ -748,6 +772,18 @@ module Google
748
772
  include Google::Apis::Core::JsonObjectSupport
749
773
  end
750
774
 
775
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
751
787
  class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
752
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
789
 
@@ -2297,6 +2333,16 @@ module Google
2297
2333
  end
2298
2334
  end
2299
2335
 
2336
+ class GoogleCloudDialogflowCxV3ContinuousTestResult
2337
+ # @private
2338
+ class Representation < Google::Apis::Core::JsonRepresentation
2339
+ property :name, as: 'name'
2340
+ property :result, as: 'result'
2341
+ property :run_time, as: 'runTime'
2342
+ collection :test_case_results, as: 'testCaseResults'
2343
+ end
2344
+ end
2345
+
2300
2346
  class GoogleCloudDialogflowCxV3ConversationTurn
2301
2347
  # @private
2302
2348
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2758,6 +2804,22 @@ module Google
2758
2804
  end
2759
2805
  end
2760
2806
 
2807
+ class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
2808
+ # @private
2809
+ class Representation < Google::Apis::Core::JsonRepresentation
2810
+ collection :errors, as: 'errors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError::Representation
2811
+
2812
+ end
2813
+ end
2814
+
2815
+ class GoogleCloudDialogflowCxV3RunContinuousTestResponse
2816
+ # @private
2817
+ class Representation < Google::Apis::Core::JsonRepresentation
2818
+ property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ContinuousTestResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ContinuousTestResult::Representation
2819
+
2820
+ end
2821
+ end
2822
+
2761
2823
  class GoogleCloudDialogflowCxV3RunTestCaseMetadata
2762
2824
  # @private
2763
2825
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2981,6 +3043,16 @@ module Google
2981
3043
  end
2982
3044
  end
2983
3045
 
3046
+ class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
3047
+ # @private
3048
+ class Representation < Google::Apis::Core::JsonRepresentation
3049
+ property :name, as: 'name'
3050
+ property :result, as: 'result'
3051
+ property :run_time, as: 'runTime'
3052
+ collection :test_case_results, as: 'testCaseResults'
3053
+ end
3054
+ end
3055
+
2984
3056
  class GoogleCloudDialogflowCxV3beta1ConversationTurn
2985
3057
  # @private
2986
3058
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3442,6 +3514,22 @@ module Google
3442
3514
  end
3443
3515
  end
3444
3516
 
3517
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
3518
+ # @private
3519
+ class Representation < Google::Apis::Core::JsonRepresentation
3520
+ collection :errors, as: 'errors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError::Representation
3521
+
3522
+ end
3523
+ end
3524
+
3525
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
3526
+ # @private
3527
+ class Representation < Google::Apis::Core::JsonRepresentation
3528
+ property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult::Representation
3529
+
3530
+ end
3531
+ end
3532
+
3445
3533
  class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
3446
3534
  # @private
3447
3535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4896,6 +4984,7 @@ module Google
4896
4984
  class Representation < Google::Apis::Core::JsonRepresentation
4897
4985
  property :action, as: 'action'
4898
4986
  property :all_required_params_present, as: 'allRequiredParamsPresent'
4987
+ property :cancels_slot_filling, as: 'cancelsSlotFilling'
4899
4988
  hash :diagnostic_info, as: 'diagnosticInfo'
4900
4989
  collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessage::Representation
4901
4990
 
@@ -5833,6 +5922,7 @@ module Google
5833
5922
  class Representation < Google::Apis::Core::JsonRepresentation
5834
5923
  property :action, as: 'action'
5835
5924
  property :all_required_params_present, as: 'allRequiredParamsPresent'
5925
+ property :cancels_slot_filling, as: 'cancelsSlotFilling'
5836
5926
  hash :diagnostic_info, as: 'diagnosticInfo'
5837
5927
  collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessage::Representation
5838
5928
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-05-31 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_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.12.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.13.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
57
57
  post_install_message:
58
58
  rdoc_options: []