Cloud Speech-to-Text V1p1beta1 API - Class Google::Cloud::Speech::V1p1beta1::CustomClass (v0.15.3)

Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::CustomClass.

A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#custom_class_id

def custom_class_id() -> ::String
Returns
  • (::String) — If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.

#custom_class_id=

def custom_class_id=(value) -> ::String
Parameter
  • value (::String) — If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
Returns
  • (::String) — If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.

#items

def items() -> ::Array<::Google::Cloud::Speech::V1p1beta1::CustomClass::ClassItem>
Returns

#items=

def items=(value) -> ::Array<::Google::Cloud::Speech::V1p1beta1::CustomClass::ClassItem>
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — The resource name of the custom class.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the custom class.
Returns
  • (::String) — The resource name of the custom class.