Cloud Speech-to-Text v2 API - Class CreateCustomClassRequest (1.0.0)

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.

Inheritance

object > CreateCustomClassRequest

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

CreateCustomClassRequest()

public CreateCustomClassRequest()

CreateCustomClassRequest(CreateCustomClassRequest)

public CreateCustomClassRequest(CreateCustomClassRequest other)
Parameter
NameDescription
otherCreateCustomClassRequest

Properties

CustomClass

public CustomClass CustomClass { get; set; }

Required. The CustomClass to create.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ValidateOnly

public bool ValidateOnly { get; set; }

If set, validate the request and preview the CustomClass, but do not actually create it.

Property Value
TypeDescription
bool