Class ProjectsResource.LocationsResource.PhraseSetsResource
The "phraseSets" collection of methods.
Inherited Members
Namespace: Google.Apis.Speech.v1p1beta1
Assembly: Google.Apis.Speech.v1p1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.PhraseSetsResource
Constructors
PhraseSetsResource(IClientService)
Constructs a new resource.
Declaration
public PhraseSetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(CreatePhraseSetRequest, string)
Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet.
Declaration
public virtual ProjectsResource.LocationsResource.PhraseSetsResource.CreateRequest Create(CreatePhraseSetRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
CreatePhraseSetRequest | body | The body of the request. |
string | parent | Required. The parent resource where this phrase set will be created. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PhraseSetsResource.CreateRequest |
Delete(string)
Delete a phrase set.
Declaration
public virtual ProjectsResource.LocationsResource.PhraseSetsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the phrase set to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PhraseSetsResource.DeleteRequest |
Get(string)
Get a phrase set.
Declaration
public virtual ProjectsResource.LocationsResource.PhraseSetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the phrase set to retrieve. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PhraseSetsResource.GetRequest |
List(string)
List phrase sets.
Declaration
public virtual ProjectsResource.LocationsResource.PhraseSetsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of phrase set. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PhraseSetsResource.ListRequest |
Patch(PhraseSet, string)
Update a phrase set.
Declaration
public virtual ProjectsResource.LocationsResource.PhraseSetsResource.PatchRequest Patch(PhraseSet body, string name)
Parameters
Type | Name | Description |
---|---|---|
PhraseSet | body | The body of the request. |
string | name | The resource name of the phrase set. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PhraseSetsResource.PatchRequest |