@google-analytics/data 5.2.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1371,7 +1371,7 @@
1371
1371
  "AlphaAnalyticsData": {
1372
1372
  "options": {
1373
1373
  "(google.api.default_host)": "analyticsdata.googleapis.com",
1374
- "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/analytics,https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/drive.file,https://www.googleapis.com/auth/spreadsheets"
1374
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/analytics,https://www.googleapis.com/auth/analytics.readonly"
1375
1375
  },
1376
1376
  "methods": {
1377
1377
  "RunFunnelReport": {
@@ -1438,26 +1438,6 @@
1438
1438
  }
1439
1439
  ]
1440
1440
  },
1441
- "SheetExportAudienceList": {
1442
- "requestType": "SheetExportAudienceListRequest",
1443
- "responseType": "SheetExportAudienceListResponse",
1444
- "options": {
1445
- "(google.api.http).post": "/v1alpha/{name=properties/*/audienceLists/*}:exportSheet",
1446
- "(google.api.http).body": "*",
1447
- "(google.api.method_signature)": "name"
1448
- },
1449
- "parsedOptions": [
1450
- {
1451
- "(google.api.http)": {
1452
- "post": "/v1alpha/{name=properties/*/audienceLists/*}:exportSheet",
1453
- "body": "*"
1454
- }
1455
- },
1456
- {
1457
- "(google.api.method_signature)": "name"
1458
- }
1459
- ]
1460
- },
1461
1441
  "GetAudienceList": {
1462
1442
  "requestType": "GetAudienceListRequest",
1463
1443
  "responseType": "AudienceList",
@@ -1651,6 +1631,40 @@
1651
1631
  "(google.api.method_signature)": "parent"
1652
1632
  }
1653
1633
  ]
1634
+ },
1635
+ "RunReport": {
1636
+ "requestType": "RunReportRequest",
1637
+ "responseType": "RunReportResponse",
1638
+ "options": {
1639
+ "(google.api.http).post": "/v1alpha/{property=properties/*}:runReport",
1640
+ "(google.api.http).body": "*"
1641
+ },
1642
+ "parsedOptions": [
1643
+ {
1644
+ "(google.api.http)": {
1645
+ "post": "/v1alpha/{property=properties/*}:runReport",
1646
+ "body": "*"
1647
+ }
1648
+ }
1649
+ ]
1650
+ },
1651
+ "GetMetadata": {
1652
+ "requestType": "GetMetadataRequest",
1653
+ "responseType": "Metadata",
1654
+ "options": {
1655
+ "(google.api.http).get": "/v1alpha/{name=properties/*/metadata}",
1656
+ "(google.api.method_signature)": "name"
1657
+ },
1658
+ "parsedOptions": [
1659
+ {
1660
+ "(google.api.http)": {
1661
+ "get": "/v1alpha/{name=properties/*/metadata}"
1662
+ }
1663
+ },
1664
+ {
1665
+ "(google.api.method_signature)": "name"
1666
+ }
1667
+ ]
1654
1668
  }
1655
1669
  }
1656
1670
  },
@@ -2174,86 +2188,6 @@
2174
2188
  }
2175
2189
  }
2176
2190
  },
2177
- "SheetExportAudienceListRequest": {
2178
- "fields": {
2179
- "name": {
2180
- "type": "string",
2181
- "id": 1,
2182
- "options": {
2183
- "(google.api.field_behavior)": "REQUIRED",
2184
- "(google.api.resource_reference).type": "analyticsdata.googleapis.com/AudienceList"
2185
- }
2186
- },
2187
- "offset": {
2188
- "type": "int64",
2189
- "id": 2,
2190
- "options": {
2191
- "(google.api.field_behavior)": "OPTIONAL"
2192
- }
2193
- },
2194
- "limit": {
2195
- "type": "int64",
2196
- "id": 3,
2197
- "options": {
2198
- "(google.api.field_behavior)": "OPTIONAL"
2199
- }
2200
- }
2201
- }
2202
- },
2203
- "SheetExportAudienceListResponse": {
2204
- "oneofs": {
2205
- "_spreadsheetUri": {
2206
- "oneof": [
2207
- "spreadsheetUri"
2208
- ]
2209
- },
2210
- "_spreadsheetId": {
2211
- "oneof": [
2212
- "spreadsheetId"
2213
- ]
2214
- },
2215
- "_rowCount": {
2216
- "oneof": [
2217
- "rowCount"
2218
- ]
2219
- },
2220
- "_audienceList": {
2221
- "oneof": [
2222
- "audienceList"
2223
- ]
2224
- }
2225
- },
2226
- "fields": {
2227
- "spreadsheetUri": {
2228
- "type": "string",
2229
- "id": 1,
2230
- "options": {
2231
- "proto3_optional": true
2232
- }
2233
- },
2234
- "spreadsheetId": {
2235
- "type": "string",
2236
- "id": 2,
2237
- "options": {
2238
- "proto3_optional": true
2239
- }
2240
- },
2241
- "rowCount": {
2242
- "type": "int32",
2243
- "id": 3,
2244
- "options": {
2245
- "proto3_optional": true
2246
- }
2247
- },
2248
- "audienceList": {
2249
- "type": "AudienceList",
2250
- "id": 4,
2251
- "options": {
2252
- "proto3_optional": true
2253
- }
2254
- }
2255
- }
2256
- },
2257
2191
  "AudienceRow": {
2258
2192
  "fields": {
2259
2193
  "dimensionValues": {
@@ -2773,6 +2707,236 @@
2773
2707
  }
2774
2708
  }
2775
2709
  },
