class Google::Apis::AnalyticsreportingV4::GetReportsRequest

The batch request containing multiple report request.

Attributes

report_requests[RW]

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` @return [Array<Google::Apis::AnalyticsreportingV4::ReportRequest>]

use_resource_quotas[RW]

Enables [resource based quotas](/analytics/devguides/reporting/core/v4/limits- quotas#analytics_reporting_api_v4), (defaults to `False`). If this field is set to `True` the per view (profile) quotas are governed by the computational cost of the request. Note that using cost based quotas will higher enable sampling rates. (10 Million for `SMALL`, 100M for `LARGE`. See the [limits and quotas documentation](/analytics/devguides/reporting/core/v4/limits-quotas# analytics_reporting_api_v4) for details. Corresponds to the JSON property `useResourceQuotas` @return [Boolean]

use_resource_quotas?[RW]

Enables [resource based quotas](/analytics/devguides/reporting/core/v4/limits- quotas#analytics_reporting_api_v4), (defaults to `False`). If this field is set to `True` the per view (profile) quotas are governed by the computational cost of the request. Note that using cost based quotas will higher enable sampling rates. (10 Million for `SMALL`, 100M for `LARGE`. See the [limits and quotas documentation](/analytics/devguides/reporting/core/v4/limits-quotas# analytics_reporting_api_v4) for details. Corresponds to the JSON property `useResourceQuotas` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 603
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsreporting_v4/classes.rb, line 608
def update!(**args)
  @report_requests = args[:report_requests] if args.key?(:report_requests)
  @use_resource_quotas = args[:use_resource_quotas] if args.key?(:use_resource_quotas)
end