Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CustomClassesResource

The "customClasses" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.CustomClassesResource
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.CustomClassesResource

Constructors

CustomClassesResource(IClientService)

Constructs a new resource.

Declaration
public CustomClassesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(CreateCustomClassRequest, string)

Create a custom class.

Declaration
public virtual ProjectsResource.LocationsResource.CustomClassesResource.CreateRequest Create(CreateCustomClassRequest body, string parent)
Parameters
Type Name Description
CreateCustomClassRequest body

The body of the request.

string parent

Required. The parent resource where this custom class will be created. Format: projects/{project}/locations/{location}/customClasses 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.CustomClassesResource.CreateRequest

Delete(string)

Delete a custom class.

Declaration
public virtual ProjectsResource.LocationsResource.CustomClassesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the custom class to delete. Format: projects/{project}/locations/{location}/customClasses/{custom_class} 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.CustomClassesResource.DeleteRequest

Get(string)

Get a custom class.

Declaration
public virtual ProjectsResource.LocationsResource.CustomClassesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the custom class to retrieve. Format: projects/{project}/locations/{location}/customClasses/{custom_class}

Returns
Type Description
ProjectsResource.LocationsResource.CustomClassesResource.GetRequest

List(string)

List custom classes.

Declaration
public virtual ProjectsResource.LocationsResource.CustomClassesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of custom classes. Format: projects/{project}/locations/{location}/customClasses 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.CustomClassesResource.ListRequest

Patch(CustomClass, string)

Update a custom class.

Declaration
public virtual ProjectsResource.LocationsResource.CustomClassesResource.PatchRequest Patch(CustomClass body, string name)
Parameters
Type Name Description
CustomClass body

The body of the request.

string name

The resource name of the custom class.

Returns
Type Description
ProjectsResource.LocationsResource.CustomClassesResource.PatchRequest
In this article
Back to top Generated by DocFX