Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: discovery/googleapis/analyticsreporting__v4.json

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/analytics.readonly": { 5 "https://www.googleapis.com/auth/analytics.readonly": {
6 "description": "View your Google Analytics data" 6 "description": "View your Google Analytics data"
7 }, 7 },
8 "https://www.googleapis.com/auth/analytics": { 8 "https://www.googleapis.com/auth/analytics": {
9 "description": "View and manage your Google Analytics data" 9 "description": "View and manage your Google Analytics data"
10 } 10 }
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 "$ref": "GetReportsResponse" 133 "$ref": "GetReportsResponse"
134 }, 134 },
135 "scopes": [ 135 "scopes": [
136 "https://www.googleapis.com/auth/analytics", 136 "https://www.googleapis.com/auth/analytics",
137 "https://www.googleapis.com/auth/analytics.readonly" 137 "https://www.googleapis.com/auth/analytics.readonly"
138 ] 138 ]
139 } 139 }
140 } 140 }
141 } 141 }
142 }, 142 },
143 "revision": "20160512", 143 "revision": "20160601",
144 "rootUrl": "https://analyticsreporting.googleapis.com/", 144 "rootUrl": "https://analyticsreporting.googleapis.com/",
145 "schemas": { 145 "schemas": {
146 "PivotHeader": { 146 "PivotHeader": {
147 "description": "The headers for each of the pivot sections defined i n the request.", 147 "description": "The headers for each of the pivot sections defined i n the request.",
148 "id": "PivotHeader", 148 "id": "PivotHeader",
149 "properties": { 149 "properties": {
150 "totalPivotGroupsCount": { 150 "totalPivotGroupsCount": {
151 "description": "The total number of groups for this pivot.", 151 "description": "The total number of groups for this pivot.",
152 "format": "int32", 152 "format": "int32",
153 "type": "integer" 153 "type": "integer"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 } 404 }
405 }, 405 },
406 "type": "object" 406 "type": "object"
407 }, 407 },
408 "ReportRequest": { 408 "ReportRequest": {
409 "description": "The main request class which specifies the Reporting API request.", 409 "description": "The main request class which specifies the Reporting API request.",
410 "id": "ReportRequest", 410 "id": "ReportRequest",
411 "properties": { 411 "properties": {
412 "cohortGroup": { 412 "cohortGroup": {
413 "$ref": "CohortGroup", 413 "$ref": "CohortGroup",
414 "description": "Cohort group associated with this request. I f there is a cohort group\nin the request the `ga:cohort` dimension must be pres ent. All requests\nshould have the same cohort definitions." 414 "description": "Cohort group associated with this request. I f there is a cohort group\nin the request the `ga:cohort` dimension must be pres ent.\nEvery [ReportRequest](#ReportRequest) within a `batchGet` method must\ncon tain the same `cohortGroup` definition."
415 }, 415 },
416 "dimensions": { 416 "dimensions": {
417 "description": "Dimensions requested in the request.", 417 "description": "Dimensions requested in the request.",
418 "items": { 418 "items": {
419 "$ref": "Dimension" 419 "$ref": "Dimension"
420 }, 420 },
421 "type": "array" 421 "type": "array"
422 }, 422 },
423 "metricFilterClauses": { 423 "metricFilterClauses": {
424 "description": "The metric filter clauses. They are logicall y combined with the `AND`\noperator. Metric filters look at only the first date range and not the\ncomparing date range. Note that filtering on metrics occurs after the\nmetrics are aggregated.", 424 "description": "The metric filter clauses. They are logicall y combined with the `AND`\noperator. Metric filters look at only the first date range and not the\ncomparing date range. Note that filtering on metrics occurs after the\nmetrics are aggregated.",
(...skipping 18 matching lines...) Expand all
443 "type": "array" 443 "type": "array"
444 }, 444 },
445 "pivots": { 445 "pivots": {
446 "description": "The pivot definitions.", 446 "description": "The pivot definitions.",
447 "items": { 447 "items": {
448 "$ref": "Pivot" 448 "$ref": "Pivot"
449 }, 449 },
450 "type": "array" 450 "type": "array"
451 }, 451 },
452 "dateRanges": { 452 "dateRanges": {
453 "description": "Date ranges in the request. The request can have a maximum of 2 date\nranges. The response will contain a set of metric valu es for each\ncombination of the dimensions for each date range in the request. S o, if\nthere are two date ranges, there will be two set of metric values, one fo r\nthe original date range and one for the second date range.\nThe `reportReques t.dateRanges` field should not be specified for cohorts\nor Lifetime value reque sts.\nIf a date range is not provided, the default date range is (startDate:\ncu rrent date - 7 days, endDate: current date - 1 day)", 453 "description": "Date ranges in the request. The request can have a maximum of 2 date\nranges. The response will contain a set of metric valu es for each\ncombination of the dimensions for each date range in the request. S o, if\nthere are two date ranges, there will be two set of metric values, one fo r\nthe original date range and one for the second date range.\nThe `reportReques t.dateRanges` field should not be specified for cohorts\nor Lifetime value reque sts.\nIf a date range is not provided, the default date range is (startDate:\ncu rrent date - 7 days, endDate: current date - 1 day). Every\n[ReportRequest](#Rep ortRequest) within a `batchGet` method must\ncontain the same `dateRanges` defin ition.",
454 "items": { 454 "items": {
455 "$ref": "DateRange" 455 "$ref": "DateRange"
456 }, 456 },
457 "type": "array" 457 "type": "array"
458 }, 458 },
459 "segments": { 459 "segments": {
460 "description": "Segment the data returned for the request. A segment definition helps look\nat a subset of the segment request. A request ca n contain up to four\nsegments. All requests should have the same segment defini tions. Requests\nwith segments must have the `ga:segment` dimension.", 460 "description": "Segment the data returned for the request. A segment definition helps look\nat a subset of the segment request. A request ca n contain up to four\nsegments. Every [ReportRequest](#ReportRequest) within a\n `batchGet` method must contain the same `segments` definition. Requests\nwith se gments must have the `ga:segment` dimension.",
461 "items": { 461 "items": {
462 "$ref": "Segment" 462 "$ref": "Segment"
463 }, 463 },
464 "type": "array" 464 "type": "array"
465 }, 465 },
466 "samplingLevel": { 466 "samplingLevel": {
467 "description": "The desired sampling level. If the sampling level is not specified the\nDEFAULT sampling level will be used. All requests sh ould have same\n`samplingLevel`.", 467 "description": "The desired report\n[sample](https://support .google.com/analytics/answer/2637192) size.\nIf the the `samplingLevel` field is unspecified the `DEFAULT` sampling\nlevel is used. Every [ReportRequest](#Repor tRequest) within a\n`batchGet` method must contain the same `samplingLevel` defi nition. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sam pling)\n for details.",
468 "enum": [ 468 "enum": [
469 "SAMPLING_UNSPECIFIED", 469 "SAMPLING_UNSPECIFIED",
470 "DEFAULT", 470 "DEFAULT",
471 "SMALL", 471 "SMALL",
472 "LARGE" 472 "LARGE"
473 ], 473 ],
474 "enumDescriptions": [ 474 "enumDescriptions": [
475 "If sampling level is unspecified the default sampling l evel is used.", 475 "If the `samplingLevel` field is unspecified the `DEFAUL T` sampling level\nis used.",
476 "Returns response with a sample size that balances speed and\naccuracy.", 476 "Returns response with a sample size that balances speed and\naccuracy.",
477 "It returns a fast response with a smaller sampling size .", 477 "It returns a fast response with a smaller sampling size .",
478 "Returns a more accurate response using a large sampling size. But this\nmay result in response being slower." 478 "Returns a more accurate response using a large sampling size. But this\nmay result in response being slower."
479 ], 479 ],
480 "type": "string" 480 "type": "string"
481 }, 481 },
482 "metrics": { 482 "metrics": {
483 "description": "Metrics, the quantitative measurements, requ ested in the request.\nRequests must specify at least one metric.", 483 "description": "Metrics, the quantitative measurements, requ ested in the request.\nRequests must specify at least one metric.",
484 "items": { 484 "items": {
485 "$ref": "Metric" 485 "$ref": "Metric"
(...skipping 14 matching lines...) Expand all
500 }, 500 },
501 "filtersExpression": { 501 "filtersExpression": {
502 "description": "Dimension or metric filters that restrict th e data returned for your\nrequest. To use the `filtersExpression`, supply a dime nsion or metric on\nwhich to filter, followed by the filter expression. For exam ple, the\nfollowing expression selects `ga:browser` dimension which starts with\ nFirefox; `ga:browser=~^Firefox`. For more information on dimensions\nand metric filters, see\n[Filters reference](https://developers.google.com/analytics/devgu ides/reporting/core/v3/reference#filters).", 502 "description": "Dimension or metric filters that restrict th e data returned for your\nrequest. To use the `filtersExpression`, supply a dime nsion or metric on\nwhich to filter, followed by the filter expression. For exam ple, the\nfollowing expression selects `ga:browser` dimension which starts with\ nFirefox; `ga:browser=~^Firefox`. For more information on dimensions\nand metric filters, see\n[Filters reference](https://developers.google.com/analytics/devgu ides/reporting/core/v3/reference#filters).",
503 "type": "string" 503 "type": "string"
504 }, 504 },
505 "hideValueRanges": { 505 "hideValueRanges": {
506 "description": "If set to true, hides the minimum and maximu m across all matching rows.\nThe default is false and the value ranges are retur ned.", 506 "description": "If set to true, hides the minimum and maximu m across all matching rows.\nThe default is false and the value ranges are retur ned.",
507 "type": "boolean" 507 "type": "boolean"
508 }, 508 },
509 "viewId": { 509 "viewId": {
510 "description": "Unique View Id for retrieving Analytics data .", 510 "description": "The Analytics\n[view ID](https://support.goo gle.com/analytics/answer/1009618)\nfrom which to retrieve data. Every [ReportReq uest](#ReportRequest)\nwithin a `batchGet` method must contain the same `viewId` .",
511 "type": "string" 511 "type": "string"
512 }, 512 },
513 "pageToken": { 513 "pageToken": {
514 "description": "A continuation token to get the next page of the results. Adding this to\nthe request will return the rows after the pageTok en. The pageToken should\nbe the value returned in the nextPageToken parameter i n the response to\nthe GetReports request.", 514 "description": "A continuation token to get the next page of the results. Adding this to\nthe request will return the rows after the pageTok en. The pageToken should\nbe the value returned in the nextPageToken parameter i n the response to\nthe GetReports request.",
515 "type": "string" 515 "type": "string"
516 } 516 }
517 }, 517 },
518 "type": "object" 518 "type": "object"
519 }, 519 },
520 "SimpleSegment": { 520 "SimpleSegment": {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 "ReportData": { 603 "ReportData": {
604 "description": "The data part of the report.", 604 "description": "The data part of the report.",
605 "id": "ReportData", 605 "id": "ReportData",
606 "properties": { 606 "properties": {
607 "rowCount": { 607 "rowCount": {
608 "description": "Total number of matching rows for this query .", 608 "description": "Total number of matching rows for this query .",
609 "format": "int32", 609 "format": "int32",
610 "type": "integer" 610 "type": "integer"
611 }, 611 },
612 "samplingSpaceSizes": { 612 "samplingSpaceSizes": {
613 "description": "If sampling was enabled, this returns the to tal number of samples\npresent, one entry per date range.", 613 "description": "If the results are\n[sampled](https://suppor t.google.com/analytics/answer/2637192),\nthis returns the total number of\nsampl es present, one entry per date range. If the results are not sampled\nthis field will not be defined. See\n[developer guide](/analytics/devguides/reporting/core /v4/basics#sampling)\nfor details.",
614 "items": { 614 "items": {
615 "format": "int64", 615 "format": "int64",
616 "type": "string" 616 "type": "string"
617 }, 617 },
618 "type": "array" 618 "type": "array"
619 }, 619 },
620 "maximums": { 620 "maximums": {
621 "description": "Minimum and maximum values seen over all mat ching rows. These are both\nempty when `hideValueRanges` in the request is false , or when\nrowCount is zero.", 621 "description": "Minimum and maximum values seen over all mat ching rows. These are both\nempty when `hideValueRanges` in the request is false , or when\nrowCount is zero.",
622 "items": { 622 "items": {
623 "$ref": "DateRangeValues" 623 "$ref": "DateRangeValues"
624 }, 624 },
625 "type": "array" 625 "type": "array"
626 }, 626 },
627 "samplesReadCounts": { 627 "samplesReadCounts": {
628 "description": "If sampling was enabled, this returns the to tal number of samples\nread, one entry per date range", 628 "description": "If the results are\n[sampled](https://suppor t.google.com/analytics/answer/2637192),\nthis returns the total number of sample s read, one entry per date range.\nIf the results are not sampled this field wil l not be defined. See\n[developer guide](/analytics/devguides/reporting/core/v4/ basics#sampling)\nfor details.",
629 "items": { 629 "items": {
630 "format": "int64", 630 "format": "int64",
631 "type": "string" 631 "type": "string"
632 }, 632 },
633 "type": "array" 633 "type": "array"
634 }, 634 },
635 "minimums": { 635 "minimums": {
636 "description": "Minimum and maximum values seen over all mat ching rows. These are both\nempty when `hideValueRanges` in the request is false , or when\nrowCount is zero.", 636 "description": "Minimum and maximum values seen over all mat ching rows. These are both\nempty when `hideValueRanges` in the request is false , or when\nrowCount is zero.",
637 "items": { 637 "items": {
638 "$ref": "DateRangeValues" 638 "$ref": "DateRangeValues"
(...skipping 19 matching lines...) Expand all
658 "type": "boolean" 658 "type": "boolean"
659 } 659 }
660 }, 660 },
661 "type": "object" 661 "type": "object"
662 }, 662 },
663 "GetReportsRequest": { 663 "GetReportsRequest": {
664 "description": "The batch request containing multiple report request .", 664 "description": "The batch request containing multiple report request .",
665 "id": "GetReportsRequest", 665 "id": "GetReportsRequest",
666 "properties": { 666 "properties": {
667 "reportRequests": { 667 "reportRequests": {
668 "description": "Requests, each request will have a separate response.\nThere can be a maximum of 5 requests. All requests should have the sa me\n`dateRange`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`.", 668 "description": "Requests, each request will have a separate response.\nThere can be a maximum of 5 requests. All requests should have the sa me\n`dateRanges`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`.",
669 "items": { 669 "items": {
670 "$ref": "ReportRequest" 670 "$ref": "ReportRequest"
671 }, 671 },
672 "type": "array" 672 "type": "array"
673 } 673 }
674 }, 674 },
675 "type": "object" 675 "type": "object"
676 }, 676 },
677 "OrderBy": { 677 "OrderBy": {
678 "description": "Specifies the sorting options.", 678 "description": "Specifies the sorting options.",
(...skipping 18 matching lines...) Expand all
697 "enum": [ 697 "enum": [
698 "ORDER_TYPE_UNSPECIFIED", 698 "ORDER_TYPE_UNSPECIFIED",
699 "VALUE", 699 "VALUE",
700 "DELTA", 700 "DELTA",
701 "SMART", 701 "SMART",
702 "HISTOGRAM_BUCKET", 702 "HISTOGRAM_BUCKET",
703 "DIMENSION_AS_INTEGER" 703 "DIMENSION_AS_INTEGER"
704 ], 704 ],
705 "enumDescriptions": [ 705 "enumDescriptions": [
706 "Unspecified order type will be treated as sort based on value.", 706 "Unspecified order type will be treated as sort based on value.",
707 "The sort order is based on the value of the chosen colu mn; looks only at\nthe first date range", 707 "The sort order is based on the value of the chosen colu mn; looks only at\nthe first date range.",
708 "The sort order is based on the difference of the values of the chosen\ncolumn between the first two date ranges. Usable only if there are\nexactly two date ranges.", 708 "The sort order is based on the difference of the values of the chosen\ncolumn between the first two date ranges. Usable only if there are\nexactly two date ranges.",
709 "The sort order is based on weighted value of the chosen column. If\ncolumn has n/d format, then weighted value of this ratio will\nbe `(n + totals.n)/(d + totals.d)` Usable only for metrics that\nrepresent ratios." , 709 "The sort order is based on weighted value of the chosen column. If\ncolumn has n/d format, then weighted value of this ratio will\nbe `(n + totals.n)/(d + totals.d)` Usable only for metrics that\nrepresent ratios." ,
710 "Histogram order type is applicable only to dimension co lumns with\nnon-empty histogram-buckets.", 710 "Histogram order type is applicable only to dimension co lumns with\nnon-empty histogram-buckets.",
711 "If the dimensions are fixed length numbers, ordinary so rt would just\nwork fine. `DIMENSION_AS_INTEGER` can be used if the dimensions a re\nvariable length numbers." 711 "If the dimensions are fixed length numbers, ordinary so rt would just\nwork fine. `DIMENSION_AS_INTEGER` can be used if the dimensions a re\nvariable length numbers."
712 ], 712 ],
713 "type": "string" 713 "type": "string"
714 }, 714 },
715 "fieldName": { 715 "fieldName": {
716 "description": "The field which to sort by. The default sort order is ascending. Example:\n`ga:browser`.\nNote, that you can only specify on e field for sort here. For example,\n`ga:browser, ga:city` is not valid.", 716 "description": "The field which to sort by. The default sort order is ascending. Example:\n`ga:browser`.\nNote, that you can only specify on e field for sort here. For example,\n`ga:browser, ga:city` is not valid.",
717 "type": "string" 717 "type": "string"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 "description": "A Simple segment conditions consist of one o r more dimension/metric\nconditions that can be combined" 795 "description": "A Simple segment conditions consist of one o r more dimension/metric\nconditions that can be combined"
796 } 796 }
797 }, 797 },
798 "type": "object" 798 "type": "object"
799 }, 799 },
800 "PivotHeaderEntry": { 800 "PivotHeaderEntry": {
801 "description": "The headers for the each of the metric column corres ponding to the metrics\nrequested in the pivots section of the response.", 801 "description": "The headers for the each of the metric column corres ponding to the metrics\nrequested in the pivots section of the response.",
802 "id": "PivotHeaderEntry", 802 "id": "PivotHeaderEntry",
803 "properties": { 803 "properties": {
804 "dimensionNames": { 804 "dimensionNames": {
805 "description": "The name of the dimensions in the pivotDimen sionValues field in the\nresponse.", 805 "description": "The name of the dimensions in the pivot resp onse.",
806 "items": { 806 "items": {
807 "type": "string" 807 "type": "string"
808 }, 808 },
809 "type": "array" 809 "type": "array"
810 }, 810 },
811 "dimensionValues": { 811 "dimensionValues": {
812 "description": "The values for the dimensions in the pivot." , 812 "description": "The values for the dimensions in the pivot." ,
813 "items": { 813 "items": {
814 "type": "string" 814 "type": "string"
815 }, 815 },
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 "id": "ReportRow", 1000 "id": "ReportRow",
1001 "properties": { 1001 "properties": {
1002 "dimensions": { 1002 "dimensions": {
1003 "description": "List of requested dimensions.", 1003 "description": "List of requested dimensions.",
1004 "items": { 1004 "items": {
1005 "type": "string" 1005 "type": "string"
1006 }, 1006 },
1007 "type": "array" 1007 "type": "array"
1008 }, 1008 },
1009 "metrics": { 1009 "metrics": {
1010 "description": "List of metrics for each requested DateRange ", 1010 "description": "List of metrics for each requested DateRange .",
1011 "items": { 1011 "items": {
1012 "$ref": "DateRangeValues" 1012 "$ref": "DateRangeValues"
1013 }, 1013 },
1014 "type": "array" 1014 "type": "array"
1015 } 1015 }
1016 }, 1016 },
1017 "type": "object" 1017 "type": "object"
1018 }, 1018 },
1019 "CohortGroup": { 1019 "CohortGroup": {
1020 "description": "Defines a cohort group.\nFor example:\n\n \"cohor tGroup\": {\n \"cohorts\": [{\n \"name\": \"cohort 1\",\n \"t ype\": \"FIRST_VISIT_DATE\",\n \"dateRange\": { \"startDate\": \"2015-08- 01\", \"endDate\": \"2015-08-01\" }\n },{\n \"name\": \"cohort 2\"\n \"type\": \"FIRST_VISIT_DATE\"\n \"dateRange\": { \"startDate\" : \"2015-07-01\", \"endDate\": \"2015-07-01\" }\n }]\n }\n", 1020 "description": "Defines a cohort group.\nFor example:\n\n \"cohor tGroup\": {\n \"cohorts\": [{\n \"name\": \"cohort 1\",\n \"t ype\": \"FIRST_VISIT_DATE\",\n \"dateRange\": { \"startDate\": \"2015-08- 01\", \"endDate\": \"2015-08-01\" }\n },{\n \"name\": \"cohort 2\"\n \"type\": \"FIRST_VISIT_DATE\"\n \"dateRange\": { \"startDate\" : \"2015-07-01\", \"endDate\": \"2015-07-01\" }\n }]\n }\n",
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 "type": "array" 1147 "type": "array"
1148 } 1148 }
1149 }, 1149 },
1150 "type": "object" 1150 "type": "object"
1151 } 1151 }
1152 }, 1152 },
1153 "servicePath": "", 1153 "servicePath": "",
1154 "title": "Google Analytics Reporting API", 1154 "title": "Google Analytics Reporting API",
1155 "version": "v4" 1155 "version": "v4"
1156 } 1156 }
OLDNEW
« no previous file with comments | « discovery/googleapis/adsensehost__v4.1.json ('k') | discovery/googleapis/androidenterprise__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698