Method: projects.locations.customClasses.delete

Stay organized with collections Save and categorize content based on your preferences.

Delete a custom class.

HTTP request

DELETE https://speech.googleapis.com/v1p1beta1/{name=projects/*/locations/*/customClasses/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the custom class to delete. Format:

projects/{project}/locations/{location}/customClasses/{customClass}

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.

Authorization requires the following IAM permission on the specified resource name:

  • speech.customClasses.delete

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.