Reference documentation and code samples for the Google Cloud Essential Contacts V1 Client class DeleteContactRequest.
Request message for the DeleteContact method.
Generated from protobuf message google.cloud.essentialcontacts.v1.DeleteContactRequest
Namespace
Google \ Cloud \ EssentialContacts \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the contact to delete. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}
getName
Required. The name of the contact to delete.
Format: organizations/{organization_id}/contacts/{contact_id},
folders/{folder_id}/contacts/{contact_id} or
projects/{project_id}/contacts/{contact_id}
Returns
Type
Description
string
setName
Required. The name of the contact to delete.
Format: organizations/{organization_id}/contacts/{contact_id},
folders/{folder_id}/contacts/{contact_id} or
projects/{project_id}/contacts/{contact_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the contact to delete.
Format: organizations/{organization_id}/contacts/{contact_id},
folders/{folder_id}/contacts/{contact_id} or
projects/{project_id}/contacts/{contact_id}
Please see EssentialContactsServiceClient::contactName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Essential Contacts V1 Client - Class DeleteContactRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-essential-contacts/latest/V1.DeleteContactRequest)\n- [1.0.4](/php/docs/reference/cloud-essential-contacts/1.0.4/V1.DeleteContactRequest)\n- [0.4.5](/php/docs/reference/cloud-essential-contacts/0.4.5/V1.DeleteContactRequest)\n- [0.3.4](/php/docs/reference/cloud-essential-contacts/0.3.4/V1.DeleteContactRequest)\n- [0.2.13](/php/docs/reference/cloud-essential-contacts/0.2.13/V1.DeleteContactRequest) \nReference documentation and code samples for the Google Cloud Essential Contacts V1 Client class DeleteContactRequest.\n\nRequest message for the DeleteContact method.\n\nGenerated from protobuf message `google.cloud.essentialcontacts.v1.DeleteContactRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ EssentialContacts \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the contact to delete.\n\nFormat: organizations/{organization_id}/contacts/{contact_id},\nfolders/{folder_id}/contacts/{contact_id} or\nprojects/{project_id}/contacts/{contact_id}\n\n### setName\n\nRequired. The name of the contact to delete.\n\nFormat: organizations/{organization_id}/contacts/{contact_id},\nfolders/{folder_id}/contacts/{contact_id} or\nprojects/{project_id}/contacts/{contact_id}\n\n### static::build"]]