Google Analytics Admin V1alpha Client - Class AndroidAppDataStream (0.18.1)

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
NameDescription
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
TypeDescription
string

setName

Output only. Resource name of this Data Stream.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Time when this stream was originally created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when this stream was originally created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getPackageName

Immutable. The package name for the app being measured.

Example: "com.example.myandroidapp"

Returns
TypeDescription
string

setPackageName

Immutable. The package name for the app being measured.

Example: "com.example.myandroidapp"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Human-readable display name for the Data Stream.

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

Returns
TypeDescription
string

setDisplayName

Human-readable display name for the Data Stream.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this