google-apis-dialogflow_v2beta1 0.9.0 → 0.14.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: 142d5f4a2bbd5e14bfa25907a132a5936db346ea737ed5915a62cf312b276a09
4
- data.tar.gz: 93eab5e693d95532037c6dd70e18077d78f92e78605bd8e4d89551dc90625114
3
+ metadata.gz: 2e971d68e658fa412a8e316c929c3f621a10f1ab169d89d9d79826711838ecf0
4
+ data.tar.gz: 2af7357c5cf56f60d17c0c2e6893e3857ae4f1004ffcb7bfcbfaab5324c14817
5
5
  SHA512:
6
- metadata.gz: 3baf3c554ddfeac1aa91563bdfc70aa956be3149850a959d6687ae3c48f488f0b47de47da841cc4d792d6c4e43d4a4d7e920c22880db96d3f20b0160d0064122
7
- data.tar.gz: 4df6842f1d7e434c3592b8982338298558b3df7a182c5f9757e0a18022cf50a4c32b8e16ed8611174011ddf63690cc1d7d9f1816cef51b390949f3839bdb7519
6
+ metadata.gz: 63737d5049d7f50ec59602300e51203c1158e2c62748f797dd1b6b9cd31d84088c5324ff861d2a34e75f0e47e5466c9e8b0baebe6bd7bfdf7134b35f7d0a2140
7
+ data.tar.gz: 502fbbc0632af197f40c6ccd29fa8ad47b88c7a05cae110c19d183b6ceb423a0f74446d7ef546e8bf2be0ccd27e8cdeab35e0e4694cb4a547b7a9f00229198c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.14.0 (2021-06-03)
4
+
5
+ * Regenerated from discovery document revision 20210601
6
+ * Regenerated using generator version 0.3.0
7
+
8
+ ### v0.13.0 (2021-05-26)
9
+
10
+ * Regenerated from discovery document revision 20210524
11
+
12
+ ### v0.12.0 (2021-05-19)
13
+
14
+ * Regenerated from discovery document revision 20210517
15
+
16
+ ### v0.11.0 (2021-05-06)
17
+
18
+ * Regenerated from discovery document revision 20210503
19
+
20
+ ### v0.10.0 (2021-04-01)
21
+
22
+ * Regenerated from discovery document revision 20210329
23
+
3
24
  ### v0.9.0 (2021-03-23)
4
25
 
5
26
  * Regenerated from discovery document revision 20210320
@@ -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
@@ -122,6 +161,12 @@ module Google
122
161
  class GoogleCloudDialogflowCxV3ConversationTurnUserInput
123
162
  include Google::Apis::Core::Hashable
124
163
 
164
+ # Whether sentiment analysis is enabled.
165
+ # Corresponds to the JSON property `enableSentimentAnalysis`
166
+ # @return [Boolean]
167
+ attr_accessor :enable_sentiment_analysis
168
+ alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
169
+
125
170
  # Parameters that need to be injected into the conversation during intent
126
171
  # detection.
127
172
  # Corresponds to the JSON property `injectedParameters`
@@ -149,6 +194,7 @@ module Google
149
194
 
150
195
  # Update properties of this object
151
196
  def update!(**args)
197
+ @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
152
198
  @injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
153
199
  @input = args[:input] if args.key?(:input)
154
200
  @is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
@@ -415,6 +461,33 @@ module Google
415
461
  end
416
462
  end
417
463
 
464
+ # The response message for Flows.ExportFlow.
465
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
466
+ include Google::Apis::Core::Hashable
467
+
468
+ # Uncompressed raw byte content for flow.
469
+ # Corresponds to the JSON property `flowContent`
470
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
471
+ # @return [String]
472
+ attr_accessor :flow_content
473
+
474
+ # The URI to a file containing the exported flow. This field is populated only
475
+ # if `flow_uri` is specified in ExportFlowRequest.
476
+ # Corresponds to the JSON property `flowUri`
477
+ # @return [String]
478
+ attr_accessor :flow_uri
479
+
480
+ def initialize(**args)
481
+ update!(**args)
482
+ end
483
+
484
+ # Update properties of this object
485
+ def update!(**args)
486
+ @flow_content = args[:flow_content] if args.key?(:flow_content)
487
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
488
+ end
489
+ end
490
+
418
491
  # Metadata returned for the TestCases.ExportTestCases long running operation.
419
492
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
420
493
  include Google::Apis::Core::Hashable
@@ -813,6 +886,26 @@ module Google
813
886
  end
814
887
  end
815
888
 
889
+ # The response message for Flows.ImportFlow.
890
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
891
+ include Google::Apis::Core::Hashable
892
+
893
+ # The unique identifier of the new flow. Format: `projects//locations//agents//
894
+ # flows/`.
895
+ # Corresponds to the JSON property `flow`
896
+ # @return [String]
897
+ attr_accessor :flow
898
+
899
+ def initialize(**args)
900
+ update!(**args)
901
+ end
902
+
903
+ # Update properties of this object
904
+ def update!(**args)
905
+ @flow = args[:flow] if args.key?(:flow)
906
+ end
907
+ end
908
+
816
909
  # Metadata returned for the TestCases.ImportTestCases long running operation.
817
910
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
818
911
  include Google::Apis::Core::Hashable
@@ -936,8 +1029,8 @@ module Google
936
1029
  class GoogleCloudDialogflowCxV3Intent
937
1030
  include Google::Apis::Core::Hashable
938
1031
 
939
- # Optional. Human readable description for better understanding an intent like
940
- # its scope, content, result etc. Maximum character limit: 140 characters.
1032
+ # Human readable description for better understanding an intent like its scope,
1033
+ # content, result etc. Maximum character limit: 140 characters.
941
1034
  # Corresponds to the JSON property `description`
942
1035
  # @return [String]
943
1036
  attr_accessor :description
@@ -957,14 +1050,14 @@ module Google
957
1050
  attr_accessor :is_fallback
958
1051
  alias_method :is_fallback?, :is_fallback
959
1052
 
