google-apis-dialogflow_v3beta1 0.70.0 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b462c76566721eee6f12bc7d280cd473bdc0472773813c27591a614b53d9142b
4
- data.tar.gz: f1b5a9aa764fc38e0af00b7fc26740f189bab67e7ec4439da3ad6d5ef7256d50
3
+ metadata.gz: 224754960696d7dcb3fa45b64c85a6debc8ae24d694c056c3e9b70e848bfa7e4
4
+ data.tar.gz: a733ee01490e7f9c43ee6960e0c96198ca9aadc3f3b5ade691d63308539d95a6
5
5
  SHA512:
6
- metadata.gz: b57b4c57b5dae9e9a5dd4624020c123db49a8c983cd204eeb0c00a4f80b3caaedf1ae1c680c6026b9be9a4aaaff76793e1ec11c0dc09c33d25b6bd69e1c74f5e
7
- data.tar.gz: 15ac44204f97af8d164ccd7d7ed5086d933bad1e79e0bef38a5041485fd172bca01592b6f56a0b9996d8be68aeeb5daa9f5509a9b5d4a1210c126dae46abc584
6
+ metadata.gz: f6195f3919bf00ea472749011c22f24460ee343cea607e9506b7121e57222fa25081d74add1e1799030a8ee2e45e1f6bebe0662ab90467d93b6b1a78e28ef8d6
7
+ data.tar.gz: 4ec5be0d90e110c31389aba08dfc2f21c9da66136b4a4872c37914a874f23f4b9cf72f85486e019dff774653210872d549b288f88c8adbf9a9599da57a9917d5
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
- ### v0.70.0 (2023-10-22)
3
+ ### v0.71.0 (2023-11-19)
4
4
 
5
- * Regenerated from discovery document revision 20231011
5
+ * Regenerated from discovery document revision 20231109
6
+
7
+ ### v0.70.0 (2023-10-29)
8
+
9
+ * Regenerated from discovery document revision 20231019
6
10
 
7
11
  ### v0.69.0 (2023-09-24)
8
12
 
@@ -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
@@ -11642,6 +12058,37 @@ module Google
11642
12058
  end
11643
12059
  end
11644
12060
 
12061
+ # A customer-managed encryption key specification that can be applied to all
12062
+ # created resources (e.g. Conversation).
12063
+ class GoogleCloudDialogflowV2EncryptionSpec
12064
+ include Google::Apis::Core::Hashable
12065
+
12066
+ # Required. The name of customer-managed encryption key that is used to secure a
12067
+ # resource and its sub-resources. If empty, the resource is secured by the
12068
+ # default Google encryption key. Only the key in the same location as this
12069
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
12070
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
12071
+ # Corresponds to the JSON property `kmsKey`
12072
+ # @return [String]
12073
+ attr_accessor :kms_key
12074
+
12075
+ # Immutable. The resource name of the encryption key specification resource.
12076
+ # Format: projects/`project`/locations/`location`/encryptionSpec
12077
+ # Corresponds to the JSON property `name`
12078
+ # @return [String]
12079
+ attr_accessor :name
12080
+
12081
+ def initialize(**args)
12082
+ update!(**args)
12083
+ end
12084
+
12085
+ # Update properties of this object
12086
+ def update!(**args)
12087
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
12088
+ @name = args[:name] if args.key?(:name)
12089
+ end
12090
+ end
12091
+
11645
12092
  # Each intent parameter has a type, called the entity type, which dictates
11646
12093
  # exactly how data from an end-user expression is extracted. Dialogflow provides
11647
12094
  # predefined system entities that can match many common types of data. For
@@ -12016,6 +12463,45 @@ module Google
12016
12463
  end
12017
12464
  end
12018
12465
 
