Class: Google::Analytics::Admin::V1alpha::DataStream

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/admin/v1alpha/resources.rb

Overview

A resource message representing a data stream.

Defined Under Namespace

Modules: DataStreamType Classes: AndroidAppStreamData, IosAppStreamData, WebStreamData

Instance Attribute Summary collapse

Instance Attribute Details

#android_app_stream_data::Google::Analytics::Admin::V1alpha::DataStream::AndroidAppStreamData

Returns Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM.

Returns:



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 159

class DataStream
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data specific to web streams.
  # @!attribute [r] measurement_id
  #   @return [::String]
  #     Output only. Analytics Measurement ID.
  #
  #     Example: "G-1A2BCD345E"
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding web app in Firebase, if any.
  #     This ID can change if the web app is deleted and recreated.
  # @!attribute [rw] default_uri
  #   @return [::String]
  #     Domain name of the web app being measured, or empty.
  #     Example: "http://www.google.com", "https://www.google.com"
  class WebStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to Android app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding Android app in Firebase, if any.
  #     This ID can change if the Android app is deleted and recreated.
  # @!attribute [rw] package_name
  #   @return [::String]
  #     Immutable. The package name for the app being measured.
  #     Example: "com.example.myandroidapp"
  class AndroidAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to iOS app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding iOS app in Firebase, if any.
  #     This ID can change if the iOS app is deleted and recreated.
  # @!attribute [rw] bundle_id
  #   @return [::String]
  #     Required. Immutable. The Apple App Store Bundle ID for the app
  #     Example: "com.example.myiosapp"
  class IosAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the data stream.
  module DataStreamType
    # Type unknown or not specified.
    DATA_STREAM_TYPE_UNSPECIFIED = 0

    # Web data stream.
    WEB_DATA_STREAM = 1

    # Android app data stream.
    ANDROID_APP_DATA_STREAM = 2

    # iOS app data stream.
    IOS_APP_DATA_STREAM = 3
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time when this stream was originally created.

Returns:



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 159

class DataStream
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data specific to web streams.
  # @!attribute [r] measurement_id
  #   @return [::String]
  #     Output only. Analytics Measurement ID.
  #
  #     Example: "G-1A2BCD345E"
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding web app in Firebase, if any.
  #     This ID can change if the web app is deleted and recreated.
  # @!attribute [rw] default_uri
  #   @return [::String]
  #     Domain name of the web app being measured, or empty.
  #     Example: "http://www.google.com", "https://www.google.com"
  class WebStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to Android app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding Android app in Firebase, if any.
  #     This ID can change if the Android app is deleted and recreated.
  # @!attribute [rw] package_name
  #   @return [::String]
  #     Immutable. The package name for the app being measured.
  #     Example: "com.example.myandroidapp"
  class AndroidAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to iOS app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding iOS app in Firebase, if any.
  #     This ID can change if the iOS app is deleted and recreated.
  # @!attribute [rw] bundle_id
  #   @return [::String]
  #     Required. Immutable. The Apple App Store Bundle ID for the app
  #     Example: "com.example.myiosapp"
  class IosAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the data stream.
  module DataStreamType
    # Type unknown or not specified.
    DATA_STREAM_TYPE_UNSPECIFIED = 0

    # Web data stream.
    WEB_DATA_STREAM = 1

    # Android app data stream.
    ANDROID_APP_DATA_STREAM = 2

    # iOS app data stream.
    IOS_APP_DATA_STREAM = 3
  end
end

#display_name::String

Returns Human-readable display name for the Data Stream.

Required for web data streams.

The max allowed display name length is 255 UTF-16 code units.

Returns:

  • (::String)

    Human-readable display name for the Data Stream.

    Required for web data streams.

    The max allowed display name length is 255 UTF-16 code units.



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 159

