Google Analytics Admin V1beta Client - Class ChangeHistoryResource (0.14.0)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class ChangeHistoryResource.

A snapshot of a resource as before or after the result of a change in change history.

Generated from protobuf message google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource

Namespace

Google \ Analytics \ Admin \ V1beta \ ChangeHistoryChange

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ account Google\Analytics\Admin\V1beta\Account

A snapshot of an Account resource in change history.

↳ property Google\Analytics\Admin\V1beta\Property

A snapshot of a Property resource in change history.

↳ firebase_link Google\Analytics\Admin\V1beta\FirebaseLink

A snapshot of a FirebaseLink resource in change history.

↳ google_ads_link Google\Analytics\Admin\V1beta\GoogleAdsLink

A snapshot of a GoogleAdsLink resource in change history.

↳ conversion_event Google\Analytics\Admin\V1beta\ConversionEvent

A snapshot of a ConversionEvent resource in change history.

↳ measurement_protocol_secret Google\Analytics\Admin\V1beta\MeasurementProtocolSecret

A snapshot of a MeasurementProtocolSecret resource in change history.

↳ data_retention_settings Google\Analytics\Admin\V1beta\DataRetentionSettings

A snapshot of a data retention settings resource in change history.

↳ data_stream Google\Analytics\Admin\V1beta\DataStream

A snapshot of a DataStream resource in change history.

getAccount

A snapshot of an Account resource in change history.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\Account|null

hasAccount

setAccount

A snapshot of an Account resource in change history.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\Account
Returns
TypeDescription
$this

getProperty

A snapshot of a Property resource in change history.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\Property|null

hasProperty

setProperty

A snapshot of a Property resource in change history.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\Property
Returns
TypeDescription
$this

A snapshot of a FirebaseLink resource in change history.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\FirebaseLink|null

A snapshot of a FirebaseLink resource in change history.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\FirebaseLink
Returns
TypeDescription
$this

A snapshot of a GoogleAdsLink resource in change history.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\GoogleAdsLink|null

A snapshot of a GoogleAdsLink resource in change history.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\GoogleAdsLink
Returns
TypeDescription
$this

getConversionEvent

A snapshot of a ConversionEvent resource in change history.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\ConversionEvent|null

hasConversionEvent

setConversionEvent

A snapshot of a ConversionEvent resource in change history.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\ConversionEvent
Returns
TypeDescription
$this

getMeasurementProtocolSecret

A snapshot of a MeasurementProtocolSecret resource in change history.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\MeasurementProtocolSecret|null

hasMeasurementProtocolSecret

setMeasurementProtocolSecret

A snapshot of a MeasurementProtocolSecret resource in change history.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\MeasurementProtocolSecret
Returns
TypeDescription
$this

getDataRetentionSettings

A snapshot of a data retention settings resource in change history.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\DataRetentionSettings|null

hasDataRetentionSettings

setDataRetentionSettings

A snapshot of a data retention settings resource in change history.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\DataRetentionSettings
Returns
TypeDescription
$this

getDataStream

A snapshot of a DataStream resource in change history.

Returns
TypeDescription
Google\Analytics\Admin\V1beta\DataStream|null

hasDataStream

setDataStream

A snapshot of a DataStream resource in change history.

Parameter
NameDescription
var Google\Analytics\Admin\V1beta\DataStream
Returns
TypeDescription
$this

getResource

Returns
TypeDescription
string