960
- # Optional. The key/value metadata to label an intent. Labels can contain
961
- # lowercase letters, digits and the symbols '-' and '_'. International
962
- # characters are allowed, including letters from unicase alphabets. Keys must
963
- # start with a letter. Keys and values can be no longer than 63 characters and
964
- # no more than 128 bytes. Prefix "sys." is reserved for Dialogflow defined
965
- # labels. Currently allowed Dialogflow defined labels include: * sys.head * sys.
966
- # contextual The above labels do not require value. "sys.head" means the intent
967
- # is a head intent. "sys.contextual" means the intent is a contextual intent.
1053
+ # The key/value metadata to label an intent. Labels can contain lowercase
1054
+ # letters, digits and the symbols '-' and '_'. International characters are
1055
+ # allowed, including letters from unicase alphabets. Keys must start with a
1056
+ # letter. Keys and values can be no longer than 63 characters and no more than
1057
+ # 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
1058
+ # allowed Dialogflow defined labels include: * sys.head * sys.contextual The
1059
+ # above labels do not require value. "sys.head" means the intent is a head
1060
+ # intent. "sys.contextual" means the intent is a contextual intent.
968
1061
  # Corresponds to the JSON property `labels`
969
1062
  # @return [Hash<String,String>]
970
1063
  attr_accessor :labels
@@ -1723,6 +1816,45 @@ module Google
1723
1816
  end
1724
1817
  end
1725
1818
 
1819
+ # Metadata returned for the Environments.RunContinuousTest long running
1820
+ # operation.
1821
+ class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
1822
+ include Google::Apis::Core::Hashable
1823
+
1824
+ # The test errors.
1825
+ # Corresponds to the JSON property `errors`
1826
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestError>]
1827
+ attr_accessor :errors
1828
+
1829
+ def initialize(**args)
1830
+ update!(**args)
1831
+ end
1832
+
1833
+ # Update properties of this object
1834
+ def update!(**args)
1835
+ @errors = args[:errors] if args.key?(:errors)
1836
+ end
1837
+ end
1838
+
1839
+ # The response message for Environments.RunContinuousTest.
1840
+ class GoogleCloudDialogflowCxV3RunContinuousTestResponse
1841
+ include Google::Apis::Core::Hashable
1842
+
1843
+ # Represents a result from running a test case in an agent environment.
1844
+ # Corresponds to the JSON property `continuousTestResult`
1845
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ContinuousTestResult]
1846
+ attr_accessor :continuous_test_result
1847
+
1848
+ def initialize(**args)
1849
+ update!(**args)
1850
+ end
1851
+
1852
+ # Update properties of this object
1853
+ def update!(**args)
1854
+ @continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
1855
+ end
1856
+ end
1857
+
1726
1858
  # Metadata returned for the TestCases.RunTestCase long running operation.
1727
1859
  class GoogleCloudDialogflowCxV3RunTestCaseMetadata
1728
1860
  include Google::Apis::Core::Hashable
@@ -2149,6 +2281,11 @@ module Google
2149
2281
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
2150
2282
  attr_accessor :intent_info
2151
2283
 
2284
+ # The language code specified in the original request.
2285
+ # Corresponds to the JSON property `languageCode`
2286
+ # @return [String]
2287
+ attr_accessor :language_code
2288
+
2152
2289
  # The list of rich message responses to present to the user. Webhook can choose
2153
2290
  # to append or replace this list in WebhookResponse.fulfillment_response;
2154
2291
  # Corresponds to the JSON property `messages`
@@ -2175,6 +2312,30 @@ module Google
2175
2312
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo]
2176
2313
  attr_accessor :session_info
2177
2314
 
2315
+ # If natural language text was provided as input, this field will contain a copy
2316
+ # of the text.
2317
+ # Corresponds to the JSON property `text`
2318
+ # @return [String]
2319
+ attr_accessor :text
2320
+
2321
+ # If natural language speech audio was provided as input, this field will
2322
+ # contain the transcript for the audio.
2323
+ # Corresponds to the JSON property `transcript`
2324
+ # @return [String]
2325
+ attr_accessor :transcript
2326
+
2327
+ # If an event was provided as input, this field will contain the name of the
2328
+ # event.
2329
+ # Corresponds to the JSON property `triggerEvent`
2330
+ # @return [String]
2331
+ attr_accessor :trigger_event
2332
+
2333
+ # If an intent was provided as input, this field will contain a copy of the
2334
+ # intent identifier. Format: `projects//locations//agents//intents/`.
2335
+ # Corresponds to the JSON property `triggerIntent`
2336
+ # @return [String]
2337
+ attr_accessor :trigger_intent
2338
+
2178
2339
  def initialize(**args)
2179
2340
  update!(**args)
2180
2341
  end
@@ -2184,11 +2345,16 @@ module Google
2184
2345
  @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
2185
2346
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
2186
2347
  @intent_info = args[:intent_info] if args.key?(:intent_info)
2348
+ @language_code = args[:language_code] if args.key?(:language_code)
2187
2349
  @messages = args[:messages] if args.key?(:messages)
2188
2350
  @page_info = args[:page_info] if args.key?(:page_info)
2189
2351
  @payload = args[:payload] if args.key?(:payload)
2190
2352
  @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
2191
2353
  @session_info = args[:session_info] if args.key?(:session_info)
2354
+ @text = args[:text] if args.key?(:text)
2355
+ @transcript = args[:transcript] if args.key?(:transcript)
2356
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
2357
+ @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
2192
2358
  end
2193
2359
  end
2194
2360
 
@@ -2451,6 +2617,45 @@ module Google
2451
2617
  end
2452
2618
  end
2453
2619
 
