Google Analytics Data V1beta Client - Class BatchRunReportsResponse (0.9.5)

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

The batch response containing multiple reports.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ reports array<Google\Analytics\Data\V1beta\RunReportResponse>

Individual responses. Each response has a separate report request.

↳ kind string

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON.

getReports

Individual responses. Each response has a separate report request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReports

Individual responses. Each response has a separate report request.

Parameter
NameDescription
var array<Google\Analytics\Data\V1beta\RunReportResponse>
Returns
TypeDescription
$this

getKind

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON.

Returns
TypeDescription
string

setKind

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON.

Parameter
NameDescription
var string
Returns
TypeDescription
$this