Class: Google::Apis::LanguageV1beta2::XpsSpeechModelSpecSubModelSpec
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsSpeechModelSpecSubModelSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#biasing_model_type ⇒ String
Type of the biasing model.
-
#client_id ⇒ String
In S3, Recognition ClientContextId.client_id Corresponds to the JSON property
clientId
. -
#context_id ⇒ String
In S3, Recognition ClientContextId.context_id Corresponds to the JSON property
contextId
. -
#is_enhanced_model ⇒ Boolean
(also: #is_enhanced_model?)
If true then it means we have an enhanced version of the biasing models.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsSpeechModelSpecSubModelSpec
constructor
A new instance of XpsSpeechModelSpecSubModelSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsSpeechModelSpecSubModelSpec
Returns a new instance of XpsSpeechModelSpecSubModelSpec.
3583 3584 3585 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#biasing_model_type ⇒ String
Type of the biasing model.
Corresponds to the JSON property biasingModelType
3565 3566 3567 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3565 def biasing_model_type @biasing_model_type end |
#client_id ⇒ String
In S3, Recognition ClientContextId.client_id
Corresponds to the JSON property clientId
3570 3571 3572 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3570 def client_id @client_id end |
#context_id ⇒ String
In S3, Recognition ClientContextId.context_id
Corresponds to the JSON property contextId
3575 3576 3577 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3575 def context_id @context_id end |
#is_enhanced_model ⇒ Boolean Also known as: is_enhanced_model?
If true then it means we have an enhanced version of the biasing models.
Corresponds to the JSON property isEnhancedModel
3580 3581 3582 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3580 def is_enhanced_model @is_enhanced_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3588 3589 3590 3591 3592 3593 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3588 def update!(**args) @biasing_model_type = args[:biasing_model_type] if args.key?(:biasing_model_type) @client_id = args[:client_id] if args.key?(:client_id) @context_id = args[:context_id] if args.key?(:context_id) @is_enhanced_model = args[:is_enhanced_model] if args.key?(:is_enhanced_model) end |