Class: Google::Apis::AnalyticsV3::RealtimeData::ProfileInfo

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

Overview

Information for the view (profile), for which the real time data was requested.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ProfileInfo

Returns a new instance of ProfileInfo.



4332
4333
4334
# File 'generated/google/apis/analytics_v3/classes.rb', line 4332

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

Instance Attribute Details

#account_idString

Account ID to which this view (profile) belongs. Corresponds to the JSON property accountId

Returns:

  • (String)


4305
4306
4307
# File 'generated/google/apis/analytics_v3/classes.rb', line 4305

def 
  @account_id
end

#internal_web_property_idString

Internal ID for the web property to which this view (profile) belongs. Corresponds to the JSON property internalWebPropertyId

Returns:

  • (String)


4310
4311
4312
# File 'generated/google/apis/analytics_v3/classes.rb', line 4310

def internal_web_property_id
  @internal_web_property_id
end

#profile_idString

View (Profile) ID. Corresponds to the JSON property profileId

Returns:

  • (String)


4315
4316
4317
# File 'generated/google/apis/analytics_v3/classes.rb', line 4315

def profile_id
  @profile_id
end

#profile_nameString

View (Profile) name. Corresponds to the JSON property profileName

Returns:

  • (String)


4320
4321
4322
# File 'generated/google/apis/analytics_v3/classes.rb', line 4320

def profile_name
  @profile_name
end

#table_idString

Table ID for view (profile). Corresponds to the JSON property tableId

Returns:

  • (String)


4325
4326
4327
# File 'generated/google/apis/analytics_v3/classes.rb', line 4325

def table_id
  @table_id
end

#web_property_idString

Web Property ID to which this view (profile) belongs. Corresponds to the JSON property webPropertyId

Returns:

  • (String)


4330
4331
4332
# File 'generated/google/apis/analytics_v3/classes.rb', line 4330

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4337
4338
4339
4340
4341
4342
4343
4344
# File 'generated/google/apis/analytics_v3/classes.rb', line 4337

def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
  @profile_id = args[:profile_id] if args.key?(:profile_id)
  @profile_name = args[:profile_name] if args.key?(:profile_name)
  @table_id = args[:table_id] if args.key?(:table_id)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end