Class: Google::Apis::AnalyticsV3::EntityUserLink::Entity
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::EntityUserLink::Entity
- 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
Entity for this link. It can be an account, a web property, or a view (profile) .
Instance Attribute Summary collapse
-
#account_ref ⇒ Google::Apis::AnalyticsV3::AccountRef
JSON template for a linked account.
-
#profile_ref ⇒ Google::Apis::AnalyticsV3::ProfileRef
JSON template for a linked view (profile).
-
#web_property_ref ⇒ Google::Apis::AnalyticsV3::WebPropertyRef
JSON template for a web property reference.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Entity
constructor
A new instance of Entity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Entity
Returns a new instance of Entity
1568 1569 1570 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1568 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_ref ⇒ Google::Apis::AnalyticsV3::AccountRef
JSON template for a linked account.
Corresponds to the JSON property accountRef
1556 1557 1558 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1556 def account_ref @account_ref end |
#profile_ref ⇒ Google::Apis::AnalyticsV3::ProfileRef
JSON template for a linked view (profile).
Corresponds to the JSON property profileRef
1561 1562 1563 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1561 def profile_ref @profile_ref end |
#web_property_ref ⇒ Google::Apis::AnalyticsV3::WebPropertyRef
JSON template for a web property reference.
Corresponds to the JSON property webPropertyRef
1566 1567 1568 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1566 def web_property_ref @web_property_ref end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1573 1574 1575 1576 1577 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1573 def update!(**args) @account_ref = args[:account_ref] if args.key?(:account_ref) @profile_ref = args[:profile_ref] if args.key?(:profile_ref) @web_property_ref = args[:web_property_ref] if args.key?(:web_property_ref) end |