Google Shopping Merchant Conversions V1beta Client - Class UpdateConversionSourceRequest (0.1.2)

Reference documentation and code samples for the Google Shopping Merchant Conversions V1beta Client class UpdateConversionSourceRequest.

Request message for the UpdateConversionSource method.

Generated from protobuf message google.shopping.merchant.conversions.v1beta.UpdateConversionSourceRequest

Namespace

Google \ Shopping \ Merchant \ Conversions \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ conversion_source Google\Shopping\Merchant\Conversions\V1beta\ConversionSource

Required. The new version of the conversion source data. Format: accounts/{account}/conversionSources/{conversion_source}

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields being updated.

getConversionSource

Required. The new version of the conversion source data.

Format: accounts/{account}/conversionSources/{conversion_source}

Returns
Type Description
Google\Shopping\Merchant\Conversions\V1beta\ConversionSource|null

hasConversionSource

clearConversionSource

setConversionSource

Required. The new version of the conversion source data.

Format: accounts/{account}/conversionSources/{conversion_source}

Parameter
Name Description
var Google\Shopping\Merchant\Conversions\V1beta\ConversionSource
Returns
Type Description
$this

getUpdateMask

Required. List of fields being updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. List of fields being updated.

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

static::build

Parameters
Name Description
conversionSource Google\Shopping\Merchant\Conversions\V1beta\ConversionSource

Required. The new version of the conversion source data. Format: accounts/{account}/conversionSources/{conversion_source}

updateMask Google\Protobuf\FieldMask

Required. List of fields being updated.

Returns
Type Description
Google\Shopping\Merchant\Conversions\V1beta\UpdateConversionSourceRequest