@@ -244,6 +244,11 @@ message RunReportResponse {
244244
245245 // This Analytics Property's quota state including this request.
246246 PropertyQuota property_quota = 9 ;
247+
248+ // Identifies what kind of resource this message is. This `kind` is always the
249+ // fixed string "analyticsData#runReport". Useful to distinguish between
250+ // response types in JSON.
251+ string kind = 10 ;
247252}
248253
249254// The request to generate a pivot report.
@@ -369,6 +374,11 @@ message RunPivotReportResponse {
369374
370375 // This Analytics Property's quota state including this request.
371376 PropertyQuota property_quota = 7 ;
377+
378+ // Identifies what kind of resource this message is. This `kind` is always the
379+ // fixed string "analyticsData#runPivotReport". Useful to distinguish between
380+ // response types in JSON.
381+ string kind = 8 ;
372382}
373383
374384// The batch request containing multiple report requests.
@@ -393,6 +403,11 @@ message BatchRunReportsRequest {
393403message BatchRunReportsResponse {
394404 // Individual responses. Each response has a separate report request.
395405 repeated RunReportResponse reports = 1 ;
406+
407+ // Identifies what kind of resource this message is. This `kind` is always the
408+ // fixed string "analyticsData#batchRunReports". Useful to distinguish between
409+ // response types in JSON.
410+ string kind = 2 ;
396411}
397412
398413// The batch request containing multiple pivot report requests.
@@ -417,6 +432,11 @@ message BatchRunPivotReportsRequest {
417432message BatchRunPivotReportsResponse {
418433 // Individual responses. Each response has a separate pivot report request.
419434 repeated RunPivotReportResponse pivot_reports = 1 ;
435+
436+ // Identifies what kind of resource this message is. This `kind` is always the
437+ // fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
438+ // between response types in JSON.
439+ string kind = 2 ;
420440}
421441
422442// Request for a property's dimension and metric metadata.
@@ -519,4 +539,9 @@ message RunRealtimeReportResponse {
519539
520540 // This Analytics Property's Realtime quota state including this request.
521541 PropertyQuota property_quota = 8 ;
542+
543+ // Identifies what kind of resource this message is. This `kind` is always the
544+ // fixed string "analyticsData#runRealtimeReport". Useful to distinguish
545+ // between response types in JSON.
546+ string kind = 9 ;
522547}
0 commit comments