Class: Google::Apis::LanguageV1::XpsSpeechModelSpecSubModelSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsSpeechModelSpecSubModelSpec

Returns a new instance of XpsSpeechModelSpecSubModelSpec.



3563
3564
3565
# File 'lib/google/apis/language_v1/classes.rb', line 3563

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#biasing_model_typeString

Type of the biasing model. Corresponds to the JSON property biasingModelType

Returns:

  • (String)


3545
3546
3547
# File 'lib/google/apis/language_v1/classes.rb', line 3545

def biasing_model_type
  @biasing_model_type
end

#client_idString

In S3, Recognition ClientContextId.client_id Corresponds to the JSON property clientId

Returns:

  • (String)


3550
3551
3552
# File 'lib/google/apis/language_v1/classes.rb', line 3550

def client_id
  @client_id
end

#context_idString

In S3, Recognition ClientContextId.context_id Corresponds to the JSON property contextId

Returns:

  • (String)


3555
3556
3557
# File 'lib/google/apis/language_v1/classes.rb', line 3555

def context_id
  @context_id
end

#is_enhanced_modelBoolean 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

Returns:

  • (Boolean)


3560
3561
3562
# File 'lib/google/apis/language_v1/classes.rb', line 3560

def is_enhanced_model
  @is_enhanced_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3568
3569
3570
3571
3572
3573
# File 'lib/google/apis/language_v1/classes.rb', line 3568

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