Class: Google::Apis::AnalyticsreportingV4::GetReportsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::GetReportsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
The batch request containing multiple report request.
Instance Attribute Summary collapse
-
#report_requests ⇒ Array<Google::Apis::AnalyticsreportingV4::ReportRequest>
Requests, each request will have a separate response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetReportsRequest
constructor
A new instance of GetReportsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetReportsRequest
Returns a new instance of GetReportsRequest.
715 716 717 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#report_requests ⇒ Array<Google::Apis::AnalyticsreportingV4::ReportRequest>
Requests, each request will have a separate response.
There can be a maximum of 5 requests. All requests should have the same
dateRanges
, viewId
, segments
, samplingLevel
, and cohortGroup
.
Corresponds to the JSON property reportRequests
713 714 715 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 713 def report_requests @report_requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
720 721 722 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 720 def update!(**args) @report_requests = args[:report_requests] if args.key?(:report_requests) end |