google-apis-dialogflow_v2 0.10.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb94de23db4bc5d5bddc2ba9437d26656ac2744eef7655450658f627a67170e5
|
4
|
+
data.tar.gz: 38e4a7162d537d5a454f4601ed85908327c9d1bf339afb24c551817ad3c55b4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b5592eab59998c0c7bbe68fc9e6a181377096020e59b43ec89c18ab676b9b04cbb46cac3436774e3ce3f9699d8056270b8a667edabed372a5c1643db05cc153
|
7
|
+
data.tar.gz: 601fab203ddfe2160bc79d602482d3e7950caf696bddaf586a5592d3b9730189b30f8e6fb80198979ab1e984dfe393cb34bb6b48a2cda962145ba80467e7e1a5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.15.0 (2021-06-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210611
|
6
|
+
|
7
|
+
### v0.14.0 (2021-06-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210601
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.13.0 (2021-05-26)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210524
|
15
|
+
|
16
|
+
### v0.12.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210517
|
19
|
+
|
20
|
+
### v0.11.0 (2021-04-28)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210426
|
23
|
+
|
3
24
|
### v0.10.0 (2021-04-01)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210329
|
@@ -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
|
@@ -615,6 +688,18 @@ module Google
|
|
615
688
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage>]
|
616
689
|
attr_accessor :messages
|
617
690
|
|
691
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
692
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
693
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
694
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
695
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
696
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
697
|
+
# webhooks.
|
698
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
699
|
+
# @return [Boolean]
|
700
|
+
attr_accessor :return_partial_responses
|
701
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
702
|
+
|
618
703
|
# Set parameter values before executing the webhook.
|
619
704
|
# Corresponds to the JSON property `setParameterActions`
|
620
705
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
|
@@ -639,6 +724,7 @@ module Google
|
|
639
724
|
def update!(**args)
|
640
725
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
641
726
|
@messages = args[:messages] if args.key?(:messages)
|
727
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
642
728
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
643
729
|
@tag = args[:tag] if args.key?(:tag)
|
644
730
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -813,6 +899,26 @@ module Google
|
|
813
899
|
end
|
814
900
|
end
|
815
901
|
|
902
|
+
# The response message for Flows.ImportFlow.
|
903
|
+
class GoogleCloudDialogflowCxV3ImportFlowResponse
|
904
|
+
include Google::Apis::Core::Hashable
|
905
|
+
|
906
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
907
|
+
# flows/`.
|
908
|
+
# Corresponds to the JSON property `flow`
|
909
|
+
# @return [String]
|
910
|
+
attr_accessor :flow
|
911
|
+
|
912
|
+
def initialize(**args)
|
913
|
+
update!(**args)
|
914
|
+
end
|
915
|
+
|
916
|
+
# Update properties of this object
|
917
|
+
def update!(**args)
|
918
|
+
@flow = args[:flow] if args.key?(:flow)
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
816
922
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
817
923
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
818
924
|
include Google::Apis::Core::Hashable
|
@@ -936,8 +1042,8 @@ module Google
|
|
936
1042
|
class GoogleCloudDialogflowCxV3Intent
|
937
1043
|
include Google::Apis::Core::Hashable
|
938
1044
|
|
939
|
-
#
|
940
|
-
#
|
1045
|
+
# Human readable description for better understanding an intent like its scope,
|
1046
|
+
# content, result etc. Maximum character limit: 140 characters.
|
941
1047
|
# Corresponds to the JSON property `description`
|
942
1048
|
# @return [String]
|
943
1049
|
attr_accessor :description
|
@@ -957,14 +1063,14 @@ module Google
|
|
957
1063
|
attr_accessor :is_fallback
|
958
1064
|
alias_method :is_fallback?, :is_fallback
|
959
1065
|
|
960
|
-
#
|
961
|
-
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
1066
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
1067
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
1068
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
1069
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
1070
|
+
# 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
|
1071
|
+
# allowed Dialogflow defined labels include: * sys.head * sys.contextual The
|
1072
|
+
# above labels do not require value. "sys.head" means the intent is a head
|
1073
|
+
# intent. "sys.contextual" means the intent is a contextual intent.
|
968
1074
|
# Corresponds to the JSON property `labels`
|
969
1075
|
# @return [Hash<String,String>]
|
970
1076
|
attr_accessor :labels
|
@@ -1723,6 +1829,45 @@ module Google
|
|
1723
1829
|
end
|
1724
1830
|
end
|
1725
1831
|
|
1832
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
1833
|
+
# operation.
|
1834
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
1835
|
+
include Google::Apis::Core::Hashable
|
1836
|
+
|
1837
|
+
# The test errors.
|
1838
|
+
# Corresponds to the JSON property `errors`
|
1839
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError>]
|
1840
|
+
attr_accessor :errors
|
1841
|
+
|
1842
|
+
def initialize(**args)
|
1843
|
+
update!(**args)
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# Update properties of this object
|
1847
|
+
def update!(**args)
|
1848
|
+
@errors = args[:errors] if args.key?(:errors)
|
1849
|
+
end
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
# The response message for Environments.RunContinuousTest.
|
1853
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
1854
|
+
include Google::Apis::Core::Hashable
|
1855
|
+
|
1856
|
+
# Represents a result from running a test case in an agent environment.
|
1857
|
+
# Corresponds to the JSON property `continuousTestResult`
|
1858
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ContinuousTestResult]
|
1859
|
+
attr_accessor :continuous_test_result
|
1860
|
+
|
1861
|
+
def initialize(**args)
|
1862
|
+
update!(**args)
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# Update properties of this object
|
1866
|
+
def update!(**args)
|
1867
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
1868
|
+
end
|
1869
|
+
end
|
1870
|
+
|
1726
1871
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
1727
1872
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1728
1873
|
include Google::Apis::Core::Hashable
|
@@ -2149,6 +2294,11 @@ module Google
|
|
2149
2294
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
|
2150
2295
|
attr_accessor :intent_info
|
2151
2296
|
|
2297
|
+
# The language code specified in the original request.
|
2298
|
+
# Corresponds to the JSON property `languageCode`
|
2299
|
+
# @return [String]
|
2300
|
+
attr_accessor :language_code
|
2301
|
+
|
2152
2302
|
# The list of rich message responses to present to the user. Webhook can choose
|
2153
2303
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
2154
2304
|
# Corresponds to the JSON property `messages`
|
@@ -2208,6 +2358,7 @@ module Google
|
|
2208
2358
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
2209
2359
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
2210
2360
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
2361
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
2211
2362
|
@messages = args[:messages] if args.key?(:messages)
|
2212
2363
|
@page_info = args[:page_info] if args.key?(:page_info)
|
2213
2364
|
@payload = args[:payload] if args.key?(:payload)
|
@@ -2479,6 +2630,45 @@ module Google
|
|
2479
2630
|
end
|
2480
2631
|
end
|
2481
2632
|
|
2633
|
+
# Represents a result from running a test case in an agent environment.
|
2634
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
2635
|
+
include Google::Apis::Core::Hashable
|
2636
|
+
|
2637
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
2638
|
+
# /agents//environments//continuousTestResults/`.
|
2639
|
+
# Corresponds to the JSON property `name`
|
2640
|
+
# @return [String]
|
2641
|
+
attr_accessor :name
|
2642
|
+
|
2643
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
2644
|
+
# continuous test run pass or not.
|
2645
|
+
# Corresponds to the JSON property `result`
|
2646
|
+
# @return [String]
|
2647
|
+
attr_accessor :result
|
2648
|
+
|
2649
|
+
# Time when the continuous testing run starts.
|
2650
|
+
# Corresponds to the JSON property `runTime`
|
2651
|
+
# @return [String]
|
2652
|
+
attr_accessor :run_time
|
2653
|
+
|
2654
|
+
# A list of individual test case results names in this continuous test run.
|
2655
|
+
# Corresponds to the JSON property `testCaseResults`
|
2656
|
+
# @return [Array<String>]
|
2657
|
+
attr_accessor :test_case_results
|
2658
|
+
|
2659
|
+
def initialize(**args)
|
2660
|
+
update!(**args)
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
# Update properties of this object
|
2664
|
+
def update!(**args)
|
2665
|
+
@name = args[:name] if args.key?(:name)
|
2666
|
+
@result = args[:result] if args.key?(:result)
|
2667
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
2668
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
2669
|
+
end
|
2670
|
+
end
|
2671
|
+
|
2482
2672
|
# One interaction between a human and virtual agent. The human provides some
|
2483
2673
|
# input and the virtual agent provides a response.
|
2484
2674
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -2509,6 +2699,12 @@ module Google
|
|
2509
2699
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
2510
2700
|
include Google::Apis::Core::Hashable
|
2511
2701
|
|
2702
|
+
# Whether sentiment analysis is enabled.
|
2703
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
2704
|
+
# @return [Boolean]
|
2705
|
+
attr_accessor :enable_sentiment_analysis
|
2706
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
2707
|
+
|
2512
2708
|
# Parameters that need to be injected into the conversation during intent
|
2513
2709
|
# detection.
|
2514
2710
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -2536,6 +2732,7 @@ module Google
|
|
2536
2732
|
|
2537
2733
|
# Update properties of this object
|
2538
2734
|
def update!(**args)
|
2735
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
2539
2736
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
2540
2737
|
@input = args[:input] if args.key?(:input)
|
2541
2738
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -2802,6 +2999,33 @@ module Google
|
|
2802
2999
|
end
|
2803
3000
|
end
|
2804
3001
|
|
3002
|
+
# The response message for Flows.ExportFlow.
|
3003
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
3004
|
+
include Google::Apis::Core::Hashable
|
3005
|
+
|
3006
|
+
# Uncompressed raw byte content for flow.
|
3007
|
+
# Corresponds to the JSON property `flowContent`
|
3008
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3009
|
+
# @return [String]
|
3010
|
+
attr_accessor :flow_content
|
3011
|
+
|
3012
|
+
# The URI to a file containing the exported flow. This field is populated only
|
3013
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
3014
|
+
# Corresponds to the JSON property `flowUri`
|
3015
|
+
# @return [String]
|
3016
|
+
attr_accessor :flow_uri
|
3017
|
+
|
3018
|
+
def initialize(**args)
|
3019
|
+
update!(**args)
|
3020
|
+
end
|
3021
|
+
|
3022
|
+
# Update properties of this object
|
3023
|
+
def update!(**args)
|
3024
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
3025
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
3026
|
+
end
|
3027
|
+
end
|
3028
|
+
|
2805
3029
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
2806
3030
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
2807
3031
|
include Google::Apis::Core::Hashable
|
@@ -3002,6 +3226,18 @@ module Google
|
|
3002
3226
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
3003
3227
|
attr_accessor :messages
|
3004
3228
|
|
3229
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
3230
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
3231
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
3232
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
3233
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
3234
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
3235
|
+
# webhooks.
|
3236
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
3237
|
+
# @return [Boolean]
|
3238
|
+
attr_accessor :return_partial_responses
|
3239
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
3240
|
+
|
3005
3241
|
# Set parameter values before executing the webhook.
|
3006
3242
|
# Corresponds to the JSON property `setParameterActions`
|
3007
3243
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -3026,6 +3262,7 @@ module Google
|
|
3026
3262
|
def update!(**args)
|
3027
3263
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
3028
3264
|
@messages = args[:messages] if args.key?(:messages)
|
3265
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
3029
3266
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
3030
3267
|
@tag = args[:tag] if args.key?(:tag)
|
3031
3268
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -3200,6 +3437,26 @@ module Google
|
|
3200
3437
|
end
|
3201
3438
|
end
|
3202
3439
|
|
3440
|
+
# The response message for Flows.ImportFlow.
|
3441
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
3442
|
+
include Google::Apis::Core::Hashable
|
3443
|
+
|
3444
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
3445
|
+
# flows/`.
|
3446
|
+
# Corresponds to the JSON property `flow`
|
3447
|
+
# @return [String]
|
3448
|
+
attr_accessor :flow
|
3449
|
+
|
3450
|
+
def initialize(**args)
|
3451
|
+
update!(**args)
|
3452
|
+
end
|
3453
|
+
|
3454
|
+
# Update properties of this object
|
3455
|
+
def update!(**args)
|
3456
|
+
@flow = args[:flow] if args.key?(:flow)
|
3457
|
+
end
|
3458
|
+
end
|
3459
|
+
|
3203
3460
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
3204
3461
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
3205
3462
|
include Google::Apis::Core::Hashable
|
@@ -3323,8 +3580,8 @@ module Google
|
|
3323
3580
|
class GoogleCloudDialogflowCxV3beta1Intent
|
3324
3581
|
include Google::Apis::Core::Hashable
|
3325
3582
|
|
3326
|
-
#
|
3327
|
-
#
|
3583
|
+
# Human readable description for better understanding an intent like its scope,
|
3584
|
+
# content, result etc. Maximum character limit: 140 characters.
|
3328
3585
|
# Corresponds to the JSON property `description`
|
3329
3586
|
# @return [String]
|
3330
3587
|
attr_accessor :description
|
@@ -3344,14 +3601,14 @@ module Google
|
|
3344
3601
|
attr_accessor :is_fallback
|
3345
3602
|
alias_method :is_fallback?, :is_fallback
|
3346
3603
|
|
3347
|
-
#
|
3348
|
-
#
|
3349
|
-
#
|
3350
|
-
#
|
3351
|
-
#
|
3352
|
-
#
|
3353
|
-
#
|
3354
|
-
#
|
3604
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
3605
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
3606
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
3607
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
3608
|
+
# 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
|
3609
|
+
# allowed Dialogflow defined labels include: * sys-head * sys-contextual The
|
3610
|
+
# above labels do not require value. "sys-head" means the intent is a head
|
3611
|
+
# intent. "sys-contextual" means the intent is a contextual intent.
|
3355
3612
|
# Corresponds to the JSON property `labels`
|
3356
3613
|
# @return [Hash<String,String>]
|
3357
3614
|
attr_accessor :labels
|
@@ -4110,6 +4367,45 @@ module Google
|
|
4110
4367
|
end
|
4111
4368
|
end
|
4112
4369
|
|
4370
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
4371
|
+
# operation.
|
4372
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
4373
|
+
include Google::Apis::Core::Hashable
|
4374
|
+
|
4375
|
+
# The test errors.
|
4376
|
+
# Corresponds to the JSON property `errors`
|
4377
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError>]
|
4378
|
+
attr_accessor :errors
|
4379
|
+
|
4380
|
+
def initialize(**args)
|
4381
|
+
update!(**args)
|
4382
|
+
end
|
4383
|
+
|
4384
|
+
# Update properties of this object
|
4385
|
+
def update!(**args)
|
4386
|
+
@errors = args[:errors] if args.key?(:errors)
|
4387
|
+
end
|
4388
|
+
end
|
4389
|
+
|
4390
|
+
# The response message for Environments.RunContinuousTest.
|
4391
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
4392
|
+
include Google::Apis::Core::Hashable
|
4393
|
+
|
4394
|
+
# Represents a result from running a test case in an agent environment.
|
4395
|
+
# Corresponds to the JSON property `continuousTestResult`
|
4396
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
4397
|
+
attr_accessor :continuous_test_result
|
4398
|
+
|
4399
|
+
def initialize(**args)
|
4400
|
+
update!(**args)
|
4401
|
+
end
|
4402
|
+
|
4403
|
+
# Update properties of this object
|
4404
|
+
def update!(**args)
|
4405
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
4406
|
+
end
|
4407
|
+
end
|
4408
|
+
|
4113
4409
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
4114
4410
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
4115
4411
|
include Google::Apis::Core::Hashable
|
@@ -4536,6 +4832,11 @@ module Google
|
|
4536
4832
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
|
4537
4833
|
attr_accessor :intent_info
|
4538
4834
|
|
4835
|
+
# The language code specified in the original request.
|
4836
|
+
# Corresponds to the JSON property `languageCode`
|
4837
|
+
# @return [String]
|
4838
|
+
attr_accessor :language_code
|
4839
|
+
|
4539
4840
|
# The list of rich message responses to present to the user. Webhook can choose
|
4540
4841
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
4541
4842
|
# Corresponds to the JSON property `messages`
|
@@ -4595,6 +4896,7 @@ module Google
|
|
4595
4896
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
4596
4897
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
4597
4898
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
4899
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
4598
4900
|
@messages = args[:messages] if args.key?(:messages)
|
4599
4901
|
@page_info = args[:page_info] if args.key?(:page_info)
|
4600
4902
|
@payload = args[:payload] if args.key?(:payload)
|
@@ -5298,6 +5600,19 @@ module Google
|
|
5298
5600
|
class GoogleCloudDialogflowV2AutomatedAgentReply
|
5299
5601
|
include Google::Apis::Core::Hashable
|
5300
5602
|
|
5603
|
+
# Indicates whether the partial automated agent reply is interruptible when a
|
5604
|
+
# later reply message arrives. e.g. if the agent specified some music as partial
|
5605
|
+
# response, it can be cancelled.
|
5606
|
+
# Corresponds to the JSON property `allowCancellation`
|
5607
|
+
# @return [Boolean]
|
5608
|
+
attr_accessor :allow_cancellation
|
5609
|
+
alias_method :allow_cancellation?, :allow_cancellation
|
5610
|
+
|
5611
|
+
# AutomatedAgentReply type.
|
5612
|
+
# Corresponds to the JSON property `automatedAgentReplyType`
|
5613
|
+
# @return [String]
|
5614
|
+
attr_accessor :automated_agent_reply_type
|
5615
|
+
|
5301
5616
|
# The message returned from the DetectIntent method.
|
5302
5617
|
# Corresponds to the JSON property `detectIntentResponse`
|
5303
5618
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse]
|
@@ -5309,6 +5624,8 @@ module Google
|
|
5309
5624
|
|
5310
5625
|
# Update properties of this object
|
5311
5626
|
def update!(**args)
|
5627
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
5628
|
+
@automated_agent_reply_type = args[:automated_agent_reply_type] if args.key?(:automated_agent_reply_type)
|
5312
5629
|
@detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
|
5313
5630
|
end
|
5314
5631
|
end
|
@@ -6249,8 +6566,8 @@ module Google
|
|
6249
6566
|
class GoogleCloudDialogflowV2Environment
|
6250
6567
|
include Google::Apis::Core::Hashable
|
6251
6568
|
|
6252
|
-
# Optional. The agent version loaded into this environment.
|
6253
|
-
# agent/versions
|
6569
|
+
# Optional. The agent version loaded into this environment. Supported formats: -
|
6570
|
+
# `projects//agent/versions/` - `projects//locations//agent/versions/`
|
6254
6571
|
# Corresponds to the JSON property `agentVersion`
|
6255
6572
|
# @return [String]
|
6256
6573
|
attr_accessor :agent_version
|
@@ -6261,9 +6578,21 @@ module Google
|
|
6261
6578
|
# @return [String]
|
6262
6579
|
attr_accessor :description
|
6263
6580
|
|
6264
|
-
#
|
6265
|
-
#
|
6266
|
-
#
|
6581
|
+
# By default, your agent responds to a matched intent with a static response. As
|
6582
|
+
# an alternative, you can provide a more dynamic response by using fulfillment.
|
6583
|
+
# When you enable fulfillment for an intent, Dialogflow responds to that intent
|
6584
|
+
# by calling a service that you define. For example, if an end-user wants to
|
6585
|
+
# schedule a haircut on Friday, your service can check your database and respond
|
6586
|
+
# to the end-user with availability information for Friday. For more information,
|
6587
|
+
# see the [fulfillment guide](https://cloud.google.com/dialogflow/docs/
|
6588
|
+
# fulfillment-overview).
|
6589
|
+
# Corresponds to the JSON property `fulfillment`
|
6590
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment]
|
6591
|
+
attr_accessor :fulfillment
|
6592
|
+
|
6593
|
+
# Output only. The unique identifier of this agent environment. Supported
|
6594
|
+
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
6595
|
+
# environments/`
|
6267
6596
|
# Corresponds to the JSON property `name`
|
6268
6597
|
# @return [String]
|
6269
6598
|
attr_accessor :name
|
@@ -6274,6 +6603,11 @@ module Google
|
|
6274
6603
|
# @return [String]
|
6275
6604
|
attr_accessor :state
|
6276
6605
|
|
6606
|
+
# Instructs the speech synthesizer on how to generate the output audio content.
|
6607
|
+
# Corresponds to the JSON property `textToSpeechSettings`
|
6608
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextToSpeechSettings]
|
6609
|
+
attr_accessor :text_to_speech_settings
|
6610
|
+
|
6277
6611
|
# Output only. The last update time of this environment. This field is read-only,
|
6278
6612
|
# i.e., it cannot be set by create and update methods.
|
6279
6613
|
# Corresponds to the JSON property `updateTime`
|
@@ -6288,12 +6622,80 @@ module Google
|
|
6288
6622
|
def update!(**args)
|
6289
6623
|
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
6290
6624
|
@description = args[:description] if args.key?(:description)
|
6625
|
+
@fulfillment = args[:fulfillment] if args.key?(:fulfillment)
|
6291
6626
|
@name = args[:name] if args.key?(:name)
|
6292
6627
|
@state = args[:state] if args.key?(:state)
|
6628
|
+
@text_to_speech_settings = args[:text_to_speech_settings] if args.key?(:text_to_speech_settings)
|
6293
6629
|
@update_time = args[:update_time] if args.key?(:update_time)
|
6294
6630
|
end
|
6295
6631
|
end
|
6296
6632
|
|
6633
|
+
# The response message for Environments.GetEnvironmentHistory.
|
6634
|
+
class GoogleCloudDialogflowV2EnvironmentHistory
|
6635
|
+
include Google::Apis::Core::Hashable
|
6636
|
+
|
6637
|
+
# Output only. The list of agent environments. There will be a maximum number of
|
6638
|
+
# items returned based on the page_size field in the request.
|
6639
|
+
# Corresponds to the JSON property `entries`
|
6640
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EnvironmentHistoryEntry>]
|
6641
|
+
attr_accessor :entries
|
6642
|
+
|
6643
|
+
# Output only. Token to retrieve the next page of results, or empty if there are
|
6644
|
+
# no more results in the list.
|
6645
|
+
# Corresponds to the JSON property `nextPageToken`
|
6646
|
+
# @return [String]
|
6647
|
+
attr_accessor :next_page_token
|
6648
|
+
|
6649
|
+
# Output only. The name of the environment this history is for. Supported
|
6650
|
+
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
6651
|
+
# environments/`
|
6652
|
+
# Corresponds to the JSON property `parent`
|
6653
|
+
# @return [String]
|
6654
|
+
attr_accessor :parent
|
6655
|
+
|
6656
|
+
def initialize(**args)
|
6657
|
+
update!(**args)
|
6658
|
+
end
|
6659
|
+
|
6660
|
+
# Update properties of this object
|
6661
|
+
def update!(**args)
|
6662
|
+
@entries = args[:entries] if args.key?(:entries)
|
6663
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
6664
|
+
@parent = args[:parent] if args.key?(:parent)
|
6665
|
+
end
|
6666
|
+
end
|
6667
|
+
|
6668
|
+
# Represents an environment history entry.
|
6669
|
+
class GoogleCloudDialogflowV2EnvironmentHistoryEntry
|
6670
|
+
include Google::Apis::Core::Hashable
|
6671
|
+
|
6672
|
+
# The agent version loaded into this environment history entry.
|
6673
|
+
# Corresponds to the JSON property `agentVersion`
|
6674
|
+
# @return [String]
|
6675
|
+
attr_accessor :agent_version
|
6676
|
+
|
6677
|
+
# The creation time of this environment history entry.
|
6678
|
+
# Corresponds to the JSON property `createTime`
|
6679
|
+
# @return [String]
|
6680
|
+
attr_accessor :create_time
|
6681
|
+
|
6682
|
+
# The developer-provided description for this environment history entry.
|
6683
|
+
# Corresponds to the JSON property `description`
|
6684
|
+
# @return [String]
|
6685
|
+
attr_accessor :description
|
6686
|
+
|
6687
|
+
def initialize(**args)
|
6688
|
+
update!(**args)
|
6689
|
+
end
|
6690
|
+
|
6691
|
+
# Update properties of this object
|
6692
|
+
def update!(**args)
|
6693
|
+
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
6694
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6695
|
+
@description = args[:description] if args.key?(:description)
|
6696
|
+
end
|
6697
|
+
end
|
6698
|
+
|
6297
6699
|
# Events allow for matching intents by event name instead of the natural
|
6298
6700
|
# language input. For instance, input `` can trigger a personalized welcome
|
6299
6701
|
# response. The parameter `name` may be used by the agent in the response: `"
|
@@ -6453,6 +6855,7 @@ module Google
|
|
6453
6855
|
include Google::Apis::Core::Hashable
|
6454
6856
|
|
6455
6857
|
# Optional. The human-readable name of the fulfillment, unique within the agent.
|
6858
|
+
# This field is not used for Fulfillment in an Environment.
|
6456
6859
|
# Corresponds to the JSON property `displayName`
|
6457
6860
|
# @return [String]
|
6458
6861
|
attr_accessor :display_name
|
@@ -6478,8 +6881,9 @@ module Google
|
|
6478
6881
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentGenericWebService]
|
6479
6882
|
attr_accessor :generic_web_service
|
6480
6883
|
|
6481
|
-
# Required. The unique identifier of the fulfillment.
|
6482
|
-
# fulfillment
|
6884
|
+
# Required. The unique identifier of the fulfillment. Supported formats: - `
|
6885
|
+
# projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This
|
6886
|
+
# field is not used for Fulfillment in an Environment.
|
6483
6887
|
# Corresponds to the JSON property `name`
|
6484
6888
|
# @return [String]
|
6485
6889
|
attr_accessor :name
|
@@ -6526,7 +6930,8 @@ module Google
|
|
6526
6930
|
include Google::Apis::Core::Hashable
|
6527
6931
|
|
6528
6932
|
# Optional. Indicates if generic web service is created through Cloud Functions
|
6529
|
-
# integration. Defaults to false.
|
6933
|
+
# integration. Defaults to false. is_cloud_function is deprecated. Cloud
|
6934
|
+
# functions can be configured by its uri as a regular web service now.
|
6530
6935
|
# Corresponds to the JSON property `isCloudFunction`
|
6531
6936
|
# @return [Boolean]
|
6532
6937
|
attr_accessor :is_cloud_function
|
@@ -6609,8 +7014,7 @@ module Google
|
|
6609
7014
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
|
6610
7015
|
include Google::Apis::Core::Hashable
|
6611
7016
|
|
6612
|
-
#
|
6613
|
-
# conversationModels/`.
|
7017
|
+
# Conversation model resource name. Format: `projects//conversationModels/`.
|
6614
7018
|
# Corresponds to the JSON property `model`
|
6615
7019
|
# @return [String]
|
6616
7020
|
attr_accessor :model
|
@@ -8841,6 +9245,33 @@ module Google
|
|
8841
9245
|
end
|
8842
9246
|
end
|
8843
9247
|
|
9248
|
+
# The response message for Versions.ListVersions.
|
9249
|
+
class GoogleCloudDialogflowV2ListVersionsResponse
|
9250
|
+
include Google::Apis::Core::Hashable
|
9251
|
+
|
9252
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
9253
|
+
# results in the list.
|
9254
|
+
# Corresponds to the JSON property `nextPageToken`
|
9255
|
+
# @return [String]
|
9256
|
+
attr_accessor :next_page_token
|
9257
|
+
|
9258
|
+
# The list of agent versions. There will be a maximum number of items returned
|
9259
|
+
# based on the page_size field in the request.
|
9260
|
+
# Corresponds to the JSON property `versions`
|
9261
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version>]
|
9262
|
+
attr_accessor :versions
|
9263
|
+
|
9264
|
+
def initialize(**args)
|
9265
|
+
update!(**args)
|
9266
|
+
end
|
9267
|
+
|
9268
|
+
# Update properties of this object
|
9269
|
+
def update!(**args)
|
9270
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9271
|
+
@versions = args[:versions] if args.key?(:versions)
|
9272
|
+
end
|
9273
|
+
end
|
9274
|
+
|
8844
9275
|
# Defines logging behavior for conversation lifecycle events.
|
8845
9276
|
class GoogleCloudDialogflowV2LoggingConfig
|
8846
9277
|
include Google::Apis::Core::Hashable
|
@@ -9165,8 +9596,8 @@ module Google
|
|
9165
9596
|
|
9166
9597
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
9167
9598
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
9168
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
9169
|
-
# within normalized ranges.
|
9599
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
9600
|
+
# must be within normalized ranges.
|
9170
9601
|
# Corresponds to the JSON property `geoLocation`
|
9171
9602
|
# @return [Google::Apis::DialogflowV2::GoogleTypeLatLng]
|
9172
9603
|
attr_accessor :geo_location
|
@@ -9252,6 +9683,13 @@ module Google
|
|
9252
9683
|
attr_accessor :all_required_params_present
|
9253
9684
|
alias_method :all_required_params_present?, :all_required_params_present
|
9254
9685
|
|
9686
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
9687
|
+
# filling.
|
9688
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
9689
|
+
# @return [Boolean]
|
9690
|
+
attr_accessor :cancels_slot_filling
|
9691
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
9692
|
+
|
9255
9693
|
# Free-form diagnostic information for the associated detect intent request. The
|
9256
9694
|
# fields of this data can change without notice, so you should not write code
|
9257
9695
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9372,6 +9810,7 @@ module Google
|
|
9372
9810
|
def update!(**args)
|
9373
9811
|
@action = args[:action] if args.key?(:action)
|
9374
9812
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
9813
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
9375
9814
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9376
9815
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9377
9816
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -9908,6 +10347,51 @@ module Google
|
|
9908
10347
|
end
|
9909
10348
|
end
|
9910
10349
|
|
10350
|
+
# Instructs the speech synthesizer on how to generate the output audio content.
|
10351
|
+
class GoogleCloudDialogflowV2TextToSpeechSettings
|
10352
|
+
include Google::Apis::Core::Hashable
|
10353
|
+
|
10354
|
+
# Optional. Indicates whether text to speech is enabled. Even when this field is
|
10355
|
+
# false, other settings in this proto are still retained.
|
10356
|
+
# Corresponds to the JSON property `enableTextToSpeech`
|
10357
|
+
# @return [Boolean]
|
10358
|
+
attr_accessor :enable_text_to_speech
|
10359
|
+
alias_method :enable_text_to_speech?, :enable_text_to_speech
|
10360
|
+
|
10361
|
+
# Required. Audio encoding of the synthesized audio content.
|
10362
|
+
# Corresponds to the JSON property `outputAudioEncoding`
|
10363
|
+
# @return [String]
|
10364
|
+
attr_accessor :output_audio_encoding
|
10365
|
+
|
10366
|
+
# Optional. The synthesis sample rate (in hertz) for this audio. If not provided,
|
10367
|
+
# then the synthesizer will use the default sample rate based on the audio
|
10368
|
+
# encoding. If this is different from the voice's natural sample rate, then the
|
10369
|
+
# synthesizer will honor this request by converting to the desired sample rate (
|
10370
|
+
# which might result in worse audio quality).
|
10371
|
+
# Corresponds to the JSON property `sampleRateHertz`
|
10372
|
+
# @return [Fixnum]
|
10373
|
+
attr_accessor :sample_rate_hertz
|
10374
|
+
|
10375
|
+
# Optional. Configuration of how speech should be synthesized, mapping from
|
10376
|
+
# language (https://cloud.google.com/dialogflow/docs/reference/language) to
|
10377
|
+
# SynthesizeSpeechConfig.
|
10378
|
+
# Corresponds to the JSON property `synthesizeSpeechConfigs`
|
10379
|
+
# @return [Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig>]
|
10380
|
+
attr_accessor :synthesize_speech_configs
|
10381
|
+
|
10382
|
+
def initialize(**args)
|
10383
|
+
update!(**args)
|
10384
|
+
end
|
10385
|
+
|
10386
|
+
# Update properties of this object
|
10387
|
+
def update!(**args)
|
10388
|
+
@enable_text_to_speech = args[:enable_text_to_speech] if args.key?(:enable_text_to_speech)
|
10389
|
+
@output_audio_encoding = args[:output_audio_encoding] if args.key?(:output_audio_encoding)
|
10390
|
+
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
10391
|
+
@synthesize_speech_configs = args[:synthesize_speech_configs] if args.key?(:synthesize_speech_configs)
|
10392
|
+
end
|
10393
|
+
end
|
10394
|
+
|
9911
10395
|
# The request message for Agents.TrainAgent.
|
9912
10396
|
class GoogleCloudDialogflowV2TrainAgentRequest
|
9913
10397
|
include Google::Apis::Core::Hashable
|
@@ -9977,6 +10461,61 @@ module Google
|
|
9977
10461
|
end
|
9978
10462
|
end
|
9979
10463
|
|
10464
|
+
# You can create multiple versions of your agent and publish them to separate
|
10465
|
+
# environments. When you edit an agent, you are editing the draft agent. At any
|
10466
|
+
# point, you can save the draft agent as an agent version, which is an immutable
|
10467
|
+
# snapshot of your agent. When you save the draft agent, it is published to the
|
10468
|
+
# default environment. When you create agent versions, you can publish them to
|
10469
|
+
# custom environments. You can create a variety of custom environments for: -
|
10470
|
+
# testing - development - production - etc. For more information, see the [
|
10471
|
+
# versions and environments guide](https://cloud.google.com/dialogflow/docs/
|
10472
|
+
# agents-versions).
|
10473
|
+
class GoogleCloudDialogflowV2Version
|
10474
|
+
include Google::Apis::Core::Hashable
|
10475
|
+
|
10476
|
+
# Output only. The creation time of this version. This field is read-only, i.e.,
|
10477
|
+
# it cannot be set by create and update methods.
|
10478
|
+
# Corresponds to the JSON property `createTime`
|
10479
|
+
# @return [String]
|
10480
|
+
attr_accessor :create_time
|
10481
|
+
|
10482
|
+
# Optional. The developer-provided description of this version.
|
10483
|
+
# Corresponds to the JSON property `description`
|
10484
|
+
# @return [String]
|
10485
|
+
attr_accessor :description
|
10486
|
+
|
10487
|
+
# Output only. The unique identifier of this agent version. Supported formats: -
|
10488
|
+
# `projects//agent/versions/` - `projects//locations//agent/versions/`
|
10489
|
+
# Corresponds to the JSON property `name`
|
10490
|
+
# @return [String]
|
10491
|
+
attr_accessor :name
|
10492
|
+
|
10493
|
+
# Output only. The status of this version. This field is read-only and cannot be
|
10494
|
+
# set by create and update methods.
|
10495
|
+
# Corresponds to the JSON property `status`
|
10496
|
+
# @return [String]
|
10497
|
+
attr_accessor :status
|
10498
|
+
|
10499
|
+
# Output only. The sequential number of this version. This field is read-only
|
10500
|
+
# which means it cannot be set by create and update methods.
|
10501
|
+
# Corresponds to the JSON property `versionNumber`
|
10502
|
+
# @return [Fixnum]
|
10503
|
+
attr_accessor :version_number
|
10504
|
+
|
10505
|
+
def initialize(**args)
|
10506
|
+
update!(**args)
|
10507
|
+
end
|
10508
|
+
|
10509
|
+
# Update properties of this object
|
10510
|
+
def update!(**args)
|
10511
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
10512
|
+
@description = args[:description] if args.key?(:description)
|
10513
|
+
@name = args[:name] if args.key?(:name)
|
10514
|
+
@status = args[:status] if args.key?(:status)
|
10515
|
+
@version_number = args[:version_number] if args.key?(:version_number)
|
10516
|
+
end
|
10517
|
+
end
|
10518
|
+
|
9980
10519
|
# Description of which voice to use for speech synthesis.
|
9981
10520
|
class GoogleCloudDialogflowV2VoiceSelectionParams
|
9982
10521
|
include Google::Apis::Core::Hashable
|
@@ -12615,6 +13154,13 @@ module Google
|
|
12615
13154
|
attr_accessor :all_required_params_present
|
12616
13155
|
alias_method :all_required_params_present?, :all_required_params_present
|
12617
13156
|
|
13157
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
13158
|
+
# filling.
|
13159
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13160
|
+
# @return [Boolean]
|
13161
|
+
attr_accessor :cancels_slot_filling
|
13162
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13163
|
+
|
12618
13164
|
# Free-form diagnostic information for the associated detect intent request. The
|
12619
13165
|
# fields of this data can change without notice, so you should not write code
|
12620
13166
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12740,6 +13286,7 @@ module Google
|
|
12740
13286
|
def update!(**args)
|
12741
13287
|
@action = args[:action] if args.key?(:action)
|
12742
13288
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13289
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
12743
13290
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12744
13291
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12745
13292
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -13469,8 +14016,8 @@ module Google
|
|
13469
14016
|
|
13470
14017
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
13471
14018
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
13472
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
13473
|
-
# within normalized ranges.
|
14019
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
14020
|
+
# must be within normalized ranges.
|
13474
14021
|
class GoogleTypeLatLng
|
13475
14022
|
include Google::Apis::Core::Hashable
|
13476
14023
|
|