2710
+ "RunReportRequest": {
2711
+ "fields": {
2712
+ "property": {
2713
+ "type": "string",
2714
+ "id": 1,
2715
+ "options": {
2716
+ "(google.api.field_behavior)": "REQUIRED"
2717
+ }
2718
+ },
2719
+ "dimensions": {
2720
+ "rule": "repeated",
2721
+ "type": "Dimension",
2722
+ "id": 2,
2723
+ "options": {
2724
+ "(google.api.field_behavior)": "OPTIONAL"
2725
+ }
2726
+ },
2727
+ "metrics": {
2728
+ "rule": "repeated",
2729
+ "type": "Metric",
2730
+ "id": 3,
2731
+ "options": {
2732
+ "(google.api.field_behavior)": "OPTIONAL"
2733
+ }
2734
+ },
2735
+ "dateRanges": {
2736
+ "rule": "repeated",
2737
+ "type": "DateRange",
2738
+ "id": 4,
2739
+ "options": {
2740
+ "(google.api.field_behavior)": "OPTIONAL"
2741
+ }
2742
+ },
2743
+ "dimensionFilter": {
2744
+ "type": "FilterExpression",
2745
+ "id": 5,
2746
+ "options": {
2747
+ "(google.api.field_behavior)": "OPTIONAL"
2748
+ }
2749
+ },
2750
+ "metricFilter": {
2751
+ "type": "FilterExpression",
2752
+ "id": 6,
2753
+ "options": {
2754
+ "(google.api.field_behavior)": "OPTIONAL"
2755
+ }
2756
+ },
2757
+ "offset": {
2758
+ "type": "int64",
2759
+ "id": 7,
2760
+ "options": {
2761
+ "(google.api.field_behavior)": "OPTIONAL"
2762
+ }
2763
+ },
2764
+ "limit": {
2765
+ "type": "int64",
2766
+ "id": 8,
2767
+ "options": {
2768
+ "(google.api.field_behavior)": "OPTIONAL"
2769
+ }
2770
+ },
2771
+ "metricAggregations": {
2772
+ "rule": "repeated",
2773
+ "type": "MetricAggregation",
2774
+ "id": 9,
2775
+ "options": {
2776
+ "(google.api.field_behavior)": "OPTIONAL"
2777
+ }
2778
+ },
2779
+ "orderBys": {
2780
+ "rule": "repeated",
2781
+ "type": "OrderBy",
2782
+ "id": 10,
2783
+ "options": {
2784
+ "(google.api.field_behavior)": "OPTIONAL"
2785
+ }
2786
+ },
2787
+ "currencyCode": {
2788
+ "type": "string",
2789
+ "id": 11,
2790
+ "options": {
2791
+ "(google.api.field_behavior)": "OPTIONAL"
2792
+ }
2793
+ },
2794
+ "cohortSpec": {
2795
+ "type": "CohortSpec",
2796
+ "id": 12,
2797
+ "options": {
2798
+ "(google.api.field_behavior)": "OPTIONAL"
2799
+ }
2800
+ },
2801
+ "keepEmptyRows": {
2802
+ "type": "bool",
2803
+ "id": 13,
2804
+ "options": {
2805
+ "(google.api.field_behavior)": "OPTIONAL"
2806
+ }
2807
+ },
2808
+ "returnPropertyQuota": {
2809
+ "type": "bool",
2810
+ "id": 14,
2811
+ "options": {
2812
+ "(google.api.field_behavior)": "OPTIONAL"
2813
+ }
2814
+ },
2815
+ "comparisons": {
2816
+ "rule": "repeated",
2817
+ "type": "Comparison",
2818
+ "id": 15,
2819
+ "options": {
2820
+ "(google.api.field_behavior)": "OPTIONAL"
2821
+ }
2822
+ },
2823
+ "conversionSpec": {
2824
+ "type": "ConversionSpec",
2825
+ "id": 16,
2826
+ "options": {
2827
+ "(google.api.field_behavior)": "OPTIONAL"
2828
+ }
2829
+ }
2830
+ }
2831
+ },
2832
+ "RunReportResponse": {
2833
+ "oneofs": {
2834
+ "_nextPageToken": {
2835
+ "oneof": [
2836
+ "nextPageToken"
2837
+ ]
2838
+ }
2839
+ },
2840
+ "fields": {
2841
+ "dimensionHeaders": {
2842
+ "rule": "repeated",
2843
+ "type": "DimensionHeader",
2844
+ "id": 1
2845
+ },
2846
+ "metricHeaders": {
2847
+ "rule": "repeated",
2848
+ "type": "MetricHeader",
2849
+ "id": 2
2850
+ },
2851
+ "rows": {
2852
+ "rule": "repeated",
2853
+ "type": "Row",
2854
+ "id": 3
2855
+ },
2856
+ "totals": {
2857
+ "rule": "repeated",
2858
+ "type": "Row",
2859
+ "id": 4
2860
+ },
2861
+ "maximums": {
2862
+ "rule": "repeated",
2863
+ "type": "Row",
2864
+ "id": 5
2865
+ },
2866
+ "minimums": {
2867
+ "rule": "repeated",
2868
+ "type": "Row",
2869
+ "id": 6
2870
+ },
2871
+ "rowCount": {
2872
+ "type": "int32",
2873
+ "id": 7
2874
+ },
2875
+ "metadata": {
2876
+ "type": "ResponseMetaData",
2877
+ "id": 8
2878
+ },
2879
+ "propertyQuota": {
2880
+ "type": "PropertyQuota",
2881
+ "id": 9
2882
+ },
2883
+ "kind": {
2884
+ "type": "string",
2885
+ "id": 10
2886
+ },
2887
+ "nextPageToken": {
2888
+ "type": "string",
2889
+ "id": 11,
2890
+ "options": {
2891
+ "proto3_optional": true
2892
+ }
2893
+ }
2894
+ }
2895
+ },
2896
+ "GetMetadataRequest": {
2897
+ "fields": {
2898
+ "name": {
2899
+ "type": "string",
2900
+ "id": 1,
2901
+ "options": {
2902
+ "(google.api.field_behavior)": "REQUIRED",
2903
+ "(google.api.resource_reference).type": "analyticsdata.googleapis.com/Metadata"
2904
+ }
2905
+ }
2906
+ }
2907
+ },
2908
+ "Metadata": {
2909
+ "options": {
2910
+ "(google.api.resource).type": "analyticsdata.googleapis.com/Metadata",
2911
+ "(google.api.resource).pattern": "properties/{property}/metadata"
2912
+ },
2913
+ "fields": {
2914
+ "name": {
2915
+ "type": "string",
2916
+ "id": 3
2917
+ },
2918
+ "dimensions": {
2919
+ "rule": "repeated",
2920
+ "type": "DimensionMetadata",
2921
+ "id": 1
2922
+ },
2923
+ "metrics": {
2924
+ "rule": "repeated",
2925
+ "type": "MetricMetadata",
2926
+ "id": 2
2927
+ },
2928
+ "comparisons": {
2929
+ "rule": "repeated",
2930
+ "type": "ComparisonMetadata",
2931
+ "id": 4
2932
+ },
2933
+ "conversions": {
2934
+ "rule": "repeated",
2935
+ "type": "ConversionMetadata",
2936
+ "id": 5
2937
+ }
2938
+ }
2939
+ },
2776
2940
  "DateRange": {
2777
2941
  "fields": {
2778
2942
  "startDate": {
@@ -2865,6 +3029,38 @@
2865
3029
  }
2866
3030
  }
2867
3031
  },
