Cloud Speech-to-Text v2 API - Class CreatePhraseSetRequest (1.0.0-beta07)

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

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

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

Inheritance

object > CreatePhraseSetRequest

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

CreatePhraseSetRequest()

public CreatePhraseSetRequest()

CreatePhraseSetRequest(CreatePhraseSetRequest)

public CreatePhraseSetRequest(CreatePhraseSetRequest other)
Parameter
NameDescription
otherCreatePhraseSetRequest

Properties

Parent

public string Parent { get; set; }

Required. The project and location where this PhraseSet 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

PhraseSet

public PhraseSet PhraseSet { get; set; }

Required. The PhraseSet to create.

Property Value
TypeDescription
PhraseSet

PhraseSetId

public string PhraseSetId { get; set; }

The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Property Value
TypeDescription
string

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
TypeDescription
bool