@@ -456,26 +456,6 @@ class RecognitionConfig
456456 attr_accessor :enable_speaker_diarization
457457 alias_method :enable_speaker_diarization? , :enable_speaker_diarization
458458
459- # The spoken emoji behavior for the call If not set, uses default behavior based
460- # on model of choice If 'true', adds spoken emoji formatting for the request.
461- # This will replace spoken emojis with the corresponding Unicode symbols in the
462- # final transcript. If 'false', spoken emojis are not replaced.
463- # Corresponds to the JSON property `enableSpokenEmojis`
464- # @return [Boolean]
465- attr_accessor :enable_spoken_emojis
466- alias_method :enable_spoken_emojis? , :enable_spoken_emojis
467-
468- # The spoken punctuation behavior for the call If not set, uses default behavior
469- # based on model of choice e.g. command_and_search will enable spoken
470- # punctuation by default If 'true', replaces spoken punctuation with the
471- # corresponding symbols in the request. For example, "how are you question mark"
472- # becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/
473- # spoken-punctuation for support. If 'false', spoken punctuation is not replaced.
474- # Corresponds to the JSON property `enableSpokenPunctuation`
475- # @return [Boolean]
476- attr_accessor :enable_spoken_punctuation
477- alias_method :enable_spoken_punctuation? , :enable_spoken_punctuation
478-
479459 # If `true`, the top result includes a list of words and the confidence for
480460 # those words. If `false`, no word-level confidence information is returned. The
481461 # default is `false`.
@@ -585,8 +565,6 @@ def update!(**args)
585565 @enable_automatic_punctuation = args [ :enable_automatic_punctuation ] if args . key? ( :enable_automatic_punctuation )
586566 @enable_separate_recognition_per_channel = args [ :enable_separate_recognition_per_channel ] if args . key? ( :enable_separate_recognition_per_channel )
587567 @enable_speaker_diarization = args [ :enable_speaker_diarization ] if args . key? ( :enable_speaker_diarization )
588- @enable_spoken_emojis = args [ :enable_spoken_emojis ] if args . key? ( :enable_spoken_emojis )
589- @enable_spoken_punctuation = args [ :enable_spoken_punctuation ] if args . key? ( :enable_spoken_punctuation )
590568 @enable_word_confidence = args [ :enable_word_confidence ] if args . key? ( :enable_word_confidence )
591569 @enable_word_time_offsets = args [ :enable_word_time_offsets ] if args . key? ( :enable_word_time_offsets )
592570 @encoding = args [ :encoding ] if args . key? ( :encoding )
0 commit comments