google-apis-dialogflow_v3beta1 0.81.0 → 0.83.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a93198c6f5e13067fe42c6c13347a5149683294078d345cffd8d13662874c08
|
4
|
+
data.tar.gz: 26826d295bcf866880be1f6590e6ae505a0486d29a4af29677b367cbcd07661f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cb6c1bd81cbf57a1094e6092080854d1db2d639ebfb37f33fac9ac9580196a5e77fddc64f4ac699cc2cb32525d7a369707d371644b51ba09759b2cb51222808
|
7
|
+
data.tar.gz: f736b21fbbf8ed807112093599e0734290f25bbf3d8dff227395c82a4ff270c8c5ac8d7659d0ecab2015fd7d4d8727ce95dc84f8eeaa8d267bc24bbc93e54cf9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
2
2
|
|
3
|
+
### v0.83.0 (2024-03-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240311
|
6
|
+
|
7
|
+
### v0.82.0 (2024-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240305
|
10
|
+
* Regenerated using generator version 0.14.0
|
11
|
+
|
3
12
|
### v0.81.0 (2024-02-23)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240219
|
@@ -49,6 +49,11 @@ module Google
|
|
49
49
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
|
50
50
|
attr_accessor :logging_settings
|
51
51
|
|
52
|
+
# Define behaviors of speech to text detection.
|
53
|
+
# Corresponds to the JSON property `speechSettings`
|
54
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings]
|
55
|
+
attr_accessor :speech_settings
|
56
|
+
|
52
57
|
def initialize(**args)
|
53
58
|
update!(**args)
|
54
59
|
end
|
@@ -58,6 +63,7 @@ module Google
|
|
58
63
|
@audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
|
59
64
|
@dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
|
60
65
|
@logging_settings = args[:logging_settings] if args.key?(:logging_settings)
|
66
|
+
@speech_settings = args[:speech_settings] if args.key?(:speech_settings)
|
61
67
|
end
|
62
68
|
end
|
63
69
|
|
@@ -124,6 +130,49 @@ module Google
|
|
124
130
|
end
|
125
131
|
end
|
126
132
|
|
133
|
+
# Define behaviors of speech to text detection.
|
134
|
+
class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
|
135
|
+
include Google::Apis::Core::Hashable
|
136
|
+
|
137
|
+
# Sensitivity of the speech model that detects the end of speech. Scale from 0
|
138
|
+
# to 100.
|
139
|
+
# Corresponds to the JSON property `endpointerSensitivity`
|
140
|
+
# @return [Fixnum]
|
141
|
+
attr_accessor :endpointer_sensitivity
|
142
|
+
|
143
|
+
# Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
|
144
|
+
# will be selected for requests from its corresponding language. For more
|
145
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
|
146
|
+
# concept/speech-models).
|
147
|
+
# Corresponds to the JSON property `models`
|
148
|
+
# @return [Hash<String,String>]
|
149
|
+
attr_accessor :models
|
150
|
+
|
151
|
+
# Timeout before detecting no speech.
|
152
|
+
# Corresponds to the JSON property `noSpeechTimeout`
|
153
|
+
# @return [String]
|
154
|
+
attr_accessor :no_speech_timeout
|
155
|
+
|
156
|
+
# Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
|
157
|
+
# timeout value.
|
158
|
+
# Corresponds to the JSON property `useTimeoutBasedEndpointing`
|
159
|
+
# @return [Boolean]
|
160
|
+
attr_accessor :use_timeout_based_endpointing
|
161
|
+
alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
|
162
|
+
|
163
|
+
def initialize(**args)
|
164
|
+
update!(**args)
|
165
|
+
end
|
166
|
+
|
167
|
+
# Update properties of this object
|
168
|
+
def update!(**args)
|
169
|
+
@endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
|
170
|
+
@models = args[:models] if args.key?(:models)
|
171
|
+
@no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
|
172
|
+
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
127
176
|
# Represents the natural speech audio to be processed.
|
128
177
|
class GoogleCloudDialogflowCxV3AudioInput
|
129
178
|
include Google::Apis::Core::Hashable
|
@@ -3332,6 +3381,12 @@ module Google
|
|
3332
3381
|
# @return [String]
|
3333
3382
|
attr_accessor :http_method
|
3334
3383
|
|
3384
|
+
# Represents configuration of OAuth client credential flow for 3rd party API
|
3385
|
+
# authentication.
|
3386
|
+
# Corresponds to the JSON property `oauthConfig`
|
3387
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig]
|
3388
|
+
attr_accessor :oauth_config
|
3389
|
+
|
3335
3390
|
# Optional. Maps the values extracted from specific fields of the flexible
|
3336
3391
|
# webhook response into session parameters. - Key: session parameter name -
|
3337
3392
|
# Value: field path in the webhook response
|
@@ -3355,6 +3410,13 @@ module Google
|
|
3355
3410
|
# @return [Hash<String,String>]
|
3356
3411
|
attr_accessor :request_headers
|
3357
3412
|
|
3413
|
+
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
3414
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
3415
|
+
# agent). The generated token is sent in the Authorization header.
|
3416
|
+
# Corresponds to the JSON property `serviceAgentAuth`
|
3417
|
+
# @return [String]
|
3418
|
+
attr_accessor :service_agent_auth
|
3419
|
+
|
3358
3420
|
# Required. The webhook URI for receiving POST requests. It must use https
|
3359
3421
|
# protocol.
|
3360
3422
|
# Corresponds to the JSON property `uri`
|
@@ -3379,16 +3441,57 @@ module Google
|
|
3379
3441
|
def update!(**args)
|
3380
3442
|
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
3381
3443
|
@http_method = args[:http_method] if args.key?(:http_method)
|
3444
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
3382
3445
|
@parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
|
3383
3446
|
@password = args[:password] if args.key?(:password)
|
3384
3447
|
@request_body = args[:request_body] if args.key?(:request_body)
|
3385
3448
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
3449
|
+
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
3386
3450
|
@uri = args[:uri] if args.key?(:uri)
|
3387
3451
|
@username = args[:username] if args.key?(:username)
|
3388
3452
|
@webhook_type = args[:webhook_type] if args.key?(:webhook_type)
|
3389
3453
|
end
|
3390
3454
|
end
|
3391
3455
|
|
3456
|
+
# Represents configuration of OAuth client credential flow for 3rd party API
|
3457
|
+
# authentication.
|
3458
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
|
3459
|
+
include Google::Apis::Core::Hashable
|
3460
|
+
|
3461
|
+
# Required. The client ID provided by the 3rd party platform.
|
3462
|
+
# Corresponds to the JSON property `clientId`
|
3463
|
+
# @return [String]
|
3464
|
+
attr_accessor :client_id
|
3465
|
+
|
3466
|
+
# Required. The client secret provided by the 3rd party platform.
|
3467
|
+
# Corresponds to the JSON property `clientSecret`
|
3468
|
+
# @return [String]
|
3469
|
+
attr_accessor :client_secret
|
3470
|
+
|
3471
|
+
# Optional. The OAuth scopes to grant.
|
3472
|
+
# Corresponds to the JSON property `scopes`
|
3473
|
+
# @return [Array<String>]
|
3474
|
+
attr_accessor :scopes
|
3475
|
+
|
3476
|
+
# Required. The token endpoint provided by the 3rd party platform to exchange an
|
3477
|
+
# access token.
|
3478
|
+
# Corresponds to the JSON property `tokenEndpoint`
|
3479
|
+
# @return [String]
|
3480
|
+
attr_accessor :token_endpoint
|
3481
|
+
|
3482
|
+
def initialize(**args)
|
3483
|
+
update!(**args)
|
3484
|
+
end
|
3485
|
+
|
3486
|
+
# Update properties of this object
|
3487
|
+
def update!(**args)
|
3488
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
3489
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
3490
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
3491
|
+
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
3492
|
+
end
|
3493
|
+
end
|
3494
|
+
|
3392
3495
|
# The request message for a webhook call. The request is sent as a JSON object
|
3393
3496
|
# and the field names will be presented in camel cases. You may see undocumented
|
3394
3497
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -3743,6 +3846,11 @@ module Google
|
|
3743
3846
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
|
3744
3847
|
attr_accessor :logging_settings
|
3745
3848
|
|
3849
|
+
# Define behaviors of speech to text detection.
|
3850
|
+
# Corresponds to the JSON property `speechSettings`
|
3851
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings]
|
3852
|
+
attr_accessor :speech_settings
|
3853
|
+
|
3746
3854
|
def initialize(**args)
|
3747
3855
|
update!(**args)
|
3748
3856
|
end
|
@@ -3752,6 +3860,7 @@ module Google
|
|
3752
3860
|
@audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
|
3753
3861
|
@dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
|
3754
3862
|
@logging_settings = args[:logging_settings] if args.key?(:logging_settings)
|
3863
|
+
@speech_settings = args[:speech_settings] if args.key?(:speech_settings)
|
3755
3864
|
end
|
3756
3865
|
end
|
3757
3866
|
|
@@ -3818,6 +3927,49 @@ module Google
|
|
3818
3927
|
end
|
3819
3928
|
end
|
3820
3929
|
|
3930
|
+
# Define behaviors of speech to text detection.
|
3931
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
|
3932
|
+
include Google::Apis::Core::Hashable
|
3933
|
+
|
3934
|
+
# Sensitivity of the speech model that detects the end of speech. Scale from 0
|
3935
|
+
# to 100.
|
3936
|
+
# Corresponds to the JSON property `endpointerSensitivity`
|
3937
|
+
# @return [Fixnum]
|
3938
|
+
attr_accessor :endpointer_sensitivity
|
3939
|
+
|
3940
|
+
# Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
|
3941
|
+
# will be selected for requests from its corresponding language. For more
|
3942
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
|
3943
|
+
# concept/speech-models).
|
3944
|
+
# Corresponds to the JSON property `models`
|
3945
|
+
# @return [Hash<String,String>]
|
3946
|
+
attr_accessor :models
|
3947
|
+
|
3948
|
+
# Timeout before detecting no speech.
|
3949
|
+
# Corresponds to the JSON property `noSpeechTimeout`
|
3950
|
+
# @return [String]
|
3951
|
+
attr_accessor :no_speech_timeout
|
3952
|
+
|
3953
|
+
# Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
|
3954
|
+
# timeout value.
|
3955
|
+
# Corresponds to the JSON property `useTimeoutBasedEndpointing`
|
3956
|
+
# @return [Boolean]
|
3957
|
+
attr_accessor :use_timeout_based_endpointing
|
3958
|
+
alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
|
3959
|
+
|
3960
|
+
def initialize(**args)
|
3961
|
+
update!(**args)
|
3962
|
+
end
|
3963
|
+
|
3964
|
+
# Update properties of this object
|
3965
|
+
def update!(**args)
|
3966
|
+
@endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
|
3967
|
+
@models = args[:models] if args.key?(:models)
|
3968
|
+
@no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
|
3969
|
+
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
|
3970
|
+
end
|
3971
|
+
end
|
3972
|
+
|
3821
3973
|
# Agents are best described as Natural Language Understanding (NLU) modules that
|
3822
3974
|
# transform user requests into actionable data. You can include agents in your
|
3823
3975
|
# app, product, or service to determine user intent and respond to the user in a
|
@@ -3907,6 +4059,11 @@ module Google
|
|
3907
4059
|
# @return [String]
|
3908
4060
|
attr_accessor :name
|
3909
4061
|
|
4062
|
+
# Settings for end user personalization.
|
4063
|
+
# Corresponds to the JSON property `personalizationSettings`
|
4064
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings]
|
4065
|
+
attr_accessor :personalization_settings
|
4066
|
+
|
3910
4067
|
# Name of the SecuritySettings reference for the agent. Format: `projects//
|
3911
4068
|
# locations//securitySettings/`.
|
3912
4069
|
# Corresponds to the JSON property `securitySettings`
|
@@ -3960,6 +4117,7 @@ module Google
|
|
3960
4117
|
@git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
|
3961
4118
|
@locked = args[:locked] if args.key?(:locked)
|
3962
4119
|
@name = args[:name] if args.key?(:name)
|
4120
|
+
@personalization_settings = args[:personalization_settings] if args.key?(:personalization_settings)
|
3963
4121
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
3964
4122
|
@speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
|
3965
4123
|
@start_flow = args[:start_flow] if args.key?(:start_flow)
|
@@ -4074,6 +4232,29 @@ module Google
|
|
4074
4232
|
end
|
4075
4233
|
end
|
4076
4234
|
|
4235
|
+
# Settings for end user personalization.
|
4236
|
+
class GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
|
4237
|
+
include Google::Apis::Core::Hashable
|
4238
|
+
|
4239
|
+
# Optional. Default end user metadata, used when processing DetectIntent
|
4240
|
+
# requests. Recommended to be filled as a template instead of hard-coded value,
|
4241
|
+
# for example ` "age": "$session.params.age" `. The data will be merged with the
|
4242
|
+
# QueryParameters.end_user_metadata in DetectIntentRequest.query_params during
|
4243
|
+
# query processing.
|
4244
|
+
# Corresponds to the JSON property `defaultEndUserMetadata`
|
4245
|
+
# @return [Hash<String,Object>]
|
4246
|
+
attr_accessor :default_end_user_metadata
|
4247
|
+
|
4248
|
+
def initialize(**args)
|
4249
|
+
update!(**args)
|
4250
|
+
end
|
4251
|
+
|
4252
|
+
# Update properties of this object
|
4253
|
+
def update!(**args)
|
4254
|
+
@default_end_user_metadata = args[:default_end_user_metadata] if args.key?(:default_end_user_metadata)
|
4255
|
+
end
|
4256
|
+
end
|
4257
|
+
|
4077
4258
|
# The response message for Agents.GetAgentValidationResult.
|
4078
4259
|
class GoogleCloudDialogflowCxV3beta1AgentValidationResult
|
4079
4260
|
include Google::Apis::Core::Hashable
|
@@ -4846,6 +5027,265 @@ module Google
|
|
4846
5027
|
end
|
4847
5028
|
end
|
4848
5029
|
|
5030
|
+
# Data store connection feature output signals. Might be only partially field if
|
5031
|
+
# processing stop before the final answer. Reasons for this can be, but are not
|
5032
|
+
# limited to: empty UCS search results, positive RAI check outcome, grounding
|
5033
|
+
# failure, ...
|
5034
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals
|
5035
|
+
include Google::Apis::Core::Hashable
|
5036
|
+
|
5037
|
+
# Optional. The final compiled answer.
|
5038
|
+
# Corresponds to the JSON property `answer`
|
5039
|
+
# @return [String]
|
5040
|
+
attr_accessor :answer
|
5041
|
+
|
5042
|
+
# Diagnostic info related to the answer generation model call.
|
5043
|
+
# Corresponds to the JSON property `answerGenerationModelCallSignals`
|
5044
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals]
|
5045
|
+
attr_accessor :answer_generation_model_call_signals
|
5046
|
+
|
5047
|
+
# Optional. Answer parts with relevant citations. Concatenation of texts should
|
5048
|
+
# add up the `answer` (not counting whitespaces).
|
5049
|
+
# Corresponds to the JSON property `answerParts`
|
5050
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart>]
|
5051
|
+
attr_accessor :answer_parts
|
5052
|
+
|
5053
|
+
# Optional. Snippets cited by the answer generation model from the most to least
|
5054
|
+
# relevant.
|
5055
|
+
# Corresponds to the JSON property `citedSnippets`
|
5056
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet>]
|
5057
|
+
attr_accessor :cited_snippets
|
5058
|
+
|
5059
|
+
# Grounding signals.
|
5060
|
+
# Corresponds to the JSON property `groundingSignals`
|
5061
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals]
|
5062
|
+
attr_accessor :grounding_signals
|
5063
|
+
|
5064
|
+
# Diagnostic info related to the rewriter model call.
|
5065
|
+
# Corresponds to the JSON property `rewriterModelCallSignals`
|
5066
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals]
|
5067
|
+
attr_accessor :rewriter_model_call_signals
|
5068
|
+
|
5069
|
+
# Optional. Rewritten string query used for search.
|
5070
|
+
# Corresponds to the JSON property `rewrittenQuery`
|
5071
|
+
# @return [String]
|
5072
|
+
attr_accessor :rewritten_query
|
5073
|
+
|
5074
|
+
# Safety check results.
|
5075
|
+
# Corresponds to the JSON property `safetySignals`
|
5076
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals]
|
5077
|
+
attr_accessor :safety_signals
|
5078
|
+
|
5079
|
+
# Optional. Search snippets included in the answer generation prompt.
|
5080
|
+
# Corresponds to the JSON property `searchSnippets`
|
5081
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet>]
|
5082
|
+
attr_accessor :search_snippets
|
5083
|
+
|
5084
|
+
def initialize(**args)
|
5085
|
+
update!(**args)
|
5086
|
+
end
|
5087
|
+
|
5088
|
+
# Update properties of this object
|
5089
|
+
def update!(**args)
|
5090
|
+
@answer = args[:answer] if args.key?(:answer)
|
5091
|
+
@answer_generation_model_call_signals = args[:answer_generation_model_call_signals] if args.key?(:answer_generation_model_call_signals)
|
5092
|
+
@answer_parts = args[:answer_parts] if args.key?(:answer_parts)
|
5093
|
+
@cited_snippets = args[:cited_snippets] if args.key?(:cited_snippets)
|
5094
|
+
@grounding_signals = args[:grounding_signals] if args.key?(:grounding_signals)
|
5095
|
+
@rewriter_model_call_signals = args[:rewriter_model_call_signals] if args.key?(:rewriter_model_call_signals)
|
5096
|
+
@rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
|
5097
|
+
@safety_signals = args[:safety_signals] if args.key?(:safety_signals)
|
5098
|
+
@search_snippets = args[:search_snippets] if args.key?(:search_snippets)
|
5099
|
+
end
|
5100
|
+
end
|
5101
|
+
|
5102
|
+
# Diagnostic info related to the answer generation model call.
|
5103
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
|
5104
|
+
include Google::Apis::Core::Hashable
|
5105
|
+
|
5106
|
+
# Output of the generative model.
|
5107
|
+
# Corresponds to the JSON property `modelOutput`
|
5108
|
+
# @return [String]
|
5109
|
+
attr_accessor :model_output
|
5110
|
+
|
5111
|
+
# Prompt as sent to the model.
|
5112
|
+
# Corresponds to the JSON property `renderedPrompt`
|
5113
|
+
# @return [String]
|
5114
|
+
attr_accessor :rendered_prompt
|
5115
|
+
|
5116
|
+
def initialize(**args)
|
5117
|
+
update!(**args)
|
5118
|
+
end
|
5119
|
+
|
5120
|
+
# Update properties of this object
|
5121
|
+
def update!(**args)
|
5122
|
+
@model_output = args[:model_output] if args.key?(:model_output)
|
5123
|
+
@rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
|
5124
|
+
end
|
5125
|
+
end
|
5126
|
+
|
5127
|
+
# Answer part with citation.
|
5128
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
|
5129
|
+
include Google::Apis::Core::Hashable
|
5130
|
+
|
5131
|
+
# Citations for this answer part. Indices of `search_snippets`.
|
5132
|
+
# Corresponds to the JSON property `supportingIndices`
|
5133
|
+
# @return [Array<Fixnum>]
|
5134
|
+
attr_accessor :supporting_indices
|
5135
|
+
|
5136
|
+
# Substring of the answer.
|
5137
|
+
# Corresponds to the JSON property `text`
|
5138
|
+
# @return [String]
|
5139
|
+
attr_accessor :text
|
5140
|
+
|
5141
|
+
def initialize(**args)
|
5142
|
+
update!(**args)
|
5143
|
+
end
|
5144
|
+
|
5145
|
+
# Update properties of this object
|
5146
|
+
def update!(**args)
|
5147
|
+
@supporting_indices = args[:supporting_indices] if args.key?(:supporting_indices)
|
5148
|
+
@text = args[:text] if args.key?(:text)
|
5149
|
+
end
|
5150
|
+
end
|
5151
|
+
|
5152
|
+
# Snippet cited by the answer generation model.
|
5153
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
|
5154
|
+
include Google::Apis::Core::Hashable
|
5155
|
+
|
5156
|
+
# Search snippet details.
|
5157
|
+
# Corresponds to the JSON property `searchSnippet`
|
5158
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet]
|
5159
|
+
attr_accessor :search_snippet
|
5160
|
+
|
5161
|
+
# Index of the snippet in `search_snippets` field.
|
5162
|
+
# Corresponds to the JSON property `snippetIndex`
|
5163
|
+
# @return [Fixnum]
|
5164
|
+
attr_accessor :snippet_index
|
5165
|
+
|
5166
|
+
def initialize(**args)
|
5167
|
+
update!(**args)
|
5168
|
+
end
|
5169
|
+
|
5170
|
+
# Update properties of this object
|
5171
|
+
def update!(**args)
|
5172
|
+
@search_snippet = args[:search_snippet] if args.key?(:search_snippet)
|
5173
|
+
@snippet_index = args[:snippet_index] if args.key?(:snippet_index)
|
5174
|
+
end
|
5175
|
+
end
|
5176
|
+
|
5177
|
+
# Grounding signals.
|
5178
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals
|
5179
|
+
include Google::Apis::Core::Hashable
|
5180
|
+
|
5181
|
+
# Represents the decision of the grounding check.
|
5182
|
+
# Corresponds to the JSON property `decision`
|
5183
|
+
# @return [String]
|
5184
|
+
attr_accessor :decision
|
5185
|
+
|
5186
|
+
# Grounding score bucket setting.
|
5187
|
+
# Corresponds to the JSON property `score`
|
5188
|
+
# @return [String]
|
5189
|
+
attr_accessor :score
|
5190
|
+
|
5191
|
+
def initialize(**args)
|
5192
|
+
update!(**args)
|
5193
|
+
end
|
5194
|
+
|
5195
|
+
# Update properties of this object
|
5196
|
+
def update!(**args)
|
5197
|
+
@decision = args[:decision] if args.key?(:decision)
|
5198
|
+
@score = args[:score] if args.key?(:score)
|
5199
|
+
end
|
5200
|
+
end
|
5201
|
+
|
5202
|
+
# Diagnostic info related to the rewriter model call.
|
5203
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
|
5204
|
+
include Google::Apis::Core::Hashable
|
5205
|
+
|
5206
|
+
# Output of the generative model.
|
5207
|
+
# Corresponds to the JSON property `modelOutput`
|
5208
|
+
# @return [String]
|
5209
|
+
attr_accessor :model_output
|
5210
|
+
|
5211
|
+
# Prompt as sent to the model.
|
5212
|
+
# Corresponds to the JSON property `renderedPrompt`
|
5213
|
+
# @return [String]
|
5214
|
+
attr_accessor :rendered_prompt
|
5215
|
+
|
5216
|
+
def initialize(**args)
|
5217
|
+
update!(**args)
|
5218
|
+
end
|
5219
|
+
|
5220
|
+
# Update properties of this object
|
5221
|
+
def update!(**args)
|
5222
|
+
@model_output = args[:model_output] if args.key?(:model_output)
|
5223
|
+
@rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
|
5224
|
+
end
|
5225
|
+
end
|
5226
|
+
|
5227
|
+
# Safety check results.
|
5228
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals
|
5229
|
+
include Google::Apis::Core::Hashable
|
5230
|
+
|
5231
|
+
# Specifies banned phrase match subject.
|
5232
|
+
# Corresponds to the JSON property `bannedPhraseMatch`
|
5233
|
+
# @return [String]
|
5234
|
+
attr_accessor :banned_phrase_match
|
5235
|
+
|
5236
|
+
# Safety decision.
|
5237
|
+
# Corresponds to the JSON property `decision`
|
5238
|
+
# @return [String]
|
5239
|
+
attr_accessor :decision
|
5240
|
+
|
5241
|
+
# The matched banned phrase if there was a match.
|
5242
|
+
# Corresponds to the JSON property `matchedBannedPhrase`
|
5243
|
+
# @return [String]
|
5244
|
+
attr_accessor :matched_banned_phrase
|
5245
|
+
|
5246
|
+
def initialize(**args)
|
5247
|
+
update!(**args)
|
5248
|
+
end
|
5249
|
+
|
5250
|
+
# Update properties of this object
|
5251
|
+
def update!(**args)
|
5252
|
+
@banned_phrase_match = args[:banned_phrase_match] if args.key?(:banned_phrase_match)
|
5253
|
+
@decision = args[:decision] if args.key?(:decision)
|
5254
|
+
@matched_banned_phrase = args[:matched_banned_phrase] if args.key?(:matched_banned_phrase)
|
5255
|
+
end
|
5256
|
+
end
|
5257
|
+
|
5258
|
+
# Search snippet details.
|
5259
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
|
5260
|
+
include Google::Apis::Core::Hashable
|
5261
|
+
|
5262
|
+
# Title of the enclosing document.
|
5263
|
+
# Corresponds to the JSON property `documentTitle`
|
5264
|
+
# @return [String]
|
5265
|
+
attr_accessor :document_title
|
5266
|
+
|
5267
|
+
# Uri for the document. Present if specified for the document.
|
5268
|
+
# Corresponds to the JSON property `documentUri`
|
5269
|
+
# @return [String]
|
5270
|
+
attr_accessor :document_uri
|
5271
|
+
|
5272
|
+
# Text included in the prompt.
|
5273
|
+
# Corresponds to the JSON property `text`
|
5274
|
+
# @return [String]
|
5275
|
+
attr_accessor :text
|
5276
|
+
|
5277
|
+
def initialize(**args)
|
5278
|
+
update!(**args)
|
5279
|
+
end
|
5280
|
+
|
5281
|
+
# Update properties of this object
|
5282
|
+
def update!(**args)
|
5283
|
+
@document_title = args[:document_title] if args.key?(:document_title)
|
5284
|
+
@document_uri = args[:document_uri] if args.key?(:document_uri)
|
5285
|
+
@text = args[:text] if args.key?(:text)
|
5286
|
+
end
|
5287
|
+
end
|
5288
|
+
|
4849
5289
|
# Metadata for DeleteDocument operation.
|
4850
5290
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
4851
5291
|
include Google::Apis::Core::Hashable
|
@@ -9142,6 +9582,14 @@ module Google
|
|
9142
9582
|
# @return [Hash<String,Object>]
|
9143
9583
|
attr_accessor :payload
|
9144
9584
|
|
9585
|
+
# Optional. If set to true and data stores are involved in serving the request
|
9586
|
+
# then DetectIntentResponse.query_result.data_store_connection_signals will be
|
9587
|
+
# filled with data that can help evaluations.
|
9588
|
+
# Corresponds to the JSON property `populateDataStoreConnectionSignals`
|
9589
|
+
# @return [Boolean]
|
9590
|
+
attr_accessor :populate_data_store_connection_signals
|
9591
|
+
alias_method :populate_data_store_connection_signals?, :populate_data_store_connection_signals
|
9592
|
+
|
9145
9593
|
# Search configuration for UCS search queries.
|
9146
9594
|
# Corresponds to the JSON property `searchConfig`
|
9147
9595
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig]
|
@@ -9196,6 +9644,7 @@ module Google
|
|
9196
9644
|
@geo_location = args[:geo_location] if args.key?(:geo_location)
|
9197
9645
|
@parameters = args[:parameters] if args.key?(:parameters)
|
9198
9646
|
@payload = args[:payload] if args.key?(:payload)
|
9647
|
+
@populate_data_store_connection_signals = args[:populate_data_store_connection_signals] if args.key?(:populate_data_store_connection_signals)
|
9199
9648
|
@search_config = args[:search_config] if args.key?(:search_config)
|
9200
9649
|
@session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
|
9201
9650
|
@session_ttl = args[:session_ttl] if args.key?(:session_ttl)
|
@@ -9243,6 +9692,14 @@ module Google
|
|
9243
9692
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
|
9244
9693
|
attr_accessor :current_page
|
9245
9694
|
|
9695
|
+
# Data store connection feature output signals. Might be only partially field if
|
9696
|
+
# processing stop before the final answer. Reasons for this can be, but are not
|
9697
|
+
# limited to: empty UCS search results, positive RAI check outcome, grounding
|
9698
|
+
# failure, ...
|
9699
|
+
# Corresponds to the JSON property `dataStoreConnectionSignals`
|
9700
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals]
|
9701
|
+
attr_accessor :data_store_connection_signals
|
9702
|
+
|
9246
9703
|
# The free-form diagnostic info. For example, this field could contain webhook
|
9247
9704
|
# call latency. The fields of this data can change without notice, so you should
|
9248
9705
|
# not write code that depends on its structure. One of the fields is called "
|
@@ -9386,6 +9843,7 @@ module Google
|
|
9386
9843
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
9387
9844
|
@allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
|
9388
9845
|
@current_page = args[:current_page] if args.key?(:current_page)
|
9846
|
+
@data_store_connection_signals = args[:data_store_connection_signals] if args.key?(:data_store_connection_signals)
|
9389
9847
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9390
9848
|
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
9391
9849
|
@intent = args[:intent] if args.key?(:intent)
|
@@ -10239,7 +10697,9 @@ module Google
|
|
10239
10697
|
# User must set a value lower than Dialogflow's default 365d TTL (30 days for
|
10240
10698
|
# Agent Assist traffic), higher value will be ignored and use default. Setting a
|
10241
10699
|
# value higher than that has no effect. A missing value or setting to 0 also
|
10242
|
-
# means we use default TTL.
|
10700
|
+
# means we use default TTL. When data retention configuration is changed, it
|
10701
|
+
# only applies to the data created after the change; the TTL of existing data
|
10702
|
+
# created before the change stays intact.
|
10243
10703
|
# Corresponds to the JSON property `retentionWindowDays`
|
10244
10704
|
# @return [Fixnum]
|
10245
10705
|
attr_accessor :retention_window_days
|
@@ -10278,7 +10738,8 @@ module Google
|
|
10278
10738
|
# @return [String]
|
10279
10739
|
attr_accessor :audio_format
|
10280
10740
|
|
10281
|
-
# Enable audio redaction if it is true.
|
10741
|
+
# Enable audio redaction if it is true. Note that this only redacts end-user
|
10742
|
+
# audio data; Synthesised audio from the virtual agent is not redacted.
|
10282
10743
|
# Corresponds to the JSON property `enableAudioRedaction`
|
10283
10744
|
# @return [Boolean]
|
10284
10745
|
attr_accessor :enable_audio_redaction
|
@@ -11634,6 +12095,12 @@ module Google
|
|
11634
12095
|
# @return [String]
|
11635
12096
|
attr_accessor :http_method
|
11636
12097
|
|
12098
|
+
# Represents configuration of OAuth client credential flow for 3rd party API
|
12099
|
+
# authentication.
|
12100
|
+
# Corresponds to the JSON property `oauthConfig`
|
12101
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig]
|
12102
|
+
attr_accessor :oauth_config
|
12103
|
+
|
11637
12104
|
# Optional. Maps the values extracted from specific fields of the flexible
|
11638
12105
|
# webhook response into session parameters. - Key: session parameter name -
|
11639
12106
|
# Value: field path in the webhook response
|
@@ -11657,6 +12124,13 @@ module Google
|
|
11657
12124
|
# @return [Hash<String,String>]
|
11658
12125
|
attr_accessor :request_headers
|
11659
12126
|
|
12127
|
+
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
12128
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
12129
|
+
# agent). The generated token is sent in the Authorization header.
|
12130
|
+
# Corresponds to the JSON property `serviceAgentAuth`
|
12131
|
+
# @return [String]
|
12132
|
+
attr_accessor :service_agent_auth
|
12133
|
+
|
11660
12134
|
# Required. The webhook URI for receiving POST requests. It must use https
|
11661
12135
|
# protocol.
|
11662
12136
|
# Corresponds to the JSON property `uri`
|
@@ -11681,16 +12155,57 @@ module Google
|
|
11681
12155
|
def update!(**args)
|
11682
12156
|
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
11683
12157
|
@http_method = args[:http_method] if args.key?(:http_method)
|
12158
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
11684
12159
|
@parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
|
11685
12160
|
@password = args[:password] if args.key?(:password)
|
11686
12161
|
@request_body = args[:request_body] if args.key?(:request_body)
|
11687
12162
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
12163
|
+
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
11688
12164
|
@uri = args[:uri] if args.key?(:uri)
|
11689
12165
|
@username = args[:username] if args.key?(:username)
|
11690
12166
|
@webhook_type = args[:webhook_type] if args.key?(:webhook_type)
|
11691
12167
|
end
|
11692
12168
|
end
|
11693
12169
|
|
12170
|
+
# Represents configuration of OAuth client credential flow for 3rd party API
|
12171
|
+
# authentication.
|
12172
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
|
12173
|
+
include Google::Apis::Core::Hashable
|
12174
|
+
|
12175
|
+
# Required. The client ID provided by the 3rd party platform.
|
12176
|
+
# Corresponds to the JSON property `clientId`
|
12177
|
+
# @return [String]
|
12178
|
+
attr_accessor :client_id
|
12179
|
+
|
12180
|
+
# Required. The client secret provided by the 3rd party platform.
|
12181
|
+
# Corresponds to the JSON property `clientSecret`
|
12182
|
+
# @return [String]
|
12183
|
+
attr_accessor :client_secret
|
12184
|
+
|
12185
|
+
# Optional. The OAuth scopes to grant.
|
12186
|
+
# Corresponds to the JSON property `scopes`
|
12187
|
+
# @return [Array<String>]
|
12188
|
+
attr_accessor :scopes
|
12189
|
+
|
12190
|
+
# Required. The token endpoint provided by the 3rd party platform to exchange an
|
12191
|
+
# access token.
|
12192
|
+
# Corresponds to the JSON property `tokenEndpoint`
|
12193
|
+
# @return [String]
|
12194
|
+
attr_accessor :token_endpoint
|
12195
|
+
|
12196
|
+
def initialize(**args)
|
12197
|
+
update!(**args)
|
12198
|
+
end
|
12199
|
+
|
12200
|
+
# Update properties of this object
|
12201
|
+
def update!(**args)
|
12202
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
12203
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
12204
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
12205
|
+
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
12206
|
+
end
|
12207
|
+
end
|
12208
|
+
|
11694
12209
|
# The request message for a webhook call. The request is sent as a JSON object
|
11695
12210
|
# and the field names will be presented in camel cases. You may see undocumented
|
11696
12211
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.83.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240311"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class GoogleCloudDialogflowCxV3AudioInput
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -598,6 +604,12 @@ module Google
|
|
598
604
|
include Google::Apis::Core::JsonObjectSupport
|
599
605
|
end
|
600
606
|
|
607
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
601
613
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
602
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
615
|
|
@@ -664,6 +676,12 @@ module Google
|
|
664
676
|
include Google::Apis::Core::JsonObjectSupport
|
665
677
|
end
|
666
678
|
|
679
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
667
685
|
class GoogleCloudDialogflowCxV3beta1Agent
|
668
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
687
|
|
@@ -694,6 +712,12 @@ module Google
|
|
694
712
|
include Google::Apis::Core::JsonObjectSupport
|
695
713
|
end
|
696
714
|
|
715
|
+
class GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
|
+
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
719
|
+
end
|
720
|
+
|
697
721
|
class GoogleCloudDialogflowCxV3beta1AgentValidationResult
|
698
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
723
|
|
@@ -838,6 +862,54 @@ module Google
|
|
838
862
|
include Google::Apis::Core::JsonObjectSupport
|
839
863
|
end
|
840
864
|
|
865
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
871
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
877
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
883
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
|
884
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
|
+
|
886
|
+
include Google::Apis::Core::JsonObjectSupport
|
887
|
+
end
|
888
|
+
|
889
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
891
|
+
|
892
|
+
include Google::Apis::Core::JsonObjectSupport
|
893
|
+
end
|
894
|
+
|
895
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
|
+
|
898
|
+
include Google::Apis::Core::JsonObjectSupport
|
899
|
+
end
|
900
|
+
|
901
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
+
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
905
|
+
end
|
906
|
+
|
907
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
841
913
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
842
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
843
915
|
|
@@ -1954,6 +2026,12 @@ module Google
|
|
1954
2026
|
include Google::Apis::Core::JsonObjectSupport
|
1955
2027
|
end
|
1956
2028
|
|
2029
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
|
2030
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2031
|
+
|
2032
|
+
include Google::Apis::Core::JsonObjectSupport
|
2033
|
+
end
|
2034
|
+
|
1957
2035
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
1958
2036
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1959
2037
|
|
@@ -3079,6 +3157,8 @@ module Google
|
|
3079
3157
|
|
3080
3158
|
property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
|
3081
3159
|
|
3160
|
+
property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::Representation
|
3161
|
+
|
3082
3162
|
end
|
3083
3163
|
end
|
3084
3164
|
|
@@ -3099,6 +3179,16 @@ module Google
|
|
3099
3179
|
end
|
3100
3180
|
end
|
3101
3181
|
|
3182
|
+
class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
|
3183
|
+
# @private
|
3184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3185
|
+
property :endpointer_sensitivity, as: 'endpointerSensitivity'
|
3186
|
+
hash :models, as: 'models'
|
3187
|
+
property :no_speech_timeout, as: 'noSpeechTimeout'
|
3188
|
+
property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
|
3189
|
+
end
|
3190
|
+
end
|
3191
|
+
|
3102
3192
|
class GoogleCloudDialogflowCxV3AudioInput
|
3103
3193
|
# @private
|
3104
3194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3983,16 +4073,29 @@ module Google
|
|
3983
4073
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3984
4074
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
3985
4075
|
property :http_method, as: 'httpMethod'
|
4076
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig::Representation
|
4077
|
+
|
3986
4078
|
hash :parameter_mapping, as: 'parameterMapping'
|
3987
4079
|
property :password, as: 'password'
|
3988
4080
|
property :request_body, as: 'requestBody'
|
3989
4081
|
hash :request_headers, as: 'requestHeaders'
|
4082
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
3990
4083
|
property :uri, as: 'uri'
|
3991
4084
|
property :username, as: 'username'
|
3992
4085
|
property :webhook_type, as: 'webhookType'
|
3993
4086
|
end
|
3994
4087
|
end
|
3995
4088
|
|
4089
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
|
4090
|
+
# @private
|
4091
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4092
|
+
property :client_id, as: 'clientId'
|
4093
|
+
property :client_secret, as: 'clientSecret'
|
4094
|
+
collection :scopes, as: 'scopes'
|
4095
|
+
property :token_endpoint, as: 'tokenEndpoint'
|
4096
|
+
end
|
4097
|
+
end
|
4098
|
+
|
3996
4099
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
3997
4100
|
# @private
|
3998
4101
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4095,6 +4198,8 @@ module Google
|
|
4095
4198
|
|
4096
4199
|
property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
|
4097
4200
|
|
4201
|
+
property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings::Representation
|
4202
|
+
|
4098
4203
|
end
|
4099
4204
|
end
|
4100
4205
|
|
@@ -4115,6 +4220,16 @@ module Google
|
|
4115
4220
|
end
|
4116
4221
|
end
|
4117
4222
|
|
4223
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
|
4224
|
+
# @private
|
4225
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4226
|
+
property :endpointer_sensitivity, as: 'endpointerSensitivity'
|
4227
|
+
hash :models, as: 'models'
|
4228
|
+
property :no_speech_timeout, as: 'noSpeechTimeout'
|
4229
|
+
property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
|
4230
|
+
end
|
4231
|
+
end
|
4232
|
+
|
4118
4233
|
class GoogleCloudDialogflowCxV3beta1Agent
|
4119
4234
|
# @private
|
4120
4235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4134,6 +4249,8 @@ module Google
|
|
4134
4249
|
|
4135
4250
|
property :locked, as: 'locked'
|
4136
4251
|
property :name, as: 'name'
|
4252
|
+
property :personalization_settings, as: 'personalizationSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings::Representation
|
4253
|
+
|
4137
4254
|
property :security_settings, as: 'securitySettings'
|
4138
4255
|
property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings::Representation
|
4139
4256
|
|
@@ -4178,6 +4295,13 @@ module Google
|
|
4178
4295
|
end
|
4179
4296
|
end
|
4180
4297
|
|
4298
|
+
class GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
|
4299
|
+
# @private
|
4300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4301
|
+
hash :default_end_user_metadata, as: 'defaultEndUserMetadata'
|
4302
|
+
end
|
4303
|
+
end
|
4304
|
+
|
4181
4305
|
class GoogleCloudDialogflowCxV3beta1AgentValidationResult
|
4182
4306
|
# @private
|
4183
4307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4402,6 +4526,87 @@ module Google
|
|
4402
4526
|
end
|
4403
4527
|
end
|
4404
4528
|
|
4529
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals
|
4530
|
+
# @private
|
4531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4532
|
+
property :answer, as: 'answer'
|
4533
|
+
property :answer_generation_model_call_signals, as: 'answerGenerationModelCallSignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals::Representation
|
4534
|
+
|
4535
|
+
collection :answer_parts, as: 'answerParts', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart::Representation
|
4536
|
+
|
4537
|
+
collection :cited_snippets, as: 'citedSnippets', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet::Representation
|
4538
|
+
|
4539
|
+
property :grounding_signals, as: 'groundingSignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals::Representation
|
4540
|
+
|
4541
|
+
property :rewriter_model_call_signals, as: 'rewriterModelCallSignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals::Representation
|
4542
|
+
|
4543
|
+
property :rewritten_query, as: 'rewrittenQuery'
|
4544
|
+
property :safety_signals, as: 'safetySignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals::Representation
|
4545
|
+
|
4546
|
+
collection :search_snippets, as: 'searchSnippets', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet::Representation
|
4547
|
+
|
4548
|
+
end
|
4549
|
+
end
|
4550
|
+
|
4551
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
|
4552
|
+
# @private
|
4553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4554
|
+
property :model_output, as: 'modelOutput'
|
4555
|
+
property :rendered_prompt, as: 'renderedPrompt'
|
4556
|
+
end
|
4557
|
+
end
|
4558
|
+
|
4559
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
|
4560
|
+
# @private
|
4561
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4562
|
+
collection :supporting_indices, as: 'supportingIndices'
|
4563
|
+
property :text, as: 'text'
|
4564
|
+
end
|
4565
|
+
end
|
4566
|
+
|
4567
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
|
4568
|
+
# @private
|
4569
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4570
|
+
property :search_snippet, as: 'searchSnippet', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet::Representation
|
4571
|
+
|
4572
|
+
property :snippet_index, as: 'snippetIndex'
|
4573
|
+
end
|
4574
|
+
end
|
4575
|
+
|
4576
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals
|
4577
|
+
# @private
|
4578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4579
|
+
property :decision, as: 'decision'
|
4580
|
+
property :score, as: 'score'
|
4581
|
+
end
|
4582
|
+
end
|
4583
|
+
|
4584
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
|
4585
|
+
# @private
|
4586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4587
|
+
property :model_output, as: 'modelOutput'
|
4588
|
+
property :rendered_prompt, as: 'renderedPrompt'
|
4589
|
+
end
|
4590
|
+
end
|
4591
|
+
|
4592
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals
|
4593
|
+
# @private
|
4594
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4595
|
+
property :banned_phrase_match, as: 'bannedPhraseMatch'
|
4596
|
+
property :decision, as: 'decision'
|
4597
|
+
property :matched_banned_phrase, as: 'matchedBannedPhrase'
|
4598
|
+
end
|
4599
|
+
end
|
4600
|
+
|
4601
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
|
4602
|
+
# @private
|
4603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4604
|
+
property :document_title, as: 'documentTitle'
|
4605
|
+
property :document_uri, as: 'documentUri'
|
4606
|
+
property :text, as: 'text'
|
4607
|
+
end
|
4608
|
+
end
|
4609
|
+
|
4405
4610
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
4406
4611
|
# @private
|
4407
4612
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5566,6 +5771,7 @@ module Google
|
|
5566
5771
|
|
5567
5772
|
hash :parameters, as: 'parameters'
|
5568
5773
|
hash :payload, as: 'payload'
|
5774
|
+
property :populate_data_store_connection_signals, as: 'populateDataStoreConnectionSignals'
|
5569
5775
|
property :search_config, as: 'searchConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig::Representation
|
5570
5776
|
|
5571
5777
|
collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
@@ -5584,6 +5790,8 @@ module Google
|
|
5584
5790
|
property :allow_answer_feedback, as: 'allowAnswerFeedback'
|
5585
5791
|
property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
5586
5792
|
|
5793
|
+
property :data_store_connection_signals, as: 'dataStoreConnectionSignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals::Representation
|
5794
|
+
|
5587
5795
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
5588
5796
|
property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput::Representation
|
5589
5797
|
|
@@ -6238,16 +6446,29 @@ module Google
|
|
6238
6446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6239
6447
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
6240
6448
|
property :http_method, as: 'httpMethod'
|
6449
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig::Representation
|
6450
|
+
|
6241
6451
|
hash :parameter_mapping, as: 'parameterMapping'
|
6242
6452
|
property :password, as: 'password'
|
6243
6453
|
property :request_body, as: 'requestBody'
|
6244
6454
|
hash :request_headers, as: 'requestHeaders'
|
6455
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
6245
6456
|
property :uri, as: 'uri'
|
6246
6457
|
property :username, as: 'username'
|
6247
6458
|
property :webhook_type, as: 'webhookType'
|
6248
6459
|
end
|
6249
6460
|
end
|
6250
6461
|
|
6462
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
|
6463
|
+
# @private
|
6464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6465
|
+
property :client_id, as: 'clientId'
|
6466
|
+
property :client_secret, as: 'clientSecret'
|
6467
|
+
collection :scopes, as: 'scopes'
|
6468
|
+
property :token_endpoint, as: 'tokenEndpoint'
|
6469
|
+
end
|
6470
|
+
end
|
6471
|
+
|
6251
6472
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
6252
6473
|
# @private
|
6253
6474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.83.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.83.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|