public sealed class CreateCustomClassRequest : IMessage<CreateCustomClassRequest>, IEquatable<CreateCustomClassRequest>, IDeepCloneable<CreateCustomClassRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class CreateCustomClassRequest.
Request message for the [CreateCustomClass][google.cloud.speech.v2.Speech.CreateCustomClass] method.
Implements
IMessageCreateCustomClassRequest, IEquatableCreateCustomClassRequest, IDeepCloneableCreateCustomClassRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.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 CustomClass to create.
Property Value | |
---|---|
Type | Description |
CustomClass |
CustomClassId
public string CustomClassId { get; set; }
The ID to use for the CustomClass, which will become the final component of the CustomClass's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The project and location where this CustomClass will be created.
The expected format is projects/{project}/locations/{location}
.
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 |
ValidateOnly
public bool ValidateOnly { get; set; }
If set, validate the request and preview the CustomClass, but do not actually create it.
Property Value | |
---|---|
Type | Description |
bool |