@google-analytics/data 4.2.0 → 4.4.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.
@@ -1253,6 +1253,11 @@
1253
1253
  "oneof": [
1254
1254
  "activeDaysRemaining"
1255
1255
  ]
1256
+ },
1257
+ "_webhookNotification": {
1258
+ "oneof": [
1259
+ "webhookNotification"
1260
+ ]
1256
1261
  }
1257
1262
  },
1258
1263
  "fields": {
@@ -1300,6 +1305,46 @@
1300
1305
  "options": {
1301
1306
  "(google.api.field_behavior)": "OUTPUT_ONLY"
1302
1307
  }
1308
+ },
1309
+ "webhookNotification": {
1310
+ "type": "WebhookNotification",
1311
+ "id": 8,
1312
+ "options": {
1313
+ "(google.api.field_behavior)": "OPTIONAL",
1314
+ "proto3_optional": true
1315
+ }
1316
+ }
1317
+ }
1318
+ },
1319
+ "WebhookNotification": {
1320
+ "oneofs": {
1321
+ "_uri": {
1322
+ "oneof": [
1323
+ "uri"
1324
+ ]
1325
+ },
1326
+ "_channelToken": {
1327
+ "oneof": [
1328
+ "channelToken"
1329
+ ]
1330
+ }
1331
+ },
1332
+ "fields": {
1333
+ "uri": {
1334
+ "type": "string",
1335
+ "id": 1,
1336
+ "options": {
1337
+ "(google.api.field_behavior)": "OPTIONAL",
1338
+ "proto3_optional": true
1339
+ }
1340
+ },
1341
+ "channelToken": {
1342
+ "type": "string",
1343
+ "id": 2,
1344
+ "options": {
1345
+ "(google.api.field_behavior)": "OPTIONAL",
1346
+ "proto3_optional": true
1347
+ }
1303
1348
  }
1304
1349
  }
1305
1350
  },
@@ -1481,6 +1526,11 @@
1481
1526
  "oneof": [
1482
1527
  "recurringAudienceList"
1483
1528
  ]
1529
+ },
1530
+ "_webhookNotification": {
1531
+ "oneof": [
1532
+ "webhookNotification"
1533
+ ]
1484
1534
  }
1485
1535
  },
1486
1536
  "fields": {
@@ -1567,6 +1617,14 @@
1567
1617
  "(google.api.field_behavior)": "OUTPUT_ONLY",
1568
1618
  "proto3_optional": true
1569
1619
  }
1620
+ },
1621
+ "webhookNotification": {
1622
+ "type": "WebhookNotification",
1623
+ "id": 13,
1624
+ "options": {
1625
+ "(google.api.field_behavior)": "OPTIONAL",
1626
+ "proto3_optional": true
1627
+ }
1570
1628
  }
1571
1629
  },
1572
1630
  "nested": {
@@ -3038,7 +3096,9 @@
3038
3096
  "go_package": "google.golang.org/genproto/googleapis/analytics/data/v1beta;data",
3039
3097
  "java_multiple_files": true,
3040
3098
  "java_outer_classname": "ReportingApiProto",
3041
- "java_package": "com.google.analytics.data.v1beta"
3099
+ "java_package": "com.google.analytics.data.v1beta",
3100
+ "(google.api.resource_definition).type": "analyticsadmin.googleapis.com/Property",
3101
+ "(google.api.resource_definition).pattern": "properties/{property}"
3042
3102
  },
3043
3103
  "nested": {
3044
3104
  "BetaAnalyticsData": {
@@ -3160,6 +3220,90 @@
3160
3220
  }
3161
3221
  }
3162
3222
  ]
