Class: Google::Apis::FirebaseV1beta1::AddGoogleAnalyticsRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::AddGoogleAnalyticsRequest
- 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
Instance Attribute Summary collapse
-
#analytics_account_id ⇒ String
The ID for the existing Google Analytics account that you want to link with your
FirebaseProject
. -
#analytics_property_id ⇒ String
The ID for the existing Google Analytics property that you want to associate with your
FirebaseProject
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddGoogleAnalyticsRequest
constructor
A new instance of AddGoogleAnalyticsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddGoogleAnalyticsRequest
Returns a new instance of AddGoogleAnalyticsRequest.
97 98 99 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 97 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analytics_account_id ⇒ String
The ID for the existing
Google Analytics account that you
want to link with your FirebaseProject
.
Specifying this field will provision a new Google Analytics
property in your Google Analytics account and associate the new property
with your FirebaseProject
.
Corresponds to the JSON property analyticsAccountId
89 90 91 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 89 def analytics_account_id @analytics_account_id end |
#analytics_property_id ⇒ String
The ID for the existing Google Analytics property that you want to
associate with your FirebaseProject
.
Corresponds to the JSON property analyticsPropertyId
95 96 97 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 95 def analytics_property_id @analytics_property_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
102 103 104 105 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 102 def update!(**args) @analytics_account_id = args[:analytics_account_id] if args.key?(:analytics_account_id) @analytics_property_id = args[:analytics_property_id] if args.key?(:analytics_property_id) end |