Google Ads Ad Manager V1 Client - Class UpdateLabelRequest (0.7.0)

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

Request object for UpdateLabel method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ label Label

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

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getLabel

Required. The Label to update.

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

Returns
Type Description
Label|null

hasLabel

clearLabel

setLabel

Required. The Label to update.

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

Parameter
Name Description
var Label
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

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

static::build

Parameters
Name Description
label Label

Required. The Label to update.

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

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateLabelRequest