google-apis-dialogflow_v3beta1 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 +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +541 -52
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +227 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +235 -65
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df0906511c3309f943a9cc23a87f5067f27b62a7431d549ec1e7f55585fc8829
|
4
|
+
data.tar.gz: 1355e9e651339e2fb9ecb3da3d958a43d217d0e0bd20996f0646b6c6e3f5fa27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e01894694b92e438d7ebd49114a07d5a9d830713e1477c1574e81fc4269abbf5c76eaf9b90497c75a15119525e52620b3fcf6e81fcabe6b812183b774f2ac08
|
7
|
+
data.tar.gz: 9ef69f6e067da6ce890b8e2a8304c7c5f0b2876b3f260207395c0c494b76dcbeb570ad8d911ed752b28ce9f862feaaf9acd2697c51e870f03e6f7e81cba60c85
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
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-05-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210510
|
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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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)
|
@@ -2424,10 +2575,10 @@ module Google
|
|
2424
2575
|
# @return [String]
|
2425
2576
|
attr_accessor :avatar_uri
|
2426
2577
|
|
2427
|
-
# Immutable. The default language of the agent as a language tag. See [
|
2428
|
-
# Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
2429
|
-
# list of the currently supported language codes. This field
|
2430
|
-
# the Agents.UpdateAgent method.
|
2578
|
+
# Required. Immutable. The default language of the agent as a language tag. See [
|
2579
|
+
# Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
2580
|
+
# language) for a list of the currently supported language codes. This field
|
2581
|
+
# cannot be set by the Agents.UpdateAgent method.
|
2431
2582
|
# Corresponds to the JSON property `defaultLanguageCode`
|
2432
2583
|
# @return [String]
|
2433
2584
|
attr_accessor :default_language_code
|
@@ -2480,6 +2631,12 @@ module Google
|
|
2480
2631
|
# @return [String]
|
2481
2632
|
attr_accessor :start_flow
|
2482
2633
|
|
2634
|
+
# The list of all languages supported by the agent (except for the `
|
2635
|
+
# default_language_code`).
|
2636
|
+
# Corresponds to the JSON property `supportedLanguageCodes`
|
2637
|
+
# @return [Array<String>]
|
2638
|
+
attr_accessor :supported_language_codes
|
2639
|
+
|
2483
2640
|
# Required. The time zone of the agent from the [time zone database](https://www.
|
2484
2641
|
# iana.org/time-zones), e.g., America/New_York, Europe/Paris.
|
2485
2642
|
# Corresponds to the JSON property `timeZone`
|
@@ -2502,6 +2659,7 @@ module Google
|
|
2502
2659
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
2503
2660
|
@speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
|
2504
2661
|
@start_flow = args[:start_flow] if args.key?(:start_flow)
|
2662
|
+
@supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
|
2505
2663
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
2506
2664
|
end
|
2507
2665
|
end
|
@@ -2690,6 +2848,45 @@ module Google
|
|
2690
2848
|
end
|
2691
2849
|
end
|
2692
2850
|
|
2851
|
+
# Represents a result from running a test case in an agent environment.
|
2852
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
2853
|
+
include Google::Apis::Core::Hashable
|
2854
|
+
|
2855
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
2856
|
+
# /agents//environments//continuousTestResults/`.
|
2857
|
+
# Corresponds to the JSON property `name`
|
2858
|
+
# @return [String]
|
2859
|
+
attr_accessor :name
|
2860
|
+
|
2861
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
2862
|
+
# continuous test run pass or not.
|
2863
|
+
# Corresponds to the JSON property `result`
|
2864
|
+
# @return [String]
|
2865
|
+
attr_accessor :result
|
2866
|
+
|
2867
|
+
# Time when the continuous testing run starts.
|
2868
|
+
# Corresponds to the JSON property `runTime`
|
2869
|
+
# @return [String]
|
2870
|
+
attr_accessor :run_time
|
2871
|
+
|
2872
|
+
# A list of individual test case results names in this continuous test run.
|
2873
|
+
# Corresponds to the JSON property `testCaseResults`
|
2874
|
+
# @return [Array<String>]
|
2875
|
+
attr_accessor :test_case_results
|
2876
|
+
|
2877
|
+
def initialize(**args)
|
2878
|
+
update!(**args)
|
2879
|
+
end
|
2880
|
+
|
2881
|
+
# Update properties of this object
|
2882
|
+
def update!(**args)
|
2883
|
+
@name = args[:name] if args.key?(:name)
|
2884
|
+
@result = args[:result] if args.key?(:result)
|
2885
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
2886
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
2887
|
+
end
|
2888
|
+
end
|
2889
|
+
|
2693
2890
|
# One interaction between a human and virtual agent. The human provides some
|
2694
2891
|
# input and the virtual agent provides a response.
|
2695
2892
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -2720,6 +2917,12 @@ module Google
|
|
2720
2917
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
2721
2918
|
include Google::Apis::Core::Hashable
|
2722
2919
|
|
2920
|
+
# Whether sentiment analysis is enabled.
|
2921
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
2922
|
+
# @return [Boolean]
|
2923
|
+
attr_accessor :enable_sentiment_analysis
|
2924
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
2925
|
+
|
2723
2926
|
# Parameters that need to be injected into the conversation during intent
|
2724
2927
|
# detection.
|
2725
2928
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -2747,6 +2950,7 @@ module Google
|
|
2747
2950
|
|
2748
2951
|
# Update properties of this object
|
2749
2952
|
def update!(**args)
|
2953
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
2750
2954
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
2751
2955
|
@input = args[:input] if args.key?(:input)
|
2752
2956
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -2924,6 +3128,14 @@ module Google
|
|
2924
3128
|
class GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
2925
3129
|
include Google::Apis::Core::Hashable
|
2926
3130
|
|
3131
|
+
# Indicates whether the partial response can be cancelled when a later response
|
3132
|
+
# arrives. e.g. if the agent specified some music as partial response, it can be
|
3133
|
+
# cancelled.
|
3134
|
+
# Corresponds to the JSON property `allowCancellation`
|
3135
|
+
# @return [Boolean]
|
3136
|
+
attr_accessor :allow_cancellation
|
3137
|
+
alias_method :allow_cancellation?, :allow_cancellation
|
3138
|
+
|
2927
3139
|
# The audio data bytes encoded as specified in the request. Note: The output
|
2928
3140
|
# audio is generated based on the values of default platform text responses
|
2929
3141
|
# found in the `query_result.response_messages` field. If multiple default text
|
@@ -2953,16 +3165,23 @@ module Google
|
|
2953
3165
|
# @return [String]
|
2954
3166
|
attr_accessor :response_id
|
2955
3167
|
|
3168
|
+
# Response type.
|
3169
|
+
# Corresponds to the JSON property `responseType`
|
3170
|
+
# @return [String]
|
3171
|
+
attr_accessor :response_type
|
3172
|
+
|
2956
3173
|
def initialize(**args)
|
2957
3174
|
update!(**args)
|
2958
3175
|
end
|
2959
3176
|
|
2960
3177
|
# Update properties of this object
|
2961
3178
|
def update!(**args)
|
3179
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
2962
3180
|
@output_audio = args[:output_audio] if args.key?(:output_audio)
|
2963
3181
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
2964
3182
|
@query_result = args[:query_result] if args.key?(:query_result)
|
2965
3183
|
@response_id = args[:response_id] if args.key?(:response_id)
|
3184
|
+
@response_type = args[:response_type] if args.key?(:response_type)
|
2966
3185
|
end
|
2967
3186
|
end
|
2968
3187
|
|
@@ -3553,6 +3772,12 @@ module Google
|
|
3553
3772
|
# @return [String]
|
3554
3773
|
attr_accessor :agent_uri
|
3555
3774
|
|
3775
|
+
# Optional. Environment name. If not set, draft environment is assumed. Format: `
|
3776
|
+
# projects//locations//agents//environments/`.
|
3777
|
+
# Corresponds to the JSON property `environment`
|
3778
|
+
# @return [String]
|
3779
|
+
attr_accessor :environment
|
3780
|
+
|
3556
3781
|
def initialize(**args)
|
3557
3782
|
update!(**args)
|
3558
3783
|
end
|
@@ -3560,6 +3785,7 @@ module Google
|
|
3560
3785
|
# Update properties of this object
|
3561
3786
|
def update!(**args)
|
3562
3787
|
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
3788
|
+
@environment = args[:environment] if args.key?(:environment)
|
3563
3789
|
end
|
3564
3790
|
end
|
3565
3791
|
|
@@ -3590,6 +3816,61 @@ module Google
|
|
3590
3816
|
end
|
3591
3817
|
end
|
3592
3818
|
|
3819
|
+
# The request message for Flows.ExportFlow.
|
3820
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
|
3821
|
+
include Google::Apis::Core::Hashable
|
3822
|
+
|
3823
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
3824
|
+
# URI to export the flow to. The format of this URI must be `gs:///`. If left
|
3825
|
+
# unspecified, the serialized flow is returned inline.
|
3826
|
+
# Corresponds to the JSON property `flowUri`
|
3827
|
+
# @return [String]
|
3828
|
+
attr_accessor :flow_uri
|
3829
|
+
|
3830
|
+
# Optional. Whether to export flows referenced by the specified flow.
|
3831
|
+
# Corresponds to the JSON property `includeReferencedFlows`
|
3832
|
+
# @return [Boolean]
|
3833
|
+
attr_accessor :include_referenced_flows
|
3834
|
+
alias_method :include_referenced_flows?, :include_referenced_flows
|
3835
|
+
|
3836
|
+
def initialize(**args)
|
3837
|
+
update!(**args)
|
3838
|
+
end
|
3839
|
+
|
3840
|
+
# Update properties of this object
|
3841
|
+
def update!(**args)
|
3842
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
3843
|
+
@include_referenced_flows = args[:include_referenced_flows] if args.key?(:include_referenced_flows)
|
3844
|
+
end
|
3845
|
+
end
|
3846
|
+
|
3847
|
+
# The response message for Flows.ExportFlow.
|
3848
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
3849
|
+
include Google::Apis::Core::Hashable
|
3850
|
+
|
3851
|
+
# Uncompressed raw byte content for flow.
|
3852
|
+
# Corresponds to the JSON property `flowContent`
|
3853
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3854
|
+
# @return [String]
|
3855
|
+
attr_accessor :flow_content
|
3856
|
+
|
3857
|
+
# The URI to a file containing the exported flow. This field is populated only
|
3858
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
3859
|
+
# Corresponds to the JSON property `flowUri`
|
3860
|
+
# @return [String]
|
3861
|
+
attr_accessor :flow_uri
|
3862
|
+
|
3863
|
+
def initialize(**args)
|
3864
|
+
update!(**args)
|
3865
|
+
end
|
3866
|
+
|
3867
|
+
# Update properties of this object
|
3868
|
+
def update!(**args)
|
3869
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
3870
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
3871
|
+
end
|
3872
|
+
end
|
3873
|
+
|
3593
3874
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
3594
3875
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3595
3876
|
include Google::Apis::Core::Hashable
|
@@ -4021,6 +4302,18 @@ module Google
|
|
4021
4302
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
4022
4303
|
attr_accessor :messages
|
4023
4304
|
|
4305
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
4306
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
4307
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
4308
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
4309
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
4310
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
4311
|
+
# webhooks.
|
4312
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
4313
|
+
# @return [Boolean]
|
4314
|
+
attr_accessor :return_partial_responses
|
4315
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
4316
|
+
|
4024
4317
|
# Set parameter values before executing the webhook.
|
4025
4318
|
# Corresponds to the JSON property `setParameterActions`
|
4026
4319
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -4045,6 +4338,7 @@ module Google
|
|
4045
4338
|
def update!(**args)
|
4046
4339
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
4047
4340
|
@messages = args[:messages] if args.key?(:messages)
|
4341
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
4048
4342
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
4049
4343
|
@tag = args[:tag] if args.key?(:tag)
|
4050
4344
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -4219,6 +4513,59 @@ module Google
|
|
4219
4513
|
end
|
4220
4514
|
end
|
4221
4515
|
|
4516
|
+
# The request message for Flows.ImportFlow.
|
4517
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
|
4518
|
+
include Google::Apis::Core::Hashable
|
4519
|
+
|
4520
|
+
# Uncompressed raw byte content for flow.
|
4521
|
+
# Corresponds to the JSON property `flowContent`
|
4522
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4523
|
+
# @return [String]
|
4524
|
+
attr_accessor :flow_content
|
4525
|
+
|
4526
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
4527
|
+
# import flow from. The format of this URI must be `gs:///`.
|
4528
|
+
# Corresponds to the JSON property `flowUri`
|
4529
|
+
# @return [String]
|
4530
|
+
attr_accessor :flow_uri
|
4531
|
+
|
4532
|
+
# Flow import mode. If not specified, `KEEP` is assumed.
|
4533
|
+
# Corresponds to the JSON property `importOption`
|
4534
|
+
# @return [String]
|
4535
|
+
attr_accessor :import_option
|
4536
|
+
|
4537
|
+
def initialize(**args)
|
4538
|
+
update!(**args)
|
4539
|
+
end
|
4540
|
+
|
4541
|
+
# Update properties of this object
|
4542
|
+
def update!(**args)
|
4543
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
4544
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
4545
|
+
@import_option = args[:import_option] if args.key?(:import_option)
|
4546
|
+
end
|
4547
|
+
end
|
4548
|
+
|
4549
|
+
# The response message for Flows.ImportFlow.
|
4550
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
4551
|
+
include Google::Apis::Core::Hashable
|
4552
|
+
|
4553
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
4554
|
+
# flows/`.
|
4555
|
+
# Corresponds to the JSON property `flow`
|
4556
|
+
# @return [String]
|
4557
|
+
attr_accessor :flow
|
4558
|
+
|
4559
|
+
def initialize(**args)
|
4560
|
+
update!(**args)
|
4561
|
+
end
|
4562
|
+
|
4563
|
+
# Update properties of this object
|
4564
|
+
def update!(**args)
|
4565
|
+
@flow = args[:flow] if args.key?(:flow)
|
4566
|
+
end
|
4567
|
+
end
|
4568
|
+
|
4222
4569
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
4223
4570
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
4224
4571
|
include Google::Apis::Core::Hashable
|
@@ -4369,8 +4716,8 @@ module Google
|
|
4369
4716
|
class GoogleCloudDialogflowCxV3beta1Intent
|
4370
4717
|
include Google::Apis::Core::Hashable
|
4371
4718
|
|
4372
|
-
#
|
4373
|
-
#
|
4719
|
+
# Human readable description for better understanding an intent like its scope,
|
4720
|
+
# content, result etc. Maximum character limit: 140 characters.
|
4374
4721
|
# Corresponds to the JSON property `description`
|
4375
4722
|
# @return [String]
|
4376
4723
|
attr_accessor :description
|
@@ -4390,14 +4737,14 @@ module Google
|
|
4390
4737
|
attr_accessor :is_fallback
|
4391
4738
|
alias_method :is_fallback?, :is_fallback
|
4392
4739
|
|
4393
|
-
#
|
4394
|
-
#
|
4395
|
-
#
|
4396
|
-
#
|
4397
|
-
#
|
4398
|
-
#
|
4399
|
-
#
|
4400
|
-
#
|
4740
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
4741
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
4742
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
4743
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
4744
|
+
# 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
|
4745
|
+
# allowed Dialogflow defined labels include: * sys-head * sys-contextual The
|
4746
|
+
# above labels do not require value. "sys-head" means the intent is a head
|
4747
|
+
# intent. "sys-contextual" means the intent is a contextual intent.
|
4401
4748
|
# Corresponds to the JSON property `labels`
|
4402
4749
|
# @return [Hash<String,String>]
|
4403
4750
|
attr_accessor :labels
|
@@ -4659,6 +5006,32 @@ module Google
|
|
4659
5006
|
end
|
4660
5007
|
end
|
4661
5008
|
|
5009
|
+
# The response message for Environments.ListTestCaseResults.
|
5010
|
+
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
5011
|
+
include Google::Apis::Core::Hashable
|
5012
|
+
|
5013
|
+
# The list of continuous test results.
|
5014
|
+
# Corresponds to the JSON property `continuousTestResults`
|
5015
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult>]
|
5016
|
+
attr_accessor :continuous_test_results
|
5017
|
+
|
5018
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
5019
|
+
# results in the list.
|
5020
|
+
# Corresponds to the JSON property `nextPageToken`
|
5021
|
+
# @return [String]
|
5022
|
+
attr_accessor :next_page_token
|
5023
|
+
|
5024
|
+
def initialize(**args)
|
5025
|
+
update!(**args)
|
5026
|
+
end
|
5027
|
+
|
5028
|
+
# Update properties of this object
|
5029
|
+
def update!(**args)
|
5030
|
+
@continuous_test_results = args[:continuous_test_results] if args.key?(:continuous_test_results)
|
5031
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5032
|
+
end
|
5033
|
+
end
|
5034
|
+
|
4662
5035
|
# The response message for EntityTypes.ListEntityTypes.
|
4663
5036
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
4664
5037
|
include Google::Apis::Core::Hashable
|
@@ -5017,8 +5390,8 @@ module Google
|
|
5017
5390
|
class GoogleCloudDialogflowCxV3beta1LoadVersionRequest
|
5018
5391
|
include Google::Apis::Core::Hashable
|
5019
5392
|
|
5020
|
-
# This field is used to prevent accidental overwrite of other agent resources
|
5021
|
-
#
|
5393
|
+
# This field is used to prevent accidental overwrite of other agent resources,
|
5394
|
+
# which can potentially impact other flow's behavior. If `
|
5022
5395
|
# allow_override_agent_resources` is false, conflicted agent-level resources
|
5023
5396
|
# will not be overridden (i.e. intents, entities, webhooks).
|
5024
5397
|
# Corresponds to the JSON property `allowOverrideAgentResources`
|
@@ -5556,11 +5929,11 @@ module Google
|
|
5556
5929
|
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
|
5557
5930
|
|
5558
5931
|
# The unique identifier of the page to override the current page in the session.
|
5559
|
-
# Format: `projects//locations//agents//pages/`. If `current_page` is
|
5560
|
-
# the previous state of the session will be ignored by Dialogflow,
|
5561
|
-
# previous page and the previous session parameters. In most cases,
|
5562
|
-
# and parameters should be configured together to direct a session
|
5563
|
-
# state.
|
5932
|
+
# Format: `projects//locations//agents//flows//pages/`. If `current_page` is
|
5933
|
+
# specified, the previous state of the session will be ignored by Dialogflow,
|
5934
|
+
# including the previous page and the previous session parameters. In most cases,
|
5935
|
+
# current_page and parameters should be configured together to direct a session
|
5936
|
+
# to a specific state.
|
5564
5937
|
# Corresponds to the JSON property `currentPage`
|
5565
5938
|
# @return [String]
|
5566
5939
|
attr_accessor :current_page
|
@@ -5573,28 +5946,32 @@ module Google
|
|
5573
5946
|
|
5574
5947
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
5575
5948
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
5576
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
5577
|
-
# within normalized ranges.
|
5949
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
5950
|
+
# must be within normalized ranges.
|
5578
5951
|
# Corresponds to the JSON property `geoLocation`
|
5579
5952
|
# @return [Google::Apis::DialogflowV3beta1::GoogleTypeLatLng]
|
5580
5953
|
attr_accessor :geo_location
|
5581
5954
|
|
5582
5955
|
# Additional parameters to be put into session parameters. To remove a parameter
|
5583
5956
|
# from the session, clients should explicitly set the parameter value to null.
|
5584
|
-
#
|
5585
|
-
#
|
5586
|
-
#
|
5587
|
-
#
|
5588
|
-
#
|
5589
|
-
#
|
5590
|
-
# type
|
5591
|
-
#
|
5957
|
+
# You can reference the session parameters in the agent with the following
|
5958
|
+
# format: $session.params.parameter-id. Depending on your protocol or client
|
5959
|
+
# library language, this is a map, associative array, symbol table, dictionary,
|
5960
|
+
# or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
|
5961
|
+
# type: string - MapKey value: parameter name - MapValue type: - If parameter's
|
5962
|
+
# entity type is a composite entity: map - Else: depending on parameter value
|
5963
|
+
# type, could be one of string, number, boolean, null, list or map - MapValue
|
5964
|
+
# value: - If parameter's entity type is a composite entity: map from composite
|
5965
|
+
# entity property names to property values - Else: parameter value
|
5592
5966
|
# Corresponds to the JSON property `parameters`
|
5593
5967
|
# @return [Hash<String,Object>]
|
5594
5968
|
attr_accessor :parameters
|
5595
5969
|
|
5596
5970
|
# This field can be used to pass custom data into the webhook associated with
|
5597
|
-
# the agent. Arbitrary JSON objects are supported.
|
5971
|
+
# the agent. Arbitrary JSON objects are supported. Some integrations that query
|
5972
|
+
# a Dialogflow agent may provide additional information in the payload. In
|
5973
|
+
# particular, for the Dialogflow Phone Gateway integration, this field has the
|
5974
|
+
# form: ``` ` "telephony": ` "caller_id": "+18558363987" ` ` ```
|
5598
5975
|
# Corresponds to the JSON property `payload`
|
5599
5976
|
# @return [Hash<String,Object>]
|
5600
5977
|
attr_accessor :payload
|
@@ -6169,6 +6546,58 @@ module Google
|
|
6169
6546
|
end
|
6170
6547
|
end
|
6171
6548
|
|
6549
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
6550
|
+
# operation.
|
6551
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
6552
|
+
include Google::Apis::Core::Hashable
|
6553
|
+
|
6554
|
+
# The test errors.
|
6555
|
+
# Corresponds to the JSON property `errors`
|
6556
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError>]
|
6557
|
+
attr_accessor :errors
|
6558
|
+
|
6559
|
+
def initialize(**args)
|
6560
|
+
update!(**args)
|
6561
|
+
end
|
6562
|
+
|
6563
|
+
# Update properties of this object
|
6564
|
+
def update!(**args)
|
6565
|
+
@errors = args[:errors] if args.key?(:errors)
|
6566
|
+
end
|
6567
|
+
end
|
6568
|
+
|
6569
|
+
# The request message for Environments.RunContinuousTest.
|
6570
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
|
6571
|
+
include Google::Apis::Core::Hashable
|
6572
|
+
|
6573
|
+
def initialize(**args)
|
6574
|
+
update!(**args)
|
6575
|
+
end
|
6576
|
+
|
6577
|
+
# Update properties of this object
|
6578
|
+
def update!(**args)
|
6579
|
+
end
|
6580
|
+
end
|
6581
|
+
|
6582
|
+
# The response message for Environments.RunContinuousTest.
|
6583
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
6584
|
+
include Google::Apis::Core::Hashable
|
6585
|
+
|
6586
|
+
# Represents a result from running a test case in an agent environment.
|
6587
|
+
# Corresponds to the JSON property `continuousTestResult`
|
6588
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
6589
|
+
attr_accessor :continuous_test_result
|
6590
|
+
|
6591
|
+
def initialize(**args)
|
6592
|
+
update!(**args)
|
6593
|
+
end
|
6594
|
+
|
6595
|
+
# Update properties of this object
|
6596
|
+
def update!(**args)
|
6597
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
6598
|
+
end
|
6599
|
+
end
|
6600
|
+
|
6172
6601
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
6173
6602
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
6174
6603
|
include Google::Apis::Core::Hashable
|
@@ -6235,8 +6664,8 @@ module Google
|
|
6235
6664
|
|
6236
6665
|
# DLP inspect template name. Use this template to define inspect base settings.
|
6237
6666
|
# If empty, we use the default DLP inspect config. The template name will have
|
6238
|
-
# one of the following formats: `projects
|
6239
|
-
#
|
6667
|
+
# one of the following formats: `projects//inspectTemplates/` OR `projects//
|
6668
|
+
# locations//inspectTemplates/` OR `organizations//inspectTemplates/`
|
6240
6669
|
# Corresponds to the JSON property `inspectTemplate`
|
6241
6670
|
# @return [String]
|
6242
6671
|
attr_accessor :inspect_template
|
@@ -6252,8 +6681,8 @@ module Google
|
|
6252
6681
|
# @return [Array<String>]
|
6253
6682
|
attr_accessor :purge_data_types
|
6254
6683
|
|
6255
|
-
# Defines
|
6256
|
-
#
|
6684
|
+
# Defines the data for which Dialogflow applies redaction. Dialogflow does not
|
6685
|
+
# redact data that it does not have access to – for example, Cloud logging.
|
6257
6686
|
# Corresponds to the JSON property `redactionScope`
|
6258
6687
|
# @return [String]
|
6259
6688
|
attr_accessor :redaction_scope
|
@@ -6263,10 +6692,12 @@ module Google
|
|
6263
6692
|
# @return [String]
|
6264
6693
|
attr_accessor :redaction_strategy
|
6265
6694
|
|
6266
|
-
# Retains
|
6267
|
-
#
|
6268
|
-
#
|
6269
|
-
#
|
6695
|
+
# Retains data in interaction logging for the specified number of days. This
|
6696
|
+
# does not apply to Cloud logging, which is owned by the user - not Dialogflow.
|
6697
|
+
# User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
|
6698
|
+
# higher than that has no effect. A missing value or setting to 0 also means we
|
6699
|
+
# use Dialogflow's default TTL. Note: Interaction logging is a limited access
|
6700
|
+
# feature. Talk to your Google representative to check availability for you.
|
6270
6701
|
# Corresponds to the JSON property `retentionWindowDays`
|
6271
6702
|
# @return [Fixnum]
|
6272
6703
|
attr_accessor :retention_window_days
|
@@ -7384,6 +7815,12 @@ module Google
|
|
7384
7815
|
# @return [String]
|
7385
7816
|
attr_accessor :name
|
7386
7817
|
|
7818
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
7819
|
+
# service-directory) service.
|
7820
|
+
# Corresponds to the JSON property `serviceDirectory`
|
7821
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]
|
7822
|
+
attr_accessor :service_directory
|
7823
|
+
|
7387
7824
|
# Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
|
7388
7825
|
# t receive a response from webhook at the end of the timeout period. Defaults
|
7389
7826
|
# to 5 seconds, maximum allowed timeout is 30 seconds.
|
@@ -7401,6 +7838,7 @@ module Google
|
|
7401
7838
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7402
7839
|
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
7403
7840
|
@name = args[:name] if args.key?(:name)
|
7841
|
+
@service_directory = args[:service_directory] if args.key?(:service_directory)
|
7404
7842
|
@timeout = args[:timeout] if args.key?(:timeout)
|
7405
7843
|
end
|
7406
7844
|
end
|
@@ -7464,6 +7902,11 @@ module Google
|
|
7464
7902
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
|
7465
7903
|
attr_accessor :intent_info
|
7466
7904
|
|
7905
|
+
# The language code specified in the original request.
|
7906
|
+
# Corresponds to the JSON property `languageCode`
|
7907
|
+
# @return [String]
|
7908
|
+
attr_accessor :language_code
|
7909
|
+
|
7467
7910
|
# The list of rich message responses to present to the user. Webhook can choose
|
7468
7911
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
7469
7912
|
# Corresponds to the JSON property `messages`
|
@@ -7523,6 +7966,7 @@ module Google
|
|
7523
7966
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
7524
7967
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
7525
7968
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
7969
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
7526
7970
|
@messages = args[:messages] if args.key?(:messages)
|
7527
7971
|
@page_info = args[:page_info] if args.key?(:page_info)
|
7528
7972
|
@payload = args[:payload] if args.key?(:payload)
|
@@ -7724,6 +8168,35 @@ module Google
|
|
7724
8168
|
end
|
7725
8169
|
end
|
7726
8170
|
|
8171
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
8172
|
+
# service-directory) service.
|
8173
|
+
class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
|
8174
|
+
include Google::Apis::Core::Hashable
|
8175
|
+
|
8176
|
+
# Represents configuration for a generic web service.
|
8177
|
+
# Corresponds to the JSON property `genericWebService`
|
8178
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]
|
8179
|
+
attr_accessor :generic_web_service
|
8180
|
+
|
8181
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
8182
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
8183
|
+
# Location ID` of the service directory must be the same as the location of the
|
8184
|
+
# agent.
|
8185
|
+
# Corresponds to the JSON property `service`
|
8186
|
+
# @return [String]
|
8187
|
+
attr_accessor :service
|
8188
|
+
|
8189
|
+
def initialize(**args)
|
8190
|
+
update!(**args)
|
8191
|
+
end
|
8192
|
+
|
8193
|
+
# Update properties of this object
|
8194
|
+
def update!(**args)
|
8195
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
8196
|
+
@service = args[:service] if args.key?(:service)
|
8197
|
+
end
|
8198
|
+
end
|
8199
|
+
|
7727
8200
|
# Represents a part of a message possibly annotated with an entity. The part can
|
7728
8201
|
# be an entity or purely a part of the message between two entities or message
|
7729
8202
|
# start/end.
|
@@ -9621,6 +10094,13 @@ module Google
|
|
9621
10094
|
attr_accessor :all_required_params_present
|
9622
10095
|
alias_method :all_required_params_present?, :all_required_params_present
|
9623
10096
|
|
10097
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
10098
|
+
# filling.
|
10099
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
10100
|
+
# @return [Boolean]
|
10101
|
+
attr_accessor :cancels_slot_filling
|
10102
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
10103
|
+
|
9624
10104
|
# Free-form diagnostic information for the associated detect intent request. The
|
9625
10105
|
# fields of this data can change without notice, so you should not write code
|
9626
10106
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9741,6 +10221,7 @@ module Google
|
|
9741
10221
|
def update!(**args)
|
9742
10222
|
@action = args[:action] if args.key?(:action)
|
9743
10223
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
10224
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
9744
10225
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9745
10226
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9746
10227
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -12568,6 +13049,13 @@ module Google
|
|
12568
13049
|
attr_accessor :all_required_params_present
|
12569
13050
|
alias_method :all_required_params_present?, :all_required_params_present
|
12570
13051
|
|
13052
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
13053
|
+
# filling.
|
13054
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13055
|
+
# @return [Boolean]
|
13056
|
+
attr_accessor :cancels_slot_filling
|
13057
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13058
|
+
|
12571
13059
|
# Free-form diagnostic information for the associated detect intent request. The
|
12572
13060
|
# fields of this data can change without notice, so you should not write code
|
12573
13061
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12693,6 +13181,7 @@ module Google
|
|
12693
13181
|
def update!(**args)
|
12694
13182
|
@action = args[:action] if args.key?(:action)
|
12695
13183
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13184
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
12696
13185
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12697
13186
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12698
13187
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -13422,8 +13911,8 @@ module Google
|
|
13422
13911
|
|
13423
13912
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
13424
13913
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
13425
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
13426
|
-
# within normalized ranges.
|
13914
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
13915
|
+
# must be within normalized ranges.
|
13427
13916
|
class GoogleTypeLatLng
|
13428
13917
|
include Google::Apis::Core::Hashable
|
13429
13918
|
|