2620
+ # Represents a result from running a test case in an agent environment.
2621
+ class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
2622
+ include Google::Apis::Core::Hashable
2623
+
2624
+ # The resource name for the continuous test result. Format: `projects//locations/
2625
+ # /agents//environments//continuousTestResults/`.
2626
+ # Corresponds to the JSON property `name`
2627
+ # @return [String]
2628
+ attr_accessor :name
2629
+
2630
+ # The result of this continuous test run, i.e. whether all the tests in this
2631
+ # continuous test run pass or not.
2632
+ # Corresponds to the JSON property `result`
2633
+ # @return [String]
2634
+ attr_accessor :result
2635
+
2636
+ # Time when the continuous testing run starts.
2637
+ # Corresponds to the JSON property `runTime`
2638
+ # @return [String]
2639
+ attr_accessor :run_time
2640
+
2641
+ # A list of individual test case results names in this continuous test run.
2642
+ # Corresponds to the JSON property `testCaseResults`
2643
+ # @return [Array<String>]
2644
+ attr_accessor :test_case_results
2645
+
2646
+ def initialize(**args)
2647
+ update!(**args)
2648
+ end
2649
+
2650
+ # Update properties of this object
2651
+ def update!(**args)
2652
+ @name = args[:name] if args.key?(:name)
2653
+ @result = args[:result] if args.key?(:result)
2654
+ @run_time = args[:run_time] if args.key?(:run_time)
2655
+ @test_case_results = args[:test_case_results] if args.key?(:test_case_results)
2656
+ end
2657
+ end
2658
+
2454
2659
  # One interaction between a human and virtual agent. The human provides some
2455
2660
  # input and the virtual agent provides a response.
2456
2661
  class GoogleCloudDialogflowCxV3beta1ConversationTurn
@@ -2481,6 +2686,12 @@ module Google
2481
2686
  class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
2482
2687
  include Google::Apis::Core::Hashable
2483
2688
 
2689
+ # Whether sentiment analysis is enabled.
2690
+ # Corresponds to the JSON property `enableSentimentAnalysis`
2691
+ # @return [Boolean]
2692
+ attr_accessor :enable_sentiment_analysis
2693
+ alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
2694
+
2484
2695
  # Parameters that need to be injected into the conversation during intent
2485
2696
  # detection.
2486
2697
  # Corresponds to the JSON property `injectedParameters`
@@ -2508,6 +2719,7 @@ module Google
2508
2719
 
2509
2720
  # Update properties of this object
2510
2721
  def update!(**args)
2722
+ @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
2511
2723
  @injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
2512
2724
  @input = args[:input] if args.key?(:input)
2513
2725
  @is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
@@ -2774,6 +2986,33 @@ module Google
2774
2986
  end
2775
2987
  end
2776
2988
 
2989
+ # The response message for Flows.ExportFlow.
2990
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
2991
+ include Google::Apis::Core::Hashable
2992
+
2993
+ # Uncompressed raw byte content for flow.
2994
+ # Corresponds to the JSON property `flowContent`
2995
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2996
+ # @return [String]
2997
+ attr_accessor :flow_content
2998
+
2999
+ # The URI to a file containing the exported flow. This field is populated only
3000
+ # if `flow_uri` is specified in ExportFlowRequest.
3001
+ # Corresponds to the JSON property `flowUri`
3002
+ # @return [String]
3003
+ attr_accessor :flow_uri
3004
+
3005
+ def initialize(**args)
3006
+ update!(**args)
3007
+ end
3008
+
3009
+ # Update properties of this object
3010
+ def update!(**args)
3011
+ @flow_content = args[:flow_content] if args.key?(:flow_content)
3012
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
3013
+ end
3014
+ end
3015
+
2777
3016
  # Metadata returned for the TestCases.ExportTestCases long running operation.
2778
3017
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
2779
3018
  include Google::Apis::Core::Hashable
@@ -3172,6 +3411,26 @@ module Google
3172
3411
  end
3173
3412
  end
3174
3413
 
3414
+ # The response message for Flows.ImportFlow.
3415
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
3416
+ include Google::Apis::Core::Hashable
3417
+
3418
+ # The unique identifier of the new flow. Format: `projects//locations//agents//
3419
+ # flows/`.
3420
+ # Corresponds to the JSON property `flow`
3421
+ # @return [String]
3422
+ attr_accessor :flow
3423
+
3424
+ def initialize(**args)
3425
+ update!(**args)
3426
+ end
3427
+
3428
+ # Update properties of this object
3429
+ def update!(**args)
3430
+ @flow = args[:flow] if args.key?(:flow)
3431
+ end
3432
+ end
3433
+
3175
3434
  # Metadata returned for the TestCases.ImportTestCases long running operation.
3176
3435
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
3177
3436
  include Google::Apis::Core::Hashable
@@ -3295,8 +3554,8 @@ module Google
3295
3554
  class GoogleCloudDialogflowCxV3beta1Intent
3296
3555
  include Google::Apis::Core::Hashable
3297
3556
 
3298
- # Optional. Human readable description for better understanding an intent like
3299
- # its scope, content, result etc. Maximum character limit: 140 characters.
3557
+ # Human readable description for better understanding an intent like its scope,
3558
+ # content, result etc. Maximum character limit: 140 characters.
3300
3559
  # Corresponds to the JSON property `description`
3301
3560
  # @return [String]
3302
3561
  attr_accessor :description
@@ -3316,14 +3575,14 @@ module Google
3316
3575
  attr_accessor :is_fallback
3317
3576
  alias_method :is_fallback?, :is_fallback
3318
3577
 
3319
- # Optional. The key/value metadata to label an intent. Labels can contain
3320
- # lowercase letters, digits and the symbols '-' and '_'. International
3321
- # characters are allowed, including letters from unicase alphabets. Keys must
3322
- # start with a letter. Keys and values can be no longer than 63 characters and
3323
- # no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined
3324
- # labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-
3325
- # contextual The above labels do not require value. "sys-head" means the intent
3326
- # is a head intent. "sys-contextual" means the intent is a contextual intent.
3578
+ # The key/value metadata to label an intent. Labels can contain lowercase
3579
+ # letters, digits and the symbols '-' and '_'. International characters are
3580
+ # allowed, including letters from unicase alphabets. Keys must start with a
3581
+ # letter. Keys and values can be no longer than 63 characters and no more than
3582
+ # 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
3583
+ # allowed Dialogflow defined labels include: * sys-head * sys-contextual The
3584
+ # above labels do not require value. "sys-head" means the intent is a head
3585
+ # intent. "sys-contextual" means the intent is a contextual intent.
3327
3586
  # Corresponds to the JSON property `labels`
