Class ProjectsResource.LocationsResource.CustomClassesResource
The "customClasses" collection of methods.
Inherited Members
Namespace: Google.Apis.Speech.v1
Assembly: Google.Apis.Speech.v1.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:
|
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:
|
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:
|
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:
|
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 |