Google Cloud Speech v1 API - Class CreatePhraseSetRequest (3.7.0)

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

Reference documentation and code samples for the Google Cloud Speech v1 API class CreatePhraseSetRequest.

Message sent by the client for the CreatePhraseSet method.

Inheritance

object > CreatePhraseSetRequest

Namespace

Google.Cloud.Speech.V1

Assembly

Google.Cloud.Speech.V1.dll

Constructors

CreatePhraseSetRequest()

public CreatePhraseSetRequest()

CreatePhraseSetRequest(CreatePhraseSetRequest)

public CreatePhraseSetRequest(CreatePhraseSetRequest other)
Parameter
Name Description
other CreatePhraseSetRequest

Properties

Parent

public string Parent { get; set; }

Required. The parent resource where this phrase set will be created. Format:

projects/{project}/locations/{location}

Speech-to-Text supports three locations: global, us (US North America), and eu (Europe). If you are calling the speech.googleapis.com endpoint, use the global location. To specify a region, use a regional endpoint with matching us or eu location value.

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

PhraseSet

public PhraseSet PhraseSet { get; set; }

Required. The phrase set to create.

Property Value
Type Description
PhraseSet

PhraseSetId

public string PhraseSetId { get; set; }

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

This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.

Property Value
Type Description
string