3328
3587
  # @return [Hash<String,String>]
3329
3588
  attr_accessor :labels
@@ -4082,6 +4341,45 @@ module Google
4082
4341
  end
4083
4342
  end
4084
4343
 
4344
+ # Metadata returned for the Environments.RunContinuousTest long running
4345
+ # operation.
4346
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
4347
+ include Google::Apis::Core::Hashable
4348
+
4349
+ # The test errors.
4350
+ # Corresponds to the JSON property `errors`
4351
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestError>]
4352
+ attr_accessor :errors
4353
+
4354
+ def initialize(**args)
4355
+ update!(**args)
4356
+ end
4357
+
4358
+ # Update properties of this object
4359
+ def update!(**args)
4360
+ @errors = args[:errors] if args.key?(:errors)
4361
+ end
4362
+ end
4363
+
4364
+ # The response message for Environments.RunContinuousTest.
4365
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
4366
+ include Google::Apis::Core::Hashable
4367
+
4368
+ # Represents a result from running a test case in an agent environment.
4369
+ # Corresponds to the JSON property `continuousTestResult`
4370
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
4371
+ attr_accessor :continuous_test_result
4372
+
4373
+ def initialize(**args)
4374
+ update!(**args)
4375
+ end
4376
+
4377
+ # Update properties of this object
4378
+ def update!(**args)
4379
+ @continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
4380
+ end
4381
+ end
4382
+
4085
4383
  # Metadata returned for the TestCases.RunTestCase long running operation.
4086
4384
  class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
4087
4385
  include Google::Apis::Core::Hashable
@@ -4508,6 +4806,11 @@ module Google
4508
4806
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
4509
4807
  attr_accessor :intent_info
4510
4808
 
4809
+ # The language code specified in the original request.
4810
+ # Corresponds to the JSON property `languageCode`
4811
+ # @return [String]
4812
+ attr_accessor :language_code
4813
+
4511
4814
  # The list of rich message responses to present to the user. Webhook can choose
4512
4815
  # to append or replace this list in WebhookResponse.fulfillment_response;
4513
4816
  # Corresponds to the JSON property `messages`
@@ -4534,6 +4837,30 @@ module Google
4534
4837
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
4535
4838
  attr_accessor :session_info
4536
4839
 
4840
+ # If natural language text was provided as input, this field will contain a copy
4841
+ # of the text.
4842
+ # Corresponds to the JSON property `text`
4843
+ # @return [String]
4844
+ attr_accessor :text
4845
+
4846
+ # If natural language speech audio was provided as input, this field will
4847
+ # contain the transcript for the audio.
4848
+ # Corresponds to the JSON property `transcript`
4849
+ # @return [String]
4850
+ attr_accessor :transcript
4851
+
4852
+ # If an event was provided as input, this field will contain the name of the
4853
+ # event.
4854
+ # Corresponds to the JSON property `triggerEvent`
4855
+ # @return [String]
4856
+ attr_accessor :trigger_event
4857
+
4858
+ # If an intent was provided as input, this field will contain a copy of the
4859
+ # intent identifier. Format: `projects//locations//agents//intents/`.
4860
+ # Corresponds to the JSON property `triggerIntent`
4861
+ # @return [String]
4862
+ attr_accessor :trigger_intent
4863
+
4537
4864
  def initialize(**args)
4538
4865
  update!(**args)
4539
4866
  end
@@ -4543,11 +4870,16 @@ module Google
4543
4870
  @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
4544
4871
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
4545
4872
  @intent_info = args[:intent_info] if args.key?(:intent_info)
4873
+ @language_code = args[:language_code] if args.key?(:language_code)
4546
4874
  @messages = args[:messages] if args.key?(:messages)
4547
4875
  @page_info = args[:page_info] if args.key?(:page_info)
4548
4876
  @payload = args[:payload] if args.key?(:payload)
4549
4877
  @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
4550
4878
  @session_info = args[:session_info] if args.key?(:session_info)
4879
+ @text = args[:text] if args.key?(:text)
4880
+ @transcript = args[:transcript] if args.key?(:transcript)
4881
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
4882
+ @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
4551
4883
  end
4552
4884
  end
4553
4885
 
@@ -6637,6 +6969,13 @@ module Google
6637
6969
  attr_accessor :all_required_params_present
6638
6970
  alias_method :all_required_params_present?, :all_required_params_present
6639
6971
 
6972
+ # Indicates whether the conversational query triggers a cancellation for slot
6973
+ # filling.
6974
+ # Corresponds to the JSON property `cancelsSlotFilling`
6975
+ # @return [Boolean]
6976
+ attr_accessor :cancels_slot_filling
6977
+ alias_method :cancels_slot_filling?, :cancels_slot_filling
6978
+
6640
6979
  # Free-form diagnostic information for the associated detect intent request. The
6641
6980
  # fields of this data can change without notice, so you should not write code
6642
6981
  # that depends on its structure. The data may contain: - webhook call latency -
@@ -6757,6 +7096,7 @@ module Google
6757
7096
  def update!(**args)
6758
7097
  @action = args[:action] if args.key?(:action)
6759
7098
  @all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
7099
+ @cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
6760
7100
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
6761
7101
  @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
6762
7102
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
@@ -7652,7 +7992,7 @@ module Google
7652
7992
  include Google::Apis::Core::Hashable
7653
7993
 
7654
7994
  # The collection of current Dialogflow CX agent session parameters at the time
7655
- # of this response.
7995
+ # of this response. Deprecated: Use `parameters` instead.
7656
7996
  # Corresponds to the JSON property `cxSessionParameters`
7657
7997
  # @return [Hash<String,Object>]
7658
7998
  attr_accessor :cx_session_parameters
@@ -7674,6 +8014,20 @@ module Google
7674
8014
  # @return [String]
