Class: Google::Apis::AnalyticsreportingV4::GetReportsResponse

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 main response class which holds the reports from the Reporting API batchGet call.

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

Returns a new instance of GetReportsResponse.


1262
1263
1264
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1262

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

Instance Attribute Details

#reportsArray<Google::Apis::AnalyticsreportingV4::Report>

Responses corresponding to each of the request. Corresponds to the JSON property reports


1260
1261
1262
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1260

def reports
  @reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1267
1268
1269
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1267

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