Google Analytics Admin V1beta Client - Class WebStreamData (0.11.1)

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

Data specific to web streams.

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

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ measurement_idstring

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

↳ firebase_app_idstring

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_uristring

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
varstring
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
varstring
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
varstring
Returns
TypeDescription
$this