generated/google/apis/speech_v1p1beta1/classes.rb in google-api-client-0.30.9 vs generated/google/apis/speech_v1p1beta1/classes.rb in google-api-client-0.30.10
- old
+ new
@@ -87,11 +87,11 @@
include Google::Apis::Core::Hashable
# Contains audio data in the encoding specified in the `RecognitionConfig`.
# Either `content` or `uri` must be supplied. Supplying both or neither
# returns google.rpc.Code.INVALID_ARGUMENT. See
- # [content limits](/speech-to-text/quotas#content).
+ # [content limits](https://cloud.google.com/speech-to-text/quotas#content).
# Corresponds to the JSON property `audio`
# @return [Google::Apis::SpeechV1p1beta1::RecognitionAudio]
attr_accessor :audio
# Provides information to the recognizer that specifies how to process the
@@ -200,11 +200,11 @@
end
# Contains audio data in the encoding specified in the `RecognitionConfig`.
# Either `content` or `uri` must be supplied. Supplying both or neither
# returns google.rpc.Code.INVALID_ARGUMENT. See
- # [content limits](/speech-to-text/quotas#content).
+ # [content limits](https://cloud.google.com/speech-to-text/quotas#content).
class RecognitionAudio
include Google::Apis::Core::Hashable
# The audio data bytes encoded as specified in
# `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
@@ -242,18 +242,18 @@
include Google::Apis::Core::Hashable
# *Optional* A list of up to 3 additional
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
# listing possible alternative languages of the supplied audio.
- # See [Language Support](/speech-to-text/docs/languages)
- # for a list of the currently supported language codes.
- # If alternative languages are listed, recognition result will contain
- # recognition in the most likely language detected including the main
- # language_code. The recognition result will include the language tag
- # of the language detected in the audio.
- # Note: This feature is only supported for Voice Command and Voice Search
- # use cases and performance may vary for other use cases (e.g., phone call
+ # See [Language
+ # Support](https://cloud.google.com/speech-to-text/docs/languages) for a list
+ # of the currently supported language codes. If alternative languages are
+ # listed, recognition result will contain recognition in the most likely
+ # language detected including the main language_code. The recognition result
+ # will include the language tag of the language detected in the audio. Note:
+ # This feature is only supported for Voice Command and Voice Search use cases
+ # and performance may vary for other use cases (e.g., phone call
# transcription).
# Corresponds to the JSON property `alternativeLanguageCodes`
# @return [Array<String>]
attr_accessor :alternative_language_codes
@@ -340,12 +340,13 @@
attr_accessor :encoding
# *Required* The language of the supplied audio as a
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
# Example: "en-US".
- # See [Language Support](/speech-to-text/docs/languages)
- # for a list of the currently supported language codes.
+ # See [Language
+ # Support](https://cloud.google.com/speech-to-text/docs/languages) for a list
+ # of the currently supported language codes.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# *Optional* Maximum number of recognition hypotheses to be returned.
@@ -420,11 +421,12 @@
attr_accessor :sample_rate_hertz
# *Optional* array of SpeechContext.
# A means to provide context to assist the speech recognition. For more
# information, see
- # [speech adaptation](/speech-to-text/docs/context-strength).
+ # [speech
+ # adaptation](https://cloud.google.com/speech-to-text/docs/context-strength).
# Corresponds to the JSON property `speechContexts`
# @return [Array<Google::Apis::SpeechV1p1beta1::SpeechContext>]
attr_accessor :speech_contexts
# *Optional* Set to true to use an enhanced model for speech recognition.
@@ -548,11 +550,11 @@
include Google::Apis::Core::Hashable
# Contains audio data in the encoding specified in the `RecognitionConfig`.
# Either `content` or `uri` must be supplied. Supplying both or neither
# returns google.rpc.Code.INVALID_ARGUMENT. See
- # [content limits](/speech-to-text/quotas#content).
+ # [content limits](https://cloud.google.com/speech-to-text/quotas#content).
# Corresponds to the JSON property `audio`
# @return [Google::Apis::SpeechV1p1beta1::RecognitionAudio]
attr_accessor :audio
# Provides information to the recognizer that specifies how to process the
@@ -660,10 +662,10 @@
# *Optional* A list of strings containing words and phrases "hints" so that
# the speech recognition is more likely to recognize them. This can be used
# to improve the accuracy for specific words and phrases, for example, if
# specific commands are typically spoken by the user. This can also be used
# to add additional words to the vocabulary of the recognizer. See
- # [usage limits](/speech-to-text/quotas#content).
+ # [usage limits](https://cloud.google.com/speech-to-text/quotas#content).
# List items can also be set to classes for groups of words that represent
# common concepts that occur in natural language. For example, rather than
# providing phrase hints for every month of the year, using the $MONTH class
# improves the likelihood of correctly transcribing audio that includes
# months.