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

Constructor Details

#initialize(**args) ⇒ Report

Returns a new instance of Report.



1167
1168
1169
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1167

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

Instance Attribute Details

#column_headerGoogle::Apis::AnalyticsreportingV4::ColumnHeader

Column headers. Corresponds to the JSON property columnHeader



1155
1156
1157
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1155

def column_header
  @column_header
end

#dataGoogle::Apis::AnalyticsreportingV4::ReportData

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



1160
1161
1162
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1160

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)


1165
1166
1167
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1165

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1172
1173
1174
1175
1176
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1172

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