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
Company
within a single day. -
#event_date ⇒ Google::Apis::PartnersV2::Date
Represents a whole or partial calendar date, e.g.
-
#profile_views ⇒ Google::Apis::PartnersV2::AnalyticsDataPoint
Details of the analytics events for a
Company
within a single day. -
#search_views ⇒ Google::Apis::PartnersV2::AnalyticsDataPoint
Details of the analytics events for a
Company
within 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
82 83 84 |
# File 'generated/google/apis/partners_v2/classes.rb', line 82 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
58 59 60 |
# File 'generated/google/apis/partners_v2/classes.rb', line 58 def contacts @contacts end |
#event_date ⇒ Google::Apis::PartnersV2::Date
Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:
- A full date, with non-zero year, month and day values
- A month and day value, with a zero year, e.g. an anniversary
- A year on its own, with zero month and day values
- A year and month value, with a zero day, e.g. a credit card expiration date
Related types are google.type.TimeOfDay and
google.protobuf.Timestamp
. Corresponds to the JSON propertyeventDate
70 71 72 |
# File 'generated/google/apis/partners_v2/classes.rb', line 70 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
75 76 77 |
# File 'generated/google/apis/partners_v2/classes.rb', line 75 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
80 81 82 |
# File 'generated/google/apis/partners_v2/classes.rb', line 80 def search_views @search_views end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
87 88 89 90 91 92 |
# File 'generated/google/apis/partners_v2/classes.rb', line 87 def update!(**args) @contacts = args[:contacts] if args.key?(:contacts) @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) end |