public sealed class DeleteCustomClassRequest : IMessage<DeleteCustomClassRequest>, IEquatable<DeleteCustomClassRequest>, IDeepCloneable<DeleteCustomClassRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class DeleteCustomClassRequest.
Request message for the [DeleteCustomClass][google.cloud.speech.v2.Speech.DeleteCustomClass] method.
Implements
IMessageDeleteCustomClassRequest, IEquatableDeleteCustomClassRequest, IDeepCloneableDeleteCustomClassRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Constructors
DeleteCustomClassRequest()
public DeleteCustomClassRequest()
DeleteCustomClassRequest(DeleteCustomClassRequest)
public DeleteCustomClassRequest(DeleteCustomClassRequest other)
Parameter | |
---|---|
Name | Description |
other | DeleteCustomClassRequest |
Properties
AllowMissing
public bool AllowMissing { get; set; }
If set to true, and the CustomClass is not found, the request will succeed and be a no-op (no Operation is recorded in this case).
Property Value | |
---|---|
Type | Description |
bool |
CustomClassName
public CustomClassName CustomClassName { get; set; }
CustomClassName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
CustomClassName |
Etag
public string Etag { get; set; }
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Required. The name of the CustomClass to delete.
Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
Property Value | |
---|---|
Type | Description |
string |
ValidateOnly
public bool ValidateOnly { get; set; }
If set, validate the request and preview the deleted CustomClass, but do not actually delete it.
Property Value | |
---|---|
Type | Description |
bool |