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 fully qualified resource name of the Firebase App associated with the Google Analytics data stream, in the format:
projects/projectId/iosApps/appId
orprojects/projectId/androidApps/appId
Corresponds to the JSON propertyapp
. -
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StreamMapping
Returns a new instance of StreamMapping
1148 1149 1150 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1148 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app ⇒ String
The fully qualified resource name of the Firebase App associated with the
Google Analytics data stream, in the format:
projects/projectId/iosApps/appId
or
projects/projectId/androidApps/appId
Corresponds to the JSON property app
1136 1137 1138 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1136 def app @app 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
1146 1147 1148 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1146 def stream_id @stream_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1153 1154 1155 1156 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1153 def update!(**args) @app = args[:app] if args.key?(:app) @stream_id = args[:stream_id] if args.key?(:stream_id) end |