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.



61
62
63
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 61

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)


54
55
56
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 54

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



59
60
61
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 59

def pivot_reports
  @pivot_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



66
67
68
69
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 66

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