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.



146
147
148
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 146

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)


139
140
141
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 139

def kind
  @kind
end

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

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



144
145
146
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 144

def reports
  @reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



151
152
153
154
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 151

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