Google Analytics Admin V1alpha Client - Class ChangeHistoryEvent (0.8.2)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class ChangeHistoryEvent.

A set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google Analytics UI, changes from customer support, or automatic Google Analytics system changes.

Generated from protobuf message google.analytics.admin.v1alpha.ChangeHistoryEvent

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

ID of this change history event. This ID is unique across Google Analytics.

↳ change_time Google\Protobuf\Timestamp

Time when change was made.

↳ actor_type int

The type of actor that made this change.

↳ user_actor_email string

Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise. Google accounts that have been deleted will cause an error.

↳ changes_filtered bool

If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.

↳ changes array<Google\Analytics\Admin\V1alpha\ChangeHistoryChange>

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.

getId

ID of this change history event. This ID is unique across Google Analytics.

Returns
TypeDescription
string

setId

ID of this change history event. This ID is unique across Google Analytics.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getChangeTime

Time when change was made.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasChangeTime

clearChangeTime

setChangeTime

Time when change was made.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getActorType

The type of actor that made this change.

Returns
TypeDescription
int

setActorType

The type of actor that made this change.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUserActorEmail

Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise.

Google accounts that have been deleted will cause an error.

Returns
TypeDescription
string

setUserActorEmail

Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise.

Google accounts that have been deleted will cause an error.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getChangesFiltered

If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.

Returns
TypeDescription
bool

setChangesFiltered

If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getChanges

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setChanges

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.

Parameter
NameDescription
var array<Google\Analytics\Admin\V1alpha\ChangeHistoryChange>
Returns
TypeDescription
$this