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

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
Returns

#custom_class=

def custom_class=(value) -> ::Google::Cloud::Speech::V1p1beta1::CustomClass
Parameter
Returns

#custom_class_id

def custom_class_id() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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), and eu (Europe). If you are calling the speech.googleapis.com endpoint, use the global location. To specify a region, use a regional endpoint with matching us or eu location value.

#parent=

def parent=(value) -> ::String
Parameter
  • 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), and eu (Europe). If you are calling the speech.googleapis.com endpoint, use the global location. To specify a region, use a regional endpoint with matching us or eu location value.

Returns
  • (::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), and eu (Europe). If you are calling the speech.googleapis.com endpoint, use the global location. To specify a region, use a regional endpoint with matching us or eu location value.