Google Analytics Admin V1alpha Client - Class WebStreamData (0.11.1)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class WebStreamData.

Data specific to web streams.

Generated from protobuf message google.analytics.admin.v1alpha.DataStream.WebStreamData

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ measurement_id string

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

↳ firebase_app_id 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.

↳ default_uri string

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

getMeasurementId

Output only. Analytics "Measurement ID", without the "G-" prefix.

Example: "G-1A2BCD345E" would just be "1A2BCD345E"

Returns
TypeDescription
string

setMeasurementId

Output only. Analytics "Measurement ID", without the "G-" prefix.

Example: "G-1A2BCD345E" would just be "1A2BCD345E"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFirebaseAppId

Output only. ID of the corresponding web app in Firebase, if any.

This ID can change if the web app is deleted and recreated.

Returns
TypeDescription
string

setFirebaseAppId

Output only. ID of the corresponding web app in Firebase, if any.

This ID can change if the web app is deleted and recreated.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDefaultUri

Immutable. Domain name of the web app being measured, or empty.

Example: "http://www.google.com", "https://www.google.com"

Returns
TypeDescription
string

setDefaultUri

Immutable. Domain name of the web app being measured, or empty.

Example: "http://www.google.com", "https://www.google.com"

Parameter
NameDescription
var string
Returns
TypeDescription
$this