3223
+ },
3224
+ "CreateAudienceExport": {
3225
+ "requestType": "CreateAudienceExportRequest",
3226
+ "responseType": "google.longrunning.Operation",
3227
+ "options": {
3228
+ "(google.api.http).post": "/v1beta/{parent=properties/*}/audienceExports",
3229
+ "(google.api.http).body": "audience_export",
3230
+ "(google.api.method_signature)": "parent,audience_export",
3231
+ "(google.longrunning.operation_info).response_type": "AudienceExport",
3232
+ "(google.longrunning.operation_info).metadata_type": "AudienceExportMetadata"
3233
+ },
3234
+ "parsedOptions": [
3235
+ {
3236
+ "(google.api.http)": {
3237
+ "post": "/v1beta/{parent=properties/*}/audienceExports",
3238
+ "body": "audience_export"
3239
+ }
3240
+ },
3241
+ {
3242
+ "(google.api.method_signature)": "parent,audience_export"
3243
+ },
3244
+ {
3245
+ "(google.longrunning.operation_info)": {
3246
+ "response_type": "AudienceExport",
3247
+ "metadata_type": "AudienceExportMetadata"
3248
+ }
3249
+ }
3250
+ ]
3251
+ },
3252
+ "QueryAudienceExport": {
3253
+ "requestType": "QueryAudienceExportRequest",
3254
+ "responseType": "QueryAudienceExportResponse",
3255
+ "options": {
3256
+ "(google.api.http).post": "/v1beta/{name=properties/*/audienceExports/*}:query",
3257
+ "(google.api.http).body": "*",
3258
+ "(google.api.method_signature)": "name"
3259
+ },
3260
+ "parsedOptions": [
3261
+ {
3262
+ "(google.api.http)": {
3263
+ "post": "/v1beta/{name=properties/*/audienceExports/*}:query",
3264
+ "body": "*"
3265
+ }
3266
+ },
3267
+ {
3268
+ "(google.api.method_signature)": "name"
3269
+ }
3270
+ ]
3271
+ },
3272
+ "GetAudienceExport": {
3273
+ "requestType": "GetAudienceExportRequest",
3274
+ "responseType": "AudienceExport",
3275
+ "options": {
3276
+ "(google.api.http).get": "/v1beta/{name=properties/*/audienceExports/*}",
3277
+ "(google.api.method_signature)": "name"
3278
+ },
3279
+ "parsedOptions": [
3280
+ {
3281
+ "(google.api.http)": {
3282
+ "get": "/v1beta/{name=properties/*/audienceExports/*}"
3283
+ }
3284
+ },
3285
+ {
3286
+ "(google.api.method_signature)": "name"
3287
+ }
3288
+ ]
3289
+ },
3290
+ "ListAudienceExports": {
3291
+ "requestType": "ListAudienceExportsRequest",
3292
+ "responseType": "ListAudienceExportsResponse",
3293
+ "options": {
3294
+ "(google.api.http).get": "/v1beta/{parent=properties/*}/audienceExports",
3295
+ "(google.api.method_signature)": "parent"
3296
+ },
3297
+ "parsedOptions": [
3298
+ {
3299
+ "(google.api.http)": {
3300
+ "get": "/v1beta/{parent=properties/*}/audienceExports"
3301
+ }
3302
+ },
3303
+ {
3304
+ "(google.api.method_signature)": "parent"
3305
+ }
3306
+ ]
3163
3307
  }
3164
3308
  }
3165
3309
  },
@@ -3596,6 +3740,307 @@
3596
3740
  }
3597
3741
  }
3598
3742
  },
