Google Analytics Data V1beta Client - Class BatchRunReportsResponse (0.21.1)

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

Namespace

Google \ Analytics \ Data \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reports array<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
Type Description
Google\Protobuf\Internal\RepeatedField

setReports

Individual responses. Each response has a separate report request.

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