Class: Google::Apis::AnalyticsdataV1beta::BatchRunPivotReportsResponse

Inherits:
Object
  • Object
show all
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 pivot reports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchRunPivotReportsResponse

Returns a new instance of BatchRunPivotReportsResponse.



185
186
187
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 185

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunPivotReports". Useful to distinguish between response types in JSON. Corresponds to the JSON property kind

Returns:

  • (String)


178
179
180
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 178

def kind
  @kind
end

#pivot_reportsArray<Google::Apis::AnalyticsdataV1beta::RunPivotReportResponse>

Individual responses. Each response has a separate pivot report request. Corresponds to the JSON property pivotReports



183
184
185
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 183

def pivot_reports
  @pivot_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



190
191
192
193
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 190

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @pivot_reports = args[:pivot_reports] if args.key?(:pivot_reports)
end