Class: Google::Apis::PartnersV2::Analytics
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::Analytics
- 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
Analytics data for a Company within a single day.
Instance Attribute Summary collapse
-
#contacts ⇒ Google::Apis::PartnersV2::AnalyticsDataPoint
Details of the analytics events for a
Companywithin a single day. -
#event_date ⇒ Google::Apis::PartnersV2::Date
Represents a whole calendar date, e.g.
-
#profile_views ⇒ Google::Apis::PartnersV2::AnalyticsDataPoint
Details of the analytics events for a
Companywithin a single day. -
#search_views ⇒ Google::Apis::PartnersV2::AnalyticsDataPoint
Details of the analytics events for a
Companywithin a single day.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Analytics
constructor
A new instance of Analytics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Analytics
Returns a new instance of Analytics
2001 2002 2003 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contacts ⇒ Google::Apis::PartnersV2::AnalyticsDataPoint
Details of the analytics events for a Company within a single day.
Corresponds to the JSON property contacts
1999 2000 2001 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1999 def contacts @contacts end |
#event_date ⇒ Google::Apis::PartnersV2::Date
Represents a whole calendar date, e.g. date of birth. The time of day and
time zone are either specified elsewhere or are not significant. The date
is relative to the Proleptic Gregorian Calendar. The day may be 0 to
represent a year and month where the day is not significant, e.g. credit card
expiration date. The year may be 0 to represent a month and day independent
of year, e.g. anniversary date. Related types are google.type.TimeOfDay
and google.protobuf.Timestamp.
Corresponds to the JSON property eventDate
1984 1985 1986 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1984 def event_date @event_date end |
#profile_views ⇒ Google::Apis::PartnersV2::AnalyticsDataPoint
Details of the analytics events for a Company within a single day.
Corresponds to the JSON property profileViews
1989 1990 1991 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1989 def profile_views @profile_views end |
#search_views ⇒ Google::Apis::PartnersV2::AnalyticsDataPoint
Details of the analytics events for a Company within a single day.
Corresponds to the JSON property searchViews
1994 1995 1996 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1994 def search_views @search_views end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2006 2007 2008 2009 2010 2011 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2006 def update!(**args) @event_date = args[:event_date] if args.key?(:event_date) @profile_views = args[:profile_views] if args.key?(:profile_views) @search_views = args[:search_views] if args.key?(:search_views) @contacts = args[:contacts] if args.key?(:contacts) end |