Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

Data specific to Android app streams.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData

Returns a new instance of GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData.



2882
2883
2884
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2882

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#firebase_app_idString

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

Returns:

  • (String)


2874
2875
2876
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2874

def firebase_app_id
  @firebase_app_id
end

#package_nameString

Immutable. The package name for the app being measured. Example: "com.example. myandroidapp" Corresponds to the JSON property packageName

Returns:

  • (String)


2880
2881
2882
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2880

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2887
2888
2889
2890
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2887

def update!(**args)
  @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
  @package_name = args[:package_name] if args.key?(:package_name)
end