REST Resource: properties.webDataStreams

Resource: WebDataStream

A resource message representing a Google Analytics web stream.

JSON representation
{
  "name": string,
  "measurementId": string,
  "firebaseAppId": string,
  "createTime": string,
  "updateTime": string,
  "defaultUri": string,
  "displayName": string
}
Fields
name

string

Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/1000/webDataStreams/2000"

measurementId

string

Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E"

firebaseAppId

string

Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated.

createTime

string (Timestamp format)

Output only. Time when this stream was originally created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. Time when stream payload fields were last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

defaultUri

string

Immutable. Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com"

displayName

string

Required. Human-readable display name for the Data Stream.

The max allowed display name length is 255 UTF-16 code units.

Methods

create

Creates a web stream with the specified location and attributes.

delete

Deletes a web stream on a property.

get

Lookup for a single WebDataStream

getGlobalSiteTag

Returns the Site Tag for the specified web stream.

list

Returns child web data streams under the specified parent property.

patch

Updates a web stream on a property.