7675
8015
  attr_accessor :intent
7676
8016
 
8017
+ # The confidence of the match. Values range from 0.0 (completely uncertain) to 1.
8018
+ # 0 (completely certain). This value is for informational purpose only and is
8019
+ # only used to help match the best intent within the classification threshold.
8020
+ # This value may change for the same end-user expression at any time due to a
8021
+ # model retraining or change in implementation.
8022
+ # Corresponds to the JSON property `matchConfidence`
8023
+ # @return [Float]
8024
+ attr_accessor :match_confidence
8025
+
8026
+ # The collection of current parameters at the time of this response.
8027
+ # Corresponds to the JSON property `parameters`
8028
+ # @return [Hash<String,Object>]
8029
+ attr_accessor :parameters
8030
+
7677
8031
  # Response messages from the automated agent.
7678
8032
  # Corresponds to the JSON property `responseMessages`
7679
8033
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
@@ -7689,6 +8043,8 @@ module Google
7689
8043
  @detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
7690
8044
  @event = args[:event] if args.key?(:event)
7691
8045
  @intent = args[:intent] if args.key?(:intent)
8046
+ @match_confidence = args[:match_confidence] if args.key?(:match_confidence)
8047
+ @parameters = args[:parameters] if args.key?(:parameters)
7692
8048
  @response_messages = args[:response_messages] if args.key?(:response_messages)
7693
8049
  end
7694
8050
  end
@@ -8287,6 +8643,13 @@ module Google
8287
8643
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig]
8288
8644
  attr_accessor :human_agent_assistant_config
8289
8645
 
8646
+ # Defines the hand off to a live agent, typically on which external agent
8647
+ # service provider to connect to a conversation. Currently, this feature is not
8648
+ # general available, please contact Google to get access.
8649
+ # Corresponds to the JSON property `humanAgentHandoffConfig`
8650
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig]
8651
+ attr_accessor :human_agent_handoff_config
8652
+
8290
8653
  # Language code for the conversation profile. If not specified, the language is
8291
8654
  # en-US. Language at ConversationProfile should be set for all non en-us
8292
8655
  # languages.
@@ -8335,6 +8698,7 @@ module Google
8335
8698
  @create_time = args[:create_time] if args.key?(:create_time)
8336
8699
  @display_name = args[:display_name] if args.key?(:display_name)
8337
8700
  @human_agent_assistant_config = args[:human_agent_assistant_config] if args.key?(:human_agent_assistant_config)
8701
+ @human_agent_handoff_config = args[:human_agent_handoff_config] if args.key?(:human_agent_handoff_config)
8338
8702
  @language_code = args[:language_code] if args.key?(:language_code)
8339
8703
  @logging_config = args[:logging_config] if args.key?(:logging_config)
8340
8704
  @name = args[:name] if args.key?(:name)
@@ -8785,6 +9149,18 @@ module Google
8785
9149
  # @return [String]
8786
9150
  attr_accessor :description
8787
9151
 
9152
+ # By default, your agent responds to a matched intent with a static response. As
9153
+ # an alternative, you can provide a more dynamic response by using fulfillment.
9154
+ # When you enable fulfillment for an intent, Dialogflow responds to that intent
9155
+ # by calling a service that you define. For example, if an end-user wants to
9156
+ # schedule a haircut on Friday, your service can check your database and respond
9157
+ # to the end-user with availability information for Friday. For more information,
9158
+ # see the [fulfillment guide](https://cloud.google.com/dialogflow/docs/
9159
+ # fulfillment-overview).
9160
+ # Corresponds to the JSON property `fulfillment`
9161
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment]
9162
+ attr_accessor :fulfillment
9163
+
8788
9164
  # Output only. The unique identifier of this agent environment. Supported
8789
9165
  # formats: - `projects//agent/environments/` - `projects//locations//agent/
8790
9166
  # environments/`
@@ -8798,6 +9174,11 @@ module Google
8798
9174
  # @return [String]
8799
9175
  attr_accessor :state
8800
9176
 
9177
+ # Instructs the speech synthesizer on how to generate the output audio content.
9178
+ # Corresponds to the JSON property `textToSpeechSettings`
9179
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextToSpeechSettings]
9180
+ attr_accessor :text_to_speech_settings
9181
+
8801
9182
  # Output only. The last update time of this environment. This field is read-only,
8802
9183
  # i.e., it cannot be set by create and update methods.
8803
9184
  # Corresponds to the JSON property `updateTime`
@@ -8812,12 +9193,80 @@ module Google
8812
9193
  def update!(**args)
8813
9194
  @agent_version = args[:agent_version] if args.key?(:agent_version)
8814
9195
  @description = args[:description] if args.key?(:description)
9196
+ @fulfillment = args[:fulfillment] if args.key?(:fulfillment)
8815
9197
  @name = args[:name] if args.key?(:name)
8816
9198
  @state = args[:state] if args.key?(:state)
9199
+ @text_to_speech_settings = args[:text_to_speech_settings] if args.key?(:text_to_speech_settings)
8817
9200
  @update_time = args[:update_time] if args.key?(:update_time)
8818
9201
  end
8819
9202
  end
8820
9203
 
