Class: Google::Apis::AnalyticsdataV1beta::BatchRunReportsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::BatchRunReportsResponse
- 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
-
#kind ⇒ String
Identifies what kind of resource this message is.
-
#reports ⇒ Array<Google::Apis::AnalyticsdataV1beta::RunReportResponse>
Individual responses.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchRunReportsResponse
constructor
A new instance of BatchRunReportsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#kind ⇒ String
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
225 226 227 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 225 def kind @kind end |
#reports ⇒ Array<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 |