{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-analytics/json-schema/google-analytics-google-analytics-admin-v1alpha-search-change-history-events-request-schema.json",
  "title": "GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest",
  "description": "Request message for SearchChangeHistoryEvents RPC.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-analytics-accounts-api-openapi.yml#/components/schemas/GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest",
  "properties": {
    "latestChangeTime": {
      "format": "google-datetime",
      "description": "Optional. If set, only return changes made before this time (inclusive).",
      "type": "string"
    },
    "action": {
      "type": "array",
      "items": {
        "type": "string",
        "x-enumDescriptions": [
          "Action type unknown or not specified.",
          "Resource was created in this change.",
          "Resource was updated in this change.",
          "Resource was deleted in this change."
        ],
        "enum": [
          "ACTION_TYPE_UNSPECIFIED",
          "CREATED",
          "UPDATED",
          "DELETED"
        ]
      },
      "description": "Optional. If set, only return changes that match one or more of these types of actions."
    },
    "property": {
      "type": "string",
      "description": "Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId} Example: `properties/100`"
    },
    "resourceType": {
      "type": "array",
      "items": {
        "x-enumDescriptions": [
          "Resource type unknown or not specified.",
          "Account resource",
          "Property resource",
          "FirebaseLink resource",
          "GoogleAdsLink resource",
          "GoogleSignalsSettings resource",
          "ConversionEvent resource",
          "MeasurementProtocolSecret resource",
          "CustomDimension resource",
          "CustomMetric resource",
          "DataRetentionSettings resource",
          "DisplayVideo360AdvertiserLink resource",
          "DisplayVideo360AdvertiserLinkProposal resource",
          "SearchAds360Link resource",
          "DataStream resource",
          "AttributionSettings resource",
          "ExpandedDataSet resource",
          "ChannelGroup resource",
          "BigQuery link resource",
          "EnhancedMeasurementSettings resource",
          "DataRedactionSettings resource",
          "SKAdNetworkConversionValueSchema resource",
          "AdSenseLink resource",
          "Audience resource",
          "EventCreateRule resource",
          "KeyEvent resource",
          "CalculatedMetric resource",
          "ReportingDataAnnotation resource",
          "SubpropertySyncConfig resource",
          "ReportingIdentitySettings resource",
          "UserProvidedDataSettings resource"
        ],
        "enum": [
          "CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED",
          "ACCOUNT",
          "PROPERTY",
          "FIREBASE_LINK",
          "GOOGLE_ADS_LINK",
          "GOOGLE_SIGNALS_SETTINGS",
          "CONVERSION_EVENT",
          "MEASUREMENT_PROTOCOL_SECRET",
          "CUSTOM_DIMENSION",
          "CUSTOM_METRIC",
          "DATA_RETENTION_SETTINGS",
          "DISPLAY_VIDEO_360_ADVERTISER_LINK",
          "DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL",
          "SEARCH_ADS_360_LINK",
          "DATA_STREAM",
          "ATTRIBUTION_SETTINGS",
          "EXPANDED_DATA_SET",
          "CHANNEL_GROUP",
          "BIGQUERY_LINK",
          "ENHANCED_MEASUREMENT_SETTINGS",
          "DATA_REDACTION_SETTINGS",
          "SKADNETWORK_CONVERSION_VALUE_SCHEMA",
          "ADSENSE_LINK",
          "AUDIENCE",
          "EVENT_CREATE_RULE",
          "KEY_EVENT",
          "CALCULATED_METRIC",
          "REPORTING_DATA_ANNOTATION",
          "SUBPROPERTY_SYNC_CONFIG",
          "REPORTING_IDENTITY_SETTINGS",
          "USER_PROVIDED_DATA_SETTINGS"
        ],
        "type": "string"
      },
      "description": "Optional. If set, only return changes if they are for a resource that matches at least one of these types."
    },
    "pageSize": {
      "type": "integer",
      "description": "Optional. The maximum number of ChangeHistoryEvent items to return. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum). Note that the service may return a page with fewer items than this value specifies (potentially even zero), and that there still may be additional pages. If you want a particular number of items, you'll need to continue requesting additional pages using `page_token` until you get the needed number.",
      "format": "int32"
    },
    "earliestChangeTime": {
      "description": "Optional. If set, only return changes made after this time (inclusive).",
      "format": "google-datetime",
      "type": "string"
    },
    "pageToken": {
      "type": "string",
      "description": "Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchChangeHistoryEvents` must match the call that provided the page token."
    },
    "actorEmail": {
      "description": "Optional. If set, only return changes if they are made by a user in this list.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "type": "object"
}