9204
+ # The response message for Environments.GetEnvironmentHistory.
9205
+ class GoogleCloudDialogflowV2beta1EnvironmentHistory
9206
+ include Google::Apis::Core::Hashable
9207
+
9208
+ # Output only. The list of agent environments. There will be a maximum number of
9209
+ # items returned based on the page_size field in the request.
9210
+ # Corresponds to the JSON property `entries`
9211
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry>]
9212
+ attr_accessor :entries
9213
+
9214
+ # Output only. Token to retrieve the next page of results, or empty if there are
9215
+ # no more results in the list.
9216
+ # Corresponds to the JSON property `nextPageToken`
9217
+ # @return [String]
9218
+ attr_accessor :next_page_token
9219
+
9220
+ # Output only. The name of the environment this history is for. Supported
9221
+ # formats: - `projects//agent/environments/` - `projects//locations//agent/
9222
+ # environments/`
9223
+ # Corresponds to the JSON property `parent`
9224
+ # @return [String]
9225
+ attr_accessor :parent
9226
+
9227
+ def initialize(**args)
9228
+ update!(**args)
9229
+ end
9230
+
9231
+ # Update properties of this object
9232
+ def update!(**args)
9233
+ @entries = args[:entries] if args.key?(:entries)
9234
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9235
+ @parent = args[:parent] if args.key?(:parent)
9236
+ end
9237
+ end
9238
+
9239
+ # Represents an environment history entry.
9240
+ class GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry
9241
+ include Google::Apis::Core::Hashable
9242
+
9243
+ # The agent version loaded into this environment history entry.
9244
+ # Corresponds to the JSON property `agentVersion`
9245
+ # @return [String]
9246
+ attr_accessor :agent_version
9247
+
9248
+ # The creation time of this environment history entry.
9249
+ # Corresponds to the JSON property `createTime`
9250
+ # @return [String]
9251
+ attr_accessor :create_time
9252
+
9253
+ # The developer-provided description for this environment history entry.
9254
+ # Corresponds to the JSON property `description`
9255
+ # @return [String]
9256
+ attr_accessor :description
9257
+
9258
+ def initialize(**args)
9259
+ update!(**args)
9260
+ end
9261
+
9262
+ # Update properties of this object
9263
+ def update!(**args)
9264
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
9265
+ @create_time = args[:create_time] if args.key?(:create_time)
9266
+ @description = args[:description] if args.key?(:description)
9267
+ end
9268
+ end
9269
+
8821
9270
  # Events allow for matching intents by event name instead of the natural
8822
9271
  # language input. For instance, input `` can trigger a personalized welcome
8823
9272
  # response. The parameter `name` may be used by the agent in the response: `"
@@ -9050,8 +9499,9 @@ module Google
9050
9499
  class GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
9051
9500
  include Google::Apis::Core::Hashable
9052
9501
 
9053
- # Indicates if generic web service is created through Cloud Functions
9054
- # integration. Defaults to false.
9502
+ # Optional. Indicates if generic web service is created through Cloud Functions
9503
+ # integration. Defaults to false. is_cloud_function is deprecated. Cloud
9504
+ # functions can be configured by its uri as a regular web service now.
9055
9505
  # Corresponds to the JSON property `isCloudFunction`
9056
9506
  # @return [Boolean]
9057
9507
  attr_accessor :is_cloud_function
@@ -9138,6 +9588,11 @@ module Google
9138
9588
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
9139
9589
  include Google::Apis::Core::Hashable
9140
9590
 
9591
+ # Detail human agent assistant config.
9592
+ # Corresponds to the JSON property `endUserSuggestionConfig`
9593
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig]
9594
+ attr_accessor :end_user_suggestion_config
9595
+
9141
9596
  # Detail human agent assistant config.
9142
9597
  # Corresponds to the JSON property `humanAgentSuggestionConfig`
9143
9598
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig]
@@ -9159,6 +9614,7 @@ module Google
9159
9614
 
9160
9615
  # Update properties of this object
9161
9616
  def update!(**args)
9617
+ @end_user_suggestion_config = args[:end_user_suggestion_config] if args.key?(:end_user_suggestion_config)
9162
9618
  @human_agent_suggestion_config = args[:human_agent_suggestion_config] if args.key?(:human_agent_suggestion_config)
9163
9619
  @message_analysis_config = args[:message_analysis_config] if args.key?(:message_analysis_config)
9164
9620
  @notification_config = args[:notification_config] if args.key?(:notification_config)
@@ -9170,8 +9626,7 @@ module Google
9170
9626
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
9171
9627
  include Google::Apis::Core::Hashable
9172
9628
 
9173
- # Required. Conversation model resource name. Format: `projects//
9174
- # conversationModels/`.
9629
+ # Conversation model resource name. Format: `projects//conversationModels/`.
9175
9630
  # Corresponds to the JSON property `model`
9176
9631
  # @return [String]
9177
9632
  attr_accessor :model
@@ -9190,6 +9645,15 @@ module Google
9190
9645
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
9191
9646
  include Google::Apis::Core::Hashable
9192
9647
 
9648
+ # Enable entity extraction in conversation messages on [agent assist stage](
9649
+ # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
9650
+ # If unspecified, defaults to false. Currently, this feature is not general
9651
+ # available, please contact Google to get access.
9652
+ # Corresponds to the JSON property `enableEntityExtraction`
9653
+ # @return [Boolean]
9654
+ attr_accessor :enable_entity_extraction
9655
+ alias_method :enable_entity_extraction?, :enable_entity_extraction
9656
+
9193
9657
  # Enable sentiment analysis in conversation messages on [agent assist stage](
9194
9658
  # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
9195
9659
  # If unspecified, defaults to false. Sentiment analysis inspects user input and
@@ -9214,6 +9678,7 @@ module Google
9214
9678
 
9215
9679
  # Update properties of this object
9216
9680
  def update!(**args)
9681
+ @enable_entity_extraction = args[:enable_entity_extraction] if args.key?(:enable_entity_extraction)
9217
9682
  @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
9218
9683
  end
9219
9684
  end
@@ -9523,6 +9988,93 @@ module Google
9523
9988
  end
9524
9989
  end
9525
9990
 