12466
+ # Metadata for initializing a location-level encryption specification.
12467
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
12468
+ include Google::Apis::Core::Hashable
12469
+
12470
+ # The request to initialize a location-level encryption specification.
12471
+ # Corresponds to the JSON property `request`
12472
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
12473
+ attr_accessor :request
12474
+
12475
+ def initialize(**args)
12476
+ update!(**args)
12477
+ end
12478
+
12479
+ # Update properties of this object
12480
+ def update!(**args)
12481
+ @request = args[:request] if args.key?(:request)
12482
+ end
12483
+ end
12484
+
12485
+ # The request to initialize a location-level encryption specification.
12486
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
12487
+ include Google::Apis::Core::Hashable
12488
+
12489
+ # A customer-managed encryption key specification that can be applied to all
12490
+ # created resources (e.g. Conversation).
12491
+ # Corresponds to the JSON property `encryptionSpec`
12492
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec]
12493
+ attr_accessor :encryption_spec
12494
+
12495
+ def initialize(**args)
12496
+ update!(**args)
12497
+ end
12498
+
12499
+ # Update properties of this object
12500
+ def update!(**args)
12501
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
12502
+ end
12503
+ end
12504
+
12019
12505
  # InputDataset used to create model or do evaluation. NextID:5
12020
12506
  class GoogleCloudDialogflowV2InputDataset
12021
12507
  include Google::Apis::Core::Hashable
@@ -14418,6 +14904,37 @@ module Google
14418
14904
  end
14419
14905
  end
14420
14906
 
14907
+ # A customer-managed encryption key specification that can be applied to all
14908
+ # created resources (e.g. Conversation).
14909
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
14910
+ include Google::Apis::Core::Hashable
14911
+
14912
+ # Required. The name of customer-managed encryption key that is used to secure a
14913
+ # resource and its sub-resources. If empty, the resource is secured by the
14914
+ # default Google encryption key. Only the key in the same location as this
14915
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
14916
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
14917
+ # Corresponds to the JSON property `kmsKey`
14918
+ # @return [String]
14919
+ attr_accessor :kms_key
14920
+
14921
+ # Immutable. The resource name of the encryption key specification resource.
14922
+ # Format: projects/`project`/locations/`location`/encryptionSpec
14923
+ # Corresponds to the JSON property `name`
14924
+ # @return [String]
14925
+ attr_accessor :name
14926
+
14927
+ def initialize(**args)
14928
+ update!(**args)
14929
+ end
14930
+
14931
+ # Update properties of this object
14932
+ def update!(**args)
14933
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
14934
+ @name = args[:name] if args.key?(:name)
14935
+ end
14936
+ end
14937
+
14421
14938
  # Each intent parameter has a type, called the entity type, which dictates
14422
14939
  # exactly how data from an end-user expression is extracted. Dialogflow provides
14423
14940
  # predefined system entities that can match many common types of data. For
@@ -14736,6 +15253,45 @@ module Google
14736
15253
  end
14737
15254
  end
14738
15255
 
15256
+ # Metadata for initializing a location-level encryption specification.
15257
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
15258
+ include Google::Apis::Core::Hashable
15259
+
15260
+ # The request to initialize a location-level encryption specification.
15261
+ # Corresponds to the JSON property `request`
15262
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
15263
+ attr_accessor :request
15264
+
15265
+ def initialize(**args)
15266
+ update!(**args)
15267
+ end
15268
+
15269
+ # Update properties of this object
15270
+ def update!(**args)
15271
+ @request = args[:request] if args.key?(:request)
15272
+ end
15273
+ end
15274
+
15275
+ # The request to initialize a location-level encryption specification.
15276
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
15277
+ include Google::Apis::Core::Hashable
15278
+
15279
+ # A customer-managed encryption key specification that can be applied to all
15280
+ # created resources (e.g. Conversation).
15281
+ # Corresponds to the JSON property `encryptionSpec`
15282
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
15283
+ attr_accessor :encryption_spec
15284
+
15285
+ def initialize(**args)
15286
+ update!(**args)
15287
+ end
15288
+
15289
+ # Update properties of this object
15290
+ def update!(**args)
15291
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
15292
+ end
15293
+ end
15294
+
14739
15295
  # An intent categorizes an end-user's intention for one conversation turn. For
14740
15296
  # each agent, you define many intents, where your combined intents can handle a
14741
15297
  # complete conversation. When an end-user writes or says something, referred to
