google-apis-dialogflow_v2 0.71.0 → 0.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v2/classes.rb +166 -140
- data/lib/google/apis/dialogflow_v2/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2/representations.rb +47 -84
- 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: 25dac0cd499030a83018e7dc868d062cb0ecb92007f250062e56a6c2538bcb33
|
4
|
+
data.tar.gz: 17997efd8666b5659e5c3403b8c0c682f24c0268ad54b1911cfefee120cf04f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edaf881725ac4b8d0c7131aa55ee828210de0b13bca3e59daa15daf211be4c4b278ab660a408f2eb31c33cc894bda998da6d289ad4172431472be5a7f4a0b305
|
7
|
+
data.tar.gz: a56812052b6286664ace78ec8d3b0b81d8454f457b60d609c1d74e7d6aba27d7718d564b22c7594eeeb0f6366d337d7e9af9aeb2ec1281b20198623f2af95fcb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.73.0 (2023-12-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231129
|
6
|
+
|
7
|
+
### v0.72.0 (2023-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231109
|
10
|
+
|
3
11
|
### v0.71.0 (2023-10-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231019
|
@@ -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::DialogflowV2::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)
|
@@ -3673,6 +3740,49 @@ module Google
|
|
3673
3740
|
end
|
3674
3741
|
end
|
3675
3742
|
|
3743
|
+
# Configuration of the barge-in behavior. Barge-in instructs the API to return a
|
3744
|
+
# detected utterance at a proper time while the client is playing back the
|
3745
|
+
# response audio from a previous request. When the client sees the utterance, it
|
3746
|
+
# should stop the playback and immediately get ready for receiving the responses
|
3747
|
+
# for the current request. The barge-in handling requires the client to start
|
3748
|
+
# streaming audio input as soon as it starts playing back the audio from the
|
3749
|
+
# previous response. The playback is modeled into two phases: * No barge-in
|
3750
|
+
# phase: which goes first and during which speech detection should not be
|
3751
|
+
# carried out. * Barge-in phase: which follows the no barge-in phase and during
|
3752
|
+
# which the API starts speech detection and may inform the client that an
|
3753
|
+
# utterance has been detected. Note that no-speech event is not expected in this
|
3754
|
+
# phase. The client provides this configuration in terms of the durations of
|
3755
|
+
# those two phases. The durations are measured in terms of the audio length
|
3756
|
+
# fromt the the start of the input audio. The flow goes like below: --> Time
|
3757
|
+
# without speech detection | utterance only | utterance or no-speech event | | +-
|
3758
|
+
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
3759
|
+
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
3760
|
+
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
3761
|
+
# any transcript following up.
|
3762
|
+
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
3763
|
+
include Google::Apis::Core::Hashable
|
3764
|
+
|
3765
|
+
# Duration that is not eligible for barge-in at the beginning of the input audio.
|
3766
|
+
# Corresponds to the JSON property `noBargeInDuration`
|
3767
|
+
# @return [String]
|
3768
|
+
attr_accessor :no_barge_in_duration
|
3769
|
+
|
3770
|
+
# Total duration for the playback at the beginning of the input audio.
|
3771
|
+
# Corresponds to the JSON property `totalDuration`
|
3772
|
+
# @return [String]
|
3773
|
+
attr_accessor :total_duration
|
3774
|
+
|
3775
|
+
def initialize(**args)
|
3776
|
+
update!(**args)
|
3777
|
+
end
|
3778
|
+
|
3779
|
+
# Update properties of this object
|
3780
|
+
def update!(**args)
|
3781
|
+
@no_barge_in_duration = args[:no_barge_in_duration] if args.key?(:no_barge_in_duration)
|
3782
|
+
@total_duration = args[:total_duration] if args.key?(:total_duration)
|
3783
|
+
end
|
3784
|
+
end
|
3785
|
+
|
3676
3786
|
# Metadata returned for the TestCases.BatchRunTestCases long running operation.
|
3677
3787
|
class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
|
3678
3788
|
include Google::Apis::Core::Hashable
|
@@ -5030,6 +5140,29 @@ module Google
|
|
5030
5140
|
# @return [String]
|
5031
5141
|
attr_accessor :audio_encoding
|
5032
5142
|
|
5143
|
+
# Configuration of the barge-in behavior. Barge-in instructs the API to return a
|
5144
|
+
# detected utterance at a proper time while the client is playing back the
|
5145
|
+
# response audio from a previous request. When the client sees the utterance, it
|
5146
|
+
# should stop the playback and immediately get ready for receiving the responses
|
5147
|
+
# for the current request. The barge-in handling requires the client to start
|
5148
|
+
# streaming audio input as soon as it starts playing back the audio from the
|
5149
|
+
# previous response. The playback is modeled into two phases: * No barge-in
|
5150
|
+
# phase: which goes first and during which speech detection should not be
|
5151
|
+
# carried out. * Barge-in phase: which follows the no barge-in phase and during
|
5152
|
+
# which the API starts speech detection and may inform the client that an
|
5153
|
+
# utterance has been detected. Note that no-speech event is not expected in this
|
5154
|
+
# phase. The client provides this configuration in terms of the durations of
|
5155
|
+
# those two phases. The durations are measured in terms of the audio length
|
5156
|
+
# fromt the the start of the input audio. The flow goes like below: --> Time
|
5157
|
+
# without speech detection | utterance only | utterance or no-speech event | | +-
|
5158
|
+
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
5159
|
+
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
5160
|
+
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
5161
|
+
# any transcript following up.
|
5162
|
+
# Corresponds to the JSON property `bargeInConfig`
|
5163
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
5164
|
+
attr_accessor :barge_in_config
|
5165
|
+
|
5033
5166
|
# Optional. If `true`, Dialogflow returns SpeechWordInfo in
|
5034
5167
|
# StreamingRecognitionResult with information about the recognized speech words,
|
5035
5168
|
# e.g. start and end time offsets. If false or unspecified, Speech doesn't
|
@@ -5092,6 +5225,7 @@ module Google
|
|
5092
5225
|
# Update properties of this object
|
5093
5226
|
def update!(**args)
|
5094
5227
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
5228
|
+
@barge_in_config = args[:barge_in_config] if args.key?(:barge_in_config)
|
5095
5229
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
5096
5230
|
@model = args[:model] if args.key?(:model)
|
5097
5231
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
@@ -9091,37 +9225,6 @@ module Google
|
|
9091
9225
|
end
|
9092
9226
|
end
|
9093
9227
|
|
9094
|
-
# A customer-managed encryption key specification that can be applied to all
|
9095
|
-
# created resources (e.g. Conversation).
|
9096
|
-
class GoogleCloudDialogflowV2EncryptionSpec
|
9097
|
-
include Google::Apis::Core::Hashable
|
9098
|
-
|
9099
|
-
# Required. The name of customer-managed encryption key that is used to secure a
|
9100
|
-
# resource and its sub-resources. If empty, the resource is secured by the
|
9101
|
-
# default Google encryption key. Only the key in the same location as this
|
9102
|
-
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
9103
|
-
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
9104
|
-
# Corresponds to the JSON property `kmsKey`
|
9105
|
-
# @return [String]
|
9106
|
-
attr_accessor :kms_key
|
9107
|
-
|
9108
|
-
# Immutable. The resource name of the encryption key specification resource.
|
9109
|
-
# Format: projects/`project`/locations/`location`/encryptionSpec
|
9110
|
-
# Corresponds to the JSON property `name`
|
9111
|
-
# @return [String]
|
9112
|
-
attr_accessor :name
|
9113
|
-
|
9114
|
-
def initialize(**args)
|
9115
|
-
update!(**args)
|
9116
|
-
end
|
9117
|
-
|
9118
|
-
# Update properties of this object
|
9119
|
-
def update!(**args)
|
9120
|
-
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
9121
|
-
@name = args[:name] if args.key?(:name)
|
9122
|
-
end
|
9123
|
-
end
|
9124
|
-
|
9125
9228
|
# Each intent parameter has a type, called the entity type, which dictates
|
9126
9229
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
9127
9230
|
# predefined system entities that can match many common types of data. For
|
@@ -10247,6 +10350,13 @@ module Google
|
|
10247
10350
|
# @return [Fixnum]
|
10248
10351
|
attr_accessor :max_results
|
10249
10352
|
|
10353
|
+
# Custom sections to return when requesting a summary of a conversation. This is
|
10354
|
+
# only supported when `baseline_model_version` == '2.0'. Supported features:
|
10355
|
+
# CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.
|
10356
|
+
# Corresponds to the JSON property `sections`
|
10357
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections]
|
10358
|
+
attr_accessor :sections
|
10359
|
+
|
10250
10360
|
def initialize(**args)
|
10251
10361
|
update!(**args)
|
10252
10362
|
end
|
@@ -10259,6 +10369,7 @@ module Google
|
|
10259
10369
|
@document_query_source = args[:document_query_source] if args.key?(:document_query_source)
|
10260
10370
|
@knowledge_base_query_source = args[:knowledge_base_query_source] if args.key?(:knowledge_base_query_source)
|
10261
10371
|
@max_results = args[:max_results] if args.key?(:max_results)
|
10372
|
+
@sections = args[:sections] if args.key?(:sections)
|
10262
10373
|
end
|
10263
10374
|
end
|
10264
10375
|
|
@@ -10385,6 +10496,30 @@ module Google
|
|
10385
10496
|
end
|
10386
10497
|
end
|
10387
10498
|
|
10499
|
+
# Custom sections to return when requesting a summary of a conversation. This is
|
10500
|
+
# only supported when `baseline_model_version` == '2.0'. Supported features:
|
10501
|
+
# CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.
|
10502
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections
|
10503
|
+
include Google::Apis::Core::Hashable
|
10504
|
+
|
10505
|
+
# The selected sections chosen to return when requesting a summary of a
|
10506
|
+
# conversation. A duplicate selected section will be treated as a single
|
10507
|
+
# selected section. If section types are not provided, the default will be `
|
10508
|
+
# SITUATION, ACTION, RESULT`.
|
10509
|
+
# Corresponds to the JSON property `sectionTypes`
|
10510
|
+
# @return [Array<String>]
|
10511
|
+
attr_accessor :section_types
|
10512
|
+
|
10513
|
+
def initialize(**args)
|
10514
|
+
update!(**args)
|
10515
|
+
end
|
10516
|
+
|
10517
|
+
# Update properties of this object
|
10518
|
+
def update!(**args)
|
10519
|
+
@section_types = args[:section_types] if args.key?(:section_types)
|
10520
|
+
end
|
10521
|
+
end
|
10522
|
+
|
10388
10523
|
# Settings of suggestion trigger.
|
10389
10524
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
|
10390
10525
|
include Google::Apis::Core::Hashable
|
@@ -10731,45 +10866,6 @@ module Google
|
|
10731
10866
|
end
|
10732
10867
|
end
|
10733
10868
|
|
10734
|
-
# Metadata for initializing a location-level encryption specification.
|
10735
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
10736
|
-
include Google::Apis::Core::Hashable
|
10737
|
-
|
10738
|
-
# The request to initialize a location-level encryption specification.
|
10739
|
-
# Corresponds to the JSON property `request`
|
10740
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
|
10741
|
-
attr_accessor :request
|
10742
|
-
|
10743
|
-
def initialize(**args)
|
10744
|
-
update!(**args)
|
10745
|
-
end
|
10746
|
-
|
10747
|
-
# Update properties of this object
|
10748
|
-
def update!(**args)
|
10749
|
-
@request = args[:request] if args.key?(:request)
|
10750
|
-
end
|
10751
|
-
end
|
10752
|
-
|
10753
|
-
# The request to initialize a location-level encryption specification.
|
10754
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
10755
|
-
include Google::Apis::Core::Hashable
|
10756
|
-
|
10757
|
-
# A customer-managed encryption key specification that can be applied to all
|
10758
|
-
# created resources (e.g. Conversation).
|
10759
|
-
# Corresponds to the JSON property `encryptionSpec`
|
10760
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec]
|
10761
|
-
attr_accessor :encryption_spec
|
10762
|
-
|
10763
|
-
def initialize(**args)
|
10764
|
-
update!(**args)
|
10765
|
-
end
|
10766
|
-
|
10767
|
-
# Update properties of this object
|
10768
|
-
def update!(**args)
|
10769
|
-
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
10770
|
-
end
|
10771
|
-
end
|
10772
|
-
|
10773
10869
|
# Instructs the speech recognizer how to process the audio content.
|
10774
10870
|
class GoogleCloudDialogflowV2InputAudioConfig
|
10775
10871
|
include Google::Apis::Core::Hashable
|
@@ -15118,37 +15214,6 @@ module Google
|
|
15118
15214
|
end
|
15119
15215
|
end
|
15120
15216
|
|
15121
|
-
# A customer-managed encryption key specification that can be applied to all
|
15122
|
-
# created resources (e.g. Conversation).
|
15123
|
-
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
15124
|
-
include Google::Apis::Core::Hashable
|
15125
|
-
|
15126
|
-
# Required. The name of customer-managed encryption key that is used to secure a
|
15127
|
-
# resource and its sub-resources. If empty, the resource is secured by the
|
15128
|
-
# default Google encryption key. Only the key in the same location as this
|
15129
|
-
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
15130
|
-
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
15131
|
-
# Corresponds to the JSON property `kmsKey`
|
15132
|
-
# @return [String]
|
15133
|
-
attr_accessor :kms_key
|
15134
|
-
|
15135
|
-
# Immutable. The resource name of the encryption key specification resource.
|
15136
|
-
# Format: projects/`project`/locations/`location`/encryptionSpec
|
15137
|
-
# Corresponds to the JSON property `name`
|
15138
|
-
# @return [String]
|
15139
|
-
attr_accessor :name
|
15140
|
-
|
15141
|
-
def initialize(**args)
|
15142
|
-
update!(**args)
|
15143
|
-
end
|
15144
|
-
|
15145
|
-
# Update properties of this object
|
15146
|
-
def update!(**args)
|
15147
|
-
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
15148
|
-
@name = args[:name] if args.key?(:name)
|
15149
|
-
end
|
15150
|
-
end
|
15151
|
-
|
15152
15217
|
# Each intent parameter has a type, called the entity type, which dictates
|
15153
15218
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
15154
15219
|
# predefined system entities that can match many common types of data. For
|
@@ -15467,45 +15532,6 @@ module Google
|
|
15467
15532
|
end
|
15468
15533
|
end
|
15469
15534
|
|
15470
|
-
# Metadata for initializing a location-level encryption specification.
|
15471
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
15472
|
-
include Google::Apis::Core::Hashable
|
15473
|
-
|
15474
|
-
# The request to initialize a location-level encryption specification.
|
15475
|
-
# Corresponds to the JSON property `request`
|
15476
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
|
15477
|
-
attr_accessor :request
|
15478
|
-
|
15479
|
-
def initialize(**args)
|
15480
|
-
update!(**args)
|
15481
|
-
end
|
15482
|
-
|
15483
|
-
# Update properties of this object
|
15484
|
-
def update!(**args)
|
15485
|
-
@request = args[:request] if args.key?(:request)
|
15486
|
-
end
|
15487
|
-
end
|
15488
|
-
|
15489
|
-
# The request to initialize a location-level encryption specification.
|
15490
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
15491
|
-
include Google::Apis::Core::Hashable
|
15492
|
-
|
15493
|
-
# A customer-managed encryption key specification that can be applied to all
|
15494
|
-
# created resources (e.g. Conversation).
|
15495
|
-
# Corresponds to the JSON property `encryptionSpec`
|
15496
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
15497
|
-
attr_accessor :encryption_spec
|
15498
|
-
|
15499
|
-
def initialize(**args)
|
15500
|
-
update!(**args)
|
15501
|
-
end
|
15502
|
-
|
15503
|
-
# Update properties of this object
|
15504
|
-
def update!(**args)
|
15505
|
-
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
15506
|
-
end
|
15507
|
-
end
|
15508
|
-
|
15509
15535
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
15510
15536
|
# each agent, you define many intents, where your combined intents can handle a
|
15511
15537
|
# 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 DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.73.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 GoogleCloudDialogflowCxV3beta1BargeInConfig
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
637
649
|
class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
|
638
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
651
|
|
@@ -1498,12 +1510,6 @@ module Google
|
|
1498
1510
|
include Google::Apis::Core::JsonObjectSupport
|
1499
1511
|
end
|
1500
1512
|
|
1501
|
-
class GoogleCloudDialogflowV2EncryptionSpec
|
1502
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
|
-
|
1504
|
-
include Google::Apis::Core::JsonObjectSupport
|
1505
|
-
end
|
1506
|
-
|
1507
1513
|
class GoogleCloudDialogflowV2EntityType
|
1508
1514
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
1515
|
|
@@ -1720,6 +1726,12 @@ module Google
|
|
1720
1726
|
include Google::Apis::Core::JsonObjectSupport
|
1721
1727
|
end
|
1722
1728
|
|
1729
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections
|
1730
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1731
|
+
|
1732
|
+
include Google::Apis::Core::JsonObjectSupport
|
1733
|
+
end
|
1734
|
+
|
1723
1735
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
|
1724
1736
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1725
1737
|
|
@@ -1792,18 +1804,6 @@ module Google
|
|
1792
1804
|
include Google::Apis::Core::JsonObjectSupport
|
1793
1805
|
end
|
1794
1806
|
|
1795
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
1796
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1797
|
-
|
1798
|
-
include Google::Apis::Core::JsonObjectSupport
|
1799
|
-
end
|
1800
|
-
|
1801
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
1802
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1803
|
-
|
1804
|
-
include Google::Apis::Core::JsonObjectSupport
|
1805
|
-
end
|
1806
|
-
|
1807
1807
|
class GoogleCloudDialogflowV2InputAudioConfig
|
1808
1808
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1809
1809
|
|
@@ -2512,12 +2512,6 @@ module Google
|
|
2512
2512
|
include Google::Apis::Core::JsonObjectSupport
|
2513
2513
|
end
|
2514
2514
|
|
2515
|
-
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
2516
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2517
|
-
|
2518
|
-
include Google::Apis::Core::JsonObjectSupport
|
2519
|
-
end
|
2520
|
-
|
2521
2515
|
class GoogleCloudDialogflowV2beta1EntityType
|
2522
2516
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2523
2517
|
|
@@ -2572,18 +2566,6 @@ module Google
|
|
2572
2566
|
include Google::Apis::Core::JsonObjectSupport
|
2573
2567
|
end
|
2574
2568
|
|
2575
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
2576
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2577
|
-
|
2578
|
-
include Google::Apis::Core::JsonObjectSupport
|
2579
|
-
end
|
2580
|
-
|
2581
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
2582
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2583
|
-
|
2584
|
-
include Google::Apis::Core::JsonObjectSupport
|
2585
|
-
end
|
2586
|
-
|
2587
2569
|
class GoogleCloudDialogflowV2beta1Intent
|
2588
2570
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2589
2571
|
|
@@ -3120,6 +3102,14 @@ module Google
|
|
3120
3102
|
end
|
3121
3103
|
end
|
3122
3104
|
|
3105
|
+
class GoogleCloudDialogflowCxV3BargeInConfig
|
3106
|
+
# @private
|
3107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3108
|
+
property :no_barge_in_duration, as: 'noBargeInDuration'
|
3109
|
+
property :total_duration, as: 'totalDuration'
|
3110
|
+
end
|
3111
|
+
end
|
3112
|
+
|
3123
3113
|
class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata
|
3124
3114
|
# @private
|
3125
3115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3527,6 +3517,8 @@ module Google
|
|
3527
3517
|
# @private
|
3528
3518
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3529
3519
|
property :audio_encoding, as: 'audioEncoding'
|
3520
|
+
property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3BargeInConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3BargeInConfig::Representation
|
3521
|
+
|
3530
3522
|
property :enable_word_info, as: 'enableWordInfo'
|
3531
3523
|
property :model, as: 'model'
|
3532
3524
|
property :model_variant, as: 'modelVariant'
|
@@ -4086,6 +4078,14 @@ module Google
|
|
4086
4078
|
end
|
4087
4079
|
end
|
4088
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
|
+
|
4089
4089
|
class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
|
4090
4090
|
# @private
|
4091
4091
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4493,6 +4493,8 @@ module Google
|
|
4493
4493
|
# @private
|
4494
4494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4495
4495
|
property :audio_encoding, as: 'audioEncoding'
|
4496
|
+
property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1BargeInConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1BargeInConfig::Representation
|
4497
|
+
|
4496
4498
|
property :enable_word_info, as: 'enableWordInfo'
|
4497
4499
|
property :model, as: 'model'
|
4498
4500
|
property :model_variant, as: 'modelVariant'
|
@@ -5553,14 +5555,6 @@ module Google
|
|
5553
5555
|
end
|
5554
5556
|
end
|
5555
5557
|
|
5556
|
-
class GoogleCloudDialogflowV2EncryptionSpec
|
5557
|
-
# @private
|
5558
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
5559
|
-
property :kms_key, as: 'kmsKey'
|
5560
|
-
property :name, as: 'name'
|
5561
|
-
end
|
5562
|
-
end
|
5563
|
-
|
5564
5558
|
class GoogleCloudDialogflowV2EntityType
|
5565
5559
|
# @private
|
5566
5560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5867,6 +5861,8 @@ module Google
|
|
5867
5861
|
property :knowledge_base_query_source, as: 'knowledgeBaseQuerySource', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource::Representation
|
5868
5862
|
|
5869
5863
|
property :max_results, as: 'maxResults'
|
5864
|
+
property :sections, as: 'sections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections::Representation
|
5865
|
+
|
5870
5866
|
end
|
5871
5867
|
end
|
5872
5868
|
|
@@ -5909,6 +5905,13 @@ module Google
|
|
5909
5905
|
end
|
5910
5906
|
end
|
5911
5907
|
|
5908
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections
|
5909
|
+
# @private
|
5910
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5911
|
+
collection :section_types, as: 'sectionTypes'
|
5912
|
+
end
|
5913
|
+
end
|
5914
|
+
|
5912
5915
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
|
5913
5916
|
# @private
|
5914
5917
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6016,22 +6019,6 @@ module Google
|
|
6016
6019
|
end
|
6017
6020
|
end
|
6018
6021
|
|
6019
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
6020
|
-
# @private
|
6021
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
6022
|
-
property :request, as: 'request', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
|
6023
|
-
|
6024
|
-
end
|
6025
|
-
end
|
6026
|
-
|
6027
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
6028
|
-
# @private
|
6029
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
6030
|
-
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec::Representation
|
6031
|
-
|
6032
|
-
end
|
6033
|
-
end
|
6034
|
-
|
6035
6022
|
class GoogleCloudDialogflowV2InputAudioConfig
|
6036
6023
|
# @private
|
6037
6024
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7225,14 +7212,6 @@ module Google
|
|
7225
7212
|
end
|
7226
7213
|
end
|
7227
7214
|
|
7228
|
-
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
7229
|
-
# @private
|
7230
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7231
|
-
property :kms_key, as: 'kmsKey'
|
7232
|
-
property :name, as: 'name'
|
7233
|
-
end
|
7234
|
-
end
|
7235
|
-
|
7236
7215
|
class GoogleCloudDialogflowV2beta1EntityType
|
7237
7216
|
# @private
|
7238
7217
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7316,22 +7295,6 @@ module Google
|
|
7316
7295
|
end
|
7317
7296
|
end
|
7318
7297
|
|
7319
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
7320
|
-
# @private
|
7321
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7322
|
-
property :request, as: 'request', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
|
7323
|
-
|
7324
|
-
end
|
7325
|
-
end
|
7326
|
-
|
7327
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
7328
|
-
# @private
|
7329
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7330
|
-
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
|
7331
|
-
|
7332
|
-
end
|
7333
|
-
end
|
7334
|
-
|
7335
7298
|
class GoogleCloudDialogflowV2beta1Intent
|
7336
7299
|
# @private
|
7337
7300
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.73.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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.73.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|