9991
+ # Defines the hand off to a live agent, typically on which external agent
9992
+ # service provider to connect to a conversation. Currently, this feature is not
9993
+ # general available, please contact Google to get access.
9994
+ class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig
9995
+ include Google::Apis::Core::Hashable
9996
+
9997
+ # Configuration specific to LivePerson (https://www.liveperson.com).
9998
+ # Corresponds to the JSON property `livePersonConfig`
9999
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig]
10000
+ attr_accessor :live_person_config
10001
+
10002
+ # Configuration specific to Salesforce Live Agent.
10003
+ # Corresponds to the JSON property `salesforceLiveAgentConfig`
10004
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig]
10005
+ attr_accessor :salesforce_live_agent_config
10006
+
10007
+ def initialize(**args)
10008
+ update!(**args)
10009
+ end
10010
+
10011
+ # Update properties of this object
10012
+ def update!(**args)
10013
+ @live_person_config = args[:live_person_config] if args.key?(:live_person_config)
10014
+ @salesforce_live_agent_config = args[:salesforce_live_agent_config] if args.key?(:salesforce_live_agent_config)
10015
+ end
10016
+ end
10017
+
10018
+ # Configuration specific to LivePerson (https://www.liveperson.com).
10019
+ class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig
10020
+ include Google::Apis::Core::Hashable
10021
+
10022
+ # Required. Account number of the LivePerson account to connect. This is the
10023
+ # account number you input at the login page.
10024
+ # Corresponds to the JSON property `accountNumber`
10025
+ # @return [String]
10026
+ attr_accessor :account_number
10027
+
10028
+ def initialize(**args)
10029
+ update!(**args)
10030
+ end
10031
+
10032
+ # Update properties of this object
10033
+ def update!(**args)
10034
+ @account_number = args[:account_number] if args.key?(:account_number)
10035
+ end
10036
+ end
10037
+
10038
+ # Configuration specific to Salesforce Live Agent.
10039
+ class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig
10040
+ include Google::Apis::Core::Hashable
10041
+
10042
+ # Required. Live Agent chat button ID.
10043
+ # Corresponds to the JSON property `buttonId`
10044
+ # @return [String]
10045
+ attr_accessor :button_id
10046
+
10047
+ # Required. Live Agent deployment ID.
10048
+ # Corresponds to the JSON property `deploymentId`
10049
+ # @return [String]
10050
+ attr_accessor :deployment_id
10051
+
10052
+ # Required. Domain of the Live Agent endpoint for this agent. You can find the
10053
+ # endpoint URL in the `Live Agent settings` page. For example if URL has the
10054
+ # form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d.
10055
+ # la4-c2-phx.salesforceliveagent.com.
10056
+ # Corresponds to the JSON property `endpointDomain`
10057
+ # @return [String]
10058
+ attr_accessor :endpoint_domain
10059
+
10060
+ # Required. The organization ID of the Salesforce account.
10061
+ # Corresponds to the JSON property `organizationId`
10062
+ # @return [String]
10063
+ attr_accessor :organization_id
10064
+
10065
+ def initialize(**args)
10066
+ update!(**args)
10067
+ end
10068
+
10069
+ # Update properties of this object
10070
+ def update!(**args)
10071
+ @button_id = args[:button_id] if args.key?(:button_id)
10072
+ @deployment_id = args[:deployment_id] if args.key?(:deployment_id)
10073
+ @endpoint_domain = args[:endpoint_domain] if args.key?(:endpoint_domain)
10074
+ @organization_id = args[:organization_id] if args.key?(:organization_id)
10075
+ end
10076
+ end
10077
+
9526
10078
  # The request message for Agents.ImportAgent.
9527
10079
  class GoogleCloudDialogflowV2beta1ImportAgentRequest
9528
10080
  include Google::Apis::Core::Hashable
@@ -11973,6 +12525,33 @@ module Google
11973
12525
  end
11974
12526
  end
11975
12527
 
12528
+ # The response message for Versions.ListVersions.
12529
+ class GoogleCloudDialogflowV2beta1ListVersionsResponse
12530
+ include Google::Apis::Core::Hashable
12531
+
12532
+ # Token to retrieve the next page of results, or empty if there are no more
12533
+ # results in the list.
12534
+ # Corresponds to the JSON property `nextPageToken`
12535
+ # @return [String]
12536
+ attr_accessor :next_page_token
12537
+
12538
+ # The list of agent versions. There will be a maximum number of items returned
12539
+ # based on the page_size field in the request.
12540
+ # Corresponds to the JSON property `versions`
12541
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version>]
12542
+ attr_accessor :versions
12543
+
12544
+ def initialize(**args)
12545
+ update!(**args)
12546
+ end
12547
+
12548
+ # Update properties of this object
12549
+ def update!(**args)
12550
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
12551
+ @versions = args[:versions] if args.key?(:versions)
12552
+ end
12553
+ end
12554
+
11976
12555
  # Defines logging behavior for conversation lifecycle events.
11977
12556
  class GoogleCloudDialogflowV2beta1LoggingConfig
11978
12557
  include Google::Apis::Core::Hashable
@@ -12333,8 +12912,8 @@ module Google
12333
12912
 
12334
12913
  # An object that represents a latitude/longitude pair. This is expressed as a
12335
12914
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
12336
- # specified otherwise, this must conform to the WGS84 standard. Values must be
12337
- # within normalized ranges.
12915
+ # specified otherwise, this object must conform to the WGS84 standard. Values
12916
+ # must be within normalized ranges.
12338
12917
  # Corresponds to the JSON property `geoLocation`
12339
12918
  # @return [Google::Apis::DialogflowV2beta1::GoogleTypeLatLng]
12340
12919
  attr_accessor :geo_location
@@ -12437,6 +13016,13 @@ module Google
12437
13016
  attr_accessor :all_required_params_present
12438
13017
  alias_method :all_required_params_present?, :all_required_params_present
12439
13018
 
13019
+ # Indicates whether the conversational query triggers a cancellation for slot
13020
+ # filling.
13021
+ # Corresponds to the JSON property `cancelsSlotFilling`
13022
+ # @return [Boolean]
13023
+ attr_accessor :cancels_slot_filling
13024
+ alias_method :cancels_slot_filling?, :cancels_slot_filling
13025
+
12440
13026
  # Free-form diagnostic information for the associated detect intent request. The
12441
13027
  # fields of this data can change without notice, so you should not write code
12442
13028
  # that depends on its structure. The data may contain: - webhook call latency -
@@ -12562,6 +13148,7 @@ module Google
12562
13148
  def update!(**args)
12563
13149
  @action = args[:action] if args.key?(:action)
12564
13150
  @all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
13151
+ @cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
12565
13152
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
12566
13153
  @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
