Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::CreateCustomClassRequest.
Message sent by the client for the CreateCustomClass
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_class
def custom_class() -> ::Google::Cloud::Speech::V1p1beta1::CustomClass
- (::Google::Cloud::Speech::V1p1beta1::CustomClass) — Required. The custom class to create.
#custom_class=
def custom_class=(value) -> ::Google::Cloud::Speech::V1p1beta1::CustomClass
- value (::Google::Cloud::Speech::V1p1beta1::CustomClass) — Required. The custom class to create.
- (::Google::Cloud::Speech::V1p1beta1::CustomClass) — Required. The custom class to create.
#custom_class_id
def custom_class_id() -> ::String
-
(::String) — Required. The ID to use for the custom class, which will become the final
component of the custom class' resource name.
This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
#custom_class_id=
def custom_class_id=(value) -> ::String
-
value (::String) — Required. The ID to use for the custom class, which will become the final
component of the custom class' resource name.
This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
-
(::String) — Required. The ID to use for the custom class, which will become the final
component of the custom class' resource name.
This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
#parent
def parent() -> ::String
-
(::String) — Required. The parent resource where this custom class will be created. Format:
projects/{project}/locations/{location}/customClasses
Speech-to-Text supports three locations:
global
,us
(US North America), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The parent resource where this custom class will be created. Format:
projects/{project}/locations/{location}/customClasses
Speech-to-Text supports three locations:
global
,us
(US North America), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.
-
(::String) — Required. The parent resource where this custom class will be created. Format:
projects/{project}/locations/{location}/customClasses
Speech-to-Text supports three locations:
global
,us
(US North America), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.