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.
Implements
IMessageCreatePhraseSetRequest, IEquatableCreatePhraseSetRequest, IDeepCloneableCreatePhraseSetRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.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 project and location where this PhraseSet will be created.
The expected format is projects/{project}/locations/{location}
.
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 PhraseSet to create.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
ValidateOnly
public bool ValidateOnly { get; set; }
If set, validate the request and preview the PhraseSet, but do not actually create it.
Property Value | |
---|---|
Type | Description |
bool |