Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.PhraseSetsResource

The "phraseSets" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.PhraseSetsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: 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.

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: projects/{project}/locations/{location}/phraseSets/{phrase_set}

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: projects/{project}/locations/{location}/phraseSets/{phrase_set} 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.

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: 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.

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
In this article
Back to top Generated by DocFX