Class: Google::Apis::PartnersV2::AnalyticsDataPoint

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/partners_v2/classes.rb,
generated/google/apis/partners_v2/representations.rb,
generated/google/apis/partners_v2/representations.rb

Overview

Details of the analytics events for a Company within a single day.

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) ⇒ AnalyticsDataPoint

Returns a new instance of AnalyticsDataPoint



1974
1975
1976
# File 'generated/google/apis/partners_v2/classes.rb', line 1974

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

Instance Attribute Details

#event_countFixnum

Number of times the type of event occurred. Meaning depends on context (e.g. profile views, contacts, etc.). Corresponds to the JSON property eventCount

Returns:

  • (Fixnum)


1967
1968
1969
# File 'generated/google/apis/partners_v2/classes.rb', line 1967

def event_count
  @event_count
end

#event_locationsArray<Google::Apis::PartnersV2::LatLng>

Location information of where these events occurred. Corresponds to the JSON property eventLocations



1972
1973
1974
# File 'generated/google/apis/partners_v2/classes.rb', line 1972

def event_locations
  @event_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1979
1980
1981
1982
# File 'generated/google/apis/partners_v2/classes.rb', line 1979

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