Class: Google::Apis::FirebaseV1beta1::AnalyticsProperty
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::AnalyticsProperty
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebase_v1beta1/classes.rb,
generated/google/apis/firebase_v1beta1/representations.rb,
generated/google/apis/firebase_v1beta1/representations.rb
Overview
Details of a Google Analytics property
Instance Attribute Summary collapse
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AnalyticsProperty
Returns a new instance of AnalyticsProperty.
206 207 208 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name of the Google Analytics property associated with the
specified FirebaseProject.
Corresponds to the JSON property displayName
192 193 194 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 192 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
your 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
204 205 206 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 204 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 214 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 211 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) end |