Google Ads Ad Manager V1 Client - Class UpdateContactRequest (0.5.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class UpdateContactRequest.

Request object for UpdateContact method.

Generated from protobuf message google.ads.admanager.v1.UpdateContactRequest

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ contact Contact

Required. The Contact to update. The Contact's name is used to identify the Contact to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getContact

Required. The Contact to update.

The Contact's name is used to identify the Contact to update.

Returns
Type Description
Contact|null

hasContact

clearContact

setContact

Required. The Contact to update.

The Contact's name is used to identify the Contact to update.

Parameter
Name Description
var Contact
Returns
Type Description
$this

getUpdateMask

Required. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
contact Contact

Required. The Contact to update.

The Contact's name is used to identify the Contact to update.

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type Description
UpdateContactRequest