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.


198
199
200
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 198

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

Instance Attribute Details

#column_headerGoogle::Apis::AnalyticsreportingV4::ColumnHeader

Column headers. Corresponds to the JSON property columnHeader


186
187
188
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 186

def column_header
  @column_header
end

#dataGoogle::Apis::AnalyticsreportingV4::ReportData

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


191
192
193
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 191

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)

196
197
198
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 196

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


203
204
205
206
207
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 203

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