Google Analytics Data V1beta Client - Class BatchRunPivotReportsRequest (0.11.2)

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

The batch request containing multiple pivot report requests.

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

Namespace

Google \ Analytics \ Data \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ property string

A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see where to find your Property ID. This property must be specified for the batch. The property within RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234

↳ requests array<Google\Analytics\Data\V1beta\RunPivotReportRequest>

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

getProperty

A Google Analytics GA4 property identifier whose events are tracked.

Specified in the URL path and not the body. To learn more, see where to find your Property ID. This property must be specified for the batch. The property within RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234

Returns
TypeDescription
string

setProperty

A Google Analytics GA4 property identifier whose events are tracked.

Specified in the URL path and not the body. To learn more, see where to find your Property ID. This property must be specified for the batch. The property within RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234

Parameter
NameDescription
var string
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
var array<Google\Analytics\Data\V1beta\RunPivotReportRequest>
Returns
TypeDescription
$this