Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
Speech-to-Text configuration. Speech-to-Text settings are applied to
conversations ingested from the UploadConversation and IngestConversations
endpoints, including conversation coming from CCAI Platform. They are not
applied to conversations ingested from the CreateConversation endpoint.
Instance Attribute Summary collapse
-
#disable_word_time_offsets ⇒ Boolean
(also: #disable_word_time_offsets?)
Whether to disable word time offsets.
-
#speech_recognizer ⇒ String
The fully-qualified Speech Recognizer resource name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1SpeechConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1SpeechConfig.
17151 17152 17153 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_word_time_offsets ⇒ Boolean Also known as: disable_word_time_offsets?
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
17142 17143 17144 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17142 def disable_word_time_offsets @disable_word_time_offsets end |
#speech_recognizer ⇒ String
The fully-qualified Speech Recognizer resource name. Format: projects/
project_id/locations/location/recognizer/recognizer`
Corresponds to the JSON propertyspeechRecognizer`
17149 17150 17151 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17149 def speech_recognizer @speech_recognizer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17156 17157 17158 17159 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17156 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 |