Class: Google::Apis::AnalyticsV3::GaData::ProfileInfo
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::GaData::ProfileInfo
- 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 Analytics data was requested.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID to which this view (profile) belongs.
-
#internal_web_property_id ⇒ String
Internal ID for the web property to which this view (profile) belongs.
-
#profile_id ⇒ String
View (Profile) ID.
-
#profile_name ⇒ String
View (Profile) name.
-
#table_id ⇒ String
Table ID for view (profile).
-
#web_property_id ⇒ String
Web Property ID to which this view (profile) belongs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProfileInfo
constructor
A new instance of ProfileInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProfileInfo
Returns a new instance of ProfileInfo.
2684 2685 2686 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2684 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID to which this view (profile) belongs.
Corresponds to the JSON property accountId
2657 2658 2659 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2657 def account_id @account_id end |
#internal_web_property_id ⇒ String
Internal ID for the web property to which this view (profile) belongs.
Corresponds to the JSON property internalWebPropertyId
2662 2663 2664 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2662 def internal_web_property_id @internal_web_property_id end |
#profile_id ⇒ String
View (Profile) ID.
Corresponds to the JSON property profileId
2667 2668 2669 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2667 def profile_id @profile_id end |
#profile_name ⇒ String
View (Profile) name.
Corresponds to the JSON property profileName
2672 2673 2674 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2672 def profile_name @profile_name end |
#table_id ⇒ String
Table ID for view (profile).
Corresponds to the JSON property tableId
2677 2678 2679 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2677 def table_id @table_id end |
#web_property_id ⇒ String
Web Property ID to which this view (profile) belongs.
Corresponds to the JSON property webPropertyId
2682 2683 2684 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2682 def web_property_id @web_property_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2689 2690 2691 2692 2693 2694 2695 2696 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2689 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 |