Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData

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

Data specific to web streams.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDataStreamWebStreamData

Returns a new instance of GoogleAnalyticsAdminV1alphaDataStreamWebStreamData.



1141
1142
1143
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1141

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

Instance Attribute Details

#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)


1127
1128
1129
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1127

def default_uri
  @default_uri
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)


1133
1134
1135
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1133

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)


1139
1140
1141
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1139

def measurement_id
  @measurement_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1146
1147
1148
1149
1150
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1146

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