Class: Google::Apis::PartnersV2::AnalyticsDataPoint
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::AnalyticsDataPoint
- 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
-
#event_count ⇒ Fixnum
Number of times the type of event occurred.
-
#event_locations ⇒ Array<Google::Apis::PartnersV2::LatLng>
Location information of where these events occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyticsDataPoint
constructor
A new instance of AnalyticsDataPoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AnalyticsDataPoint
Returns a new instance of AnalyticsDataPoint
1943 1944 1945 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1943 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_count ⇒ Fixnum
Number of times the type of event occurred.
Meaning depends on context (e.g. profile views, contacts, etc.).
Corresponds to the JSON property eventCount
1941 1942 1943 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1941 def event_count @event_count end |
#event_locations ⇒ Array<Google::Apis::PartnersV2::LatLng>
Location information of where these events occurred.
Corresponds to the JSON property eventLocations
1935 1936 1937 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1935 def event_locations @event_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1948 1949 1950 1951 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1948 def update!(**args) @event_locations = args[:event_locations] if args.key?(:event_locations) @event_count = args[:event_count] if args.key?(:event_count) end |