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

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

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

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

Inheritance

object > UpdatePhraseSetRequest

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

UpdatePhraseSetRequest()

public UpdatePhraseSetRequest()

UpdatePhraseSetRequest(UpdatePhraseSetRequest)

public UpdatePhraseSetRequest(UpdatePhraseSetRequest other)
Parameter
Name Description
other UpdatePhraseSetRequest

Properties

PhraseSet

public PhraseSet PhraseSet { get; set; }

Required. The PhraseSet to update.

The PhraseSet's name field is used to identify the PhraseSet to update. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set}.

Property Value
Type Description
PhraseSet

UpdateMask

public FieldMask UpdateMask { get; set; }

The list of fields to update. If empty, all non-default valued fields are considered for update. Use * to update the entire PhraseSet resource.

Property Value
Type Description
FieldMask

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
Type Description
bool