@@ -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.70.0"
19
+ GEM_VERSION = "0.71.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 = "20231011"
25
+ REVISION = "20231109"
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
 
@@ -1930,6 +1996,12 @@ module Google
1930
1996
  include Google::Apis::Core::JsonObjectSupport
1931
1997
  end
1932
1998
 
1999
+ class GoogleCloudDialogflowV2EncryptionSpec
2000
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2001
+
2002
+ include Google::Apis::Core::JsonObjectSupport
2003
+ end
2004
+
1933
2005
  class GoogleCloudDialogflowV2EntityType
1934
2006
  class Representation < Google::Apis::Core::JsonRepresentation; end
1935
2007
 
@@ -1996,6 +2068,18 @@ module Google
1996
2068
  include Google::Apis::Core::JsonObjectSupport
1997
2069
  end
1998
2070
 
2071
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
2072
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2073
+
2074
+ include Google::Apis::Core::JsonObjectSupport
2075
+ end
2076
+
2077
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
2078
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2079
+
2080
+ include Google::Apis::Core::JsonObjectSupport
2081
+ end
2082
+
1999
2083
  class GoogleCloudDialogflowV2InputDataset
2000
2084
  class Representation < Google::Apis::Core::JsonRepresentation; end
2001
2085
 
@@ -2356,6 +2440,12 @@ module Google
2356
2440
  include Google::Apis::Core::JsonObjectSupport
2357
2441
  end
2358
2442
 
2443
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
2444
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2445
+
2446
+ include Google::Apis::Core::JsonObjectSupport
2447
+ end
2448
+
2359
2449
  class GoogleCloudDialogflowV2beta1EntityType
2360
2450
  class Representation < Google::Apis::Core::JsonRepresentation; end
2361
2451
 
@@ -2410,6 +2500,18 @@ module Google
2410
2500
  include Google::Apis::Core::JsonObjectSupport
2411
2501
  end
2412
2502
 
2503
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
2504
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2505
+
2506
+ include Google::Apis::Core::JsonObjectSupport
2507
+ end
2508
+
2509
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
2510
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2511
+
2512
+ include Google::Apis::Core::JsonObjectSupport
2513
+ end
2514
+
2413
2515
  class GoogleCloudDialogflowV2beta1Intent
2414
2516
  class Representation < Google::Apis::Core::JsonRepresentation; end
2415
2517
 
@@ -2946,6 +3048,14 @@ module Google
2946
3048
  end
2947
3049
  end
2948
3050
 
3051
+ class GoogleCloudDialogflowCxV3BargeInConfig
3052
+ # @private
3053
+ class Representation < Google::Apis::Core::JsonRepresentation
3054
+ property :no_barge_in_duration, as: 'noBargeInDuration'
3055
+ property :total_duration, as: 'totalDuration'
3056
+ end
3057
+ end
3058
+
2949
3059
  class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata
2950
3060
  # @private
2951
3061
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3353,6 +3463,8 @@ module Google
3353
3463
  # @private
3354
3464
  class Representation < Google::Apis::Core::JsonRepresentation
3355
3465
  property :audio_encoding, as: 'audioEncoding'
3466
+ property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3BargeInConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3BargeInConfig::Representation
3467
+
3356
3468
  property :enable_word_info, as: 'enableWordInfo'
3357
3469
  property :model, as: 'model'
3358
3470
  property :model_variant, as: 'modelVariant'
@@ -3908,6 +4020,8 @@ module Google
3908
4020
  class Representation < Google::Apis::Core::JsonRepresentation
3909
4021
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
3910
4022
 
4023
+ property :answer_feedback_settings, as: 'answerFeedbackSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings::Representation
4024
+
3911
4025
  property :avatar_uri, as: 'avatarUri'
3912
4026
  property :default_language_code, as: 'defaultLanguageCode'
3913
4027
  property :description, as: 'description'
@@ -3931,6 +4045,13 @@ module Google
3931
4045
  end
3932
4046
  end
3933
4047
 
