# Google Analytics Data V1alpha API - Class Google::Analytics::Data::V1alpha::BatchRunPivotReportsRequest (v0.8.3)

Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::BatchRunPivotReportsRequest.

The batch request containing multiple pivot report requests.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #entity

    def entity() -> ::Google::Analytics::Data::V1alpha::Entity

**Returns**

- ([::Google::Analytics::Data::V1alpha::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1alpha/latest/Google-Analytics-Data-V1alpha-Entity)) --- A property whose events are tracked. This entity must be specified for the batch. The entity within RunPivotReportRequest may either be unspecified or consistent with this entity.

### #entity=

    def entity=(value) -> ::Google::Analytics::Data::V1alpha::Entity

**Parameter**

- **value** ([::Google::Analytics::Data::V1alpha::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1alpha/latest/Google-Analytics-Data-V1alpha-Entity)) --- A property whose events are tracked. This entity must be specified for the batch. The entity within RunPivotReportRequest may either be unspecified or consistent with this entity.
**Returns**

- ([::Google::Analytics::Data::V1alpha::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1alpha/latest/Google-Analytics-Data-V1alpha-Entity)) --- A property whose events are tracked. This entity must be specified for the batch. The entity within RunPivotReportRequest may either be unspecified or consistent with this entity.

### #requests

    def requests() -> ::Array<::Google::Analytics::Data::V1alpha::RunPivotReportRequest>

**Returns**

- (::Array\<[::Google::Analytics::Data::V1alpha::RunPivotReportRequest](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1alpha/latest/Google-Analytics-Data-V1alpha-RunPivotReportRequest)\>) --- Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

### #requests=

    def requests=(value) -> ::Array<::Google::Analytics::Data::V1alpha::RunPivotReportRequest>

**Parameter**

- **value** (::Array\<[::Google::Analytics::Data::V1alpha::RunPivotReportRequest](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1alpha/latest/Google-Analytics-Data-V1alpha-RunPivotReportRequest)\>) --- Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.
**Returns**

- (::Array\<[::Google::Analytics::Data::V1alpha::RunPivotReportRequest](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1alpha/latest/Google-Analytics-Data-V1alpha-RunPivotReportRequest)\>) --- Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.