3032
+ "Comparison": {
3033
+ "oneofs": {
3034
+ "_name": {
3035
+ "oneof": [
3036
+ "name"
3037
+ ]
3038
+ },
3039
+ "oneComparison": {
3040
+ "oneof": [
3041
+ "dimensionFilter",
3042
+ "comparison"
3043
+ ]
3044
+ }
3045
+ },
3046
+ "fields": {
3047
+ "name": {
3048
+ "type": "string",
3049
+ "id": 1,
3050
+ "options": {
3051
+ "proto3_optional": true
3052
+ }
3053
+ },
3054
+ "dimensionFilter": {
3055
+ "type": "FilterExpression",
3056
+ "id": 2
3057
+ },
3058
+ "comparison": {
3059
+ "type": "string",
3060
+ "id": 3
3061
+ }
3062
+ }
3063
+ },
2868
3064
  "FilterExpression": {
2869
3065
  "oneofs": {
2870
3066
  "expr": {
@@ -3167,6 +3363,13 @@
3167
3363
  }
3168
3364
  }
3169
3365
  },
3366
+ "Section": {
3367
+ "values": {
3368
+ "SECTION_UNSPECIFIED": 0,
3369
+ "SECTION_REPORT": 1,
3370
+ "SECTION_ADVERTISING": 2
3371
+ }
3372
+ },
3170
3373
  "ResponseMetaData": {
3171
3374
  "oneofs": {
3172
3375
  "_schemaRestrictionResponse": {
@@ -3239,6 +3442,10 @@
3239
3442
  "rule": "repeated",
3240
3443
  "type": "SamplingMetadata",
3241
3444
  "id": 9
3445
+ },
3446
+ "section": {
3447
+ "type": "Section",
3448
+ "id": 10
3242
3449
  }
3243
3450
  },
3244
3451
  "nested": {
@@ -4222,6 +4429,146 @@
4222
4429
  "MEDIUM": 2,
4223
4430
  "UNSAMPLED": 3
4224
4431
  }
4432
+ },
4433
+ "ConversionSpec": {
4434
+ "fields": {
4435
+ "conversionActions": {
4436
+ "rule": "repeated",
4437
+ "type": "string",
4438
+ "id": 1
4439
+ },
4440
+ "attributionModel": {
4441
+ "type": "AttributionModel",
4442
+ "id": 2
4443
+ }
4444
+ },
4445
+ "nested": {
4446
+ "AttributionModel": {
4447
+ "values": {
4448
+ "ATTRIBUTION_MODEL_UNSPECIFIED": 0,
4449
+ "DATA_DRIVEN": 1,
4450
+ "LAST_CLICK": 2
4451
+ }
4452
+ }
4453
+ }
4454
+ },
4455
+ "DimensionMetadata": {
4456
+ "fields": {
4457
+ "apiName": {
4458
+ "type": "string",
4459
+ "id": 1
4460
+ },
4461
+ "uiName": {
4462
+ "type": "string",
4463
+ "id": 2
4464
+ },
4465
+ "description": {
4466
+ "type": "string",
4467
+ "id": 3
4468
+ },
4469
+ "deprecatedApiNames": {
4470
+ "rule": "repeated",
4471
+ "type": "string",
4472
+ "id": 4
4473
+ },
4474
+ "customDefinition": {
4475
+ "type": "bool",
4476
+ "id": 5
4477
+ },
4478
+ "category": {
4479
+ "type": "string",
4480
+ "id": 6
4481
+ },
4482
+ "sections": {
4483
+ "rule": "repeated",
4484
+ "type": "Section",
4485
+ "id": 7
4486
+ }
4487
+ }
4488
+ },
4489
+ "MetricMetadata": {
4490
+ "fields": {
4491
+ "apiName": {
4492
+ "type": "string",
4493
+ "id": 1
4494
+ },
4495
+ "uiName": {
4496
+ "type": "string",
4497
+ "id": 2
4498
+ },
4499
+ "description": {
4500
+ "type": "string",
4501
+ "id": 3
4502
+ },
4503
+ "deprecatedApiNames": {
4504
+ "rule": "repeated",
4505
+ "type": "string",
4506
+ "id": 4
4507
+ },
4508
+ "type": {
4509
+ "type": "MetricType",
4510
+ "id": 5
4511
+ },
4512
+ "expression": {
4513
+ "type": "string",
4514
+ "id": 6
4515
+ },
4516
+ "customDefinition": {
4517
+ "type": "bool",
4518
+ "id": 7
4519
+ },
4520
+ "blockedReasons": {
4521
+ "rule": "repeated",
4522
+ "type": "BlockedReason",
4523
+ "id": 8
4524
+ },
4525
+ "category": {
4526
+ "type": "string",
4527
+ "id": 9
4528
+ },
4529
+ "sections": {
4530
+ "rule": "repeated",
4531
+ "type": "Section",
4532
+ "id": 10
4533
+ }
4534
+ },
4535
+ "nested": {
4536
+ "BlockedReason": {
4537
+ "values": {
4538
+ "BLOCKED_REASON_UNSPECIFIED": 0,
4539
+ "NO_REVENUE_METRICS": 1,
4540
+ "NO_COST_METRICS": 2
4541
+ }
4542
+ }
4543
+ }
4544
+ },
4545
+ "ComparisonMetadata": {
4546
+ "fields": {
4547
+ "apiName": {
4548
+ "type": "string",
4549
+ "id": 1
4550
+ },
4551
+ "uiName": {
4552
+ "type": "string",
4553
+ "id": 2
4554
+ },
4555
+ "description": {
4556
+ "type": "string",
4557
+ "id": 3
4558
+ }
4559
+ }
4560
+ },
4561
+ "ConversionMetadata": {
4562
+ "fields": {
4563
+ "conversionAction": {
4564
+ "type": "string",
4565
+ "id": 1
4566
+ },
4567
+ "displayName": {
4568
+ "type": "string",
4569
+ "id": 2
4570
+ }
4571
+ }
4225
4572
  }
4226
4573
  }
4227
4574
  },