4048
+ class GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings
4049
+ # @private
4050
+ class Representation < Google::Apis::Core::JsonRepresentation
4051
+ property :enable_answer_feedback, as: 'enableAnswerFeedback'
4052
+ end
4053
+ end
4054
+
3934
4055
  class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
3935
4056
  # @private
3936
4057
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3966,6 +4087,24 @@ module Google
3966
4087
  end
3967
4088
  end
3968
4089
 
4090
+ class GoogleCloudDialogflowCxV3beta1AnswerFeedback
4091
+ # @private
4092
+ class Representation < Google::Apis::Core::JsonRepresentation
4093
+ property :custom_rating, as: 'customRating'
4094
+ property :rating, as: 'rating'
4095
+ property :rating_reason, as: 'ratingReason', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason::Representation
4096
+
4097
+ end
4098
+ end
4099
+
4100
+ class GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
4101
+ # @private
4102
+ class Representation < Google::Apis::Core::JsonRepresentation
4103
+ property :feedback, as: 'feedback'
4104
+ collection :reason_labels, as: 'reasonLabels'
4105
+ end
4106
+ end
4107
+
3969
4108
  class GoogleCloudDialogflowCxV3beta1AudioInput
3970
4109
  # @private
3971
4110
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3975,6 +4114,14 @@ module Google
3975
4114
  end
3976
4115
  end
3977
4116
 
4117
+ class GoogleCloudDialogflowCxV3beta1BargeInConfig
4118
+ # @private
4119
+ class Representation < Google::Apis::Core::JsonRepresentation
4120
+ property :no_barge_in_duration, as: 'noBargeInDuration'
4121
+ property :total_duration, as: 'totalDuration'
4122
+ end
4123
+ end
4124
+
3978
4125
  class GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest
3979
4126
  # @private
3980
4127
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4006,6 +4153,31 @@ module Google
4006
4153
  end
4007
4154
  end
4008
4155
 
4156
+ class GoogleCloudDialogflowCxV3beta1BoostSpec
4157
+ # @private
4158
+ class Representation < Google::Apis::Core::JsonRepresentation
4159
+ collection :condition_boost_specs, as: 'conditionBoostSpecs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec::Representation
4160
+
4161
+ end
4162
+ end
4163
+
4164
+ class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec
4165
+ # @private
4166
+ class Representation < Google::Apis::Core::JsonRepresentation
4167
+ property :boost, as: 'boost'
4168
+ property :condition, as: 'condition'
4169
+ end
4170
+ end
4171
+
4172
+ class GoogleCloudDialogflowCxV3beta1BoostSpecs
4173
+ # @private
4174
+ class Representation < Google::Apis::Core::JsonRepresentation
4175
+ collection :data_stores, as: 'dataStores'
4176
+ collection :spec, as: 'spec', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpec::Representation
4177
+
4178
+ end
4179
+ end
4180
+
4009
4181
  class GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
4010
4182
  # @private
4011
4183
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4475,6 +4647,14 @@ module Google
4475
4647
  end
4476
4648
  end
4477
4649
 
4650
+ class GoogleCloudDialogflowCxV3beta1FilterSpecs
4651
+ # @private
4652
+ class Representation < Google::Apis::Core::JsonRepresentation
4653
+ collection :data_stores, as: 'dataStores'
4654
+ property :filter, as: 'filter'
4655
+ end
4656
+ end
4657
+
4478
4658
  class GoogleCloudDialogflowCxV3beta1Flow
4479
4659
  # @private
4480
4660
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4788,6 +4968,8 @@ module Google
4788
4968
  # @private
4789
4969
  class Representation < Google::Apis::Core::JsonRepresentation
4790
4970
  property :audio_encoding, as: 'audioEncoding'
4971
+ property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig::Representation
4972
+
4791
4973
  property :enable_word_info, as: 'enableWordInfo'
4792
4974
  property :model, as: 'model'
4793
4975
  property :model_variant, as: 'modelVariant'
@@ -5184,6 +5366,8 @@ module Google
5184
5366
 
5185
5367
  hash :parameters, as: 'parameters'
5186
5368
  hash :payload, as: 'payload'
5369
+ property :search_config, as: 'searchConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig::Representation
5370
+
5187
5371
  collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
