Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream
- 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
-
#create_time ⇒ String
Output only.
-
#default_uri ⇒ String
Immutable.
-
#display_name ⇒ String
Required.
-
#firebase_app_id ⇒ String
Output only.
-
#measurement_id ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaWebDataStream
constructor
A new instance of GoogleAnalyticsAdminV1alphaWebDataStream.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaWebDataStream
Returns a new instance of GoogleAnalyticsAdminV1alphaWebDataStream.
2377 2378 2379 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2377 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when this stream was originally created.
Corresponds to the JSON property createTime
2339 2340 2341 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2339 def create_time @create_time end |
#default_uri ⇒ String
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
2345 2346 2347 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2345 def default_uri @default_uri end |
#display_name ⇒ String
Required. Human-readable display name for the Data Stream. The max allowed
display name length is 255 UTF-16 code units.
Corresponds to the JSON property displayName
2351 2352 2353 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2351 def display_name @display_name end |
#firebase_app_id ⇒ 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.
Corresponds to the JSON property firebaseAppId
2357 2358 2359 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2357 def firebase_app_id @firebase_app_id end |
#measurement_id ⇒ String
Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-
1A2BCD345E" would just be "1A2BCD345E"
Corresponds to the JSON property measurementId
2363 2364 2365 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2363 def measurement_id @measurement_id end |
#name ⇒ String
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
2370 2371 2372 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2370 def name @name end |
#update_time ⇒ String
Output only. Time when stream payload fields were last updated.
Corresponds to the JSON property updateTime
2375 2376 2377 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2375 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2382 2383 2384 2385 2386 2387 2388 2389 2390 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2382 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 |