Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::RecognitionMetadata.
Description of audio data to be recognized.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audio_topic
def audio_topic() -> ::String
Returns
- (::String) — Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
#audio_topic=
def audio_topic=(value) -> ::String
Parameter
- value (::String) — Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
Returns
- (::String) — Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
#industry_naics_code_of_audio
def industry_naics_code_of_audio() -> ::Integer
Returns
- (::Integer) — The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.
#industry_naics_code_of_audio=
def industry_naics_code_of_audio=(value) -> ::Integer
Parameter
- value (::Integer) — The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.
Returns
- (::Integer) — The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.
#interaction_type
def interaction_type() -> ::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::InteractionType
Returns
- (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::InteractionType) — The use case most closely describing the audio content to be recognized.
#interaction_type=
def interaction_type=(value) -> ::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::InteractionType
Parameter
- value (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::InteractionType) — The use case most closely describing the audio content to be recognized.
Returns
- (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::InteractionType) — The use case most closely describing the audio content to be recognized.
#microphone_distance
def microphone_distance() -> ::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::MicrophoneDistance
Returns
- (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::MicrophoneDistance) — The audio type that most closely describes the audio being recognized.
#microphone_distance=
def microphone_distance=(value) -> ::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::MicrophoneDistance
Parameter
- value (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::MicrophoneDistance) — The audio type that most closely describes the audio being recognized.
Returns
- (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::MicrophoneDistance) — The audio type that most closely describes the audio being recognized.
#obfuscated_id
def obfuscated_id() -> ::Integer
Returns
- (::Integer) — Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.
#obfuscated_id=
def obfuscated_id=(value) -> ::Integer
Parameter
- value (::Integer) — Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.
Returns
- (::Integer) — Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.
#original_media_type
def original_media_type() -> ::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::OriginalMediaType
Returns
- (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::OriginalMediaType) — The original media the speech was recorded on.
#original_media_type=
def original_media_type=(value) -> ::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::OriginalMediaType
Parameter
- value (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::OriginalMediaType) — The original media the speech was recorded on.
Returns
- (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::OriginalMediaType) — The original media the speech was recorded on.
#original_mime_type
def original_mime_type() -> ::String
Returns
-
(::String) — Mime type of the original audio file. For example
audio/m4a
,audio/x-alaw-basic
,audio/mp3
,audio/3gpp
. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio
#original_mime_type=
def original_mime_type=(value) -> ::String
Parameter
-
value (::String) — Mime type of the original audio file. For example
audio/m4a
,audio/x-alaw-basic
,audio/mp3
,audio/3gpp
. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio
Returns
-
(::String) — Mime type of the original audio file. For example
audio/m4a
,audio/x-alaw-basic
,audio/mp3
,audio/3gpp
. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio
#recording_device_name
def recording_device_name() -> ::String
Returns
- (::String) — The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.
#recording_device_name=
def recording_device_name=(value) -> ::String
Parameter
- value (::String) — The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.
Returns
- (::String) — The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.
#recording_device_type
def recording_device_type() -> ::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::RecordingDeviceType
Returns
- (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::RecordingDeviceType) — The type of device the speech was recorded with.
#recording_device_type=
def recording_device_type=(value) -> ::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::RecordingDeviceType
Parameter
- value (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::RecordingDeviceType) — The type of device the speech was recorded with.
Returns
- (::Google::Cloud::Speech::V1p1beta1::RecognitionMetadata::RecordingDeviceType) — The type of device the speech was recorded with.