public sealed class CreateCustomClassRequest : IMessage<CreateCustomClassRequest>, IEquatable<CreateCustomClassRequest>, IDeepCloneable<CreateCustomClassRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Speech v1 API class CreateCustomClassRequest.
Message sent by the client for the CreateCustomClass
method.
Implements
IMessageCreateCustomClassRequest, IEquatableCreateCustomClassRequest, IDeepCloneableCreateCustomClassRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V1Assembly
Google.Cloud.Speech.V1.dll
Constructors
CreateCustomClassRequest()
public CreateCustomClassRequest()
CreateCustomClassRequest(CreateCustomClassRequest)
public CreateCustomClassRequest(CreateCustomClassRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateCustomClassRequest |
Properties
CustomClass
public CustomClass CustomClass { get; set; }
Required. The custom class to create.
Property Value | |
---|---|
Type | Description |
CustomClass |
CustomClassId
public string CustomClassId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |