analyticsadmin.accounts.searchChangeHistoryEvents
Search an account's change history and child resources using filters like action, actor, time range, property, and resource type. Returns matching events as JSON for audits.
Instructions
Searches through all changes to an account or its children given the specified set of filters. Only returns the subset of changes supported by the API. The UI may return additional changes [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest object accepting action, actorEmail, earliestChangeTime, latestChangeTime, pageSize, pageToken, property, resourceType; pass it via params or whole via body_file Siblings over the same resource: delete, get, getDataSharingSettings, list, patch, provisionAccountTicket, runAccessReport.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| account | Yes | [URL path segment] Required. The account resource for which to return change history resources. Format: accounts/{account} Example: `accounts/100` | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest object. | |
| request_body | No | Request body of type GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nextPageToken | No | ||
| changeHistoryEvents | No |