Cloud Speech-to-Text v2 API - Class UpdateCustomClassRequest (1.2.0)

public sealed class UpdateCustomClassRequest : IMessage<UpdateCustomClassRequest>, IEquatable<UpdateCustomClassRequest>, IDeepCloneable<UpdateCustomClassRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Speech-to-Text v2 API class UpdateCustomClassRequest.

Request message for the [UpdateCustomClass][google.cloud.speech.v2.Speech.UpdateCustomClass] method.

Inheritance

object > UpdateCustomClassRequest

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

UpdateCustomClassRequest()

public UpdateCustomClassRequest()

UpdateCustomClassRequest(UpdateCustomClassRequest)

public UpdateCustomClassRequest(UpdateCustomClassRequest other)
Parameter
Name Description
other UpdateCustomClassRequest

Properties

CustomClass

public CustomClass CustomClass { get; set; }

Required. The CustomClass to update.

The CustomClass's name field is used to identify the CustomClass to update. Format: projects/{project}/locations/{location}/customClasses/{custom_class}.

Property Value
Type Description
CustomClass

UpdateMask

public FieldMask UpdateMask { get; set; }

The list of fields to be updated. If empty, all fields are considered for update.

Property Value
Type Description
FieldMask

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
Type Description
bool