google-apis-dialogflow_v3beta1 0.70.0 → 0.72.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 +10 -2
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +416 -0
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +169 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +34 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c948d6122eae18f07cdb68902ed9113d688a78984ea4278704a1e130800306a4
|
4
|
+
data.tar.gz: d7a1d56636a40694d8affbe6c9265ebbf26b48e0765b5a64aecc357f77c56b07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fea3a1ba28b82e09b0c10c03acfe7a308b6b0691274b28e6e9e742b532c8d3a8e037ed7b9ab838ccb247673251bbc21663e5d109ed411ef28e8a7812ef291832
|
7
|
+
data.tar.gz: 5e283059b35def445693b2253691715a0657335469d134798c0d908be0c9a568a9ede1512d489e91114afe768f55a8dd161e4dc943931f5201d817725bfa5b2f
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,16 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.72.0 (2023-12-03)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20231129
|
6
|
+
|
7
|
+
### v0.71.0 (2023-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231109
|
10
|
+
|
11
|
+
### v0.70.0 (2023-10-29)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20231019
|
6
14
|
|
7
15
|
### v0.69.0 (2023-09-24)
|
8
16
|
|
@@ -155,6 +155,49 @@ module Google
|
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
158
|
+
# Configuration of the barge-in behavior. Barge-in instructs the API to return a
|
159
|
+
# detected utterance at a proper time while the client is playing back the
|
160
|
+
# response audio from a previous request. When the client sees the utterance, it
|
161
|
+
# should stop the playback and immediately get ready for receiving the responses
|
162
|
+
# for the current request. The barge-in handling requires the client to start
|
163
|
+
# streaming audio input as soon as it starts playing back the audio from the
|
164
|
+
# previous response. The playback is modeled into two phases: * No barge-in
|
165
|
+
# phase: which goes first and during which speech detection should not be
|
166
|
+
# carried out. * Barge-in phase: which follows the no barge-in phase and during
|
167
|
+
# which the API starts speech detection and may inform the client that an
|
168
|
+
# utterance has been detected. Note that no-speech event is not expected in this
|
169
|
+
# phase. The client provides this configuration in terms of the durations of
|
170
|
+
# those two phases. The durations are measured in terms of the audio length
|
171
|
+
# fromt the the start of the input audio. The flow goes like below: --> Time
|
172
|
+
# without speech detection | utterance only | utterance or no-speech event | | +-
|
173
|
+
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
174
|
+
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
175
|
+
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
176
|
+
# any transcript following up.
|
177
|
+
class GoogleCloudDialogflowCxV3BargeInConfig
|
178
|
+
include Google::Apis::Core::Hashable
|
179
|
+
|
180
|
+
# Duration that is not eligible for barge-in at the beginning of the input audio.
|
181
|
+
# Corresponds to the JSON property `noBargeInDuration`
|
182
|
+
# @return [String]
|
183
|
+
attr_accessor :no_barge_in_duration
|
184
|
+
|
185
|
+
# Total duration for the playback at the beginning of the input audio.
|
186
|
+
# Corresponds to the JSON property `totalDuration`
|
187
|
+
# @return [String]
|
188
|
+
attr_accessor :total_duration
|
189
|
+
|
190
|
+
def initialize(**args)
|
191
|
+
update!(**args)
|
192
|
+
end
|
193
|
+
|
194
|
+
# Update properties of this object
|
195
|
+
def update!(**args)
|
196
|
+
@no_barge_in_duration = args[:no_barge_in_duration] if args.key?(:no_barge_in_duration)
|
197
|
+
@total_duration = args[:total_duration] if args.key?(:total_duration)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
158
201
|
# Metadata returned for the TestCases.BatchRunTestCases long running operation.
|
159
202
|
class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata
|
160
203
|
include Google::Apis::Core::Hashable
|
@@ -1512,6 +1555,29 @@ module Google
|
|
1512
1555
|
# @return [String]
|
1513
1556
|
attr_accessor :audio_encoding
|
1514
1557
|
|
1558
|
+
# Configuration of the barge-in behavior. Barge-in instructs the API to return a
|
1559
|
+
# detected utterance at a proper time while the client is playing back the
|
1560
|
+
# response audio from a previous request. When the client sees the utterance, it
|
1561
|
+
# should stop the playback and immediately get ready for receiving the responses
|
1562
|
+
# for the current request. The barge-in handling requires the client to start
|
1563
|
+
# streaming audio input as soon as it starts playing back the audio from the
|
1564
|
+
# previous response. The playback is modeled into two phases: * No barge-in
|
1565
|
+
# phase: which goes first and during which speech detection should not be
|
1566
|
+
# carried out. * Barge-in phase: which follows the no barge-in phase and during
|
1567
|
+
# which the API starts speech detection and may inform the client that an
|
1568
|
+
# utterance has been detected. Note that no-speech event is not expected in this
|
1569
|
+
# phase. The client provides this configuration in terms of the durations of
|
1570
|
+
# those two phases. The durations are measured in terms of the audio length
|
1571
|
+
# fromt the the start of the input audio. The flow goes like below: --> Time
|
1572
|
+
# without speech detection | utterance only | utterance or no-speech event | | +-
|
1573
|
+
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
1574
|
+
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
1575
|
+
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
1576
|
+
# any transcript following up.
|
1577
|
+
# Corresponds to the JSON property `bargeInConfig`
|
1578
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3BargeInConfig]
|
1579
|
+
attr_accessor :barge_in_config
|
1580
|
+
|
1515
1581
|
# Optional. If `true`, Dialogflow returns SpeechWordInfo in
|
1516
1582
|
# StreamingRecognitionResult with information about the recognized speech words,
|
1517
1583
|
# e.g. start and end time offsets. If false or unspecified, Speech doesn't
|
@@ -1574,6 +1640,7 @@ module Google
|
|
1574
1640
|
# Update properties of this object
|
1575
1641
|
def update!(**args)
|
1576
1642
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
1643
|
+
@barge_in_config = args[:barge_in_config] if args.key?(:barge_in_config)
|
1577
1644
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
1578
1645
|
@model = args[:model] if args.key?(:model)
|
1579
1646
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
@@ -3663,6 +3730,11 @@ module Google
|
|
3663
3730
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
|
3664
3731
|
attr_accessor :advanced_settings
|
3665
3732
|
|
3733
|
+
# Settings for answer feedback collection.
|
3734
|
+
# Corresponds to the JSON property `answerFeedbackSettings`
|
3735
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings]
|
3736
|
+
attr_accessor :answer_feedback_settings
|
3737
|
+
|
3666
3738
|
# The URI of the agent's avatar. Avatars are used throughout the Dialogflow
|
3667
3739
|
# console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/
|
3668
3740
|
# docs/integrations/web-demo) integration.
|
@@ -3768,6 +3840,7 @@ module Google
|
|
3768
3840
|
# Update properties of this object
|
3769
3841
|
def update!(**args)
|
3770
3842
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
3843
|
+
@answer_feedback_settings = args[:answer_feedback_settings] if args.key?(:answer_feedback_settings)
|
3771
3844
|
@avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
|
3772
3845
|
@default_language_code = args[:default_language_code] if args.key?(:default_language_code)
|
3773
3846
|
@description = args[:description] if args.key?(:description)
|
@@ -3787,6 +3860,28 @@ module Google
|
|
3787
3860
|
end
|
3788
3861
|
end
|
3789
3862
|
|
3863
|
+
# Settings for answer feedback collection.
|
3864
|
+
class GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings
|
3865
|
+
include Google::Apis::Core::Hashable
|
3866
|
+
|
3867
|
+
# Optional. If enabled, end users will be able to provide answer feedback to
|
3868
|
+
# Dialogflow responses. Feature works only if interaction logging is enabled in
|
3869
|
+
# the Dialogflow agent.
|
3870
|
+
# Corresponds to the JSON property `enableAnswerFeedback`
|
3871
|
+
# @return [Boolean]
|
3872
|
+
attr_accessor :enable_answer_feedback
|
3873
|
+
alias_method :enable_answer_feedback?, :enable_answer_feedback
|
3874
|
+
|
3875
|
+
def initialize(**args)
|
3876
|
+
update!(**args)
|
3877
|
+
end
|
3878
|
+
|
3879
|
+
# Update properties of this object
|
3880
|
+
def update!(**args)
|
3881
|
+
@enable_answer_feedback = args[:enable_answer_feedback] if args.key?(:enable_answer_feedback)
|
3882
|
+
end
|
3883
|
+
end
|
3884
|
+
|
3790
3885
|
# Settings for Gen App Builder.
|
3791
3886
|
class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
|
3792
3887
|
include Google::Apis::Core::Hashable
|
@@ -3896,6 +3991,67 @@ module Google
|
|
3896
3991
|
end
|
3897
3992
|
end
|
3898
3993
|
|
3994
|
+
# Stores information about feedback provided by users about a response.
|
3995
|
+
class GoogleCloudDialogflowCxV3beta1AnswerFeedback
|
3996
|
+
include Google::Apis::Core::Hashable
|
3997
|
+
|
3998
|
+
# Optional. Custom rating from the user about the provided answer, with maximum
|
3999
|
+
# length of 1024 characters. For example, client could use a customized JSON
|
4000
|
+
# object to indicate the rating.
|
4001
|
+
# Corresponds to the JSON property `customRating`
|
4002
|
+
# @return [String]
|
4003
|
+
attr_accessor :custom_rating
|
4004
|
+
|
4005
|
+
# Optional. Rating from user for the specific Dialogflow response.
|
4006
|
+
# Corresponds to the JSON property `rating`
|
4007
|
+
# @return [String]
|
4008
|
+
attr_accessor :rating
|
4009
|
+
|
4010
|
+
# Stores extra information about why users provided thumbs down rating.
|
4011
|
+
# Corresponds to the JSON property `ratingReason`
|
4012
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason]
|
4013
|
+
attr_accessor :rating_reason
|
4014
|
+
|
4015
|
+
def initialize(**args)
|
4016
|
+
update!(**args)
|
4017
|
+
end
|
4018
|
+
|
4019
|
+
# Update properties of this object
|
4020
|
+
def update!(**args)
|
4021
|
+
@custom_rating = args[:custom_rating] if args.key?(:custom_rating)
|
4022
|
+
@rating = args[:rating] if args.key?(:rating)
|
4023
|
+
@rating_reason = args[:rating_reason] if args.key?(:rating_reason)
|
4024
|
+
end
|
4025
|
+
end
|
4026
|
+
|
4027
|
+
# Stores extra information about why users provided thumbs down rating.
|
4028
|
+
class GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
|
4029
|
+
include Google::Apis::Core::Hashable
|
4030
|
+
|
4031
|
+
# Optional. Additional feedback about the rating. This field can be populated
|
4032
|
+
# without choosing a predefined `reason`.
|
4033
|
+
# Corresponds to the JSON property `feedback`
|
4034
|
+
# @return [String]
|
4035
|
+
attr_accessor :feedback
|
4036
|
+
|
4037
|
+
# Optional. Custom reason labels for thumbs down rating provided by the user.
|
4038
|
+
# The maximum number of labels allowed is 10 and the maximum length of a single
|
4039
|
+
# label is 128 characters.
|
4040
|
+
# Corresponds to the JSON property `reasonLabels`
|
4041
|
+
# @return [Array<String>]
|
4042
|
+
attr_accessor :reason_labels
|
4043
|
+
|
4044
|
+
def initialize(**args)
|
4045
|
+
update!(**args)
|
4046
|
+
end
|
4047
|
+
|
4048
|
+
# Update properties of this object
|
4049
|
+
def update!(**args)
|
4050
|
+
@feedback = args[:feedback] if args.key?(:feedback)
|
4051
|
+
@reason_labels = args[:reason_labels] if args.key?(:reason_labels)
|
4052
|
+
end
|
4053
|
+
end
|
4054
|
+
|
3899
4055
|
# Represents the natural speech audio to be processed.
|
3900
4056
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
3901
4057
|
include Google::Apis::Core::Hashable
|
@@ -3927,6 +4083,49 @@ module Google
|
|
3927
4083
|
end
|
3928
4084
|
end
|
3929
4085
|
|
4086
|
+
# Configuration of the barge-in behavior. Barge-in instructs the API to return a
|
4087
|
+
# detected utterance at a proper time while the client is playing back the
|
4088
|
+
# response audio from a previous request. When the client sees the utterance, it
|
4089
|
+
# should stop the playback and immediately get ready for receiving the responses
|
4090
|
+
# for the current request. The barge-in handling requires the client to start
|
4091
|
+
# streaming audio input as soon as it starts playing back the audio from the
|
4092
|
+
# previous response. The playback is modeled into two phases: * No barge-in
|
4093
|
+
# phase: which goes first and during which speech detection should not be
|
4094
|
+
# carried out. * Barge-in phase: which follows the no barge-in phase and during
|
4095
|
+
# which the API starts speech detection and may inform the client that an
|
4096
|
+
# utterance has been detected. Note that no-speech event is not expected in this
|
4097
|
+
# phase. The client provides this configuration in terms of the durations of
|
4098
|
+
# those two phases. The durations are measured in terms of the audio length
|
4099
|
+
# fromt the the start of the input audio. The flow goes like below: --> Time
|
4100
|
+
# without speech detection | utterance only | utterance or no-speech event | | +-
|
4101
|
+
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
4102
|
+
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
4103
|
+
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
4104
|
+
# any transcript following up.
|
4105
|
+
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
4106
|
+
include Google::Apis::Core::Hashable
|
4107
|
+
|
4108
|
+
# Duration that is not eligible for barge-in at the beginning of the input audio.
|
4109
|
+
# Corresponds to the JSON property `noBargeInDuration`
|
4110
|
+
# @return [String]
|
4111
|
+
attr_accessor :no_barge_in_duration
|
4112
|
+
|
4113
|
+
# Total duration for the playback at the beginning of the input audio.
|
4114
|
+
# Corresponds to the JSON property `totalDuration`
|
4115
|
+
# @return [String]
|
4116
|
+
attr_accessor :total_duration
|
4117
|
+
|
4118
|
+
def initialize(**args)
|
4119
|
+
update!(**args)
|
4120
|
+
end
|
4121
|
+
|
4122
|
+
# Update properties of this object
|
4123
|
+
def update!(**args)
|
4124
|
+
@no_barge_in_duration = args[:no_barge_in_duration] if args.key?(:no_barge_in_duration)
|
4125
|
+
@total_duration = args[:total_duration] if args.key?(:total_duration)
|
4126
|
+
end
|
4127
|
+
end
|
4128
|
+
|
3930
4129
|
# The request message for TestCases.BatchDeleteTestCases.
|
3931
4130
|
class GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest
|
3932
4131
|
include Google::Apis::Core::Hashable
|
@@ -4012,6 +4211,97 @@ module Google
|
|
4012
4211
|
end
|
4013
4212
|
end
|
4014
4213
|
|
4214
|
+
# Boost specification to boost certain documents. A copy of google.cloud.
|
4215
|
+
# discoveryengine.v1main.BoostSpec, field documentation is available at https://
|
4216
|
+
# cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/
|
4217
|
+
# BoostSpec
|
4218
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpec
|
4219
|
+
include Google::Apis::Core::Hashable
|
4220
|
+
|
4221
|
+
# Optional. Condition boost specifications. If a document matches multiple
|
4222
|
+
# conditions in the specifictions, boost scores from these specifications are
|
4223
|
+
# all applied and combined in a non-linear way. Maximum number of specifications
|
4224
|
+
# is 20.
|
4225
|
+
# Corresponds to the JSON property `conditionBoostSpecs`
|
4226
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec>]
|
4227
|
+
attr_accessor :condition_boost_specs
|
4228
|
+
|
4229
|
+
def initialize(**args)
|
4230
|
+
update!(**args)
|
4231
|
+
end
|
4232
|
+
|
4233
|
+
# Update properties of this object
|
4234
|
+
def update!(**args)
|
4235
|
+
@condition_boost_specs = args[:condition_boost_specs] if args.key?(:condition_boost_specs)
|
4236
|
+
end
|
4237
|
+
end
|
4238
|
+
|
4239
|
+
# Boost applies to documents which match a condition.
|
4240
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec
|
4241
|
+
include Google::Apis::Core::Hashable
|
4242
|
+
|
4243
|
+
# Optional. Strength of the condition boost, which should be in [-1, 1].
|
4244
|
+
# Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the
|
4245
|
+
# document a big promotion. However, it does not necessarily mean that the
|
4246
|
+
# boosted document will be the top result at all times, nor that other documents
|
4247
|
+
# will be excluded. Results could still be shown even when none of them matches
|
4248
|
+
# the condition. And results that are significantly more relevant to the search
|
4249
|
+
# query can still trump your heavily favored but irrelevant documents. Setting
|
4250
|
+
# to -1.0 gives the document a big demotion. However, results that are deeply
|
4251
|
+
# relevant might still be shown. The document will have an upstream battle to
|
4252
|
+
# get a fairly high ranking, but it is not blocked out completely. Setting to 0.
|
4253
|
+
# 0 means no boost applied. The boosting condition is ignored.
|
4254
|
+
# Corresponds to the JSON property `boost`
|
4255
|
+
# @return [Float]
|
4256
|
+
attr_accessor :boost
|
4257
|
+
|
4258
|
+
# Optional. An expression which specifies a boost condition. The syntax and
|
4259
|
+
# supported fields are the same as a filter expression. Examples: * To boost
|
4260
|
+
# documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (
|
4261
|
+
# id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
|
4262
|
+
# Corresponds to the JSON property `condition`
|
4263
|
+
# @return [String]
|
4264
|
+
attr_accessor :condition
|
4265
|
+
|
4266
|
+
def initialize(**args)
|
4267
|
+
update!(**args)
|
4268
|
+
end
|
4269
|
+
|
4270
|
+
# Update properties of this object
|
4271
|
+
def update!(**args)
|
4272
|
+
@boost = args[:boost] if args.key?(:boost)
|
4273
|
+
@condition = args[:condition] if args.key?(:condition)
|
4274
|
+
end
|
4275
|
+
end
|
4276
|
+
|
4277
|
+
# Boost specifications for data stores.
|
4278
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpecs
|
4279
|
+
include Google::Apis::Core::Hashable
|
4280
|
+
|
4281
|
+
# Optional. Data Stores where the boosting configuration is applied. The full
|
4282
|
+
# names of the referenced data stores. Formats: `projects/`project`/locations/`
|
4283
|
+
# location`/collections/`collection`/dataStores/`data_store`` `projects/`project`
|
4284
|
+
# /locations/`location`/dataStores/`data_store`
|
4285
|
+
# Corresponds to the JSON property `dataStores`
|
4286
|
+
# @return [Array<String>]
|
4287
|
+
attr_accessor :data_stores
|
4288
|
+
|
4289
|
+
# Optional. A list of boosting specifications.
|
4290
|
+
# Corresponds to the JSON property `spec`
|
4291
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpec>]
|
4292
|
+
attr_accessor :spec
|
4293
|
+
|
4294
|
+
def initialize(**args)
|
4295
|
+
update!(**args)
|
4296
|
+
end
|
4297
|
+
|
4298
|
+
# Update properties of this object
|
4299
|
+
def update!(**args)
|
4300
|
+
@data_stores = args[:data_stores] if args.key?(:data_stores)
|
4301
|
+
@spec = args[:spec] if args.key?(:spec)
|
4302
|
+
end
|
4303
|
+
end
|
4304
|
+
|
4015
4305
|
# The response message for TestCases.CalculateCoverage.
|
4016
4306
|
class GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
|
4017
4307
|
include Google::Apis::Core::Hashable
|
@@ -5712,6 +6002,36 @@ module Google
|
|
5712
6002
|
end
|
5713
6003
|
end
|
5714
6004
|
|
6005
|
+
# Filter specifications for data stores.
|
6006
|
+
class GoogleCloudDialogflowCxV3beta1FilterSpecs
|
6007
|
+
include Google::Apis::Core::Hashable
|
6008
|
+
|
6009
|
+
# Optional. Data Stores where the boosting configuration is applied. The full
|
6010
|
+
# names of the referenced data stores. Formats: `projects/`project`/locations/`
|
6011
|
+
# location`/collections/`collection`/dataStores/`data_store`` `projects/`project`
|
6012
|
+
# /locations/`location`/dataStores/`data_store`
|
6013
|
+
# Corresponds to the JSON property `dataStores`
|
6014
|
+
# @return [Array<String>]
|
6015
|
+
attr_accessor :data_stores
|
6016
|
+
|
6017
|
+
# Optional. The filter expression to be applied. Expression syntax is documented
|
6018
|
+
# at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-
|
6019
|
+
# metadata#filter-expression-syntax
|
6020
|
+
# Corresponds to the JSON property `filter`
|
6021
|
+
# @return [String]
|
6022
|
+
attr_accessor :filter
|
6023
|
+
|
6024
|
+
def initialize(**args)
|
6025
|
+
update!(**args)
|
6026
|
+
end
|
6027
|
+
|
6028
|
+
# Update properties of this object
|
6029
|
+
def update!(**args)
|
6030
|
+
@data_stores = args[:data_stores] if args.key?(:data_stores)
|
6031
|
+
@filter = args[:filter] if args.key?(:filter)
|
6032
|
+
end
|
6033
|
+
end
|
6034
|
+
|
5715
6035
|
# Flows represents the conversation flows when you build your chatbot agent. A
|
5716
6036
|
# flow consists of many pages connected by the transition routes. Conversations
|
5717
6037
|
# always start with the built-in Start Flow (with an all-0 ID). Transition
|
@@ -6827,6 +7147,29 @@ module Google
|
|
6827
7147
|
# @return [String]
|
6828
7148
|
attr_accessor :audio_encoding
|
6829
7149
|
|
7150
|
+
# Configuration of the barge-in behavior. Barge-in instructs the API to return a
|
7151
|
+
# detected utterance at a proper time while the client is playing back the
|
7152
|
+
# response audio from a previous request. When the client sees the utterance, it
|
7153
|
+
# should stop the playback and immediately get ready for receiving the responses
|
7154
|
+
# for the current request. The barge-in handling requires the client to start
|
7155
|
+
# streaming audio input as soon as it starts playing back the audio from the
|
7156
|
+
# previous response. The playback is modeled into two phases: * No barge-in
|
7157
|
+
# phase: which goes first and during which speech detection should not be
|
7158
|
+
# carried out. * Barge-in phase: which follows the no barge-in phase and during
|
7159
|
+
# which the API starts speech detection and may inform the client that an
|
7160
|
+
# utterance has been detected. Note that no-speech event is not expected in this
|
7161
|
+
# phase. The client provides this configuration in terms of the durations of
|
7162
|
+
# those two phases. The durations are measured in terms of the audio length
|
7163
|
+
# fromt the the start of the input audio. The flow goes like below: --> Time
|
7164
|
+
# without speech detection | utterance only | utterance or no-speech event | | +-
|
7165
|
+
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
7166
|
+
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
7167
|
+
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
7168
|
+
# any transcript following up.
|
7169
|
+
# Corresponds to the JSON property `bargeInConfig`
|
7170
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
7171
|
+
attr_accessor :barge_in_config
|
7172
|
+
|
6830
7173
|
# Optional. If `true`, Dialogflow returns SpeechWordInfo in
|
6831
7174
|
# StreamingRecognitionResult with information about the recognized speech words,
|
6832
7175
|
# e.g. start and end time offsets. If false or unspecified, Speech doesn't
|
@@ -6889,6 +7232,7 @@ module Google
|
|
6889
7232
|
# Update properties of this object
|
6890
7233
|
def update!(**args)
|
6891
7234
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
7235
|
+
@barge_in_config = args[:barge_in_config] if args.key?(:barge_in_config)
|
6892
7236
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
6893
7237
|
@model = args[:model] if args.key?(:model)
|
6894
7238
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
@@ -8344,6 +8688,11 @@ module Google
|
|
8344
8688
|
# @return [Hash<String,Object>]
|
8345
8689
|
attr_accessor :payload
|
8346
8690
|
|
8691
|
+
# Search configuration for UCS search queries.
|
8692
|
+
# Corresponds to the JSON property `searchConfig`
|
8693
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig]
|
8694
|
+
attr_accessor :search_config
|
8695
|
+
|
8347
8696
|
# Additional session entity types to replace or extend developer entity types
|
8348
8697
|
# with. The entity synonyms apply to all languages and persist for the session
|
8349
8698
|
# of this query.
|
@@ -8392,6 +8741,7 @@ module Google
|
|
8392
8741
|
@geo_location = args[:geo_location] if args.key?(:geo_location)
|
8393
8742
|
@parameters = args[:parameters] if args.key?(:parameters)
|
8394
8743
|
@payload = args[:payload] if args.key?(:payload)
|
8744
|
+
@search_config = args[:search_config] if args.key?(:search_config)
|
8395
8745
|
@session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
|
8396
8746
|
@session_ttl = args[:session_ttl] if args.key?(:session_ttl)
|
8397
8747
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
@@ -8415,6 +8765,13 @@ module Google
|
|
8415
8765
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
|
8416
8766
|
attr_accessor :advanced_settings
|
8417
8767
|
|
8768
|
+
# Indicates whether the Thumbs up/Thumbs down rating controls are need to be
|
8769
|
+
# shown for the response in the Dialogflow Messenger widget.
|
8770
|
+
# Corresponds to the JSON property `allowAnswerFeedback`
|
8771
|
+
# @return [Boolean]
|
8772
|
+
attr_accessor :allow_answer_feedback
|
8773
|
+
alias_method :allow_answer_feedback?, :allow_answer_feedback
|
8774
|
+
|
8418
8775
|
# A Dialogflow CX conversation (session) can be described and visualized as a
|
8419
8776
|
# state machine. The states of a CX session are represented by pages. For each
|
8420
8777
|
# flow, you define many pages, where your combined pages can handle a complete
|
@@ -8552,6 +8909,7 @@ module Google
|
|
8552
8909
|
# Update properties of this object
|
8553
8910
|
def update!(**args)
|
8554
8911
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
8912
|
+
@allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
|
8555
8913
|
@current_page = args[:current_page] if args.key?(:current_page)
|
8556
8914
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
8557
8915
|
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
@@ -9294,6 +9652,31 @@ module Google
|
|
9294
9652
|
end
|
9295
9653
|
end
|
9296
9654
|
|
9655
|
+
# Search configuration for UCS search queries.
|
9656
|
+
class GoogleCloudDialogflowCxV3beta1SearchConfig
|
9657
|
+
include Google::Apis::Core::Hashable
|
9658
|
+
|
9659
|
+
# Optional. Boosting configuration for the datastores.
|
9660
|
+
# Corresponds to the JSON property `boostSpecs`
|
9661
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs>]
|
9662
|
+
attr_accessor :boost_specs
|
9663
|
+
|
9664
|
+
# Optional. Filter configuration for the datastores.
|
9665
|
+
# Corresponds to the JSON property `filterSpecs`
|
9666
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs>]
|
9667
|
+
attr_accessor :filter_specs
|
9668
|
+
|
9669
|
+
def initialize(**args)
|
9670
|
+
update!(**args)
|
9671
|
+
end
|
9672
|
+
|
9673
|
+
# Update properties of this object
|
9674
|
+
def update!(**args)
|
9675
|
+
@boost_specs = args[:boost_specs] if args.key?(:boost_specs)
|
9676
|
+
@filter_specs = args[:filter_specs] if args.key?(:filter_specs)
|
9677
|
+
end
|
9678
|
+
end
|
9679
|
+
|
9297
9680
|
# Represents the settings related to security issues, such as data redaction and
|
9298
9681
|
# data retention. It may take hours for updates on the settings to propagate to
|
9299
9682
|
# all the related components and take effect.
|
@@ -9614,6 +9997,39 @@ module Google
|
|
9614
9997
|
end
|
9615
9998
|
end
|
9616
9999
|
|
10000
|
+
# The request to set the feedback for a bot answer.
|
10001
|
+
class GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest
|
10002
|
+
include Google::Apis::Core::Hashable
|
10003
|
+
|
10004
|
+
# Stores information about feedback provided by users about a response.
|
10005
|
+
# Corresponds to the JSON property `answerFeedback`
|
10006
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback]
|
10007
|
+
attr_accessor :answer_feedback
|
10008
|
+
|
10009
|
+
# Required. ID of the response to update its feedback. This is the same as
|
10010
|
+
# DetectIntentResponse.response_id.
|
10011
|
+
# Corresponds to the JSON property `responseId`
|
10012
|
+
# @return [String]
|
10013
|
+
attr_accessor :response_id
|
10014
|
+
|
10015
|
+
# Optional. The mask to control which fields to update. If the mask is not
|
10016
|
+
# present, all fields will be updated.
|
10017
|
+
# Corresponds to the JSON property `updateMask`
|
10018
|
+
# @return [String]
|
10019
|
+
attr_accessor :update_mask
|
10020
|
+
|
10021
|
+
def initialize(**args)
|
10022
|
+
update!(**args)
|
10023
|
+
end
|
10024
|
+
|
10025
|
+
# Update properties of this object
|
10026
|
+
def update!(**args)
|
10027
|
+
@answer_feedback = args[:answer_feedback] if args.key?(:answer_feedback)
|
10028
|
+
@response_id = args[:response_id] if args.key?(:response_id)
|
10029
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
10030
|
+
end
|
10031
|
+
end
|
10032
|
+
|
9617
10033
|
# Configuration of how speech should be synthesized.
|
9618
10034
|
class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
|
9619
10035
|
include Google::Apis::Core::Hashable
|
@@ -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.72.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class GoogleCloudDialogflowCxV3BargeInConfig
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -634,6 +640,12 @@ module Google
|
|
634
640
|
include Google::Apis::Core::JsonObjectSupport
|
635
641
|
end
|
636
642
|
|
643
|
+
class GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
637
649
|
class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
|
638
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
651
|
|
@@ -658,12 +670,30 @@ module Google
|
|
658
670
|
include Google::Apis::Core::JsonObjectSupport
|
659
671
|
end
|
660
672
|
|
673
|
+
class GoogleCloudDialogflowCxV3beta1AnswerFeedback
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
679
|
+
class GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
661
685
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
662
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
687
|
|
664
688
|
include Google::Apis::Core::JsonObjectSupport
|
665
689
|
end
|
666
690
|
|
691
|
+
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
667
697
|
class GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest
|
668
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
699
|
|
@@ -688,6 +718,24 @@ module Google
|
|
688
718
|
include Google::Apis::Core::JsonObjectSupport
|
689
719
|
end
|
690
720
|
|
721
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpec
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
727
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
|
+
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
731
|
+
end
|
732
|
+
|
733
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpecs
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
|
+
|
736
|
+
include Google::Apis::Core::JsonObjectSupport
|
737
|
+
end
|
738
|
+
|
691
739
|
class GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
|
692
740
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
741
|
|
@@ -970,6 +1018,12 @@ module Google
|
|
970
1018
|
include Google::Apis::Core::JsonObjectSupport
|
971
1019
|
end
|
972
1020
|
|
1021
|
+
class GoogleCloudDialogflowCxV3beta1FilterSpecs
|
1022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1023
|
+
|
1024
|
+
include Google::Apis::Core::JsonObjectSupport
|
1025
|
+
end
|
1026
|
+
|
973
1027
|
class GoogleCloudDialogflowCxV3beta1Flow
|
974
1028
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
1029
|
|
@@ -1558,6 +1612,12 @@ module Google
|
|
1558
1612
|
include Google::Apis::Core::JsonObjectSupport
|
1559
1613
|
end
|
1560
1614
|
|
1615
|
+
class GoogleCloudDialogflowCxV3beta1SearchConfig
|
1616
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1617
|
+
|
1618
|
+
include Google::Apis::Core::JsonObjectSupport
|
1619
|
+
end
|
1620
|
+
|
1561
1621
|
class GoogleCloudDialogflowCxV3beta1SecuritySettings
|
1562
1622
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1563
1623
|
|
@@ -1612,6 +1672,12 @@ module Google
|
|
1612
1672
|
include Google::Apis::Core::JsonObjectSupport
|
1613
1673
|
end
|
1614
1674
|
|
1675
|
+
class GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest
|
1676
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1677
|
+
|
1678
|
+
include Google::Apis::Core::JsonObjectSupport
|
1679
|
+
end
|
1680
|
+
|
1615
1681
|
class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
|
1616
1682
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1617
1683
|
|
@@ -2946,6 +3012,14 @@ module Google
|
|
2946
3012
|
end
|
2947
3013
|
end
|
2948
3014
|
|
3015
|
+
class GoogleCloudDialogflowCxV3BargeInConfig
|
3016
|
+
# @private
|
3017
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3018
|
+
property :no_barge_in_duration, as: 'noBargeInDuration'
|
3019
|
+
property :total_duration, as: 'totalDuration'
|
3020
|
+
end
|
3021
|
+
end
|
3022
|
+
|
2949
3023
|
class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata
|
2950
3024
|
# @private
|
2951
3025
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3353,6 +3427,8 @@ module Google
|
|
3353
3427
|
# @private
|
3354
3428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3355
3429
|
property :audio_encoding, as: 'audioEncoding'
|
3430
|
+
property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3BargeInConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3BargeInConfig::Representation
|
3431
|
+
|
3356
3432
|
property :enable_word_info, as: 'enableWordInfo'
|
3357
3433
|
property :model, as: 'model'
|
3358
3434
|
property :model_variant, as: 'modelVariant'
|
@@ -3908,6 +3984,8 @@ module Google
|
|
3908
3984
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3909
3985
|
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
3910
3986
|
|
3987
|
+
property :answer_feedback_settings, as: 'answerFeedbackSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings::Representation
|
3988
|
+
|
3911
3989
|
property :avatar_uri, as: 'avatarUri'
|
3912
3990
|
property :default_language_code, as: 'defaultLanguageCode'
|
3913
3991
|
property :description, as: 'description'
|
@@ -3931,6 +4009,13 @@ module Google
|
|
3931
4009
|
end
|
3932
4010
|
end
|
3933
4011
|
|
4012
|
+
class GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings
|
4013
|
+
# @private
|
4014
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4015
|
+
property :enable_answer_feedback, as: 'enableAnswerFeedback'
|
4016
|
+
end
|
4017
|
+
end
|
4018
|
+
|
3934
4019
|
class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
|
3935
4020
|
# @private
|
3936
4021
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3966,6 +4051,24 @@ module Google
|
|
3966
4051
|
end
|
3967
4052
|
end
|
3968
4053
|
|
4054
|
+
class GoogleCloudDialogflowCxV3beta1AnswerFeedback
|
4055
|
+
# @private
|
4056
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4057
|
+
property :custom_rating, as: 'customRating'
|
4058
|
+
property :rating, as: 'rating'
|
4059
|
+
property :rating_reason, as: 'ratingReason', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason::Representation
|
4060
|
+
|
4061
|
+
end
|
4062
|
+
end
|
4063
|
+
|
4064
|
+
class GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
|
4065
|
+
# @private
|
4066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4067
|
+
property :feedback, as: 'feedback'
|
4068
|
+
collection :reason_labels, as: 'reasonLabels'
|
4069
|
+
end
|
4070
|
+
end
|
4071
|
+
|
3969
4072
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
3970
4073
|
# @private
|
3971
4074
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3975,6 +4078,14 @@ module Google
|
|
3975
4078
|
end
|
3976
4079
|
end
|
3977
4080
|
|
4081
|
+
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
4082
|
+
# @private
|
4083
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4084
|
+
property :no_barge_in_duration, as: 'noBargeInDuration'
|
4085
|
+
property :total_duration, as: 'totalDuration'
|
4086
|
+
end
|
4087
|
+
end
|
4088
|
+
|
3978
4089
|
class GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest
|
3979
4090
|
# @private
|
3980
4091
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4006,6 +4117,31 @@ module Google
|
|
4006
4117
|
end
|
4007
4118
|
end
|
4008
4119
|
|
4120
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpec
|
4121
|
+
# @private
|
4122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4123
|
+
collection :condition_boost_specs, as: 'conditionBoostSpecs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec::Representation
|
4124
|
+
|
4125
|
+
end
|
4126
|
+
end
|
4127
|
+
|
4128
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec
|
4129
|
+
# @private
|
4130
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4131
|
+
property :boost, as: 'boost'
|
4132
|
+
property :condition, as: 'condition'
|
4133
|
+
end
|
4134
|
+
end
|
4135
|
+
|
4136
|
+
class GoogleCloudDialogflowCxV3beta1BoostSpecs
|
4137
|
+
# @private
|
4138
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4139
|
+
collection :data_stores, as: 'dataStores'
|
4140
|
+
collection :spec, as: 'spec', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpec::Representation
|
4141
|
+
|
4142
|
+
end
|
4143
|
+
end
|
4144
|
+
|
4009
4145
|
class GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
|
4010
4146
|
# @private
|
4011
4147
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4475,6 +4611,14 @@ module Google
|
|
4475
4611
|
end
|
4476
4612
|
end
|
4477
4613
|
|
4614
|
+
class GoogleCloudDialogflowCxV3beta1FilterSpecs
|
4615
|
+
# @private
|
4616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4617
|
+
collection :data_stores, as: 'dataStores'
|
4618
|
+
property :filter, as: 'filter'
|
4619
|
+
end
|
4620
|
+
end
|
4621
|
+
|
4478
4622
|
class GoogleCloudDialogflowCxV3beta1Flow
|
4479
4623
|
# @private
|
4480
4624
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4788,6 +4932,8 @@ module Google
|
|
4788
4932
|
# @private
|
4789
4933
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4790
4934
|
property :audio_encoding, as: 'audioEncoding'
|
4935
|
+
property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig::Representation
|
4936
|
+
|
4791
4937
|
property :enable_word_info, as: 'enableWordInfo'
|
4792
4938
|
property :model, as: 'model'
|
4793
4939
|
property :model_variant, as: 'modelVariant'
|
@@ -5184,6 +5330,8 @@ module Google
|
|
5184
5330
|
|
5185
5331
|
hash :parameters, as: 'parameters'
|
5186
5332
|
hash :payload, as: 'payload'
|
5333
|
+
property :search_config, as: 'searchConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig::Representation
|
5334
|
+
|
5187
5335
|
collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
5188
5336
|
|
5189
5337
|
property :session_ttl, as: 'sessionTtl'
|
@@ -5197,6 +5345,7 @@ module Google
|
|
5197
5345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5198
5346
|
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
5199
5347
|
|
5348
|
+
property :allow_answer_feedback, as: 'allowAnswerFeedback'
|
5200
5349
|
property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
5201
5350
|
|
5202
5351
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
@@ -5445,6 +5594,16 @@ module Google
|
|
5445
5594
|
end
|
5446
5595
|
end
|
5447
5596
|
|
5597
|
+
class GoogleCloudDialogflowCxV3beta1SearchConfig
|
5598
|
+
# @private
|
5599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5600
|
+
collection :boost_specs, as: 'boostSpecs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs::Representation
|
5601
|
+
|
5602
|
+
collection :filter_specs, as: 'filterSpecs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs::Representation
|
5603
|
+
|
5604
|
+
end
|
5605
|
+
end
|
5606
|
+
|
5448
5607
|
class GoogleCloudDialogflowCxV3beta1SecuritySettings
|
5449
5608
|
# @private
|
5450
5609
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5526,6 +5685,16 @@ module Google
|
|
5526
5685
|
end
|
5527
5686
|
end
|
5528
5687
|
|
5688
|
+
class GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest
|
5689
|
+
# @private
|
5690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5691
|
+
property :answer_feedback, as: 'answerFeedback', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback::Representation
|
5692
|
+
|
5693
|
+
property :response_id, as: 'responseId'
|
5694
|
+
property :update_mask, as: 'updateMask'
|
5695
|
+
end
|
5696
|
+
end
|
5697
|
+
|
5529
5698
|
class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
|
5530
5699
|
# @private
|
5531
5700
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3304,6 +3304,40 @@ module Google
|
|
3304
3304
|
execute_or_queue_command(command, &block)
|
3305
3305
|
end
|
3306
3306
|
|
3307
|
+
# Updates the feedback received from the user for a single turn of the bot
|
3308
|
+
# response.
|
3309
|
+
# @param [String] session
|
3310
|
+
# Required. The name of the session the feedback was sent to.
|
3311
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest] google_cloud_dialogflow_cx_v3beta1_submit_answer_feedback_request_object
|
3312
|
+
# @param [String] fields
|
3313
|
+
# Selector specifying which fields to include in a partial response.
|
3314
|
+
# @param [String] quota_user
|
3315
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3316
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3317
|
+
# @param [Google::Apis::RequestOptions] options
|
3318
|
+
# Request-specific options
|
3319
|
+
#
|
3320
|
+
# @yield [result, err] Result & error if block supplied
|
3321
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback] parsed result object
|
3322
|
+
# @yieldparam err [StandardError] error object if request failed
|
3323
|
+
#
|
3324
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback]
|
3325
|
+
#
|
3326
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3327
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3328
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3329
|
+
def submit_project_location_agent_session_answer_feedback(session, google_cloud_dialogflow_cx_v3beta1_submit_answer_feedback_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3330
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:submitAnswerFeedback', options)
|
3331
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest::Representation
|
3332
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_submit_answer_feedback_request_object
|
3333
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback::Representation
|
3334
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback
|
3335
|
+
command.params['session'] = session unless session.nil?
|
3336
|
+
command.query['fields'] = fields unless fields.nil?
|
3337
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3338
|
+
execute_or_queue_command(command, &block)
|
3339
|
+
end
|
3340
|
+
|
3307
3341
|
# Creates a session entity type.
|
3308
3342
|
# @param [String] parent
|
3309
3343
|
# Required. The session to create a session entity type for. Format: `projects//
|
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.72.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: 2023-
|
11
|
+
date: 2023-12-03 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.72.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: []
|