Class: Google::Cloud::Speech::V1::RecognitionMetadata Deprecated
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1::RecognitionMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v1/cloud_speech.rb
Overview
This message is deprecated and may be removed in the next major version update.
Description of audio data to be recognized.
Defined Under Namespace
Modules: InteractionType, MicrophoneDistance, OriginalMediaType, RecordingDeviceType
Instance Attribute Summary collapse
-
#audio_topic ⇒ ::String
Description of the content.
-
#industry_naics_code_of_audio ⇒ ::Integer
The industry vertical to which this speech recognition request most closely applies.
-
#interaction_type ⇒ ::Google::Cloud::Speech::V1::RecognitionMetadata::InteractionType
The use case most closely describing the audio content to be recognized.
-
#microphone_distance ⇒ ::Google::Cloud::Speech::V1::RecognitionMetadata::MicrophoneDistance
The audio type that most closely describes the audio being recognized.
-
#original_media_type ⇒ ::Google::Cloud::Speech::V1::RecognitionMetadata::OriginalMediaType
The original media the speech was recorded on.
-
#original_mime_type ⇒ ::String
Mime type of the original audio file.
-
#recording_device_name ⇒ ::String
The device used to make the recording.
-
#recording_device_type ⇒ ::Google::Cloud::Speech::V1::RecognitionMetadata::RecordingDeviceType
The type of device the speech was recorded with.
Instance Attribute Details
#audio_topic ⇒ ::String
Returns Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 497 class RecognitionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Use case categories that the audio recognition request can be described # by. module InteractionType # Use case is either unknown or is something other than one of the other # values below. INTERACTION_TYPE_UNSPECIFIED = 0 # Multiple people in a conversation or discussion. For example in a # meeting with two or more people actively participating. Typically # all the primary people speaking would be in the same room (if not, # see PHONE_CALL) DISCUSSION = 1 # One or more persons lecturing or presenting to others, mostly # uninterrupted. PRESENTATION = 2 # A phone-call or video-conference in which two or more people, who are # not in the same room, are actively participating. PHONE_CALL = 3 # A recorded message intended for another person to listen to. VOICEMAIL = 4 # Professionally produced audio (eg. TV Show, Podcast). PROFESSIONALLY_PRODUCED = 5 # Transcribe spoken questions and queries into text. VOICE_SEARCH = 6 # Transcribe voice commands, such as for controlling a device. VOICE_COMMAND = 7 # Transcribe speech to text to create a written document, such as a # text-message, email or report. DICTATION = 8 end # Enumerates the types of capture settings describing an audio file. module MicrophoneDistance # Audio type is not known. MICROPHONE_DISTANCE_UNSPECIFIED = 0 # The audio was captured from a closely placed microphone. Eg. phone, # dictaphone, or handheld microphone. Generally if there speaker is within # 1 meter of the microphone. NEARFIELD = 1 # The speaker if within 3 meters of the microphone. MIDFIELD = 2 # The speaker is more than 3 meters away from the microphone. FARFIELD = 3 end # The original media the speech was recorded on. module OriginalMediaType # Unknown original media type. ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0 # The speech data is an audio recording. AUDIO = 1 # The speech data originally recorded on a video. VIDEO = 2 end # The type of device the speech was recorded with. module RecordingDeviceType # The recording device is unknown. RECORDING_DEVICE_TYPE_UNSPECIFIED = 0 # Speech was recorded on a smartphone. SMARTPHONE = 1 # Speech was recorded using a personal computer or tablet. PC = 2 # Speech was recorded over a phone line. PHONE_LINE = 3 # Speech was recorded in a vehicle. VEHICLE = 4 # Speech was recorded outdoors. OTHER_OUTDOOR_DEVICE = 5 # Speech was recorded indoors. OTHER_INDOOR_DEVICE = 6 end end |
#industry_naics_code_of_audio ⇒ ::Integer
Returns 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/.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 497 class RecognitionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Use case categories that the audio recognition request can be described # by. module InteractionType # Use case is either unknown or is something other than one of the other # values below. INTERACTION_TYPE_UNSPECIFIED = 0 # Multiple people in a conversation or discussion. For example in a # meeting with two or more people actively participating. Typically # all the primary people speaking would be in the same room (if not, # see PHONE_CALL) DISCUSSION = 1 # One or more persons lecturing or presenting to others, mostly # uninterrupted. PRESENTATION = 2 # A phone-call or video-conference in which two or more people, who are # not in the same room, are actively participating. PHONE_CALL = 3 # A recorded message intended for another person to listen to. VOICEMAIL = 4 # Professionally produced audio (eg. TV Show, Podcast). PROFESSIONALLY_PRODUCED = 5 # Transcribe spoken questions and queries into text. VOICE_SEARCH = 6 # Transcribe voice commands, such as for controlling a device. VOICE_COMMAND = 7 # Transcribe speech to text to create a written document, such as a # text-message, email or report. DICTATION = 8 end # Enumerates the types of capture settings describing an audio file. module MicrophoneDistance # Audio type is not known. MICROPHONE_DISTANCE_UNSPECIFIED = 0 # The audio was captured from a closely placed microphone. Eg. phone, # dictaphone, or handheld microphone. Generally if there speaker is within # 1 meter of the microphone. NEARFIELD = 1 # The speaker if within 3 meters of the microphone. MIDFIELD = 2 # The speaker is more than 3 meters away from the microphone. FARFIELD = 3 end # The original media the speech was recorded on. module OriginalMediaType # Unknown original media type. ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0 # The speech data is an audio recording. AUDIO = 1 # The speech data originally recorded on a video. VIDEO = 2 end # The type of device the speech was recorded with. module RecordingDeviceType # The recording device is unknown. RECORDING_DEVICE_TYPE_UNSPECIFIED = 0 # Speech was recorded on a smartphone. SMARTPHONE = 1 # Speech was recorded using a personal computer or tablet. PC = 2 # Speech was recorded over a phone line. PHONE_LINE = 3 # Speech was recorded in a vehicle. VEHICLE = 4 # Speech was recorded outdoors. OTHER_OUTDOOR_DEVICE = 5 # Speech was recorded indoors. OTHER_INDOOR_DEVICE = 6 end end |
#interaction_type ⇒ ::Google::Cloud::Speech::V1::RecognitionMetadata::InteractionType
Returns The use case most closely describing the audio content to be recognized.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 497 class RecognitionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Use case categories that the audio recognition request can be described # by. module InteractionType # Use case is either unknown or is something other than one of the other # values below. INTERACTION_TYPE_UNSPECIFIED = 0 # Multiple people in a conversation or discussion. For example in a # meeting with two or more people actively participating. Typically # all the primary people speaking would be in the same room (if not, # see PHONE_CALL) DISCUSSION = 1 # One or more persons lecturing or presenting to others, mostly # uninterrupted. PRESENTATION = 2 # A phone-call or video-conference in which two or more people, who are # not in the same room, are actively participating. PHONE_CALL = 3 # A recorded message intended for another person to listen to. VOICEMAIL = 4 # Professionally produced audio (eg. TV Show, Podcast). PROFESSIONALLY_PRODUCED = 5 # Transcribe spoken questions and queries into text. VOICE_SEARCH = 6 # Transcribe voice commands, such as for controlling a device. VOICE_COMMAND = 7 # Transcribe speech to text to create a written document, such as a # text-message, email or report. DICTATION = 8 end # Enumerates the types of capture settings describing an audio file. module MicrophoneDistance # Audio type is not known. MICROPHONE_DISTANCE_UNSPECIFIED = 0 # The audio was captured from a closely placed microphone. Eg. phone, # dictaphone, or handheld microphone. Generally if there speaker is within # 1 meter of the microphone. NEARFIELD = 1 # The speaker if within 3 meters of the microphone. MIDFIELD = 2 # The speaker is more than 3 meters away from the microphone. FARFIELD = 3 end # The original media the speech was recorded on. module OriginalMediaType # Unknown original media type. ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0 # The speech data is an audio recording. AUDIO = 1 # The speech data originally recorded on a video. VIDEO = 2 end # The type of device the speech was recorded with. module RecordingDeviceType # The recording device is unknown. RECORDING_DEVICE_TYPE_UNSPECIFIED = 0 # Speech was recorded on a smartphone. SMARTPHONE = 1 # Speech was recorded using a personal computer or tablet. PC = 2 # Speech was recorded over a phone line. PHONE_LINE = 3 # Speech was recorded in a vehicle. VEHICLE = 4 # Speech was recorded outdoors. OTHER_OUTDOOR_DEVICE = 5 # Speech was recorded indoors. OTHER_INDOOR_DEVICE = 6 end end |
#microphone_distance ⇒ ::Google::Cloud::Speech::V1::RecognitionMetadata::MicrophoneDistance
Returns The audio type that most closely describes the audio being recognized.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 497 class RecognitionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Use case categories that the audio recognition request can be described # by. module InteractionType # Use case is either unknown or is something other than one of the other # values below. INTERACTION_TYPE_UNSPECIFIED = 0 # Multiple people in a conversation or discussion. For example in a # meeting with two or more people actively participating. Typically # all the primary people speaking would be in the same room (if not, # see PHONE_CALL) DISCUSSION = 1 # One or more persons lecturing or presenting to others, mostly # uninterrupted. PRESENTATION = 2 # A phone-call or video-conference in which two or more people, who are # not in the same room, are actively participating. PHONE_CALL = 3 # A recorded message intended for another person to listen to. VOICEMAIL = 4 # Professionally produced audio (eg. TV Show, Podcast). PROFESSIONALLY_PRODUCED = 5 # Transcribe spoken questions and queries into text. VOICE_SEARCH = 6 # Transcribe voice commands, such as for controlling a device. VOICE_COMMAND = 7 # Transcribe speech to text to create a written document, such as a # text-message, email or report. DICTATION = 8 end # Enumerates the types of capture settings describing an audio file. module MicrophoneDistance # Audio type is not known. MICROPHONE_DISTANCE_UNSPECIFIED = 0 # The audio was captured from a closely placed microphone. Eg. phone, # dictaphone, or handheld microphone. Generally if there speaker is within # 1 meter of the microphone. NEARFIELD = 1 # The speaker if within 3 meters of the microphone. MIDFIELD = 2 # The speaker is more than 3 meters away from the microphone. FARFIELD = 3 end # The original media the speech was recorded on. module OriginalMediaType # Unknown original media type. ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0 # The speech data is an audio recording. AUDIO = 1 # The speech data originally recorded on a video. VIDEO = 2 end # The type of device the speech was recorded with. module RecordingDeviceType # The recording device is unknown. RECORDING_DEVICE_TYPE_UNSPECIFIED = 0 # Speech was recorded on a smartphone. SMARTPHONE = 1 # Speech was recorded using a personal computer or tablet. PC = 2 # Speech was recorded over a phone line. PHONE_LINE = 3 # Speech was recorded in a vehicle. VEHICLE = 4 # Speech was recorded outdoors. OTHER_OUTDOOR_DEVICE = 5 # Speech was recorded indoors. OTHER_INDOOR_DEVICE = 6 end end |
#original_media_type ⇒ ::Google::Cloud::Speech::V1::RecognitionMetadata::OriginalMediaType
Returns The original media the speech was recorded on.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 497 class RecognitionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Use case categories that the audio recognition request can be described # by. module InteractionType # Use case is either unknown or is something other than one of the other # values below. INTERACTION_TYPE_UNSPECIFIED = 0 # Multiple people in a conversation or discussion. For example in a # meeting with two or more people actively participating. Typically # all the primary people speaking would be in the same room (if not, # see PHONE_CALL) DISCUSSION = 1 # One or more persons lecturing or presenting to others, mostly # uninterrupted. PRESENTATION = 2 # A phone-call or video-conference in which two or more people, who are # not in the same room, are actively participating. PHONE_CALL = 3 # A recorded message intended for another person to listen to. VOICEMAIL = 4 # Professionally produced audio (eg. TV Show, Podcast). PROFESSIONALLY_PRODUCED = 5 # Transcribe spoken questions and queries into text. VOICE_SEARCH = 6 # Transcribe voice commands, such as for controlling a device. VOICE_COMMAND = 7 # Transcribe speech to text to create a written document, such as a # text-message, email or report. DICTATION = 8 end # Enumerates the types of capture settings describing an audio file. module MicrophoneDistance # Audio type is not known. MICROPHONE_DISTANCE_UNSPECIFIED = 0 # The audio was captured from a closely placed microphone. Eg. phone, # dictaphone, or handheld microphone. Generally if there speaker is within # 1 meter of the microphone. NEARFIELD = 1 # The speaker if within 3 meters of the microphone. MIDFIELD = 2 # The speaker is more than 3 meters away from the microphone. FARFIELD = 3 end # The original media the speech was recorded on. module OriginalMediaType # Unknown original media type. ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0 # The speech data is an audio recording. AUDIO = 1 # The speech data originally recorded on a video. VIDEO = 2 end # The type of device the speech was recorded with. module RecordingDeviceType # The recording device is unknown. RECORDING_DEVICE_TYPE_UNSPECIFIED = 0 # Speech was recorded on a smartphone. SMARTPHONE = 1 # Speech was recorded using a personal computer or tablet. PC = 2 # Speech was recorded over a phone line. PHONE_LINE = 3 # Speech was recorded in a vehicle. VEHICLE = 4 # Speech was recorded outdoors. OTHER_OUTDOOR_DEVICE = 5 # Speech was recorded indoors. OTHER_INDOOR_DEVICE = 6 end end |
#original_mime_type ⇒ ::String
Returns 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.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 497 class RecognitionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Use case categories that the audio recognition request can be described # by. module InteractionType # Use case is either unknown or is something other than one of the other # values below. INTERACTION_TYPE_UNSPECIFIED = 0 # Multiple people in a conversation or discussion. For example in a # meeting with two or more people actively participating. Typically # all the primary people speaking would be in the same room (if not, # see PHONE_CALL) DISCUSSION = 1 # One or more persons lecturing or presenting to others, mostly # uninterrupted. PRESENTATION = 2 # A phone-call or video-conference in which two or more people, who are # not in the same room, are actively participating. PHONE_CALL = 3 # A recorded message intended for another person to listen to. VOICEMAIL = 4 # Professionally produced audio (eg. TV Show, Podcast). PROFESSIONALLY_PRODUCED = 5 # Transcribe spoken questions and queries into text. VOICE_SEARCH = 6 # Transcribe voice commands, such as for controlling a device. VOICE_COMMAND = 7 # Transcribe speech to text to create a written document, such as a # text-message, email or report. DICTATION = 8 end # Enumerates the types of capture settings describing an audio file. module MicrophoneDistance # Audio type is not known. MICROPHONE_DISTANCE_UNSPECIFIED = 0 # The audio was captured from a closely placed microphone. Eg. phone, # dictaphone, or handheld microphone. Generally if there speaker is within # 1 meter of the microphone. NEARFIELD = 1 # The speaker if within 3 meters of the microphone. MIDFIELD = 2 # The speaker is more than 3 meters away from the microphone. FARFIELD = 3 end # The original media the speech was recorded on. module OriginalMediaType # Unknown original media type. ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0 # The speech data is an audio recording. AUDIO = 1 # The speech data originally recorded on a video. VIDEO = 2 end # The type of device the speech was recorded with. module RecordingDeviceType # The recording device is unknown. RECORDING_DEVICE_TYPE_UNSPECIFIED = 0 # Speech was recorded on a smartphone. SMARTPHONE = 1 # Speech was recorded using a personal computer or tablet. PC = 2 # Speech was recorded over a phone line. PHONE_LINE = 3 # Speech was recorded in a vehicle. VEHICLE = 4 # Speech was recorded outdoors. OTHER_OUTDOOR_DEVICE = 5 # Speech was recorded indoors. OTHER_INDOOR_DEVICE = 6 end end |
#recording_device_name ⇒ ::String
Returns The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 497 class RecognitionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Use case categories that the audio recognition request can be described # by. module InteractionType # Use case is either unknown or is something other than one of the other # values below. INTERACTION_TYPE_UNSPECIFIED = 0 # Multiple people in a conversation or discussion. For example in a # meeting with two or more people actively participating. Typically # all the primary people speaking would be in the same room (if not, # see PHONE_CALL) DISCUSSION = 1 # One or more persons lecturing or presenting to others, mostly # uninterrupted. PRESENTATION = 2 # A phone-call or video-conference in which two or more people, who are # not in the same room, are actively participating. PHONE_CALL = 3 # A recorded message intended for another person to listen to. VOICEMAIL = 4 # Professionally produced audio (eg. TV Show, Podcast). PROFESSIONALLY_PRODUCED = 5 # Transcribe spoken questions and queries into text. VOICE_SEARCH = 6 # Transcribe voice commands, such as for controlling a device. VOICE_COMMAND = 7 # Transcribe speech to text to create a written document, such as a # text-message, email or report. DICTATION = 8 end # Enumerates the types of capture settings describing an audio file. module MicrophoneDistance # Audio type is not known. MICROPHONE_DISTANCE_UNSPECIFIED = 0 # The audio was captured from a closely placed microphone. Eg. phone, # dictaphone, or handheld microphone. Generally if there speaker is within # 1 meter of the microphone. NEARFIELD = 1 # The speaker if within 3 meters of the microphone. MIDFIELD = 2 # The speaker is more than 3 meters away from the microphone. FARFIELD = 3 end # The original media the speech was recorded on. module OriginalMediaType # Unknown original media type. ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0 # The speech data is an audio recording. AUDIO = 1 # The speech data originally recorded on a video. VIDEO = 2 end # The type of device the speech was recorded with. module RecordingDeviceType # The recording device is unknown. RECORDING_DEVICE_TYPE_UNSPECIFIED = 0 # Speech was recorded on a smartphone. SMARTPHONE = 1 # Speech was recorded using a personal computer or tablet. PC = 2 # Speech was recorded over a phone line. PHONE_LINE = 3 # Speech was recorded in a vehicle. VEHICLE = 4 # Speech was recorded outdoors. OTHER_OUTDOOR_DEVICE = 5 # Speech was recorded indoors. OTHER_INDOOR_DEVICE = 6 end end |
#recording_device_type ⇒ ::Google::Cloud::Speech::V1::RecognitionMetadata::RecordingDeviceType
Returns The type of device the speech was recorded with.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 497 class RecognitionMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Use case categories that the audio recognition request can be described # by. module InteractionType # Use case is either unknown or is something other than one of the other # values below. INTERACTION_TYPE_UNSPECIFIED = 0 # Multiple people in a conversation or discussion. For example in a # meeting with two or more people actively participating. Typically # all the primary people speaking would be in the same room (if not, # see PHONE_CALL) DISCUSSION = 1 # One or more persons lecturing or presenting to others, mostly # uninterrupted. PRESENTATION = 2 # A phone-call or video-conference in which two or more people, who are # not in the same room, are actively participating. PHONE_CALL = 3 # A recorded message intended for another person to listen to. VOICEMAIL = 4 # Professionally produced audio (eg. TV Show, Podcast). PROFESSIONALLY_PRODUCED = 5 # Transcribe spoken questions and queries into text. VOICE_SEARCH = 6 # Transcribe voice commands, such as for controlling a device. VOICE_COMMAND = 7 # Transcribe speech to text to create a written document, such as a # text-message, email or report. DICTATION = 8 end # Enumerates the types of capture settings describing an audio file. module MicrophoneDistance # Audio type is not known. MICROPHONE_DISTANCE_UNSPECIFIED = 0 # The audio was captured from a closely placed microphone. Eg. phone, # dictaphone, or handheld microphone. Generally if there speaker is within # 1 meter of the microphone. NEARFIELD = 1 # The speaker if within 3 meters of the microphone. MIDFIELD = 2 # The speaker is more than 3 meters away from the microphone. FARFIELD = 3 end # The original media the speech was recorded on. module OriginalMediaType # Unknown original media type. ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0 # The speech data is an audio recording. AUDIO = 1 # The speech data originally recorded on a video. VIDEO = 2 end # The type of device the speech was recorded with. module RecordingDeviceType # The recording device is unknown. RECORDING_DEVICE_TYPE_UNSPECIFIED = 0 # Speech was recorded on a smartphone. SMARTPHONE = 1 # Speech was recorded using a personal computer or tablet. PC = 2 # Speech was recorded over a phone line. PHONE_LINE = 3 # Speech was recorded in a vehicle. VEHICLE = 4 # Speech was recorded outdoors. OTHER_OUTDOOR_DEVICE = 5 # Speech was recorded indoors. OTHER_INDOOR_DEVICE = 6 end end |