Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream

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

Overview

A resource message representing a Google Analytics web stream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaWebDataStream

Returns a new instance of GoogleAnalyticsAdminV1alphaWebDataStream.



1289
1290
1291
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1289

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


1251
1252
1253
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1251

def create_time
  @create_time
end

#default_uriString

Immutable. Domain name of the web app being measured, or empty. Example: "http: //www.google.com", "https://www.google.com" Corresponds to the JSON property defaultUri

Returns:

  • (String)


1257
1258
1259
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1257

def default_uri
  @default_uri
end

#display_nameString

Required. Human-readable display name for the Data Stream. The max allowed display name length is 100 UTF-16 code units. Corresponds to the JSON property displayName

Returns:

  • (String)


1263
1264
1265
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1263

def display_name
  @display_name
end

#firebase_app_idString

Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated. Corresponds to the JSON property firebaseAppId

Returns:

  • (String)


1269
1270
1271
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1269

def firebase_app_id
  @firebase_app_id
end

#measurement_idString

Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G- 1A2BCD345E" would just be "1A2BCD345E" Corresponds to the JSON property measurementId

Returns:

  • (String)


1275
1276
1277
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1275

def measurement_id
  @measurement_id
end

#nameString

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

Returns:

  • (String)


1282
1283
1284
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1282

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


1287
1288
1289
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1287

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1294
1295
1296
1297
1298
1299
1300
1301
1302
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1294

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @default_uri = args[:default_uri] if args.key?(:default_uri)
  @display_name = args[:display_name] if args.key?(:display_name)
  @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
  @measurement_id = args[:measurement_id] if args.key?(:measurement_id)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end