Google Analytics Data V1alpha Client - Class BatchRunPivotReportsRequest (0.21.1)

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

The batch request containing multiple pivot report requests.

Generated from protobuf message google.analytics.data.v1alpha.BatchRunPivotReportsRequest

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ entityEntity

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.

↳ requestsarray<RunPivotReportRequest>

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

getEntity

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
TypeDescription
Entity|null

hasEntity

clearEntity

setEntity

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.

Parameter
NameDescription
varEntity
Returns
TypeDescription
$this

getRequests

Individual requests. Each request has a separate pivot report response.

Each batch request is allowed up to 5 requests.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequests

Individual requests. Each request has a separate pivot report response.

Each batch request is allowed up to 5 requests.

Parameter
NameDescription
vararray<RunPivotReportRequest>
Returns
TypeDescription
$this