Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
A resource message representing a Google Analytics Android app stream.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Human-readable display name for the Data Stream.
-
#firebase_app_id ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#package_name ⇒ String
Immutable.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAndroidAppDataStream
constructor
A new instance of GoogleAnalyticsAdminV1alphaAndroidAppDataStream.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAndroidAppDataStream
Returns a new instance of GoogleAnalyticsAdminV1alphaAndroidAppDataStream.
158 159 160 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when this stream was originally created.
Corresponds to the JSON property createTime
126 127 128 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 126 def create_time @create_time end |
#display_name ⇒ String
Human-readable display name for the Data Stream. The max allowed display name
length is 255 UTF-16 code units.
Corresponds to the JSON property displayName
132 133 134 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 132 def display_name @display_name end |
#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.
Corresponds to the JSON property firebaseAppId
138 139 140 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 138 def firebase_app_id @firebase_app_id end |
#name ⇒ String
Output only. Resource name of this Data Stream. Format: properties/
property_id
/androidAppDataStreams/stream_id
Example: "properties/1000/
androidAppDataStreams/2000"
Corresponds to the JSON property name
145 146 147 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 145 def name @name end |
#package_name ⇒ String
Immutable. The package name for the app being measured. Example: "com.example.
myandroidapp"
Corresponds to the JSON property packageName
151 152 153 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 151 def package_name @package_name end |
#update_time ⇒ String
Output only. Time when stream payload fields were last updated.
Corresponds to the JSON property updateTime
156 157 158 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 156 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
163 164 165 166 167 168 169 170 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 163 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id) @name = args[:name] if args.key?(:name) @package_name = args[:package_name] if args.key?(:package_name) @update_time = args[:update_time] if args.key?(:update_time) end |