@@ -1790,6 +1790,31 @@ def update!(**args)
17901790 end
17911791 end
17921792
1793+ # A wrapper for holding the audio for any given turn.
1794+ class GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio
1795+ include Google::Apis::Core::Hashable
1796+
1797+ # The duration of the audio.
1798+ # Corresponds to the JSON property `audioDuration`
1799+ # @return [String]
1800+ attr_accessor :audio_duration
1801+
1802+ # The Cloud Storage URI of the audio for any given turn.
1803+ # Corresponds to the JSON property `audioGcsUri`
1804+ # @return [String]
1805+ attr_accessor :audio_gcs_uri
1806+
1807+ def initialize(**args)
1808+ update!(**args)
1809+ end
1810+
1811+ # Update properties of this object
1812+ def update!(**args)
1813+ @audio_duration = args[:audio_duration] if args.key?(:audio_duration)
1814+ @audio_gcs_uri = args[:audio_gcs_uri] if args.key?(:audio_gcs_uri)
1815+ end
1816+ end
1817+
17931818 # One channel of conversation-level sentiment data.
17941819 class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment
17951820 include Google::Apis::Core::Hashable
@@ -3606,6 +3631,25 @@ def update!(**args)
36063631 end
36073632 end
36083633
3634+ # The response from a GenerateConversationSignedAudio request.
3635+ class GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse
3636+ include Google::Apis::Core::Hashable
3637+
3638+ # Signed audio URIs for a conversation.
3639+ # Corresponds to the JSON property `signedAudioUris`
3640+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SignedAudioUris]
3641+ attr_accessor :signed_audio_uris
3642+
3643+ def initialize(**args)
3644+ update!(**args)
3645+ end
3646+
3647+ # Update properties of this object
3648+ def update!(**args)
3649+ @signed_audio_uris = args[:signed_audio_uris] if args.key?(:signed_audio_uris)
3650+ end
3651+ end
3652+
36093653 # The data for a hold annotation.
36103654 class GoogleCloudContactcenterinsightsV1HoldData
36113655 include Google::Apis::Core::Hashable
@@ -5259,7 +5303,9 @@ def update!(**args)
52595303 class GoogleCloudContactcenterinsightsV1QaAnswer
52605304 include Google::Apis::Core::Hashable
52615305
5262- # List of all individual answers given to the question.
5306+ # Lists all answer sources containing one or more answer values of a specific
5307+ # source type, e.g., all system-generated answer sources, or all manual edit
5308+ # answer sources.
52635309 # Corresponds to the JSON property `answerSources`
52645310 # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource>]
52655311 attr_accessor :answer_sources
@@ -6949,6 +6995,37 @@ def update!(**args)
69496995 end
69506996 end
69516997
6998+ # Signed audio URIs for a conversation.
6999+ class GoogleCloudContactcenterinsightsV1SignedAudioUris
7000+ include Google::Apis::Core::Hashable
7001+
7002+ # The signed URI for the audio from the Dialogflow conversation source.
7003+ # Corresponds to the JSON property `signedDialogflowAudioUri`
7004+ # @return [String]
7005+ attr_accessor :signed_dialogflow_audio_uri
7006+
7007+ # The signed URI for the audio from the Cloud Storage conversation source.
7008+ # Corresponds to the JSON property `signedGcsAudioUri`
7009+ # @return [String]
7010+ attr_accessor :signed_gcs_audio_uri
7011+
7012+ # The signed URI for the audio corresponding to each turn in the conversation.
7013+ # Corresponds to the JSON property `signedTurnLevelAudios`
7014+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio>]
7015+ attr_accessor :signed_turn_level_audios
7016+
7017+ def initialize(**args)
7018+ update!(**args)
7019+ end
7020+
7021+ # Update properties of this object
7022+ def update!(**args)
7023+ @signed_dialogflow_audio_uri = args[:signed_dialogflow_audio_uri] if args.key?(:signed_dialogflow_audio_uri)
7024+ @signed_gcs_audio_uri = args[:signed_gcs_audio_uri] if args.key?(:signed_gcs_audio_uri)
7025+ @signed_turn_level_audios = args[:signed_turn_level_audios] if args.key?(:signed_turn_level_audios)
7026+ end
7027+ end
7028+
69527029 # The data for a silence annotation.
69537030 class GoogleCloudContactcenterinsightsV1SilenceData
69547031 include Google::Apis::Core::Hashable
@@ -7051,6 +7128,13 @@ def update!(**args)
70517128 class GoogleCloudContactcenterinsightsV1SpeechConfig
70527129 include Google::Apis::Core::Hashable
70537130
7131+ # Whether to disable word time offsets. If true, the `enable_word_time_offsets`
7132+ # field in the recognition config will be set to false.
7133+ # Corresponds to the JSON property `disableWordTimeOffsets`
7134+ # @return [Boolean]
7135+ attr_accessor :disable_word_time_offsets
7136+ alias_method :disable_word_time_offsets?, :disable_word_time_offsets
7137+
70547138 # The fully-qualified Speech Recognizer resource name. Format: `projects/`
70557139 # project_id`/locations/`location`/recognizer/`recognizer``
70567140 # Corresponds to the JSON property `speechRecognizer`
@@ -7063,6 +7147,7 @@ def initialize(**args)
70637147
70647148 # Update properties of this object
70657149 def update!(**args)
7150+ @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets)
70667151 @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer)
70677152 end
70687153 end
@@ -11096,7 +11181,9 @@ def update!(**args)
1109611181 class GoogleCloudContactcenterinsightsV1alpha1QaAnswer
1109711182 include Google::Apis::Core::Hashable
1109811183
11099- # List of all individual answers given to the question.
11184+ # Lists all answer sources containing one or more answer values of a specific
11185+ # source type, e.g., all system-generated answer sources, or all manual edit
11186+ # answer sources.
1110011187 # Corresponds to the JSON property `answerSources`
1110111188 # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource>]
1110211189 attr_accessor :answer_sources
@@ -12189,6 +12276,13 @@ def update!(**args)
1218912276 class GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
1219012277 include Google::Apis::Core::Hashable
1219112278
12279+ # Whether to disable word time offsets. If true, the `enable_word_time_offsets`
12280+ # field in the recognition config will be set to false.
12281+ # Corresponds to the JSON property `disableWordTimeOffsets`
12282+ # @return [Boolean]
12283+ attr_accessor :disable_word_time_offsets
12284+ alias_method :disable_word_time_offsets?, :disable_word_time_offsets
12285+
1219212286 # The fully-qualified Speech Recognizer resource name. Format: `projects/`
1219312287 # project_id`/locations/`location`/recognizer/`recognizer``
1219412288 # Corresponds to the JSON property `speechRecognizer`
@@ -12201,6 +12295,7 @@ def initialize(**args)
1220112295
1220212296 # Update properties of this object
1220312297 def update!(**args)
12298+ @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets)
1220412299 @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer)
1220512300 end
1220612301 end
@@ -16374,7 +16469,9 @@ def update!(**args)
1637416469 class GoogleCloudContactcenterinsightsV1mainQaAnswer
1637516470 include Google::Apis::Core::Hashable
1637616471
16377- # List of all individual answers given to the question.
16472+ # Lists all answer sources containing one or more answer values of a specific
16473+ # source type, e.g., all system-generated answer sources, or all manual edit
16474+ # answer sources.
1637816475 # Corresponds to the JSON property `answerSources`
1637916476 # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource>]
1638016477 attr_accessor :answer_sources
@@ -17467,6 +17564,13 @@ def update!(**args)
1746717564 class GoogleCloudContactcenterinsightsV1mainSpeechConfig
1746817565 include Google::Apis::Core::Hashable
1746917566
17567+ # Whether to disable word time offsets. If true, the `enable_word_time_offsets`
17568+ # field in the recognition config will be set to false.
17569+ # Corresponds to the JSON property `disableWordTimeOffsets`
17570+ # @return [Boolean]
17571+ attr_accessor :disable_word_time_offsets
17572+ alias_method :disable_word_time_offsets?, :disable_word_time_offsets
17573+
1747017574 # The fully-qualified Speech Recognizer resource name. Format: `projects/`
1747117575 # project_id`/locations/`location`/recognizer/`recognizer``
1747217576 # Corresponds to the JSON property `speechRecognizer`
@@ -17479,6 +17583,7 @@ def initialize(**args)
1747917583
1748017584 # Update properties of this object
1748117585 def update!(**args)
17586+ @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets)
1748217587 @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer)
1748317588 end
1748417589 end
0 commit comments