Class: Google::Cloud::Speech::V1p1beta1::SpeechAdaptation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v1p1beta1/resource.rb

Overview

Speech adaptation configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#custom_classes::Array<::Google::Cloud::Speech::V1p1beta1::CustomClass>

Returns A collection of custom classes. To specify the classes inline, leave the class' name blank and fill in the rest of its fields, giving it a unique custom_class_id. Refer to the inline defined class in phrase hints by its custom_class_id.

Returns:

  • (::Array<::Google::Cloud::Speech::V1p1beta1::CustomClass>)

    A collection of custom classes. To specify the classes inline, leave the class' name blank and fill in the rest of its fields, giving it a unique custom_class_id. Refer to the inline defined class in phrase hints by its custom_class_id.



129
130
131
132
# File 'proto_docs/google/cloud/speech/v1p1beta1/resource.rb', line 129

class SpeechAdaptation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#phrase_set_references::Array<::String>

Returns A collection of phrase set resource names to use.

Returns:

  • (::Array<::String>)

    A collection of phrase set resource names to use.



129
130
131
132
# File 'proto_docs/google/cloud/speech/v1p1beta1/resource.rb', line 129

class SpeechAdaptation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#phrase_sets::Array<::Google::Cloud::Speech::V1p1beta1::PhraseSet>

Returns A collection of phrase sets. To specify the hints inline, leave the phrase set's name blank and fill in the rest of its fields. Any phrase set can use any custom class.

Returns:

  • (::Array<::Google::Cloud::Speech::V1p1beta1::PhraseSet>)

    A collection of phrase sets. To specify the hints inline, leave the phrase set's name blank and fill in the rest of its fields. Any phrase set can use any custom class.



129
130
131
132
# File 'proto_docs/google/cloud/speech/v1p1beta1/resource.rb', line 129

class SpeechAdaptation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end