Class: Google::Apis::AnalyticsdataV1beta::BatchRunReportsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::BatchRunReportsRequest
- 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 request containing multiple report requests.
Instance Attribute Summary collapse
-
#requests ⇒ Array<Google::Apis::AnalyticsdataV1beta::RunReportRequest>
Individual requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchRunReportsRequest
constructor
A new instance of BatchRunReportsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchRunReportsRequest
Returns a new instance of BatchRunReportsRequest.
206 207 208 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::AnalyticsdataV1beta::RunReportRequest>
Individual requests. Each request has a separate report response. Each batch
request is allowed up to 5 requests.
Corresponds to the JSON property requests
204 205 206 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 204 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 211 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |