Class: Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb

Overview

The batch request containing multiple pivot report requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchRunPivotReportsRequest

Returns a new instance of BatchRunPivotReportsRequest.



40
41
42
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 40

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

Instance Attribute Details

#entityGoogle::Apis::AnalyticsdataV1alpha::Entity

The unique identifier of the property whose events are tracked. Corresponds to the JSON property entity



32
33
34
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 32

def entity
  @entity
end

#requestsArray<Google::Apis::AnalyticsdataV1alpha::RunPivotReportRequest>

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests. Corresponds to the JSON property requests



38
39
40
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 38

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45
46
47
48
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 45

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