Class: Google::Apis::AnalyticsV3::McfData::ProfileInfo

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProfileInfo

Returns a new instance of ProfileInfo.



3663
3664
3665
# File 'lib/google/apis/analytics_v3/classes.rb', line 3663

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)


3636
3637
3638
# File 'lib/google/apis/analytics_v3/classes.rb', line 3636

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)


3641
3642
3643
# File 'lib/google/apis/analytics_v3/classes.rb', line 3641

def internal_web_property_id
  @internal_web_property_id
end

#profile_idString

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

Returns:

  • (String)


3646
3647
3648
# File 'lib/google/apis/analytics_v3/classes.rb', line 3646

def profile_id
  @profile_id
end

#profile_nameString

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

Returns:

  • (String)


3651
3652
3653
# File 'lib/google/apis/analytics_v3/classes.rb', line 3651

def profile_name
  @profile_name
end

#table_idString

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

Returns:

  • (String)


3656
3657
3658
# File 'lib/google/apis/analytics_v3/classes.rb', line 3656

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)


3661
3662
3663
# File 'lib/google/apis/analytics_v3/classes.rb', line 3661

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3668
3669
3670
3671
3672
3673
3674
3675
# File 'lib/google/apis/analytics_v3/classes.rb', line 3668

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