google-apis-dialogflow_v3beta1 0.9.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +566 -41
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +233 -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: 25c06b2057055d4f3433172b459e3e7236281c16e427b1f77797dba78c8066d3
|
4
|
+
data.tar.gz: 65c77874ca45b7dee991b1cd2b8179e079be93eeee6de9d731739164812f1851
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f82bbf053d419506d860fa692836f426c8ceb00bba639b12be6f0e5b23ced1da91687f391290fe0b44b6bb3e7cfea1f1e794e1298aede1e4c5f98a7962d6c20a
|
7
|
+
data.tar.gz: b340428ec4a375ce8e002bf3ade2440667a4bd3e6de3296236226055bb6c0ebf6433b168b40ea363fdfb8d3d479cfda6aa4be02c13c6a67ce0226b73eb43838b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-06-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210601
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.13.0 (2021-05-26)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210524
|
11
|
+
|
12
|
+
### v0.12.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210517
|
15
|
+
|
16
|
+
### v0.11.0 (2021-05-12)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210510
|
19
|
+
|
20
|
+
### v0.10.0 (2021-04-01)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210329
|
23
|
+
|
3
24
|
### v0.9.0 (2021-03-23)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210320
|
@@ -92,6 +92,45 @@ module Google
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
+
# Represents a result from running a test case in an agent environment.
|
96
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
97
|
+
include Google::Apis::Core::Hashable
|
98
|
+
|
99
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
100
|
+
# /agents//environments//continuousTestResults/`.
|
101
|
+
# Corresponds to the JSON property `name`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :name
|
104
|
+
|
105
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
106
|
+
# continuous test run pass or not.
|
107
|
+
# Corresponds to the JSON property `result`
|
108
|
+
# @return [String]
|
109
|
+
attr_accessor :result
|
110
|
+
|
111
|
+
# Time when the continuous testing run starts.
|
112
|
+
# Corresponds to the JSON property `runTime`
|
113
|
+
# @return [String]
|
114
|
+
attr_accessor :run_time
|
115
|
+
|
116
|
+
# A list of individual test case results names in this continuous test run.
|
117
|
+
# Corresponds to the JSON property `testCaseResults`
|
118
|
+
# @return [Array<String>]
|
119
|
+
attr_accessor :test_case_results
|
120
|
+
|
121
|
+
def initialize(**args)
|
122
|
+
update!(**args)
|
123
|
+
end
|
124
|
+
|
125
|
+
# Update properties of this object
|
126
|
+
def update!(**args)
|
127
|
+
@name = args[:name] if args.key?(:name)
|
128
|
+
@result = args[:result] if args.key?(:result)
|
129
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
130
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
95
134
|
# One interaction between a human and virtual agent. The human provides some
|
96
135
|
# input and the virtual agent provides a response.
|
97
136
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
@@ -122,6 +161,12 @@ module Google
|
|
122
161
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
123
162
|
include Google::Apis::Core::Hashable
|
124
163
|
|
164
|
+
# Whether sentiment analysis is enabled.
|
165
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
166
|
+
# @return [Boolean]
|
167
|
+
attr_accessor :enable_sentiment_analysis
|
168
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
169
|
+
|
125
170
|
# Parameters that need to be injected into the conversation during intent
|
126
171
|
# detection.
|
127
172
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -149,6 +194,7 @@ module Google
|
|
149
194
|
|
150
195
|
# Update properties of this object
|
151
196
|
def update!(**args)
|
197
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
152
198
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
153
199
|
@input = args[:input] if args.key?(:input)
|
154
200
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -415,6 +461,33 @@ module Google
|
|
415
461
|
end
|
416
462
|
end
|
417
463
|
|
464
|
+
# The response message for Flows.ExportFlow.
|
465
|
+
class GoogleCloudDialogflowCxV3ExportFlowResponse
|
466
|
+
include Google::Apis::Core::Hashable
|
467
|
+
|
468
|
+
# Uncompressed raw byte content for flow.
|
469
|
+
# Corresponds to the JSON property `flowContent`
|
470
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
471
|
+
# @return [String]
|
472
|
+
attr_accessor :flow_content
|
473
|
+
|
474
|
+
# The URI to a file containing the exported flow. This field is populated only
|
475
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
476
|
+
# Corresponds to the JSON property `flowUri`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :flow_uri
|
479
|
+
|
480
|
+
def initialize(**args)
|
481
|
+
update!(**args)
|
482
|
+
end
|
483
|
+
|
484
|
+
# Update properties of this object
|
485
|
+
def update!(**args)
|
486
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
487
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
418
491
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
419
492
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
420
493
|
include Google::Apis::Core::Hashable
|
@@ -813,6 +886,26 @@ module Google
|
|
813
886
|
end
|
814
887
|
end
|
815
888
|
|
889
|
+
# The response message for Flows.ImportFlow.
|
890
|
+
class GoogleCloudDialogflowCxV3ImportFlowResponse
|
891
|
+
include Google::Apis::Core::Hashable
|
892
|
+
|
893
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
894
|
+
# flows/`.
|
895
|
+
# Corresponds to the JSON property `flow`
|
896
|
+
# @return [String]
|
897
|
+
attr_accessor :flow
|
898
|
+
|
899
|
+
def initialize(**args)
|
900
|
+
update!(**args)
|
901
|
+
end
|
902
|
+
|
903
|
+
# Update properties of this object
|
904
|
+
def update!(**args)
|
905
|
+
@flow = args[:flow] if args.key?(:flow)
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
816
909
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
817
910
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
818
911
|
include Google::Apis::Core::Hashable
|
@@ -936,8 +1029,8 @@ module Google
|
|
936
1029
|
class GoogleCloudDialogflowCxV3Intent
|
937
1030
|
include Google::Apis::Core::Hashable
|
938
1031
|
|
939
|
-
#
|
940
|
-
#
|
1032
|
+
# Human readable description for better understanding an intent like its scope,
|
1033
|
+
# content, result etc. Maximum character limit: 140 characters.
|
941
1034
|
# Corresponds to the JSON property `description`
|
942
1035
|
# @return [String]
|
943
1036
|
attr_accessor :description
|
@@ -957,14 +1050,14 @@ module Google
|
|
957
1050
|
attr_accessor :is_fallback
|
958
1051
|
alias_method :is_fallback?, :is_fallback
|
959
1052
|
|
960
|
-
#
|
961
|
-
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
1053
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
1054
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
1055
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
1056
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
1057
|
+
# 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
|
1058
|
+
# allowed Dialogflow defined labels include: * sys.head * sys.contextual The
|
1059
|
+
# above labels do not require value. "sys.head" means the intent is a head
|
1060
|
+
# intent. "sys.contextual" means the intent is a contextual intent.
|
968
1061
|
# Corresponds to the JSON property `labels`
|
969
1062
|
# @return [Hash<String,String>]
|
970
1063
|
attr_accessor :labels
|
@@ -1723,6 +1816,45 @@ module Google
|
|
1723
1816
|
end
|
1724
1817
|
end
|
1725
1818
|
|
1819
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
1820
|
+
# operation.
|
1821
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
1822
|
+
include Google::Apis::Core::Hashable
|
1823
|
+
|
1824
|
+
# The test errors.
|
1825
|
+
# Corresponds to the JSON property `errors`
|
1826
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError>]
|
1827
|
+
attr_accessor :errors
|
1828
|
+
|
1829
|
+
def initialize(**args)
|
1830
|
+
update!(**args)
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
# Update properties of this object
|
1834
|
+
def update!(**args)
|
1835
|
+
@errors = args[:errors] if args.key?(:errors)
|
1836
|
+
end
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
# The response message for Environments.RunContinuousTest.
|
1840
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
1841
|
+
include Google::Apis::Core::Hashable
|
1842
|
+
|
1843
|
+
# Represents a result from running a test case in an agent environment.
|
1844
|
+
# Corresponds to the JSON property `continuousTestResult`
|
1845
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ContinuousTestResult]
|
1846
|
+
attr_accessor :continuous_test_result
|
1847
|
+
|
1848
|
+
def initialize(**args)
|
1849
|
+
update!(**args)
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
# Update properties of this object
|
1853
|
+
def update!(**args)
|
1854
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
1855
|
+
end
|
1856
|
+
end
|
1857
|
+
|
1726
1858
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
1727
1859
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1728
1860
|
include Google::Apis::Core::Hashable
|
@@ -2149,6 +2281,11 @@ module Google
|
|
2149
2281
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
|
2150
2282
|
attr_accessor :intent_info
|
2151
2283
|
|
2284
|
+
# The language code specified in the original request.
|
2285
|
+
# Corresponds to the JSON property `languageCode`
|
2286
|
+
# @return [String]
|
2287
|
+
attr_accessor :language_code
|
2288
|
+
|
2152
2289
|
# The list of rich message responses to present to the user. Webhook can choose
|
2153
2290
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
2154
2291
|
# Corresponds to the JSON property `messages`
|
@@ -2175,6 +2312,30 @@ module Google
|
|
2175
2312
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo]
|
2176
2313
|
attr_accessor :session_info
|
2177
2314
|
|
2315
|
+
# If natural language text was provided as input, this field will contain a copy
|
2316
|
+
# of the text.
|
2317
|
+
# Corresponds to the JSON property `text`
|
2318
|
+
# @return [String]
|
2319
|
+
attr_accessor :text
|
2320
|
+
|
2321
|
+
# If natural language speech audio was provided as input, this field will
|
2322
|
+
# contain the transcript for the audio.
|
2323
|
+
# Corresponds to the JSON property `transcript`
|
2324
|
+
# @return [String]
|
2325
|
+
attr_accessor :transcript
|
2326
|
+
|
2327
|
+
# If an event was provided as input, this field will contain the name of the
|
2328
|
+
# event.
|
2329
|
+
# Corresponds to the JSON property `triggerEvent`
|
2330
|
+
# @return [String]
|
2331
|
+
attr_accessor :trigger_event
|
2332
|
+
|
2333
|
+
# If an intent was provided as input, this field will contain a copy of the
|
2334
|
+
# intent identifier. Format: `projects//locations//agents//intents/`.
|
2335
|
+
# Corresponds to the JSON property `triggerIntent`
|
2336
|
+
# @return [String]
|
2337
|
+
attr_accessor :trigger_intent
|
2338
|
+
|
2178
2339
|
def initialize(**args)
|
2179
2340
|
update!(**args)
|
2180
2341
|
end
|
@@ -2184,11 +2345,16 @@ module Google
|
|
2184
2345
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
2185
2346
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
2186
2347
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
2348
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
2187
2349
|
@messages = args[:messages] if args.key?(:messages)
|
2188
2350
|
@page_info = args[:page_info] if args.key?(:page_info)
|
2189
2351
|
@payload = args[:payload] if args.key?(:payload)
|
2190
2352
|
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
2191
2353
|
@session_info = args[:session_info] if args.key?(:session_info)
|
2354
|
+
@text = args[:text] if args.key?(:text)
|
2355
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
2356
|
+
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
2357
|
+
@trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
|
2192
2358
|
end
|
2193
2359
|
end
|
2194
2360
|
|
@@ -2452,6 +2618,12 @@ module Google
|
|
2452
2618
|
# @return [String]
|
2453
2619
|
attr_accessor :start_flow
|
2454
2620
|
|
2621
|
+
# The list of all languages supported by the agent (except for the `
|
2622
|
+
# default_language_code`).
|
2623
|
+
# Corresponds to the JSON property `supportedLanguageCodes`
|
2624
|
+
# @return [Array<String>]
|
2625
|
+
attr_accessor :supported_language_codes
|
2626
|
+
|
2455
2627
|
# Required. The time zone of the agent from the [time zone database](https://www.
|
2456
2628
|
# iana.org/time-zones), e.g., America/New_York, Europe/Paris.
|
2457
2629
|
# Corresponds to the JSON property `timeZone`
|
@@ -2474,6 +2646,7 @@ module Google
|
|
2474
2646
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
2475
2647
|
@speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
|
2476
2648
|
@start_flow = args[:start_flow] if args.key?(:start_flow)
|
2649
|
+
@supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
|
2477
2650
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
2478
2651
|
end
|
2479
2652
|
end
|
@@ -2662,6 +2835,45 @@ module Google
|
|
2662
2835
|
end
|
2663
2836
|
end
|
2664
2837
|
|
2838
|
+
# Represents a result from running a test case in an agent environment.
|
2839
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
2840
|
+
include Google::Apis::Core::Hashable
|
2841
|
+
|
2842
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
2843
|
+
# /agents//environments//continuousTestResults/`.
|
2844
|
+
# Corresponds to the JSON property `name`
|
2845
|
+
# @return [String]
|
2846
|
+
attr_accessor :name
|
2847
|
+
|
2848
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
2849
|
+
# continuous test run pass or not.
|
2850
|
+
# Corresponds to the JSON property `result`
|
2851
|
+
# @return [String]
|
2852
|
+
attr_accessor :result
|
2853
|
+
|
2854
|
+
# Time when the continuous testing run starts.
|
2855
|
+
# Corresponds to the JSON property `runTime`
|
2856
|
+
# @return [String]
|
2857
|
+
attr_accessor :run_time
|
2858
|
+
|
2859
|
+
# A list of individual test case results names in this continuous test run.
|
2860
|
+
# Corresponds to the JSON property `testCaseResults`
|
2861
|
+
# @return [Array<String>]
|
2862
|
+
attr_accessor :test_case_results
|
2863
|
+
|
2864
|
+
def initialize(**args)
|
2865
|
+
update!(**args)
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
# Update properties of this object
|
2869
|
+
def update!(**args)
|
2870
|
+
@name = args[:name] if args.key?(:name)
|
2871
|
+
@result = args[:result] if args.key?(:result)
|
2872
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
2873
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
|
2665
2877
|
# One interaction between a human and virtual agent. The human provides some
|
2666
2878
|
# input and the virtual agent provides a response.
|
2667
2879
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -2692,6 +2904,12 @@ module Google
|
|
2692
2904
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
2693
2905
|
include Google::Apis::Core::Hashable
|
2694
2906
|
|
2907
|
+
# Whether sentiment analysis is enabled.
|
2908
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
2909
|
+
# @return [Boolean]
|
2910
|
+
attr_accessor :enable_sentiment_analysis
|
2911
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
2912
|
+
|
2695
2913
|
# Parameters that need to be injected into the conversation during intent
|
2696
2914
|
# detection.
|
2697
2915
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -2719,6 +2937,7 @@ module Google
|
|
2719
2937
|
|
2720
2938
|
# Update properties of this object
|
2721
2939
|
def update!(**args)
|
2940
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
2722
2941
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
2723
2942
|
@input = args[:input] if args.key?(:input)
|
2724
2943
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -3525,6 +3744,12 @@ module Google
|
|
3525
3744
|
# @return [String]
|
3526
3745
|
attr_accessor :agent_uri
|
3527
3746
|
|
3747
|
+
# Optional. Environment name. If not set, draft environment is assumed. Format: `
|
3748
|
+
# projects//locations//agents//environments/`.
|
3749
|
+
# Corresponds to the JSON property `environment`
|
3750
|
+
# @return [String]
|
3751
|
+
attr_accessor :environment
|
3752
|
+
|
3528
3753
|
def initialize(**args)
|
3529
3754
|
update!(**args)
|
3530
3755
|
end
|
@@ -3532,6 +3757,7 @@ module Google
|
|
3532
3757
|
# Update properties of this object
|
3533
3758
|
def update!(**args)
|
3534
3759
|
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
3760
|
+
@environment = args[:environment] if args.key?(:environment)
|
3535
3761
|
end
|
3536
3762
|
end
|
3537
3763
|
|
@@ -3562,6 +3788,61 @@ module Google
|
|
3562
3788
|
end
|
3563
3789
|
end
|
3564
3790
|
|
3791
|
+
# The request message for Flows.ExportFlow.
|
3792
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
|
3793
|
+
include Google::Apis::Core::Hashable
|
3794
|
+
|
3795
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
3796
|
+
# URI to export the flow to. The format of this URI must be `gs:///`. If left
|
3797
|
+
# unspecified, the serialized flow is returned inline.
|
3798
|
+
# Corresponds to the JSON property `flowUri`
|
3799
|
+
# @return [String]
|
3800
|
+
attr_accessor :flow_uri
|
3801
|
+
|
3802
|
+
# Optional. Whether to export flows referenced by the specified flow.
|
3803
|
+
# Corresponds to the JSON property `includeReferencedFlows`
|
3804
|
+
# @return [Boolean]
|
3805
|
+
attr_accessor :include_referenced_flows
|
3806
|
+
alias_method :include_referenced_flows?, :include_referenced_flows
|
3807
|
+
|
3808
|
+
def initialize(**args)
|
3809
|
+
update!(**args)
|
3810
|
+
end
|
3811
|
+
|
3812
|
+
# Update properties of this object
|
3813
|
+
def update!(**args)
|
3814
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
3815
|
+
@include_referenced_flows = args[:include_referenced_flows] if args.key?(:include_referenced_flows)
|
3816
|
+
end
|
3817
|
+
end
|
3818
|
+
|
3819
|
+
# The response message for Flows.ExportFlow.
|
3820
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
3821
|
+
include Google::Apis::Core::Hashable
|
3822
|
+
|
3823
|
+
# Uncompressed raw byte content for flow.
|
3824
|
+
# Corresponds to the JSON property `flowContent`
|
3825
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3826
|
+
# @return [String]
|
3827
|
+
attr_accessor :flow_content
|
3828
|
+
|
3829
|
+
# The URI to a file containing the exported flow. This field is populated only
|
3830
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
3831
|
+
# Corresponds to the JSON property `flowUri`
|
3832
|
+
# @return [String]
|
3833
|
+
attr_accessor :flow_uri
|
3834
|
+
|
3835
|
+
def initialize(**args)
|
3836
|
+
update!(**args)
|
3837
|
+
end
|
3838
|
+
|
3839
|
+
# Update properties of this object
|
3840
|
+
def update!(**args)
|
3841
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
3842
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
3843
|
+
end
|
3844
|
+
end
|
3845
|
+
|
3565
3846
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
3566
3847
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3567
3848
|
include Google::Apis::Core::Hashable
|
@@ -3686,6 +3967,15 @@ module Google
|
|
3686
3967
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings]
|
3687
3968
|
attr_accessor :nlu_settings
|
3688
3969
|
|
3970
|
+
# A flow's transition route group serve two purposes: * They are responsible for
|
3971
|
+
# matching the user's first utterances in the flow. * They are inherited by
|
3972
|
+
# every page's transition route groups. Transition route groups defined in the
|
3973
|
+
# page have higher priority than those defined in the flow. Format:`projects//
|
3974
|
+
# locations//agents//flows//transitionRouteGroups/`.
|
3975
|
+
# Corresponds to the JSON property `transitionRouteGroups`
|
3976
|
+
# @return [Array<String>]
|
3977
|
+
attr_accessor :transition_route_groups
|
3978
|
+
|
3689
3979
|
# A flow's transition routes serve two purposes: * They are responsible for
|
3690
3980
|
# matching the user's first utterances in the flow. * They are inherited by
|
3691
3981
|
# every page's transition routes and can support use cases such as the user
|
@@ -3710,6 +4000,7 @@ module Google
|
|
3710
4000
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
3711
4001
|
@name = args[:name] if args.key?(:name)
|
3712
4002
|
@nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
|
4003
|
+
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
3713
4004
|
@transition_routes = args[:transition_routes] if args.key?(:transition_routes)
|
3714
4005
|
end
|
3715
4006
|
end
|
@@ -4181,6 +4472,59 @@ module Google
|
|
4181
4472
|
end
|
4182
4473
|
end
|
4183
4474
|
|
4475
|
+
# The request message for Flows.ImportFlow.
|
4476
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
|
4477
|
+
include Google::Apis::Core::Hashable
|
4478
|
+
|
4479
|
+
# Uncompressed raw byte content for flow.
|
4480
|
+
# Corresponds to the JSON property `flowContent`
|
4481
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4482
|
+
# @return [String]
|
4483
|
+
attr_accessor :flow_content
|
4484
|
+
|
4485
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
4486
|
+
# import flow from. The format of this URI must be `gs:///`.
|
4487
|
+
# Corresponds to the JSON property `flowUri`
|
4488
|
+
# @return [String]
|
4489
|
+
attr_accessor :flow_uri
|
4490
|
+
|
4491
|
+
# Flow import mode. If not specified, `KEEP` is assumed.
|
4492
|
+
# Corresponds to the JSON property `importOption`
|
4493
|
+
# @return [String]
|
4494
|
+
attr_accessor :import_option
|
4495
|
+
|
4496
|
+
def initialize(**args)
|
4497
|
+
update!(**args)
|
4498
|
+
end
|
4499
|
+
|
4500
|
+
# Update properties of this object
|
4501
|
+
def update!(**args)
|
4502
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
4503
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
4504
|
+
@import_option = args[:import_option] if args.key?(:import_option)
|
4505
|
+
end
|
4506
|
+
end
|
4507
|
+
|
4508
|
+
# The response message for Flows.ImportFlow.
|
4509
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
4510
|
+
include Google::Apis::Core::Hashable
|
4511
|
+
|
4512
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
4513
|
+
# flows/`.
|
4514
|
+
# Corresponds to the JSON property `flow`
|
4515
|
+
# @return [String]
|
4516
|
+
attr_accessor :flow
|
4517
|
+
|
4518
|
+
def initialize(**args)
|
4519
|
+
update!(**args)
|
4520
|
+
end
|
4521
|
+
|
4522
|
+
# Update properties of this object
|
4523
|
+
def update!(**args)
|
4524
|
+
@flow = args[:flow] if args.key?(:flow)
|
4525
|
+
end
|
4526
|
+
end
|
4527
|
+
|
4184
4528
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
4185
4529
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
4186
4530
|
include Google::Apis::Core::Hashable
|
@@ -4331,8 +4675,8 @@ module Google
|
|
4331
4675
|
class GoogleCloudDialogflowCxV3beta1Intent
|
4332
4676
|
include Google::Apis::Core::Hashable
|
4333
4677
|
|
4334
|
-
#
|
4335
|
-
#
|
4678
|
+
# Human readable description for better understanding an intent like its scope,
|
4679
|
+
# content, result etc. Maximum character limit: 140 characters.
|
4336
4680
|
# Corresponds to the JSON property `description`
|
4337
4681
|
# @return [String]
|
4338
4682
|
attr_accessor :description
|
@@ -4352,14 +4696,14 @@ module Google
|
|
4352
4696
|
attr_accessor :is_fallback
|
4353
4697
|
alias_method :is_fallback?, :is_fallback
|
4354
4698
|
|
4355
|
-
#
|
4356
|
-
#
|
4357
|
-
#
|
4358
|
-
#
|
4359
|
-
#
|
4360
|
-
#
|
4361
|
-
#
|
4362
|
-
#
|
4699
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
4700
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
4701
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
4702
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
4703
|
+
# 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
|
4704
|
+
# allowed Dialogflow defined labels include: * sys-head * sys-contextual The
|
4705
|
+
# above labels do not require value. "sys-head" means the intent is a head
|
4706
|
+
# intent. "sys-contextual" means the intent is a contextual intent.
|
4363
4707
|
# Corresponds to the JSON property `labels`
|
4364
4708
|
# @return [Hash<String,String>]
|
4365
4709
|
attr_accessor :labels
|
@@ -4621,6 +4965,32 @@ module Google
|
|
4621
4965
|
end
|
4622
4966
|
end
|
4623
4967
|
|
4968
|
+
# The response message for Environments.ListTestCaseResults.
|
4969
|
+
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
4970
|
+
include Google::Apis::Core::Hashable
|
4971
|
+
|
4972
|
+
# The list of continuous test results.
|
4973
|
+
# Corresponds to the JSON property `continuousTestResults`
|
4974
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult>]
|
4975
|
+
attr_accessor :continuous_test_results
|
4976
|
+
|
4977
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
4978
|
+
# results in the list.
|
4979
|
+
# Corresponds to the JSON property `nextPageToken`
|
4980
|
+
# @return [String]
|
4981
|
+
attr_accessor :next_page_token
|
4982
|
+
|
4983
|
+
def initialize(**args)
|
4984
|
+
update!(**args)
|
4985
|
+
end
|
4986
|
+
|
4987
|
+
# Update properties of this object
|
4988
|
+
def update!(**args)
|
4989
|
+
@continuous_test_results = args[:continuous_test_results] if args.key?(:continuous_test_results)
|
4990
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4991
|
+
end
|
4992
|
+
end
|
4993
|
+
|
4624
4994
|
# The response message for EntityTypes.ListEntityTypes.
|
4625
4995
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
4626
4996
|
include Google::Apis::Core::Hashable
|
@@ -4979,8 +5349,8 @@ module Google
|
|
4979
5349
|
class GoogleCloudDialogflowCxV3beta1LoadVersionRequest
|
4980
5350
|
include Google::Apis::Core::Hashable
|
4981
5351
|
|
4982
|
-
# This field is used to prevent accidental overwrite of other agent resources
|
4983
|
-
#
|
5352
|
+
# This field is used to prevent accidental overwrite of other agent resources,
|
5353
|
+
# which can potentially impact other flow's behavior. If `
|
4984
5354
|
# allow_override_agent_resources` is false, conflicted agent-level resources
|
4985
5355
|
# will not be overridden (i.e. intents, entities, webhooks).
|
4986
5356
|
# Corresponds to the JSON property `allowOverrideAgentResources`
|
@@ -5517,6 +5887,16 @@ module Google
|
|
5517
5887
|
attr_accessor :analyze_query_text_sentiment
|
5518
5888
|
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
|
5519
5889
|
|
5890
|
+
# The unique identifier of the page to override the current page in the session.
|
5891
|
+
# Format: `projects//locations//agents//flows//pages/`. If `current_page` is
|
5892
|
+
# specified, the previous state of the session will be ignored by Dialogflow,
|
5893
|
+
# including the previous page and the previous session parameters. In most cases,
|
5894
|
+
# current_page and parameters should be configured together to direct a session
|
5895
|
+
# to a specific state.
|
5896
|
+
# Corresponds to the JSON property `currentPage`
|
5897
|
+
# @return [String]
|
5898
|
+
attr_accessor :current_page
|
5899
|
+
|
5520
5900
|
# Whether to disable webhook calls for this request.
|
5521
5901
|
# Corresponds to the JSON property `disableWebhook`
|
5522
5902
|
# @return [Boolean]
|
@@ -5525,28 +5905,32 @@ module Google
|
|
5525
5905
|
|
5526
5906
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
5527
5907
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
5528
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
5529
|
-
# within normalized ranges.
|
5908
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
5909
|
+
# must be within normalized ranges.
|
5530
5910
|
# Corresponds to the JSON property `geoLocation`
|
5531
5911
|
# @return [Google::Apis::DialogflowV3beta1::GoogleTypeLatLng]
|
5532
5912
|
attr_accessor :geo_location
|
5533
5913
|
|
5534
5914
|
# Additional parameters to be put into session parameters. To remove a parameter
|
5535
5915
|
# from the session, clients should explicitly set the parameter value to null.
|
5536
|
-
#
|
5537
|
-
#
|
5538
|
-
#
|
5539
|
-
#
|
5540
|
-
#
|
5541
|
-
#
|
5542
|
-
# type
|
5543
|
-
#
|
5916
|
+
# You can reference the session parameters in the agent with the following
|
5917
|
+
# format: $session.params.parameter-id. Depending on your protocol or client
|
5918
|
+
# library language, this is a map, associative array, symbol table, dictionary,
|
5919
|
+
# or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
|
5920
|
+
# type: string - MapKey value: parameter name - MapValue type: - If parameter's
|
5921
|
+
# entity type is a composite entity: map - Else: depending on parameter value
|
5922
|
+
# type, could be one of string, number, boolean, null, list or map - MapValue
|
5923
|
+
# value: - If parameter's entity type is a composite entity: map from composite
|
5924
|
+
# entity property names to property values - Else: parameter value
|
5544
5925
|
# Corresponds to the JSON property `parameters`
|
5545
5926
|
# @return [Hash<String,Object>]
|
5546
5927
|
attr_accessor :parameters
|
5547
5928
|
|
5548
5929
|
# This field can be used to pass custom data into the webhook associated with
|
5549
|
-
# the agent. Arbitrary JSON objects are supported.
|
5930
|
+
# the agent. Arbitrary JSON objects are supported. Some integrations that query
|
5931
|
+
# a Dialogflow agent may provide additional information in the payload. In
|
5932
|
+
# particular, for the Dialogflow Phone Gateway integration, this field has the
|
5933
|
+
# form: ``` ` "telephony": ` "caller_id": "+18558363987" ` ` ```
|
5550
5934
|
# Corresponds to the JSON property `payload`
|
5551
5935
|
# @return [Hash<String,Object>]
|
5552
5936
|
attr_accessor :payload
|
@@ -5584,6 +5968,7 @@ module Google
|
|
5584
5968
|
# Update properties of this object
|
5585
5969
|
def update!(**args)
|
5586
5970
|
@analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
|
5971
|
+
@current_page = args[:current_page] if args.key?(:current_page)
|
5587
5972
|
@disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
|
5588
5973
|
@geo_location = args[:geo_location] if args.key?(:geo_location)
|
5589
5974
|
@parameters = args[:parameters] if args.key?(:parameters)
|
@@ -6120,6 +6505,58 @@ module Google
|
|
6120
6505
|
end
|
6121
6506
|
end
|
6122
6507
|
|
6508
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
6509
|
+
# operation.
|
6510
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
6511
|
+
include Google::Apis::Core::Hashable
|
6512
|
+
|
6513
|
+
# The test errors.
|
6514
|
+
# Corresponds to the JSON property `errors`
|
6515
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError>]
|
6516
|
+
attr_accessor :errors
|
6517
|
+
|
6518
|
+
def initialize(**args)
|
6519
|
+
update!(**args)
|
6520
|
+
end
|
6521
|
+
|
6522
|
+
# Update properties of this object
|
6523
|
+
def update!(**args)
|
6524
|
+
@errors = args[:errors] if args.key?(:errors)
|
6525
|
+
end
|
6526
|
+
end
|
6527
|
+
|
6528
|
+
# The request message for Environments.RunContinuousTest.
|
6529
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
|
6530
|
+
include Google::Apis::Core::Hashable
|
6531
|
+
|
6532
|
+
def initialize(**args)
|
6533
|
+
update!(**args)
|
6534
|
+
end
|
6535
|
+
|
6536
|
+
# Update properties of this object
|
6537
|
+
def update!(**args)
|
6538
|
+
end
|
6539
|
+
end
|
6540
|
+
|
6541
|
+
# The response message for Environments.RunContinuousTest.
|
6542
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
6543
|
+
include Google::Apis::Core::Hashable
|
6544
|
+
|
6545
|
+
# Represents a result from running a test case in an agent environment.
|
6546
|
+
# Corresponds to the JSON property `continuousTestResult`
|
6547
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
6548
|
+
attr_accessor :continuous_test_result
|
6549
|
+
|
6550
|
+
def initialize(**args)
|
6551
|
+
update!(**args)
|
6552
|
+
end
|
6553
|
+
|
6554
|
+
# Update properties of this object
|
6555
|
+
def update!(**args)
|
6556
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
6557
|
+
end
|
6558
|
+
end
|
6559
|
+
|
6123
6560
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
6124
6561
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
6125
6562
|
include Google::Apis::Core::Hashable
|
@@ -6203,8 +6640,8 @@ module Google
|
|
6203
6640
|
# @return [Array<String>]
|
6204
6641
|
attr_accessor :purge_data_types
|
6205
6642
|
|
6206
|
-
# Defines
|
6207
|
-
#
|
6643
|
+
# Defines the data for which Dialogflow applies redaction. Dialogflow does not
|
6644
|
+
# redact data that it does not have access to – for example, Cloud logging.
|
6208
6645
|
# Corresponds to the JSON property `redactionScope`
|
6209
6646
|
# @return [String]
|
6210
6647
|
attr_accessor :redaction_scope
|
@@ -6214,10 +6651,12 @@ module Google
|
|
6214
6651
|
# @return [String]
|
6215
6652
|
attr_accessor :redaction_strategy
|
6216
6653
|
|
6217
|
-
# Retains
|
6218
|
-
#
|
6219
|
-
#
|
6220
|
-
#
|
6654
|
+
# Retains data in interaction logging for the specified number of days. This
|
6655
|
+
# does not apply to Cloud logging, which is owned by the user - not Dialogflow.
|
6656
|
+
# User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
|
6657
|
+
# higher than that has no effect. A missing value or setting to 0 also means we
|
6658
|
+
# use Dialogflow's default TTL. Note: Interaction logging is a limited access
|
6659
|
+
# feature. Talk to your Google representative to check availability for you.
|
6221
6660
|
# Corresponds to the JSON property `retentionWindowDays`
|
6222
6661
|
# @return [Fixnum]
|
6223
6662
|
attr_accessor :retention_window_days
|
@@ -7335,6 +7774,12 @@ module Google
|
|
7335
7774
|
# @return [String]
|
7336
7775
|
attr_accessor :name
|
7337
7776
|
|
7777
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
7778
|
+
# service-directory) service.
|
7779
|
+
# Corresponds to the JSON property `serviceDirectory`
|
7780
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]
|
7781
|
+
attr_accessor :service_directory
|
7782
|
+
|
7338
7783
|
# Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
|
7339
7784
|
# t receive a response from webhook at the end of the timeout period. Defaults
|
7340
7785
|
# to 5 seconds, maximum allowed timeout is 30 seconds.
|
@@ -7352,6 +7797,7 @@ module Google
|
|
7352
7797
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7353
7798
|
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
7354
7799
|
@name = args[:name] if args.key?(:name)
|
7800
|
+
@service_directory = args[:service_directory] if args.key?(:service_directory)
|
7355
7801
|
@timeout = args[:timeout] if args.key?(:timeout)
|
7356
7802
|
end
|
7357
7803
|
end
|
@@ -7415,6 +7861,11 @@ module Google
|
|
7415
7861
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
|
7416
7862
|
attr_accessor :intent_info
|
7417
7863
|
|
7864
|
+
# The language code specified in the original request.
|
7865
|
+
# Corresponds to the JSON property `languageCode`
|
7866
|
+
# @return [String]
|
7867
|
+
attr_accessor :language_code
|
7868
|
+
|
7418
7869
|
# The list of rich message responses to present to the user. Webhook can choose
|
7419
7870
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
7420
7871
|
# Corresponds to the JSON property `messages`
|
@@ -7441,6 +7892,30 @@ module Google
|
|
7441
7892
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
|
7442
7893
|
attr_accessor :session_info
|
7443
7894
|
|
7895
|
+
# If natural language text was provided as input, this field will contain a copy
|
7896
|
+
# of the text.
|
7897
|
+
# Corresponds to the JSON property `text`
|
7898
|
+
# @return [String]
|
7899
|
+
attr_accessor :text
|
7900
|
+
|
7901
|
+
# If natural language speech audio was provided as input, this field will
|
7902
|
+
# contain the transcript for the audio.
|
7903
|
+
# Corresponds to the JSON property `transcript`
|
7904
|
+
# @return [String]
|
7905
|
+
attr_accessor :transcript
|
7906
|
+
|
7907
|
+
# If an event was provided as input, this field will contain the name of the
|
7908
|
+
# event.
|
7909
|
+
# Corresponds to the JSON property `triggerEvent`
|
7910
|
+
# @return [String]
|
7911
|
+
attr_accessor :trigger_event
|
7912
|
+
|
7913
|
+
# If an intent was provided as input, this field will contain a copy of the
|
7914
|
+
# intent identifier. Format: `projects//locations//agents//intents/`.
|
7915
|
+
# Corresponds to the JSON property `triggerIntent`
|
7916
|
+
# @return [String]
|
7917
|
+
attr_accessor :trigger_intent
|
7918
|
+
|
7444
7919
|
def initialize(**args)
|
7445
7920
|
update!(**args)
|
7446
7921
|
end
|
@@ -7450,11 +7925,16 @@ module Google
|
|
7450
7925
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
7451
7926
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
7452
7927
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
7928
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
7453
7929
|
@messages = args[:messages] if args.key?(:messages)
|
7454
7930
|
@page_info = args[:page_info] if args.key?(:page_info)
|
7455
7931
|
@payload = args[:payload] if args.key?(:payload)
|
7456
7932
|
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
7457
7933
|
@session_info = args[:session_info] if args.key?(:session_info)
|
7934
|
+
@text = args[:text] if args.key?(:text)
|
7935
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
7936
|
+
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
7937
|
+
@trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
|
7458
7938
|
end
|
7459
7939
|
end
|
7460
7940
|
|
@@ -7647,6 +8127,35 @@ module Google
|
|
7647
8127
|
end
|
7648
8128
|
end
|
7649
8129
|
|
8130
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
8131
|
+
# service-directory) service.
|
8132
|
+
class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
|
8133
|
+
include Google::Apis::Core::Hashable
|
8134
|
+
|
8135
|
+
# Represents configuration for a generic web service.
|
8136
|
+
# Corresponds to the JSON property `genericWebService`
|
8137
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]
|
8138
|
+
attr_accessor :generic_web_service
|
8139
|
+
|
8140
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
8141
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
8142
|
+
# Location ID` of the service directory must be the same as the location of the
|
8143
|
+
# agent.
|
8144
|
+
# Corresponds to the JSON property `service`
|
8145
|
+
# @return [String]
|
8146
|
+
attr_accessor :service
|
8147
|
+
|
8148
|
+
def initialize(**args)
|
8149
|
+
update!(**args)
|
8150
|
+
end
|
8151
|
+
|
8152
|
+
# Update properties of this object
|
8153
|
+
def update!(**args)
|
8154
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
8155
|
+
@service = args[:service] if args.key?(:service)
|
8156
|
+
end
|
8157
|
+
end
|
8158
|
+
|
7650
8159
|
# Represents a part of a message possibly annotated with an entity. The part can
|
7651
8160
|
# be an entity or purely a part of the message between two entities or message
|
7652
8161
|
# start/end.
|
@@ -9544,6 +10053,13 @@ module Google
|
|
9544
10053
|
attr_accessor :all_required_params_present
|
9545
10054
|
alias_method :all_required_params_present?, :all_required_params_present
|
9546
10055
|
|
10056
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
10057
|
+
# filling.
|
10058
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
10059
|
+
# @return [Boolean]
|
10060
|
+
attr_accessor :cancels_slot_filling
|
10061
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
10062
|
+
|
9547
10063
|
# Free-form diagnostic information for the associated detect intent request. The
|
9548
10064
|
# fields of this data can change without notice, so you should not write code
|
9549
10065
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9664,6 +10180,7 @@ module Google
|
|
9664
10180
|
def update!(**args)
|
9665
10181
|
@action = args[:action] if args.key?(:action)
|
9666
10182
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
10183
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
9667
10184
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9668
10185
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9669
10186
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -12491,6 +13008,13 @@ module Google
|
|
12491
13008
|
attr_accessor :all_required_params_present
|
12492
13009
|
alias_method :all_required_params_present?, :all_required_params_present
|
12493
13010
|
|
13011
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
13012
|
+
# filling.
|
13013
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13014
|
+
# @return [Boolean]
|
13015
|
+
attr_accessor :cancels_slot_filling
|
13016
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13017
|
+
|
12494
13018
|
# Free-form diagnostic information for the associated detect intent request. The
|
12495
13019
|
# fields of this data can change without notice, so you should not write code
|
12496
13020
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12616,6 +13140,7 @@ module Google
|
|
12616
13140
|
def update!(**args)
|
12617
13141
|
@action = args[:action] if args.key?(:action)
|
12618
13142
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13143
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
12619
13144
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12620
13145
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12621
13146
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -13345,8 +13870,8 @@ module Google
|
|
13345
13870
|
|
13346
13871
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
13347
13872
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
13348
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
13349
|
-
# within normalized ranges.
|
13873
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
13874
|
+
# must be within normalized ranges.
|
13350
13875
|
class GoogleTypeLatLng
|
13351
13876
|
include Google::Apis::Core::Hashable
|
13352
13877
|
|