Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -496,23 +496,27 @@ module AudioEncoding
# Configuration to enable speaker diarization.
# @!attribute [rw] min_speaker_count
# @return [::Integer]
# Required. Minimum number of speakers in the conversation. This range gives
# you more flexibility by allowing the system to automatically determine the
# correct number of speakers.
#
# To fix the number of speakers detected in the audio, set
# `min_speaker_count` = `max_speaker_count`.
# Optional. The system automatically determines the number of speakers. This
# value is not currently used.
# @!attribute [rw] max_speaker_count
# @return [::Integer]
# Required. Maximum number of speakers in the conversation. Valid values are:
# 1-6. Must be >= `min_speaker_count`. This range gives you more flexibility
# by allowing the system to automatically determine the correct number of
# speakers.
# Optional. The system automatically determines the number of speakers. This
# value is not currently used.
class SpeakerDiarizationConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Configuration to enable custom prompt in chirp3.
# @!attribute [rw] custom_prompt
# @return [::String]
# Optional. The custom instructions to override the existing instructions for
# chirp3.
class CustomPromptConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Available recognition features.
# @!attribute [rw] profanity_filter
# @return [::Boolean]
Expand Down Expand Up @@ -553,20 +557,17 @@ class SpeakerDiarizationConfig
# Mode for recognizing multi-channel audio.
# @!attribute [rw] diarization_config
# @return [::Google::Cloud::Speech::V2::SpeakerDiarizationConfig]
# Configuration to enable speaker diarization and set additional
# parameters to make diarization better suited for your application.
# When this is enabled, we send all the words from the beginning of the
# audio for the top alternative in every consecutive STREAMING responses.
# This is done in order to improve our speaker tags as our models learn to
# identify the speakers in the conversation over time.
# For non-streaming requests, the diarization results will be provided only
# in the top alternative of the FINAL SpeechRecognitionResult.
# Configuration to enable speaker diarization. To enable diarization, set
# this field to an empty SpeakerDiarizationConfig message.
# @!attribute [rw] max_alternatives
# @return [::Integer]
# Maximum number of recognition hypotheses to be returned.
# The server may return fewer than `max_alternatives`.
# Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of
# one. If omitted, will return a maximum of one.
# @!attribute [rw] custom_prompt_config
# @return [::Google::Cloud::Speech::V2::CustomPromptConfig]
# Optional. Configuration to enable custom prompt for chirp3.
class RecognitionFeatures
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down Expand Up @@ -806,6 +807,10 @@ class RecognizeRequest
# @!attribute [rw] total_billed_duration
# @return [::Google::Protobuf::Duration]
# When available, billed audio seconds for the corresponding request.
# @!attribute [r] prompt
# @return [::String]
# Optional. Output only. Provides the prompt used for the recognition
# request.
class RecognitionResponseMetadata
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down
10 changes: 9 additions & 1 deletion google-cloud-storage-control/.owlbot-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,26 @@
"samples/Gemfile",
"samples/Rakefile",
"samples/acceptance/helper.rb",
"samples/acceptance/storage_control_anywhere_cache_test.rb",
"samples/acceptance/storage_control_folders_test.rb",
"samples/acceptance/storage_control_managed_folders_test.rb",
"samples/acceptance/storage_control_quickstart_test.rb",
"samples/storage_control_create_anywhere_cache.rb",
"samples/storage_control_create_folder.rb",
"samples/storage_control_delete_folder.rb",
"samples/storage_control_disable_anywhere_cache.rb",
"samples/storage_control_get_anywhere_cache.rb",
"samples/storage_control_get_folder.rb",
"samples/storage_control_list_anywhere_caches.rb",
"samples/storage_control_list_folders.rb",
"samples/storage_control_managed_folder_create.rb",
"samples/storage_control_managed_folder_delete.rb",
"samples/storage_control_managed_folder_get.rb",
"samples/storage_control_managed_folder_list.rb",
"samples/storage_control_pause_anywhere_cache.rb",
"samples/storage_control_quickstart_sample.rb",
"samples/storage_control_rename_folder.rb"
"samples/storage_control_rename_folder.rb",
"samples/storage_control_resume_anywhere_cache.rb",
"samples/storage_control_update_anywhere_cache.rb"
]
}
12 changes: 11 additions & 1 deletion google-cloud-storage_batch_operations/.owlbot-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@
"test/helper.rb"
],
"static": [
".OwlBot.yaml"
".OwlBot.yaml",
"samples/.rubocop.yml",
"samples/Gemfile",
"samples/Rakefile",
"samples/acceptance/batch_job_test.rb",
"samples/acceptance/helper.rb",
"samples/storage_batch_cancel_job.rb",
"samples/storage_batch_create_job.rb",
"samples/storage_batch_delete_job.rb",
"samples/storage_batch_get_job.rb",
"samples/storage_batch_list_jobs.rb"
]
}
Loading