Class: Google::Apis::FirebaseV1beta1::StreamMapping
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::StreamMapping
- 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
A mapping of a Firebase App to a Google Analytics data stream
Instance Attribute Summary collapse
-
#app ⇒ String
The resource name of the Firebase App associated with the Google Analytics data stream, in the format: projects/PROJECT_IDENTIFIER/androidApps/APP_ID or projects/PROJECT_IDENTIFIER/iosApps/APP_ID or projects/PROJECT_IDENTIFIER / webApps/APP_ID Refer to the
FirebaseProject
name
field for details about PROJECT_IDENTIFIER values. -
#measurement_id ⇒ String
Applicable for Firebase Web Apps only.
-
#stream_id ⇒ Fixnum
The unique Google-assigned identifier of the Google Analytics data stream associated with the Firebase App.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamMapping
constructor
A new instance of StreamMapping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamMapping
Returns a new instance of StreamMapping.
1141 1142 1143 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1141 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app ⇒ String
The resource name of the Firebase App associated with the Google Analytics
data stream, in the format: projects/PROJECT_IDENTIFIER/androidApps/APP_ID or
projects/PROJECT_IDENTIFIER/iosApps/APP_ID or projects/PROJECT_IDENTIFIER /
webApps/APP_ID Refer to the FirebaseProject
name
field for details about PROJECT_IDENTIFIER values.
Corresponds to the JSON property app
1122 1123 1124 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1122 def app @app end |
#measurement_id ⇒ String
Applicable for Firebase Web Apps only. The unique Google-assigned identifier
of the Google Analytics web stream associated with the Firebase Web App.
Firebase SDKs use this ID to interact with Google Analytics APIs. Learn more
about this ID and Google Analytics web streams in the Analytics documentation.
Corresponds to the JSON property measurementId
1131 1132 1133 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1131 def measurement_id @measurement_id end |
#stream_id ⇒ Fixnum
The unique Google-assigned identifier of the Google Analytics data stream
associated with the Firebase App. Learn more about Google Analytics data
streams in the Analytics documentation.
Corresponds to the JSON property streamId
1139 1140 1141 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1139 def stream_id @stream_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1146 1147 1148 1149 1150 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1146 def update!(**args) @app = args[:app] if args.key?(:app) @measurement_id = args[:measurement_id] if args.key?(:measurement_id) @stream_id = args[:stream_id] if args.key?(:stream_id) end |