Google Cloud Essential Contacts V1 Client - Class GetContactRequest (0.3.4)

Reference documentation and code samples for the Google Cloud Essential Contacts V1 Client class GetContactRequest.

Request message for the GetContact method.

Generated from protobuf message google.cloud.essentialcontacts.v1.GetContactRequest

Namespace

Google \ Cloud \ EssentialContacts \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the contact to retrieve. 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 retrieve.

Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}

Returns
TypeDescription
string

setName

Required. The name of the contact to retrieve.

Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the contact to retrieve. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id} Please see Google\Cloud\EssentialContacts\V1\EssentialContactsServiceClient::contactName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\EssentialContacts\V1\GetContactRequest