Class: Google::Apis::AnalyticsreportingV4::Report

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

Overview

The data response corresponding to the request.

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

Returns a new instance of Report



821
822
823
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 821

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

Instance Attribute Details

#column_headerGoogle::Apis::AnalyticsreportingV4::ColumnHeader

Column headers. Corresponds to the JSON property columnHeader



809
810
811
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 809

def column_header
  @column_header
end

#dataGoogle::Apis::AnalyticsreportingV4::ReportData

The data part of the report. Corresponds to the JSON property data



814
815
816
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 814

def data
  @data
end

#next_page_tokenString

Page token to retrieve the next page of results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


819
820
821
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 819

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



826
827
828
829
830
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 826

def update!(**args)
  @column_header = args[:column_header] if args.key?(:column_header)
  @data = args[:data] if args.key?(:data)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end