Autogenerated update (2017-10-21)
Update: - bigquery_v2 - cloudtasks_v2beta2 - firebaserules_v1 - speech_v1
This commit is contained in:
1 parent
ba9e6d373a
commit
436b8fb274
14 files changed
+121
-33
No files matched your search
@@ -444,6 +444,13 @@ module Google
|
||||
# @return [Array<Google::Apis::SpeechV1::SpeechRecognitionAlternative>]
|
||||
attr_accessor :alternatives
|
||||
|
||||
# For multi-channel audio, this is the channel number corresponding to the
|
||||
# recognized result for the audio from that channel.
|
||||
# For audio_channel_count = N, its output values can range from '0' to 'N-1'.
|
||||
# Corresponds to the JSON property `channelTag`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :channel_tag
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -451,6 +458,7 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
||||
@channel_tag = args[:channel_tag] if args.key?(:channel_tag)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -211,6 +211,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1::SpeechRecognitionAlternative::Representation
|
||||
|
||||
property :channel_tag, as: 'channelTag'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user