Class: Google::Apis::FirebaseV1beta1::AnalyticsProperty
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::AnalyticsProperty
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebase_v1beta1/classes.rb,
lib/google/apis/firebase_v1beta1/representations.rb,
lib/google/apis/firebase_v1beta1/representations.rb
Overview
Details of a Google Analytics property
Instance Attribute Summary collapse
-
#analytics_account_id ⇒ String
Output only.
-
#display_name ⇒ String
The display name of the Google Analytics property associated with the specified
FirebaseProject. -
#id ⇒ String
The globally unique, Google-assigned identifier of the Google Analytics property associated with the specified
FirebaseProject.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyticsProperty
constructor
A new instance of AnalyticsProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyticsProperty
Returns a new instance of AnalyticsProperty.
178 179 180 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analytics_account_id ⇒ String
Output only. The ID of the Google Analytics account for the Google Analytics property associated with the specified
FirebaseProject.
Corresponds to the JSON property analyticsAccountId
160 161 162 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 160 def analytics_account_id @analytics_account_id end |
#display_name ⇒ String
The display name of the Google Analytics property associated with the
specified FirebaseProject.
Corresponds to the JSON property displayName
166 167 168 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 166 def display_name @display_name end |
#id ⇒ String
The globally unique, Google-assigned identifier of the Google Analytics
property associated with the specified FirebaseProject. If you called
AddGoogleAnalytics to link the
FirebaseProject with a Google Analytics account, the value in this id field
is the same as the ID of the property either specified or provisioned with
that call to AddGoogleAnalytics.
Corresponds to the JSON property id
176 177 178 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 176 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
183 184 185 186 187 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 183 def update!(**args) @analytics_account_id = args[:analytics_account_id] if args.key?(:analytics_account_id) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) end |