class DataStream
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data specific to web streams.
  # @!attribute [r] measurement_id
  #   @return [::String]
  #     Output only. Analytics Measurement ID.
  #
  #     Example: "G-1A2BCD345E"
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding web app in Firebase, if any.
  #     This ID can change if the web app is deleted and recreated.
  # @!attribute [rw] default_uri
  #   @return [::String]
  #     Domain name of the web app being measured, or empty.
  #     Example: "http://www.google.com", "https://www.google.com"
  class WebStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to Android app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding Android app in Firebase, if any.
  #     This ID can change if the Android app is deleted and recreated.
  # @!attribute [rw] package_name
  #   @return [::String]
  #     Immutable. The package name for the app being measured.
  #     Example: "com.example.myandroidapp"
  class AndroidAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to iOS app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding iOS app in Firebase, if any.
  #     This ID can change if the iOS app is deleted and recreated.
  # @!attribute [rw] bundle_id
  #   @return [::String]
  #     Required. Immutable. The Apple App Store Bundle ID for the app
  #     Example: "com.example.myiosapp"
  class IosAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the data stream.
  module DataStreamType
    # Type unknown or not specified.
    DATA_STREAM_TYPE_UNSPECIFIED = 0

    # Web data stream.
    WEB_DATA_STREAM = 1

    # Android app data stream.
    ANDROID_APP_DATA_STREAM = 2

    # iOS app data stream.
    IOS_APP_DATA_STREAM = 3
  end
end

#ios_app_stream_data::Google::Analytics::Admin::V1alpha::DataStream::IosAppStreamData

Returns Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM.

Returns:



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 159

class DataStream
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data specific to web streams.
  # @!attribute [r] measurement_id
  #   @return [::String]
  #     Output only. Analytics Measurement ID.
  #
  #     Example: "G-1A2BCD345E"
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding web app in Firebase, if any.
  #     This ID can change if the web app is deleted and recreated.
  # @!attribute [rw] default_uri
  #   @return [::String]
  #     Domain name of the web app being measured, or empty.
  #     Example: "http://www.google.com", "https://www.google.com"
  class WebStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to Android app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding Android app in Firebase, if any.
  #     This ID can change if the Android app is deleted and recreated.
  # @!attribute [rw] package_name
  #   @return [::String]
  #     Immutable. The package name for the app being measured.
  #     Example: "com.example.myandroidapp"
  class AndroidAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to iOS app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding iOS app in Firebase, if any.
  #     This ID can change if the iOS app is deleted and recreated.
  # @!attribute [rw] bundle_id
  #   @return [::String]
  #     Required. Immutable. The Apple App Store Bundle ID for the app
  #     Example: "com.example.myiosapp"
  class IosAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the data stream.
  module DataStreamType
    # Type unknown or not specified.
    DATA_STREAM_TYPE_UNSPECIFIED = 0

    # Web data stream.
    WEB_DATA_STREAM = 1

    # Android app data stream.
    ANDROID_APP_DATA_STREAM = 2

    # iOS app data stream.
    IOS_APP_DATA_STREAM = 3
  end
end

#name::String (readonly)

Returns Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000".

Returns:

  • (::String)

    Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000"



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 159

class DataStream
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data specific to web streams.
  # @!attribute [r] measurement_id
  #   @return [::String]
  #     Output only. Analytics Measurement ID.
  #
  #     Example: "G-1A2BCD345E"
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding web app in Firebase, if any.
  #     This ID can change if the web app is deleted and recreated.
  # @!attribute [rw] default_uri
  #   @return [::String]
  #     Domain name of the web app being measured, or empty.
  #     Example: "http://www.google.com", "https://www.google.com"
  class WebStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to Android app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding Android app in Firebase, if any.
  #     This ID can change if the Android app is deleted and recreated.
  # @!attribute [rw] package_name
  #   @return [::String]
  #     Immutable. The package name for the app being measured.
  #     Example: "com.example.myandroidapp"
  class AndroidAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to iOS app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding iOS app in Firebase, if any.
  #     This ID can change if the iOS app is deleted and recreated.
  # @!attribute [rw] bundle_id
  #   @return [::String]
  #     Required. Immutable. The Apple App Store Bundle ID for the app
  #     Example: "com.example.myiosapp"
  class IosAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the data stream.
  module DataStreamType
    # Type unknown or not specified.
    DATA_STREAM_TYPE_UNSPECIFIED = 0

    # Web data stream.
    WEB_DATA_STREAM = 1

    # Android app data stream.
    ANDROID_APP_DATA_STREAM = 2

    # iOS app data stream.
    IOS_APP_DATA_STREAM = 3
  end
end

#type::Google::Analytics::Admin::V1alpha::DataStream::DataStreamType

Returns Required. Immutable. The type of this DataStream resource.

Returns:



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 159