3743
+ "GetAudienceExportRequest": {
3744
+ "fields": {
3745
+ "name": {
3746
+ "type": "string",
3747
+ "id": 1,
3748
+ "options": {
3749
+ "(google.api.field_behavior)": "REQUIRED",
3750
+ "(google.api.resource_reference).type": "analyticsdata.googleapis.com/AudienceExport"
3751
+ }
3752
+ }
3753
+ }
3754
+ },
3755
+ "ListAudienceExportsRequest": {
3756
+ "fields": {
3757
+ "parent": {
3758
+ "type": "string",
3759
+ "id": 1,
3760
+ "options": {
3761
+ "(google.api.field_behavior)": "REQUIRED",
3762
+ "(google.api.resource_reference).child_type": "analyticsdata.googleapis.com/AudienceExport"
3763
+ }
3764
+ },
3765
+ "pageSize": {
3766
+ "type": "int32",
3767
+ "id": 2,
3768
+ "options": {
3769
+ "(google.api.field_behavior)": "OPTIONAL"
3770
+ }
3771
+ },
3772
+ "pageToken": {
3773
+ "type": "string",
3774
+ "id": 3,
3775
+ "options": {
3776
+ "(google.api.field_behavior)": "OPTIONAL"
3777
+ }
3778
+ }
3779
+ }
3780
+ },
3781
+ "ListAudienceExportsResponse": {
3782
+ "oneofs": {
3783
+ "_nextPageToken": {
3784
+ "oneof": [
3785
+ "nextPageToken"
3786
+ ]
3787
+ }
3788
+ },
3789
+ "fields": {
3790
+ "audienceExports": {
3791
+ "rule": "repeated",
3792
+ "type": "AudienceExport",
3793
+ "id": 1
3794
+ },
3795
+ "nextPageToken": {
3796
+ "type": "string",
3797
+ "id": 2,
3798
+ "options": {
3799
+ "proto3_optional": true
3800
+ }
3801
+ }
3802
+ }
3803
+ },
3804
+ "CreateAudienceExportRequest": {
3805
+ "fields": {
3806
+ "parent": {
3807
+ "type": "string",
3808
+ "id": 1,
3809
+ "options": {
3810
+ "(google.api.field_behavior)": "REQUIRED",
3811
+ "(google.api.resource_reference).child_type": "analyticsdata.googleapis.com/AudienceExport"
3812
+ }
3813
+ },
3814
+ "audienceExport": {
3815
+ "type": "AudienceExport",
3816
+ "id": 2,
3817
+ "options": {
3818
+ "(google.api.field_behavior)": "REQUIRED"
3819
+ }
3820
+ }
3821
+ }
3822
+ },
3823
+ "AudienceExport": {
3824
+ "options": {
3825
+ "(google.api.resource).type": "analyticsdata.googleapis.com/AudienceExport",
3826
+ "(google.api.resource).pattern": "properties/{property}/audienceExports/{audience_export}",
3827
+ "(google.api.resource).plural": "audienceExports",
3828
+ "(google.api.resource).singular": "audienceExport"
3829
+ },
3830
+ "oneofs": {
3831
+ "_state": {
3832
+ "oneof": [
3833
+ "state"
3834
+ ]
3835
+ },
3836
+ "_beginCreatingTime": {
3837
+ "oneof": [
3838
+ "beginCreatingTime"
3839
+ ]
3840
+ },
3841
+ "_rowCount": {
3842
+ "oneof": [
3843
+ "rowCount"
3844
+ ]
3845
+ },
3846
+ "_errorMessage": {
3847
+ "oneof": [
3848
+ "errorMessage"
3849
+ ]
3850
+ },
3851
+ "_percentageCompleted": {
3852
+ "oneof": [
3853
+ "percentageCompleted"
3854
+ ]
3855
+ }
3856
+ },
3857
+ "fields": {
3858
+ "name": {
3859
+ "type": "string",
3860
+ "id": 1,
3861
+ "options": {
3862
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3863
+ }
3864
+ },
3865
+ "audience": {
3866
+ "type": "string",
3867
+ "id": 2,
3868
+ "options": {
3869
+ "(google.api.field_behavior)": "REQUIRED"
3870
+ }
3871
+ },
3872
+ "audienceDisplayName": {
3873
+ "type": "string",
3874
+ "id": 3,
3875
+ "options": {
3876
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3877
+ }
3878
+ },
3879
+ "dimensions": {
3880
+ "rule": "repeated",
3881
+ "type": "AudienceDimension",
3882
+ "id": 4,
3883
+ "options": {
3884
+ "(google.api.field_behavior)": "REQUIRED"
3885
+ }
3886
+ },
3887
+ "state": {
3888
+ "type": "State",
3889
+ "id": 5,
3890
+ "options": {
3891
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
3892
+ "proto3_optional": true
3893
+ }
3894
+ },
3895
+ "beginCreatingTime": {
3896
+ "type": "google.protobuf.Timestamp",
3897
+ "id": 6,
3898
+ "options": {
3899
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
3900
+ "proto3_optional": true
3901
+ }
3902
+ },
3903
+ "creationQuotaTokensCharged": {
3904
+ "type": "int32",
3905
+ "id": 7,
3906
+ "options": {
3907
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3908
+ }
3909
+ },
3910
+ "rowCount": {
3911
+ "type": "int32",
3912
+ "id": 8,
3913
+ "options": {
3914
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
3915
+ "proto3_optional": true
3916
+ }
3917
+ },
3918
+ "errorMessage": {
3919
+ "type": "string",
3920
+ "id": 9,
3921
+ "options": {
3922
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
3923
+ "proto3_optional": true
3924
+ }
3925
+ },
3926
+ "percentageCompleted": {
3927
+ "type": "double",
3928
+ "id": 10,
3929
+ "options": {
3930
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
3931
+ "proto3_optional": true
3932
+ }
3933
+ }
3934
+ },
3935
+ "nested": {
3936
+ "State": {
3937
+ "values": {
3938
+ "STATE_UNSPECIFIED": 0,
3939
+ "CREATING": 1,
3940
+ "ACTIVE": 2,
3941
+ "FAILED": 3
3942
+ }
3943
+ }
3944
+ }
3945
+ },
3946
+ "AudienceExportMetadata": {
3947
+ "fields": {}
3948
+ },
3949
+ "QueryAudienceExportRequest": {
3950
+ "fields": {
3951
+ "name": {
3952
+ "type": "string",
3953
+ "id": 1,
3954
+ "options": {
3955
+ "(google.api.field_behavior)": "REQUIRED"
3956
+ }
3957
+ },
3958
+ "offset": {
3959
+ "type": "int64",
3960
+ "id": 2,
3961
+ "options": {
3962
+ "(google.api.field_behavior)": "OPTIONAL"
3963
+ }
3964
+ },
3965
+ "limit": {
3966
+ "type": "int64",
3967
+ "id": 3,
3968
+ "options": {
3969
+ "(google.api.field_behavior)": "OPTIONAL"
3970
+ }
3971
+ }
3972
+ }
3973
+ },
3974
+ "QueryAudienceExportResponse": {
3975
+ "oneofs": {
3976
+ "_audienceExport": {
3977
+ "oneof": [
3978
+ "audienceExport"
3979
+ ]
3980
+ },
3981
+ "_rowCount": {
3982
+ "oneof": [
3983
+ "rowCount"
3984
+ ]
3985
+ }
3986
+ },
3987
+ "fields": {
3988
+ "audienceExport": {
3989
+ "type": "AudienceExport",
3990
+ "id": 1,
3991
+ "options": {
3992
+ "proto3_optional": true
3993
+ }
3994
+ },
3995
+ "audienceRows": {
3996
+ "rule": "repeated",
3997
+ "type": "AudienceRow",
3998
+ "id": 2
3999
+ },
4000
+ "rowCount": {
4001
+ "type": "int32",
4002
+ "id": 3,
4003
+ "options": {
4004
+ "proto3_optional": true
4005
+ }
4006
+ }
4007
+ }
4008
+ },
4009
+ "AudienceRow": {
4010
+ "fields": {
4011
+ "dimensionValues": {
4012
+ "rule": "repeated",
4013
+ "type": "AudienceDimensionValue",
4014
+ "id": 1
4015
+ }
4016
+ }
4017
+ },
4018
+ "AudienceDimension": {
4019
+ "fields": {
4020
+ "dimensionName": {
4021
+ "type": "string",
4022
+ "id": 1,
4023
+ "options": {
4024
+ "(google.api.field_behavior)": "OPTIONAL"
4025
+ }
4026
+ }
4027
+ }
4028
+ },
4029
+ "AudienceDimensionValue": {
4030
+ "oneofs": {
4031
+ "oneValue": {
4032
+ "oneof": [
4033
+ "value"
4034
+ ]
4035
+ }
4036
+ },
4037
+ "fields": {
4038
+ "value": {
4039
+ "type": "string",
4040
+ "id": 1
4041
+ }
4042
+ }
4043
+ },
3599
4044
  "DateRange": {
3600
4045
  "fields": {
3601
4046
  "startDate": {
@@ -4124,6 +4569,11 @@
4124
4569
  "options": {
4125
4570
  "proto3_optional": true
4126
4571
  }
4572
+ },
4573
+ "samplingMetadatas": {
4574
+ "rule": "repeated",
4575
+ "type": "SamplingMetadata",
4576
+ "id": 9
4127
4577
  }
4128
4578
  },
4129
4579
  "nested": {
@@ -4163,6 +4613,18 @@
4163
4613
  }
4164
4614
  }
