Method: projects.locations.phraseSets.delete

Deletes the PhraseSet.

HTTP request

DELETE https://{endpoint}/v2/{name=projects/*/locations/*/phraseSets/*}

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the PhraseSet to delete. Format: projects/{project}/locations/{location}/phraseSets/{phraseSet}

Query parameters

Parameters
validateOnly

boolean

If set, validate the request and preview the deleted PhraseSet, but do not actually delete it.

allowMissing

boolean

If set to true, and the PhraseSet is not found, the request will succeed and be a no-op (no Operation is recorded in this case).

etag

string

This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • speech.phraseSets.delete

For more information, see the IAM documentation.