12567
13154
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
@@ -13510,6 +14097,51 @@ module Google
13510
14097
  end
13511
14098
  end
13512
14099
 
14100
+ # Instructs the speech synthesizer on how to generate the output audio content.
14101
+ class GoogleCloudDialogflowV2beta1TextToSpeechSettings
14102
+ include Google::Apis::Core::Hashable
14103
+
14104
+ # Optional. Indicates whether text to speech is enabled. Even when this field is
14105
+ # false, other settings in this proto are still retained.
14106
+ # Corresponds to the JSON property `enableTextToSpeech`
14107
+ # @return [Boolean]
14108
+ attr_accessor :enable_text_to_speech
14109
+ alias_method :enable_text_to_speech?, :enable_text_to_speech
14110
+
14111
+ # Required. Audio encoding of the synthesized audio content.
14112
+ # Corresponds to the JSON property `outputAudioEncoding`
14113
+ # @return [String]
14114
+ attr_accessor :output_audio_encoding
14115
+
14116
+ # Optional. The synthesis sample rate (in hertz) for this audio. If not provided,
14117
+ # then the synthesizer will use the default sample rate based on the audio
14118
+ # encoding. If this is different from the voice's natural sample rate, then the
14119
+ # synthesizer will honor this request by converting to the desired sample rate (
14120
+ # which might result in worse audio quality).
14121
+ # Corresponds to the JSON property `sampleRateHertz`
14122
+ # @return [Fixnum]
14123
+ attr_accessor :sample_rate_hertz
14124
+
14125
+ # Optional. Configuration of how speech should be synthesized, mapping from
14126
+ # language (https://cloud.google.com/dialogflow/docs/reference/language) to
14127
+ # SynthesizeSpeechConfig.
14128
+ # Corresponds to the JSON property `synthesizeSpeechConfigs`
14129
+ # @return [Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig>]
14130
+ attr_accessor :synthesize_speech_configs
14131
+
14132
+ def initialize(**args)
14133
+ update!(**args)
14134
+ end
14135
+
14136
+ # Update properties of this object
14137
+ def update!(**args)
14138
+ @enable_text_to_speech = args[:enable_text_to_speech] if args.key?(:enable_text_to_speech)
14139
+ @output_audio_encoding = args[:output_audio_encoding] if args.key?(:output_audio_encoding)
14140
+ @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
14141
+ @synthesize_speech_configs = args[:synthesize_speech_configs] if args.key?(:synthesize_speech_configs)
14142
+ end
14143
+ end
14144
+
13513
14145
  # The request message for Agents.TrainAgent.
13514
14146
  class GoogleCloudDialogflowV2beta1TrainAgentRequest
13515
14147
  include Google::Apis::Core::Hashable
@@ -13579,6 +14211,61 @@ module Google
13579
14211
  end
13580
14212
  end
13581
14213
 
14214
+ # You can create multiple versions of your agent and publish them to separate
14215
+ # environments. When you edit an agent, you are editing the draft agent. At any
14216
+ # point, you can save the draft agent as an agent version, which is an immutable
14217
+ # snapshot of your agent. When you save the draft agent, it is published to the
14218
+ # default environment. When you create agent versions, you can publish them to
14219
+ # custom environments. You can create a variety of custom environments for: -
14220
+ # testing - development - production - etc. For more information, see the [
14221
+ # versions and environments guide](https://cloud.google.com/dialogflow/docs/
14222
+ # agents-versions).
14223
+ class GoogleCloudDialogflowV2beta1Version
14224
+ include Google::Apis::Core::Hashable
14225
+
14226
+ # Output only. The creation time of this version. This field is read-only, i.e.,
14227
+ # it cannot be set by create and update methods.
14228
+ # Corresponds to the JSON property `createTime`
14229
+ # @return [String]
14230
+ attr_accessor :create_time
14231
+
14232
+ # Optional. The developer-provided description of this version.
14233
+ # Corresponds to the JSON property `description`
14234
+ # @return [String]
14235
+ attr_accessor :description
14236
+
14237
+ # Output only. The unique identifier of this agent version. Supported formats: -
14238
+ # `projects//agent/versions/` - `projects//locations//agent/versions/`
14239
+ # Corresponds to the JSON property `name`
14240
+ # @return [String]
14241
+ attr_accessor :name
14242
+
14243
+ # Output only. The status of this version. This field is read-only and cannot be
14244
+ # set by create and update methods.
14245
+ # Corresponds to the JSON property `status`
14246
+ # @return [String]
14247
+ attr_accessor :status
14248
+
14249
+ # Output only. The sequential number of this version. This field is read-only
14250
+ # which means it cannot be set by create and update methods.
14251
+ # Corresponds to the JSON property `versionNumber`
14252
+ # @return [Fixnum]
14253
+ attr_accessor :version_number
14254
+
14255
+ def initialize(**args)
14256
+ update!(**args)
14257
+ end
14258
+
14259
+ # Update properties of this object
14260
+ def update!(**args)
14261
+ @create_time = args[:create_time] if args.key?(:create_time)
14262
+ @description = args[:description] if args.key?(:description)
14263
+ @name = args[:name] if args.key?(:name)
14264
+ @status = args[:status] if args.key?(:status)
14265
+ @version_number = args[:version_number] if args.key?(:version_number)
14266
+ end
14267
+ end
14268
+
13582
14269
  # Description of which voice to use for speech synthesis.
13583
14270
  class GoogleCloudDialogflowV2beta1VoiceSelectionParams
13584
14271
  include Google::Apis::Core::Hashable
@@ -14041,8 +14728,8 @@ module Google
14041
14728
 
14042
14729
  # An object that represents a latitude/longitude pair. This is expressed as a
14043
14730
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
14044
- # specified otherwise, this must conform to the WGS84 standard. Values must be
14045
- # within normalized ranges.
14731
+ # specified otherwise, this object must conform to the WGS84 standard. Values
14732
+ # must be within normalized ranges.
14046
14733
  class GoogleTypeLatLng
14047
14734
  include Google::Apis::Core::Hashable
14048
14735