Class: Google::Apis::AnalyticsV3::Profile::ParentLink
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Profile::ParentLink
- 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
Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
Instance Attribute Summary collapse
-
#href ⇒ String
Link to the web property to which this view (profile) belongs.
-
#type ⇒ String
Value is "analytics#webproperty".
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParentLink
constructor
A new instance of ParentLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParentLink
Returns a new instance of ParentLink.
4036 4037 4038 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 4036 def initialize(**args) update!(**args) end |
Instance Attribute Details
#href ⇒ String
Link to the web property to which this view (profile) belongs.
Corresponds to the JSON property href
4029 4030 4031 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 4029 def href @href end |
#type ⇒ String
Value is "analytics#webproperty".
Corresponds to the JSON property type
4034 4035 4036 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 4034 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4041 4042 4043 4044 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 4041 def update!(**args) @href = args[:href] if args.key?(:href) @type = args[:type] if args.key?(:type) end |