Class: Google::Apis::AnalyticsV3::Account::ChildLink

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

Child link for an account entry. Points to the list of web properties for this account.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#hrefString

Link to the list of web properties for this account. Corresponds to the JSON property href

Returns:

  • (String)


101
102
103
# File 'lib/google/apis/analytics_v3/classes.rb', line 101

def href
  @href
end

#typeString

Type of the child link. Its value is "analytics#webproperties". Corresponds to the JSON property type

Returns:

  • (String)


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