Class: Google::Apis::AnalyticsV3::Account::ChildLink
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Account::ChildLink
- 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
Child link for an account entry. Points to the list of web properties for this account.
Instance Attribute Summary collapse
-
#href ⇒ String
Link to the list of web properties for this account.
-
#type ⇒ String
Type of the child link.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChildLink
constructor
A new instance of ChildLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChildLink
Returns a new instance of ChildLink.
108 109 110 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 108 def initialize(**args) update!(**args) end |
Instance Attribute Details
#href ⇒ String
Link to the list of web properties for this account.
Corresponds to the JSON property href
101 102 103 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 101 def href @href end |
#type ⇒ String
Type of the child link. Its value is "analytics#webproperties".
Corresponds to the JSON property type
106 107 108 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 106 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
113 114 115 116 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 113 def update!(**args) @href = args[:href] if args.key?(:href) @type = args[:type] if args.key?(:type) end |