Google Analytics · Schema
DataStream
A resource message representing a data stream.
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution
Properties
| Name | Type | Description |
|---|---|---|
| androidAppStreamData | object | Data specific to Android app streams. |
| createTime | string | Output only. Time when this stream was originally created. |
| displayName | string | Human-readable display name for the Data Stream. Required for web data streams. The max allowed display name length is 255 UTF-16 code units. |
| iosAppStreamData | object | Data specific to iOS app streams. |
| name | string | Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" |
| type | string | Required. Immutable. The type of this DataStream resource. |
| updateTime | string | Output only. Time when stream payload fields were last updated. |
| webStreamData | object | Data specific to web streams. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/json-schema/admin-api-data-stream-schema.json",
"title": "DataStream",
"description": "A resource message representing a data stream.",
"type": "object",
"properties": {
"androidAppStreamData": {
"description": "Data specific to Android app streams.",
"properties": {
"firebaseAppId": {
"description": "Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.",
"readOnly": true,
"type": "string"
},
"packageName": {
"description": "Immutable. The package name for the app being measured. Example: \"com.example.myandroidapp\"",
"type": "string"
}
},
"type": "object"
},
"createTime": {
"description": "Output only. Time when this stream was originally created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Human-readable display name for the Data Stream. Required for web data streams. The max allowed display name length is 255 UTF-16 code units.",
"type": "string"
},
"iosAppStreamData": {
"description": "Data specific to iOS app streams.",
"properties": {
"bundleId": {
"description": "Required. Immutable. The Apple App Store Bundle ID for the app Example: \"com.example.myiosapp\"",
"type": "string"
},
"firebaseAppId": {
"description": "Output only. ID of the corresponding iOS app in Firebase, if any. This ID can change if the iOS app is deleted and recreated.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"name": {
"description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: \"properties/1000/dataStreams/2000\"",
"readOnly": true,
"type": "string"
},
"type": {
"description": "Required. Immutable. The type of this DataStream resource.",
"enum": [
"DATA_STREAM_TYPE_UNSPECIFIED",
"WEB_DATA_STREAM",
"ANDROID_APP_DATA_STREAM",
"IOS_APP_DATA_STREAM"
],
"type": "string"
},
"updateTime": {
"description": "Output only. Time when stream payload fields were last updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"webStreamData": {
"description": "Data specific to web streams.",
"properties": {
"defaultUri": {
"description": "Domain name of the web app being measured, or empty. Example: \"http://www.google.com\", \"https://www.google.com\"",
"type": "string"
},
"firebaseAppId": {
"description": "Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated.",
"readOnly": true,
"type": "string"
},
"measurementId": {
"description": "Output only. Analytics Measurement ID. Example: \"G-1A2BCD345E\"",
"readOnly": true,
"type": "string"
}
},
"type": "object"
}
}
}