4165
4615
  },
4616
+ "SamplingMetadata": {
4617
+ "fields": {
4618
+ "samplesReadCount": {
4619
+ "type": "int64",
4620
+ "id": 1
4621
+ },
4622
+ "samplingSpaceSize": {
4623
+ "type": "int64",
4624
+ "id": 2
4625
+ }
4626
+ }
4627
+ },
4166
4628
  "DimensionHeader": {
4167
4629
  "fields": {
4168
4630
  "name": {
@@ -4298,14 +4760,32 @@
4298
4760
  }
4299
4761
  },
4300
4762
  "QuotaStatus": {
4763
+ "oneofs": {
4764
+ "_consumed": {
4765
+ "oneof": [
4766
+ "consumed"
4767
+ ]
4768
+ },
4769
+ "_remaining": {
4770
+ "oneof": [
4771
+ "remaining"
4772
+ ]
4773
+ }
4774
+ },
4301
4775
  "fields": {
4302
4776
  "consumed": {
4303
4777
  "type": "int32",
4304
- "id": 1
4778
+ "id": 1,
4779
+ "options": {
4780
+ "proto3_optional": true
4781
+ }
4305
4782
  },
4306
4783
  "remaining": {
4307
4784
  "type": "int32",
4308
- "id": 2
4785
+ "id": 2,
4786
+ "options": {
4787
+ "proto3_optional": true
4788
+ }
4309
4789
  }
4310
4790
  }
4311
4791
  },
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.