Generated from protobuf message google.cloud.speech.v2.DeletePhraseSetRequest
Namespace
Google \ Cloud \ Speech \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the PhraseSet to delete. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set}
↳ validate_only
bool
If set, validate the request and preview the deleted PhraseSet, but do not actually delete it.
↳ allow_missing
bool
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.
If set, validate the request and preview the deleted PhraseSet, but do not
actually delete it.
Returns
Type
Description
bool
setValidateOnly
If set, validate the request and preview the deleted PhraseSet, but do not
actually delete it.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getAllowMissing
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).
Returns
Type
Description
bool
setAllowMissing
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).
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getEtag
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.
Returns
Type
Description
string
setEtag
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the PhraseSet to delete.
Format: projects/{project}/locations/{location}/phraseSets/{phrase_set}
Please see SpeechClient::phraseSetName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Speech V2 Client - Class DeletePhraseSetRequest (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-speech/latest/V2.DeletePhraseSetRequest)\n- [2.1.0](/php/docs/reference/cloud-speech/2.1.0/V2.DeletePhraseSetRequest)\n- [2.0.1](/php/docs/reference/cloud-speech/2.0.1/V2.DeletePhraseSetRequest)\n- [1.20.1](/php/docs/reference/cloud-speech/1.20.1/V2.DeletePhraseSetRequest)\n- [1.19.2](/php/docs/reference/cloud-speech/1.19.2/V2.DeletePhraseSetRequest)\n- [1.18.3](/php/docs/reference/cloud-speech/1.18.3/V2.DeletePhraseSetRequest)\n- [1.16.0](/php/docs/reference/cloud-speech/1.16.0/V2.DeletePhraseSetRequest)\n- [1.15.0](/php/docs/reference/cloud-speech/1.15.0/V2.DeletePhraseSetRequest)\n- [1.14.3](/php/docs/reference/cloud-speech/1.14.3/V2.DeletePhraseSetRequest)\n- [1.13.1](/php/docs/reference/cloud-speech/1.13.1/V2.DeletePhraseSetRequest)\n- [1.12.0](/php/docs/reference/cloud-speech/1.12.0/V2.DeletePhraseSetRequest)\n- [1.11.2](/php/docs/reference/cloud-speech/1.11.2/V2.DeletePhraseSetRequest)\n- [1.10.0](/php/docs/reference/cloud-speech/1.10.0/V2.DeletePhraseSetRequest)\n- [1.9.1](/php/docs/reference/cloud-speech/1.9.1/V2.DeletePhraseSetRequest)\n- [1.8.0](/php/docs/reference/cloud-speech/1.8.0/V2.DeletePhraseSetRequest)\n- [1.7.0](/php/docs/reference/cloud-speech/1.7.0/V2.DeletePhraseSetRequest) \nReference documentation and code samples for the Cloud Speech V2 Client class DeletePhraseSetRequest.\n\nRequest message for the\n[DeletePhraseSet](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__deletePhraseSet__) method.\n\nGenerated from protobuf message `google.cloud.speech.v2.DeletePhraseSetRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Speech \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the PhraseSet to delete.\n\nFormat: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`\n\n### setName\n\nRequired. The name of the PhraseSet to delete.\n\nFormat: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`\n\n### getValidateOnly\n\nIf set, validate the request and preview the deleted PhraseSet, but do not\nactually delete it.\n\n### setValidateOnly\n\nIf set, validate the request and preview the deleted PhraseSet, but do not\nactually delete it.\n\n### getAllowMissing\n\nIf set to true, and the PhraseSet is not found, the request will succeed\nand be a no-op (no Operation is recorded in this case).\n\n### setAllowMissing\n\nIf set to true, and the PhraseSet is not found, the request will succeed\nand be a no-op (no Operation is recorded in this case).\n\n### getEtag\n\nThis checksum is computed by the server based on the value of other\nfields. This may be sent on update, undelete, and delete requests to ensure\nthe client has an up-to-date value before proceeding.\n\n### setEtag\n\nThis checksum is computed by the server based on the value of other\nfields. This may be sent on update, undelete, and delete requests to ensure\nthe client has an up-to-date value before proceeding.\n\n### static::build"]]