class Google::Apis::AnalyticsreportingV4::GetReportsResponse

The main response class which holds the reports from the Reporting API ` batchGet` call.

Attributes

query_cost[RW]

The amount of resource quota tokens deducted to execute the query. Includes all responses. Corresponds to the JSON property `queryCost` @return [Fixnum]

reports[RW]

Responses corresponding to each of the request. Corresponds to the JSON property `reports` @return [Array<Google::Apis::AnalyticsreportingV4::Report>]

resource_quotas_remaining[RW]

The resource quota tokens remaining for the property after the request is completed. Corresponds to the JSON property `resourceQuotasRemaining` @return [Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 636
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 641
def update!(**args)
  @query_cost = args[:query_cost] if args.key?(:query_cost)
  @reports = args[:reports] if args.key?(:reports)
  @resource_quotas_remaining = args[:resource_quotas_remaining] if args.key?(:resource_quotas_remaining)
end