Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaDataStream

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb

Overview

A resource message representing a data stream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaDataStream

Returns a new instance of GoogleAnalyticsAdminV1betaDataStream.



1255
1256
1257
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1255

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#android_app_stream_dataGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData

Data specific to Android app streams. Corresponds to the JSON property androidAppStreamData



1215
1216
1217
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1215

def android_app_stream_data
  @android_app_stream_data
end

#create_timeString

Output only. Time when this stream was originally created. Corresponds to the JSON property createTime

Returns:

  • (String)


1220
1221
1222
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1220

def create_time
  @create_time
end

#display_nameString

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. Corresponds to the JSON property displayName

Returns:

  • (String)


1226
1227
1228
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1226

def display_name
  @display_name
end

#ios_app_stream_dataGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData

Data specific to iOS app streams. Corresponds to the JSON property iosAppStreamData



1231
1232
1233
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1231

def ios_app_stream_data
  @ios_app_stream_data
end

#nameString

Output only. Resource name of this Data Stream. Format: properties/ property_id/dataStreams/stream_id Example: "properties/1000/dataStreams/ 2000" Corresponds to the JSON property name

Returns:

  • (String)


1238
1239
1240
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1238

def name
  @name
end

#typeString

Required. Immutable. The type of this DataStream resource. Corresponds to the JSON property type

Returns:

  • (String)


1243
1244
1245
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1243

def type
  @type
end

#update_timeString

Output only. Time when stream payload fields were last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1248
1249
1250
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1248

def update_time
  @update_time
end

#web_stream_dataGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaDataStreamWebStreamData

Data specific to web streams. Corresponds to the JSON property webStreamData



1253
1254
1255
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1253

def web_stream_data
  @web_stream_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1260

def update!(**args)
  @android_app_stream_data = args[:android_app_stream_data] if args.key?(:android_app_stream_data)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @ios_app_stream_data = args[:ios_app_stream_data] if args.key?(:ios_app_stream_data)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
  @update_time = args[:update_time] if args.key?(:update_time)
  @web_stream_data = args[:web_stream_data] if args.key?(:web_stream_data)
end