From e1850f375e518b6d206f4fdb3946859a7372727b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 21 Dec 2025 09:49:20 +0000 Subject: [PATCH] feat: Automated regeneration of contactcenterinsights v1 client --- api_names_out.yaml | 21 ++++ .../CHANGELOG.md | 4 + .../apis/contactcenterinsights_v1/classes.rb | 111 +++++++++++++++++- .../contactcenterinsights_v1/gem_version.rb | 4 +- .../representations.rb | 47 ++++++++ .../apis/contactcenterinsights_v1/service.rb | 90 ++++++++++++++ 6 files changed, 272 insertions(+), 5 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index a0423db1883..e96ec60bd34 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -135178,6 +135178,9 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationDataSource/dialogflowSource": dialogflow_source "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationDataSource/gcsSource": gcs_source "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationDataSource/metadataUri": metadata_uri +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio": google_cloud_contactcenterinsights_v1_conversation_data_source_turn_level_audio +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio/audioDuration": audio_duration +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio/audioGcsUri": audio_gcs_uri "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationLevelSentiment": google_cloud_contactcenterinsights_v1_conversation_level_sentiment "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationLevelSentiment/channelTag": channel_tag "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ConversationLevelSentiment/sentimentData": sentiment_data @@ -135419,6 +135422,8 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1GcsSource": google_cloud_contactcenterinsights_v1_gcs_source "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1GcsSource/audioUri": audio_uri "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1GcsSource/transcriptUri": transcript_uri +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse": google_cloud_contactcenterinsights_v1_generate_conversation_signed_audio_response +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse/signedAudioUris": signed_audio_uris "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1GeneratorSuggestion": google_cloud_contactcenterinsights_v1_generator_suggestion "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1GeneratorSuggestion/agentCoachingSuggestion": agent_coaching_suggestion "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1GeneratorSuggestion/freeFormSuggestion": free_form_suggestion @@ -135944,6 +135949,11 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig/annotatorSelector": annotator_selector "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig/runtimeIntegrationAnalysisPercentage": runtime_integration_analysis_percentage "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig/uploadConversationAnalysisPercentage": upload_conversation_analysis_percentage +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SignedAudioUris": google_cloud_contactcenterinsights_v1_signed_audio_uris +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SignedAudioUris/signedDialogflowAudioUri": signed_dialogflow_audio_uri +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SignedAudioUris/signedGcsAudioUri": signed_gcs_audio_uri +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SignedAudioUris/signedTurnLevelAudios": signed_turn_level_audios +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SignedAudioUris/signedTurnLevelAudios/signed_turn_level_audio": signed_turn_level_audio "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SilenceData": google_cloud_contactcenterinsights_v1_silence_data "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData": google_cloud_contactcenterinsights_v1_smart_compose_suggestion_data "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData/confidenceScore": confidence_score @@ -135958,6 +135968,7 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SmartReplyData/queryRecord": query_record "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SmartReplyData/reply": reply "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SpeechConfig": google_cloud_contactcenterinsights_v1_speech_config +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SpeechConfig/disableWordTimeOffsets": disable_word_time_offsets "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SpeechConfig/speechRecognizer": speech_recognizer "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SummarySuggestion": google_cloud_contactcenterinsights_v1_summary_suggestion "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1SummarySuggestion/summarySections": summary_sections @@ -136779,6 +136790,7 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1SmartReplyData/queryRecord": query_record "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1SmartReplyData/reply": reply "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1SpeechConfig": google_cloud_contactcenterinsights_v1alpha1_speech_config +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1SpeechConfig/disableWordTimeOffsets": disable_word_time_offsets "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1SpeechConfig/speechRecognizer": speech_recognizer "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion": google_cloud_contactcenterinsights_v1alpha1_summary_suggestion "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion/summarySections": summary_sections @@ -137529,6 +137541,7 @@ "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainSmartReplyData/queryRecord": query_record "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainSmartReplyData/reply": reply "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainSpeechConfig": google_cloud_contactcenterinsights_v1main_speech_config +"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainSpeechConfig/disableWordTimeOffsets": disable_word_time_offsets "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainSpeechConfig/speechRecognizer": speech_recognizer "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata": google_cloud_contactcenterinsights_v1main_undeploy_issue_model_metadata "/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata/createTime": create_time @@ -137805,6 +137818,10 @@ : name ? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.patch/updateMask" : update_mask +? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.generateSignedAudio" +: generate_project_location_authorized_view_set_authorized_view_conversation_signed_audio +? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.generateSignedAudio/name" +: name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.get": get_project_location_authorized_view_set_authorized_view_conversation "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.get/name": name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.get/view": view @@ -137970,6 +137987,8 @@ "/contactcenterinsights:v1/contactcenterinsights.projects.locations.conversations.feedbackLabels.patch": patch_project_location_conversation_feedback_label "/contactcenterinsights:v1/contactcenterinsights.projects.locations.conversations.feedbackLabels.patch/name": name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.conversations.feedbackLabels.patch/updateMask": update_mask +"/contactcenterinsights:v1/contactcenterinsights.projects.locations.conversations.generateSignedAudio": generate_project_location_conversation_signed_audio +"/contactcenterinsights:v1/contactcenterinsights.projects.locations.conversations.generateSignedAudio/name": name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.conversations.get": get_project_location_conversation "/contactcenterinsights:v1/contactcenterinsights.projects.locations.conversations.get/name": name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.conversations.get/view": view @@ -138033,6 +138052,8 @@ "/contactcenterinsights:v1/contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.patch": patch_project_location_dataset_conversation_feedback_label "/contactcenterinsights:v1/contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.patch/name": name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.patch/updateMask": update_mask +"/contactcenterinsights:v1/contactcenterinsights.projects.locations.datasets.conversations.generateSignedAudio": generate_project_location_dataset_conversation_signed_audio +"/contactcenterinsights:v1/contactcenterinsights.projects.locations.datasets.conversations.generateSignedAudio/name": name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.datasets.conversations.get": get_project_location_dataset_conversation "/contactcenterinsights:v1/contactcenterinsights.projects.locations.datasets.conversations.get/name": name "/contactcenterinsights:v1/contactcenterinsights.projects.locations.datasets.conversations.get/view": view diff --git a/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md b/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md index 335ae1ac006..bb1e7fe2d67 100644 --- a/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md +++ b/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-contactcenterinsights_v1 +### v0.80.0 (2025-12-21) + +* Regenerated from discovery document revision 20251219 + ### v0.79.0 (2025-12-14) * Regenerated from discovery document revision 20251208 diff --git a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb index d1f27d96698..7cfe2c7cad4 100644 --- a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb +++ b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb @@ -1790,6 +1790,31 @@ def update!(**args) end end + # A wrapper for holding the audio for any given turn. + class GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio + include Google::Apis::Core::Hashable + + # The duration of the audio. + # Corresponds to the JSON property `audioDuration` + # @return [String] + attr_accessor :audio_duration + + # The Cloud Storage URI of the audio for any given turn. + # Corresponds to the JSON property `audioGcsUri` + # @return [String] + attr_accessor :audio_gcs_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio_duration = args[:audio_duration] if args.key?(:audio_duration) + @audio_gcs_uri = args[:audio_gcs_uri] if args.key?(:audio_gcs_uri) + end + end + # One channel of conversation-level sentiment data. class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment include Google::Apis::Core::Hashable @@ -3606,6 +3631,25 @@ def update!(**args) end end + # The response from a GenerateConversationSignedAudio request. + class GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse + include Google::Apis::Core::Hashable + + # Signed audio URIs for a conversation. + # Corresponds to the JSON property `signedAudioUris` + # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SignedAudioUris] + attr_accessor :signed_audio_uris + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @signed_audio_uris = args[:signed_audio_uris] if args.key?(:signed_audio_uris) + end + end + # The data for a hold annotation. class GoogleCloudContactcenterinsightsV1HoldData include Google::Apis::Core::Hashable @@ -5259,7 +5303,9 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1QaAnswer include Google::Apis::Core::Hashable - # List of all individual answers given to the question. + # Lists all answer sources containing one or more answer values of a specific + # source type, e.g., all system-generated answer sources, or all manual edit + # answer sources. # Corresponds to the JSON property `answerSources` # @return [Array] attr_accessor :answer_sources @@ -6949,6 +6995,37 @@ def update!(**args) end end + # Signed audio URIs for a conversation. + class GoogleCloudContactcenterinsightsV1SignedAudioUris + include Google::Apis::Core::Hashable + + # The signed URI for the audio from the Dialogflow conversation source. + # Corresponds to the JSON property `signedDialogflowAudioUri` + # @return [String] + attr_accessor :signed_dialogflow_audio_uri + + # The signed URI for the audio from the Cloud Storage conversation source. + # Corresponds to the JSON property `signedGcsAudioUri` + # @return [String] + attr_accessor :signed_gcs_audio_uri + + # The signed URI for the audio corresponding to each turn in the conversation. + # Corresponds to the JSON property `signedTurnLevelAudios` + # @return [Array] + attr_accessor :signed_turn_level_audios + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @signed_dialogflow_audio_uri = args[:signed_dialogflow_audio_uri] if args.key?(:signed_dialogflow_audio_uri) + @signed_gcs_audio_uri = args[:signed_gcs_audio_uri] if args.key?(:signed_gcs_audio_uri) + @signed_turn_level_audios = args[:signed_turn_level_audios] if args.key?(:signed_turn_level_audios) + end + end + # The data for a silence annotation. class GoogleCloudContactcenterinsightsV1SilenceData include Google::Apis::Core::Hashable @@ -7051,6 +7128,13 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1SpeechConfig include Google::Apis::Core::Hashable + # Whether to disable word time offsets. If true, the `enable_word_time_offsets` + # field in the recognition config will be set to false. + # Corresponds to the JSON property `disableWordTimeOffsets` + # @return [Boolean] + attr_accessor :disable_word_time_offsets + alias_method :disable_word_time_offsets?, :disable_word_time_offsets + # The fully-qualified Speech Recognizer resource name. Format: `projects/` # project_id`/locations/`location`/recognizer/`recognizer`` # Corresponds to the JSON property `speechRecognizer` @@ -7063,6 +7147,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets) @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer) end end @@ -11096,7 +11181,9 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1alpha1QaAnswer include Google::Apis::Core::Hashable - # List of all individual answers given to the question. + # Lists all answer sources containing one or more answer values of a specific + # source type, e.g., all system-generated answer sources, or all manual edit + # answer sources. # Corresponds to the JSON property `answerSources` # @return [Array] attr_accessor :answer_sources @@ -12189,6 +12276,13 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1alpha1SpeechConfig include Google::Apis::Core::Hashable + # Whether to disable word time offsets. If true, the `enable_word_time_offsets` + # field in the recognition config will be set to false. + # Corresponds to the JSON property `disableWordTimeOffsets` + # @return [Boolean] + attr_accessor :disable_word_time_offsets + alias_method :disable_word_time_offsets?, :disable_word_time_offsets + # The fully-qualified Speech Recognizer resource name. Format: `projects/` # project_id`/locations/`location`/recognizer/`recognizer`` # Corresponds to the JSON property `speechRecognizer` @@ -12201,6 +12295,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets) @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer) end end @@ -16374,7 +16469,9 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1mainQaAnswer include Google::Apis::Core::Hashable - # List of all individual answers given to the question. + # Lists all answer sources containing one or more answer values of a specific + # source type, e.g., all system-generated answer sources, or all manual edit + # answer sources. # Corresponds to the JSON property `answerSources` # @return [Array] attr_accessor :answer_sources @@ -17467,6 +17564,13 @@ def update!(**args) class GoogleCloudContactcenterinsightsV1mainSpeechConfig include Google::Apis::Core::Hashable + # Whether to disable word time offsets. If true, the `enable_word_time_offsets` + # field in the recognition config will be set to false. + # Corresponds to the JSON property `disableWordTimeOffsets` + # @return [Boolean] + attr_accessor :disable_word_time_offsets + alias_method :disable_word_time_offsets?, :disable_word_time_offsets + # The fully-qualified Speech Recognizer resource name. Format: `projects/` # project_id`/locations/`location`/recognizer/`recognizer`` # Corresponds to the JSON property `speechRecognizer` @@ -17479,6 +17583,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets) @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer) end end diff --git a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb index 4fad54a0a0d..fa5887b091d 100644 --- a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb +++ b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ContactcenterinsightsV1 # Version of the google-apis-contactcenterinsights_v1 gem - GEM_VERSION = "0.79.0" + GEM_VERSION = "0.80.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251208" + REVISION = "20251219" end end end diff --git a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb index 52579bfa6d7..04ff24e0599 100644 --- a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb +++ b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb @@ -280,6 +280,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment class Representation < Google::Apis::Core::JsonRepresentation; end @@ -610,6 +616,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudContactcenterinsightsV1HoldData class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1186,6 +1198,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudContactcenterinsightsV1SignedAudioUris + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudContactcenterinsightsV1SilenceData class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3564,6 +3582,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio_duration, as: 'audioDuration' + property :audio_gcs_uri, as: 'audioGcsUri' + end + end + class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4099,6 +4125,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :signed_audio_uris, as: 'signedAudioUris', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SignedAudioUris, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SignedAudioUris::Representation + + end + end + class GoogleCloudContactcenterinsightsV1HoldData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5072,6 +5106,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudContactcenterinsightsV1SignedAudioUris + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :signed_dialogflow_audio_uri, as: 'signedDialogflowAudioUri' + property :signed_gcs_audio_uri, as: 'signedGcsAudioUri' + collection :signed_turn_level_audios, as: 'signedTurnLevelAudios', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio::Representation + + end + end + class GoogleCloudContactcenterinsightsV1SilenceData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5101,6 +5145,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudContactcenterinsightsV1SpeechConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :disable_word_time_offsets, as: 'disableWordTimeOffsets' property :speech_recognizer, as: 'speechRecognizer' end end @@ -6592,6 +6637,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudContactcenterinsightsV1alpha1SpeechConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :disable_word_time_offsets, as: 'disableWordTimeOffsets' property :speech_recognizer, as: 'speechRecognizer' end end @@ -8116,6 +8162,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudContactcenterinsightsV1mainSpeechConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :disable_word_time_offsets, as: 'disableWordTimeOffsets' property :speech_recognizer, as: 'speechRecognizer' end end diff --git a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb index b04632c7791..91508379f96 100644 --- a/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb +++ b/generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb @@ -1415,6 +1415,36 @@ def delete_project_location_authorized_view_set_authorized_view_conversation(nam execute_or_queue_command(command, &block) end + # Gets the signed URI for the audio for the given conversation. + # @param [String] name + # Required. The name of the conversation to sign. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def generate_project_location_authorized_view_set_authorized_view_conversation_signed_audio(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}:generateSignedAudio', options) + command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse::Representation + command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets a conversation. # @param [String] name # Required. The name of the conversation to get. @@ -2366,6 +2396,36 @@ def delete_project_location_conversation(name, force: nil, fields: nil, quota_us execute_or_queue_command(command, &block) end + # Gets the signed URI for the audio for the given conversation. + # @param [String] name + # Required. The name of the conversation to sign. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def generate_project_location_conversation_signed_audio(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}:generateSignedAudio', options) + command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse::Representation + command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets a conversation. # @param [String] name # Required. The name of the conversation to get. @@ -3775,6 +3835,36 @@ def delete_project_location_dataset_conversation(name, force: nil, fields: nil, execute_or_queue_command(command, &block) end + # Gets the signed URI for the audio for the given conversation. + # @param [String] name + # Required. The name of the conversation to sign. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def generate_project_location_dataset_conversation_signed_audio(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}:generateSignedAudio', options) + command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse::Representation + command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets a conversation. # @param [String] name # Required. The name of the conversation to get.