Class: Google::Apis::AnalyticsV3::CustomDataSource::ChildLink

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ChildLink

Returns a new instance of ChildLink



846
847
848
# File 'generated/google/apis/analytics_v3/classes.rb', line 846

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#hrefString

Link to the list of daily uploads for this custom data source. Link to the list of uploads for this custom data source. Corresponds to the JSON property href

Returns:

  • (String)


839
840
841
# File 'generated/google/apis/analytics_v3/classes.rb', line 839

def href
  @href
end

#typeString

Value is "analytics#dailyUploads". Value is "analytics#uploads". Corresponds to the JSON property type

Returns:

  • (String)


844
845
846
# File 'generated/google/apis/analytics_v3/classes.rb', line 844

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



851
852
853
854
# File 'generated/google/apis/analytics_v3/classes.rb', line 851

def update!(**args)
  @href = args[:href] if args.key?(:href)
  @type = args[:type] if args.key?(:type)
end