5188
5372
 
5189
5373
  property :session_ttl, as: 'sessionTtl'
@@ -5197,6 +5381,7 @@ module Google
5197
5381
  class Representation < Google::Apis::Core::JsonRepresentation
5198
5382
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
5199
5383
 
5384
+ property :allow_answer_feedback, as: 'allowAnswerFeedback'
5200
5385
  property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
5201
5386
 
5202
5387
  hash :diagnostic_info, as: 'diagnosticInfo'
@@ -5445,6 +5630,16 @@ module Google
5445
5630
  end
5446
5631
  end
5447
5632
 
5633
+ class GoogleCloudDialogflowCxV3beta1SearchConfig
5634
+ # @private
5635
+ class Representation < Google::Apis::Core::JsonRepresentation
5636
+ collection :boost_specs, as: 'boostSpecs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs::Representation
5637
+
5638
+ collection :filter_specs, as: 'filterSpecs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs::Representation
5639
+
5640
+ end
5641
+ end
5642
+
5448
5643
  class GoogleCloudDialogflowCxV3beta1SecuritySettings
5449
5644
  # @private
5450
5645
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5526,6 +5721,16 @@ module Google
5526
5721
  end
5527
5722
  end
5528
5723
 
5724
+ class GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest
5725
+ # @private
5726
+ class Representation < Google::Apis::Core::JsonRepresentation
5727
+ property :answer_feedback, as: 'answerFeedback', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback::Representation
5728
+
5729
+ property :response_id, as: 'responseId'
5730
+ property :update_mask, as: 'updateMask'
5731
+ end
5732
+ end
5733
+
5529
5734
  class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
5530
5735
  # @private
5531
5736
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6072,6 +6277,14 @@ module Google
6072
6277
  end
6073
6278
  end
6074
6279
 
6280
+ class GoogleCloudDialogflowV2EncryptionSpec
6281
+ # @private
6282
+ class Representation < Google::Apis::Core::JsonRepresentation
6283
+ property :kms_key, as: 'kmsKey'
6284
+ property :name, as: 'name'
6285
+ end
6286
+ end
6287
+
6075
6288
  class GoogleCloudDialogflowV2EntityType
6076
6289
  # @private
6077
6290
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6173,6 +6386,22 @@ module Google
6173
6386
  end
6174
6387
  end
6175
6388
 
6389
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
6390
+ # @private
6391
+ class Representation < Google::Apis::Core::JsonRepresentation
6392
+ property :request, as: 'request', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
6393
+
6394
+ end
6395
+ end
6396
+
6397
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
6398
+ # @private
6399
+ class Representation < Google::Apis::Core::JsonRepresentation
6400
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec::Representation
6401
+
6402
+ end
6403
+ end
6404
+
6176
6405
  class GoogleCloudDialogflowV2InputDataset
6177
6406
  # @private
6178
6407
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6823,6 +7052,14 @@ module Google
6823
7052
  end
6824
7053
  end
6825
7054
 
7055
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
7056
+ # @private
7057
+ class Representation < Google::Apis::Core::JsonRepresentation
7058
+ property :kms_key, as: 'kmsKey'
7059
+ property :name, as: 'name'
7060
+ end
7061
+ end
7062
+
6826
7063
  class GoogleCloudDialogflowV2beta1EntityType
6827
7064
  # @private
6828
7065
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6906,6 +7143,22 @@ module Google
6906
7143
  end
6907
7144
  end
6908
7145
 
7146
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
7147
+ # @private
7148
+ class Representation < Google::Apis::Core::JsonRepresentation
7149
+ property :request, as: 'request', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
7150
+
7151
+ end
7152
+ end
7153
+
7154
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
7155
+ # @private
7156
+ class Representation < Google::Apis::Core::JsonRepresentation
7157
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
7158
+
7159
+ end
7160
+ end
7161
+
6909
7162
  class GoogleCloudDialogflowV2beta1Intent
6910
7163
  # @private
6911
7164
  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.70.0
4
+ version: 0.71.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-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-19 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.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.71.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: []