class DataStream
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data specific to web streams.
  # @!attribute [r] measurement_id
  #   @return [::String]
  #     Output only. Analytics Measurement ID.
  #
  #     Example: "G-1A2BCD345E"
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding web app in Firebase, if any.
  #     This ID can change if the web app is deleted and recreated.
  # @!attribute [rw] default_uri
  #   @return [::String]
  #     Domain name of the web app being measured, or empty.
  #     Example: "http://www.google.com", "https://www.google.com"
  class WebStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to Android app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding Android app in Firebase, if any.
  #     This ID can change if the Android app is deleted and recreated.
  # @!attribute [rw] package_name
  #   @return [::String]
  #     Immutable. The package name for the app being measured.
  #     Example: "com.example.myandroidapp"
  class AndroidAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to iOS app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding iOS app in Firebase, if any.
  #     This ID can change if the iOS app is deleted and recreated.
  # @!attribute [rw] bundle_id
  #   @return [::String]
  #     Required. Immutable. The Apple App Store Bundle ID for the app
  #     Example: "com.example.myiosapp"
  class IosAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the data stream.
  module DataStreamType
    # Type unknown or not specified.
    DATA_STREAM_TYPE_UNSPECIFIED = 0

    # Web data stream.
    WEB_DATA_STREAM = 1

    # Android app data stream.
    ANDROID_APP_DATA_STREAM = 2

    # iOS app data stream.
    IOS_APP_DATA_STREAM = 3
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time when stream payload fields were last updated.

Returns:



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 159

class DataStream
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data specific to web streams.
  # @!attribute [r] measurement_id
  #   @return [::String]
  #     Output only. Analytics Measurement ID.
  #
  #     Example: "G-1A2BCD345E"
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding web app in Firebase, if any.
  #     This ID can change if the web app is deleted and recreated.
  # @!attribute [rw] default_uri
  #   @return [::String]
  #     Domain name of the web app being measured, or empty.
  #     Example: "http://www.google.com", "https://www.google.com"
  class WebStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to Android app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding Android app in Firebase, if any.
  #     This ID can change if the Android app is deleted and recreated.
  # @!attribute [rw] package_name
  #   @return [::String]
  #     Immutable. The package name for the app being measured.
  #     Example: "com.example.myandroidapp"
  class AndroidAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to iOS app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding iOS app in Firebase, if any.
  #     This ID can change if the iOS app is deleted and recreated.
  # @!attribute [rw] bundle_id
  #   @return [::String]
  #     Required. Immutable. The Apple App Store Bundle ID for the app
  #     Example: "com.example.myiosapp"
  class IosAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the data stream.
  module DataStreamType
    # Type unknown or not specified.
    DATA_STREAM_TYPE_UNSPECIFIED = 0

    # Web data stream.
    WEB_DATA_STREAM = 1

    # Android app data stream.
    ANDROID_APP_DATA_STREAM = 2

    # iOS app data stream.
    IOS_APP_DATA_STREAM = 3
  end
end

#web_stream_data::Google::Analytics::Admin::V1alpha::DataStream::WebStreamData

Returns Data specific to web streams. Must be populated if type is WEB_DATA_STREAM.

Returns:



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 159

class DataStream
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data specific to web streams.
  # @!attribute [r] measurement_id
  #   @return [::String]
  #     Output only. Analytics Measurement ID.
  #
  #     Example: "G-1A2BCD345E"
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding web app in Firebase, if any.
  #     This ID can change if the web app is deleted and recreated.
  # @!attribute [rw] default_uri
  #   @return [::String]
  #     Domain name of the web app being measured, or empty.
  #     Example: "http://www.google.com", "https://www.google.com"
  class WebStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to Android app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding Android app in Firebase, if any.
  #     This ID can change if the Android app is deleted and recreated.
  # @!attribute [rw] package_name
  #   @return [::String]
  #     Immutable. The package name for the app being measured.
  #     Example: "com.example.myandroidapp"
  class AndroidAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Data specific to iOS app streams.
  # @!attribute [r] firebase_app_id
  #   @return [::String]
  #     Output only. ID of the corresponding iOS app in Firebase, if any.
  #     This ID can change if the iOS app is deleted and recreated.
  # @!attribute [rw] bundle_id
  #   @return [::String]
  #     Required. Immutable. The Apple App Store Bundle ID for the app
  #     Example: "com.example.myiosapp"
  class IosAppStreamData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the data stream.
  module DataStreamType
    # Type unknown or not specified.
    DATA_STREAM_TYPE_UNSPECIFIED = 0

    # Web data stream.
    WEB_DATA_STREAM = 1

    # Android app data stream.
    ANDROID_APP_DATA_STREAM = 2

    # iOS app data stream.
    IOS_APP_DATA_STREAM = 3
  end
end