Google Analytics Data V1beta Client - Class BatchRunReportsRequest (0.17.1)

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getRequests

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRequests

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

Parameter
Name Description
var array<Google\Analytics\Data\V1beta\RunReportRequest>
Returns
Type Description
$this