Autogenerated update (2018-06-06)
Update: - adexchangebuyer2_v2beta1 - androiddeviceprovisioning_v1 - bigquerydatatransfer_v1 - classroom_v1 - cloudbuild_v1 - clouddebugger_v2 - dialogflow_v2beta1 - language_v1 - language_v1beta1 - language_v1beta2 - servicecontrol_v1 - speech_v1
This commit is contained in:
1 parent
4e34ea46f1
commit
5da7f785ee
22 files changed
+91
-28
No files matched your search
@@ -322,6 +322,14 @@ module Google
|
||||
class SpeechContext
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Strength of biasing to use (strong, medium or weak). If you use strong
|
||||
# biasing option then more likely to see those phrases in the results. If
|
||||
# biasing streangth is not specified then by default medium biasing would be
|
||||
# used.
|
||||
# Corresponds to the JSON property `biasingStrength`
|
||||
# @return [String]
|
||||
attr_accessor :biasing_strength
|
||||
|
||||
# *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
|
||||
@@ -338,6 +346,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@biasing_strength = args[:biasing_strength] if args.key?(:biasing_strength)
|
||||
@phrases = args[:phrases] if args.key?(:phrases)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -153,6 +153,7 @@ module Google
|
||||
class SpeechContext
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :biasing_strength, as: 'biasingStrength'
|
||||
collection :phrases, as: 'phrases'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user