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.
108 109 110 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 108 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
101 102 103 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 101 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
106 107 108 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 106 def reports @reports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
113 114 115 116 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 113 def update!(**args) @kind = args[:kind] if args.key?(:kind) @reports = args[:reports] if args.key?(:reports) end |