Google Analytics Data V1alpha Client - Class BatchRunReportsRequest (0.12.0)

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

The batch request containing multiple report requests.

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

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity Google\Analytics\Data\V1alpha\Entity

A property whose events are tracked. This entity must be specified for the batch. The entity within RunReportRequest may either be unspecified or consistent with this entity.

↳ requests array<Google\Analytics\Data\V1alpha\RunReportRequest>

Individual requests. Each request has a separate 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 RunReportRequest may either be unspecified or consistent with this entity.

Returns
TypeDescription
Google\Analytics\Data\V1alpha\Entity|null

hasEntity

clearEntity

setEntity

A property whose events are tracked. This entity must be specified for the batch. The entity within RunReportRequest may either be unspecified or consistent with this entity.

Parameter
NameDescription
var Google\Analytics\Data\V1alpha\Entity
Returns
TypeDescription
$this

getRequests

Individual requests. Each request has a separate 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 report response. Each batch request is allowed up to 5 requests.

Parameter
NameDescription
var array<Google\Analytics\Data\V1alpha\RunReportRequest>
Returns
TypeDescription
$this