Class: Google::Apis::AnalyticsdataV1beta::BatchRunReportsResponse

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

Overview

The batch response containing multiple reports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchRunReportsResponse

Returns a new instance of BatchRunReportsResponse.



232
233
234
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 232

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

Instance Attribute Details

#kindString

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON. Corresponds to the JSON property kind

Returns:

  • (String)


225
226
227
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 225

def kind
  @kind
end

#reportsArray<Google::Apis::AnalyticsdataV1beta::RunReportResponse>

Individual responses. Each response has a separate report request. Corresponds to the JSON property reports



230
231
232
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 230

def reports
  @reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



237
238
239
240
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 237

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