Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::CustomClass (v0.5.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::CustomClass.
CustomClass for biasing in speech recognition. Used to define a set of words or phrases that represents a common concept or theme likely to appear in your audio, for example a list of passenger ship names.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
defannotations()->::Google::Protobuf::Map{::String=>::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
#annotations=
defannotations=(value)->::Google::Protobuf::Map{::String=>::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
#create_time
defcreate_time()->::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Creation time.
#delete_time
defdelete_time()->::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time at which this resource was requested for deletion.
#display_name
defdisplay_name()->::String
Returns
- (::String) — User-settable, human-readable name for the CustomClass. Must be 63 characters or less.
#display_name=
defdisplay_name=(value)->::String
Parameter
- value (::String) — User-settable, human-readable name for the CustomClass. Must be 63 characters or less.
Returns
- (::String) — User-settable, human-readable name for the CustomClass. Must be 63 characters or less.
#etag
defetag()->::String
Returns
- (::String) — Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
#expire_time
defexpire_time()->::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time at which this resource will be purged.
#items
defitems()->::Array<::Google::Cloud::Speech::V2::CustomClass::ClassItem>
Returns
- (::Array<::Google::Cloud::Speech::V2::CustomClass::ClassItem>) — A collection of class items.
#items=
defitems=(value)->::Array<::Google::Cloud::Speech::V2::CustomClass::ClassItem>
Parameter
- value (::Array<::Google::Cloud::Speech::V2::CustomClass::ClassItem>) — A collection of class items.
Returns
- (::Array<::Google::Cloud::Speech::V2::CustomClass::ClassItem>) — A collection of class items.
#kms_key_name
defkms_key_name()->::String
Returns
-
(::String) — Output only. The KMS key
name with which
the CustomClass is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
#kms_key_version_name
defkms_key_version_name()->::String
Returns
-
(::String) — Output only. The KMS key version
name
with which the CustomClass is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}.
#name
defname()->::String
Returns
-
(::String) — Output only. The resource name of the CustomClass.
Format:
projects/{project}/locations/{location}/customClasses/{custom_class}.
#reconciling
defreconciling()->::Boolean
Returns
- (::Boolean) — Output only. Whether or not this CustomClass is in the process of being updated.
#state
defstate()->::Google::Cloud::Speech::V2::CustomClass::State
Returns
- (::Google::Cloud::Speech::V2::CustomClass::State) — Output only. The CustomClass lifecycle state.
#uid
defuid()->::String
Returns
- (::String) — Output only. System-assigned unique identifier for the CustomClass.
#update_time
defupdate_time()->::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The most recent time this resource was modified.