Google Analytics Data V1beta Client - Class BatchRunReportsRequest (0.11.2)

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

The batch request containing multiple report requests.

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

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 RunReportRequest may either be unspecified or consistent with this property. Example: properties/1234

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

Individual requests. Each request has a separate 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 RunReportRequest 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 RunReportRequest 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 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\V1beta\RunReportRequest>
Returns
TypeDescription
$this