Class: Google::Apis::PartnersV2::AnalyticsSummary
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::AnalyticsSummary
 
- 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 aggregated data for a Company for a given date range.
Instance Attribute Summary collapse
- 
  
    
      #contacts_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Aggregated number of times users contacted the Companyfor given date range.
- 
  
    
      #profile_views_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Aggregated number of profile views for the Companyfor given date range.
- 
  
    
      #search_views_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Aggregated number of times users saw the Companyin Google Partners Search results for given date range.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AnalyticsSummary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AnalyticsSummary. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AnalyticsSummary
Returns a new instance of AnalyticsSummary
| 141 142 143 | # File 'generated/google/apis/partners_v2/classes.rb', line 141 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#contacts_count ⇒ Fixnum
Aggregated number of times users contacted the Company
for given date range.
Corresponds to the JSON property contactsCount
| 128 129 130 | # File 'generated/google/apis/partners_v2/classes.rb', line 128 def contacts_count @contacts_count end | 
#profile_views_count ⇒ Fixnum
Aggregated number of profile views for the Company for given date range.
Corresponds to the JSON property profileViewsCount
| 133 134 135 | # File 'generated/google/apis/partners_v2/classes.rb', line 133 def profile_views_count @profile_views_count end | 
#search_views_count ⇒ Fixnum
Aggregated number of times users saw the Company
in Google Partners Search results for given date range.
Corresponds to the JSON property searchViewsCount
| 139 140 141 | # File 'generated/google/apis/partners_v2/classes.rb', line 139 def search_views_count @search_views_count end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 146 147 148 149 150 | # File 'generated/google/apis/partners_v2/classes.rb', line 146 def update!(**args) @contacts_count = args[:contacts_count] if args.key?(:contacts_count) @profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count) @search_views_count = args[:search_views_count] if args.key?(:search_views_count) end |