Google Analytics Admin V1alpha Client - Class AndroidAppDataStream (0.22.4)

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

A resource message representing a Google Analytics Android app stream.

Generated from protobuf message google.analytics.admin.v1alpha.AndroidAppDataStream

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ firebase_app_id string

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

↳ create_time Google\Protobuf\Timestamp

Output only. Time when this stream was originally created.

↳ update_time Google\Protobuf\Timestamp

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

↳ package_name string

Immutable. The package name for the app being measured. Example: "com.example.myandroidapp"

↳ display_name string

Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units.

getName

Output only. Resource name of this Data Stream.

Format: properties/{property_id}/androidAppDataStreams/{stream_id} Example: "properties/1000/androidAppDataStreams/2000"

Returns
Type Description
string

setName

Output only. Resource name of this Data Stream.

Format: properties/{property_id}/androidAppDataStreams/{stream_id} Example: "properties/1000/androidAppDataStreams/2000"

Parameter
Name Description
var string
Returns
Type Description
$this

getFirebaseAppId

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

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

Returns
Type Description
string

setFirebaseAppId

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Time when this stream was originally created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when this stream was originally created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getPackageName

Immutable. The package name for the app being measured.

Example: "com.example.myandroidapp"

Returns
Type Description
string

setPackageName

Immutable. The package name for the app being measured.

Example: "com.example.myandroidapp"

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Human-readable display name for the Data Stream.

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

Returns
Type Description
string

setDisplayName

Human-readable display name for the Data Stream.

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

Parameter
Name Description
var string
Returns
Type Description
$this