Class: Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest
- 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
-
#entity ⇒ Google::Apis::AnalyticsdataV1alpha::Entity
The unique identifier of the property whose events are tracked.
-
#requests ⇒ Array<Google::Apis::AnalyticsdataV1alpha::RunPivotReportRequest>
Individual requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchRunPivotReportsRequest
constructor
A new instance of BatchRunPivotReportsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#entity ⇒ Google::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 |
#requests ⇒ Array<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 |