public function updateContact($resourceName, Google_Service_PeopleService_Person $postBody, $optParams = array())
  {
    $params = array('resourceName' => $resourceName, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('updateContact', array($params), "Google_Service_PeopleService_Person");
  }
public function updateContact($resourceName, Google_Service_PeopleService_Person $postBody, $optParams = array())
  {
    $params = array('resourceName' => $resourceName, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('updateContact', array($params), "Google_Service_PeopleService_Person");
  }
public function updateContact ( $ resourceName , Google_Service_PeopleService_Person $ postBody , $ optParams = array ( ) ) { $ params = array ( 'resourceName' => $ resourceName , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'updateContact' , array ( $ params ) , "Google_Service_PeopleService_Person" ) ; }
Update contact data for an existing contact person. Any non-contact data will
not be modified.

The request throws a 400 error if `updatePersonFields` is not specified.

The request throws a 400 error if `person.metadata.sources` is not specified
for the contact to be updated.

The request throws a 412 error if `person.metadata.sources.etag` is different
than the contact's etag, which indicates the contact has changed since its
data was read. Clients should get the latest person and re-apply their
updates to the latest person. (people.updateContact)

@param string $resourceName The resource name for the person, assigned by the
server. An ASCII string with a max length of 27 characters, in the form of
`people/`person_id.
@param Google_Service_PeopleService_Person $postBody
@param array $optParams Optional parameters.

@opt_param string updatePersonFields **Required.** A field mask to restrict
which fields on the person are updated. Multiple fields can be specified by
separating them with commas. All updated fields will be replaced. Valid
values are:

* addresses * biographies * birthdays * emailAddresses * events * genders *
imClients * interests * locales * memberships * names * nicknames *
occupations * organizations * phoneNumbers * relations * residences *
sipAddresses * urls * userDefined
@return Google_Service_PeopleService_Person
Update contact data for an existing contact person . Any non - contact data will not be modified .