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
Namespace
Google \ Analytics \ Admin \ V1alphaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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<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 | |
---|---|
Type | Description |
string |
setId
ID of this change history event. This ID is unique across Google Analytics.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getChangeTime
Time when change was made.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasChangeTime
clearChangeTime
setChangeTime
Time when change was made.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getActorType
The type of actor that made this change.
Returns | |
---|---|
Type | Description |
int |
setActorType
The type of actor that made this change.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getChangesFiltered
If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.
Returns | |
---|---|
Type | Description |
bool |
setChangesFiltered
If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getChanges
A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setChanges
A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.
Parameter | |
---|---|
Name | Description |
var |
array<ChangeHistoryChange>
|
Returns | |
---|---|
Type | Description |
$this |