@google-analytics/data 4.2.0 → 4.3.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.
- package/CHANGELOG.md +7 -0
- package/README.md +4 -0
- package/build/protos/google/analytics/data/v1beta/analytics_data_api.proto +341 -1
- package/build/protos/google/analytics/data/v1beta/data.proto +54 -7
- package/build/protos/protos.d.ts +1511 -111
- package/build/protos/protos.js +3630 -239
- package/build/protos/protos.json +425 -3
- package/build/src/v1beta/beta_analytics_data_client.d.ts +440 -1
- package/build/src/v1beta/beta_analytics_data_client.js +410 -1
- package/build/src/v1beta/beta_analytics_data_client_config.json +32 -0
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -3038,7 +3038,9 @@
|
|
|
3038
3038
|
"go_package": "google.golang.org/genproto/googleapis/analytics/data/v1beta;data",
|
|
3039
3039
|
"java_multiple_files": true,
|
|
3040
3040
|
"java_outer_classname": "ReportingApiProto",
|
|
3041
|
-
"java_package": "com.google.analytics.data.v1beta"
|
|
3041
|
+
"java_package": "com.google.analytics.data.v1beta",
|
|
3042
|
+
"(google.api.resource_definition).type": "analyticsadmin.googleapis.com/Property",
|
|
3043
|
+
"(google.api.resource_definition).pattern": "properties/{property}"
|
|
3042
3044
|
},
|
|
3043
3045
|
"nested": {
|
|
3044
3046
|
"BetaAnalyticsData": {
|
|
@@ -3160,6 +3162,90 @@
|
|
|
3160
3162
|
}
|
|
3161
3163
|
}
|
|
3162
3164
|
]
|
|
3165
|
+
},
|
|
3166
|
+
"CreateAudienceExport": {
|
|
3167
|
+
"requestType": "CreateAudienceExportRequest",
|
|
3168
|
+
"responseType": "google.longrunning.Operation",
|
|
3169
|
+
"options": {
|
|
3170
|
+
"(google.api.http).post": "/v1beta/{parent=properties/*}/audienceExports",
|
|
3171
|
+
"(google.api.http).body": "audience_export",
|
|
3172
|
+
"(google.api.method_signature)": "parent,audience_export",
|
|
3173
|
+
"(google.longrunning.operation_info).response_type": "AudienceExport",
|
|
3174
|
+
"(google.longrunning.operation_info).metadata_type": "AudienceExportMetadata"
|
|
3175
|
+
},
|
|
3176
|
+
"parsedOptions": [
|
|
3177
|
+
{
|
|
3178
|
+
"(google.api.http)": {
|
|
3179
|
+
"post": "/v1beta/{parent=properties/*}/audienceExports",
|
|
3180
|
+
"body": "audience_export"
|
|
3181
|
+
}
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
"(google.api.method_signature)": "parent,audience_export"
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
"(google.longrunning.operation_info)": {
|
|
3188
|
+
"response_type": "AudienceExport",
|
|
3189
|
+
"metadata_type": "AudienceExportMetadata"
|
|
3190
|
+
}
|
|
3191
|
+
}
|
|
3192
|
+
]
|
|
3193
|
+
},
|
|
3194
|
+
"QueryAudienceExport": {
|
|
3195
|
+
"requestType": "QueryAudienceExportRequest",
|
|
3196
|
+
"responseType": "QueryAudienceExportResponse",
|
|
3197
|
+
"options": {
|
|
3198
|
+
"(google.api.http).post": "/v1beta/{name=properties/*/audienceExports/*}:query",
|
|
3199
|
+
"(google.api.http).body": "*",
|
|
3200
|
+
"(google.api.method_signature)": "name"
|
|
3201
|
+
},
|
|
3202
|
+
"parsedOptions": [
|
|
3203
|
+
{
|
|
3204
|
+
"(google.api.http)": {
|
|
3205
|
+
"post": "/v1beta/{name=properties/*/audienceExports/*}:query",
|
|
3206
|
+
"body": "*"
|
|
3207
|
+
}
|
|
3208
|
+
},
|
|
3209
|
+
{
|
|
3210
|
+
"(google.api.method_signature)": "name"
|
|
3211
|
+
}
|
|
3212
|
+
]
|
|
3213
|
+
},
|
|
3214
|
+
"GetAudienceExport": {
|
|
3215
|
+
"requestType": "GetAudienceExportRequest",
|
|
3216
|
+
"responseType": "AudienceExport",
|
|
3217
|
+
"options": {
|
|
3218
|
+
"(google.api.http).get": "/v1beta/{name=properties/*/audienceExports/*}",
|
|
3219
|
+
"(google.api.method_signature)": "name"
|
|
3220
|
+
},
|
|
3221
|
+
"parsedOptions": [
|
|
3222
|
+
{
|
|
3223
|
+
"(google.api.http)": {
|
|
3224
|
+
"get": "/v1beta/{name=properties/*/audienceExports/*}"
|
|
3225
|
+
}
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
"(google.api.method_signature)": "name"
|
|
3229
|
+
}
|
|
3230
|
+
]
|
|
3231
|
+
},
|
|
3232
|
+
"ListAudienceExports": {
|
|
3233
|
+
"requestType": "ListAudienceExportsRequest",
|
|
3234
|
+
"responseType": "ListAudienceExportsResponse",
|
|
3235
|
+
"options": {
|
|
3236
|
+
"(google.api.http).get": "/v1beta/{parent=properties/*}/audienceExports",
|
|
3237
|
+
"(google.api.method_signature)": "parent"
|
|
3238
|
+
},
|
|
3239
|
+
"parsedOptions": [
|
|
3240
|
+
{
|
|
3241
|
+
"(google.api.http)": {
|
|
3242
|
+
"get": "/v1beta/{parent=properties/*}/audienceExports"
|
|
3243
|
+
}
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
"(google.api.method_signature)": "parent"
|
|
3247
|
+
}
|
|
3248
|
+
]
|
|
3163
3249
|
}
|
|
3164
3250
|
}
|
|
3165
3251
|
},
|
|
@@ -3596,6 +3682,307 @@
|
|
|
3596
3682
|
}
|
|
3597
3683
|
}
|
|
3598
3684
|
},
|
|
3685
|
+
"GetAudienceExportRequest": {
|
|
3686
|
+
"fields": {
|
|
3687
|
+
"name": {
|
|
3688
|
+
"type": "string",
|
|
3689
|
+
"id": 1,
|
|
3690
|
+
"options": {
|
|
3691
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
3692
|
+
"(google.api.resource_reference).type": "analyticsdata.googleapis.com/AudienceExport"
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
},
|
|
3697
|
+
"ListAudienceExportsRequest": {
|
|
3698
|
+
"fields": {
|
|
3699
|
+
"parent": {
|
|
3700
|
+
"type": "string",
|
|
3701
|
+
"id": 1,
|
|
3702
|
+
"options": {
|
|
3703
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
3704
|
+
"(google.api.resource_reference).child_type": "analyticsdata.googleapis.com/AudienceExport"
|
|
3705
|
+
}
|
|
3706
|
+
},
|
|
3707
|
+
"pageSize": {
|
|
3708
|
+
"type": "int32",
|
|
3709
|
+
"id": 2,
|
|
3710
|
+
"options": {
|
|
3711
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
3712
|
+
}
|
|
3713
|
+
},
|
|
3714
|
+
"pageToken": {
|
|
3715
|
+
"type": "string",
|
|
3716
|
+
"id": 3,
|
|
3717
|
+
"options": {
|
|
3718
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
3719
|
+
}
|
|
3720
|
+
}
|
|
3721
|
+
}
|
|
3722
|
+
},
|
|
3723
|
+
"ListAudienceExportsResponse": {
|
|
3724
|
+
"oneofs": {
|
|
3725
|
+
"_nextPageToken": {
|
|
3726
|
+
"oneof": [
|
|
3727
|
+
"nextPageToken"
|
|
3728
|
+
]
|
|
3729
|
+
}
|
|
3730
|
+
},
|
|
3731
|
+
"fields": {
|
|
3732
|
+
"audienceExports": {
|
|
3733
|
+
"rule": "repeated",
|
|
3734
|
+
"type": "AudienceExport",
|
|
3735
|
+
"id": 1
|
|
3736
|
+
},
|
|
3737
|
+
"nextPageToken": {
|
|
3738
|
+
"type": "string",
|
|
3739
|
+
"id": 2,
|
|
3740
|
+
"options": {
|
|
3741
|
+
"proto3_optional": true
|
|
3742
|
+
}
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3745
|
+
},
|
|
3746
|
+
"CreateAudienceExportRequest": {
|
|
3747
|
+
"fields": {
|
|
3748
|
+
"parent": {
|
|
3749
|
+
"type": "string",
|
|
3750
|
+
"id": 1,
|
|
3751
|
+
"options": {
|
|
3752
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
3753
|
+
"(google.api.resource_reference).child_type": "analyticsdata.googleapis.com/AudienceExport"
|
|
3754
|
+
}
|
|
3755
|
+
},
|
|
3756
|
+
"audienceExport": {
|
|
3757
|
+
"type": "AudienceExport",
|
|
3758
|
+
"id": 2,
|
|
3759
|
+
"options": {
|
|
3760
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3761
|
+
}
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
},
|
|
3765
|
+
"AudienceExport": {
|
|
3766
|
+
"options": {
|
|
3767
|
+
"(google.api.resource).type": "analyticsdata.googleapis.com/AudienceExport",
|
|
3768
|
+
"(google.api.resource).pattern": "properties/{property}/audienceExports/{audience_export}",
|
|
3769
|
+
"(google.api.resource).plural": "audienceExports",
|
|
3770
|
+
"(google.api.resource).singular": "audienceExport"
|
|
3771
|
+
},
|
|
3772
|
+
"oneofs": {
|
|
3773
|
+
"_state": {
|
|
3774
|
+
"oneof": [
|
|
3775
|
+
"state"
|
|
3776
|
+
]
|
|
3777
|
+
},
|
|
3778
|
+
"_beginCreatingTime": {
|
|
3779
|
+
"oneof": [
|
|
3780
|
+
"beginCreatingTime"
|
|
3781
|
+
]
|
|
3782
|
+
},
|
|
3783
|
+
"_rowCount": {
|
|
3784
|
+
"oneof": [
|
|
3785
|
+
"rowCount"
|
|
3786
|
+
]
|
|
3787
|
+
},
|
|
3788
|
+
"_errorMessage": {
|
|
3789
|
+
"oneof": [
|
|
3790
|
+
"errorMessage"
|
|
3791
|
+
]
|
|
3792
|
+
},
|
|
3793
|
+
"_percentageCompleted": {
|
|
3794
|
+
"oneof": [
|
|
3795
|
+
"percentageCompleted"
|
|
3796
|
+
]
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
"fields": {
|
|
3800
|
+
"name": {
|
|
3801
|
+
"type": "string",
|
|
3802
|
+
"id": 1,
|
|
3803
|
+
"options": {
|
|
3804
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
3805
|
+
}
|
|
3806
|
+
},
|
|
3807
|
+
"audience": {
|
|
3808
|
+
"type": "string",
|
|
3809
|
+
"id": 2,
|
|
3810
|
+
"options": {
|
|
3811
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3812
|
+
}
|
|
3813
|
+
},
|
|
3814
|
+
"audienceDisplayName": {
|
|
3815
|
+
"type": "string",
|
|
3816
|
+
"id": 3,
|
|
3817
|
+
"options": {
|
|
3818
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
3819
|
+
}
|
|
3820
|
+
},
|
|
3821
|
+
"dimensions": {
|
|
3822
|
+
"rule": "repeated",
|
|
3823
|
+
"type": "AudienceDimension",
|
|
3824
|
+
"id": 4,
|
|
3825
|
+
"options": {
|
|
3826
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3827
|
+
}
|
|
3828
|
+
},
|
|
3829
|
+
"state": {
|
|
3830
|
+
"type": "State",
|
|
3831
|
+
"id": 5,
|
|
3832
|
+
"options": {
|
|
3833
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
|
3834
|
+
"proto3_optional": true
|
|
3835
|
+
}
|
|
3836
|
+
},
|
|
3837
|
+
"beginCreatingTime": {
|
|
3838
|
+
"type": "google.protobuf.Timestamp",
|
|
3839
|
+
"id": 6,
|
|
3840
|
+
"options": {
|
|
3841
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
|
3842
|
+
"proto3_optional": true
|
|
3843
|
+
}
|
|
3844
|
+
},
|
|
3845
|
+
"creationQuotaTokensCharged": {
|
|
3846
|
+
"type": "int32",
|
|
3847
|
+
"id": 7,
|
|
3848
|
+
"options": {
|
|
3849
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
3850
|
+
}
|
|
3851
|
+
},
|
|
3852
|
+
"rowCount": {
|
|
3853
|
+
"type": "int32",
|
|
3854
|
+
"id": 8,
|
|
3855
|
+
"options": {
|
|
3856
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
|
3857
|
+
"proto3_optional": true
|
|
3858
|
+
}
|
|
3859
|
+
},
|
|
3860
|
+
"errorMessage": {
|
|
3861
|
+
"type": "string",
|
|
3862
|
+
"id": 9,
|
|
3863
|
+
"options": {
|
|
3864
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
|
3865
|
+
"proto3_optional": true
|
|
3866
|
+
}
|
|
3867
|
+
},
|
|
3868
|
+
"percentageCompleted": {
|
|
3869
|
+
"type": "double",
|
|
3870
|
+
"id": 10,
|
|
3871
|
+
"options": {
|
|
3872
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
|
3873
|
+
"proto3_optional": true
|
|
3874
|
+
}
|
|
3875
|
+
}
|
|
3876
|
+
},
|
|
3877
|
+
"nested": {
|
|
3878
|
+
"State": {
|
|
3879
|
+
"values": {
|
|
3880
|
+
"STATE_UNSPECIFIED": 0,
|
|
3881
|
+
"CREATING": 1,
|
|
3882
|
+
"ACTIVE": 2,
|
|
3883
|
+
"FAILED": 3
|
|
3884
|
+
}
|
|
3885
|
+
}
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
"AudienceExportMetadata": {
|
|
3889
|
+
"fields": {}
|
|
3890
|
+
},
|
|
3891
|
+
"QueryAudienceExportRequest": {
|
|
3892
|
+
"fields": {
|
|
3893
|
+
"name": {
|
|
3894
|
+
"type": "string",
|
|
3895
|
+
"id": 1,
|
|
3896
|
+
"options": {
|
|
3897
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3898
|
+
}
|
|
3899
|
+
},
|
|
3900
|
+
"offset": {
|
|
3901
|
+
"type": "int64",
|
|
3902
|
+
"id": 2,
|
|
3903
|
+
"options": {
|
|
3904
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
3905
|
+
}
|
|
3906
|
+
},
|
|
3907
|
+
"limit": {
|
|
3908
|
+
"type": "int64",
|
|
3909
|
+
"id": 3,
|
|
3910
|
+
"options": {
|
|
3911
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
}
|
|
3915
|
+
},
|
|
3916
|
+
"QueryAudienceExportResponse": {
|
|
3917
|
+
"oneofs": {
|
|
3918
|
+
"_audienceExport": {
|
|
3919
|
+
"oneof": [
|
|
3920
|
+
"audienceExport"
|
|
3921
|
+
]
|
|
3922
|
+
},
|
|
3923
|
+
"_rowCount": {
|
|
3924
|
+
"oneof": [
|
|
3925
|
+
"rowCount"
|
|
3926
|
+
]
|
|
3927
|
+
}
|
|
3928
|
+
},
|
|
3929
|
+
"fields": {
|
|
3930
|
+
"audienceExport": {
|
|
3931
|
+
"type": "AudienceExport",
|
|
3932
|
+
"id": 1,
|
|
3933
|
+
"options": {
|
|
3934
|
+
"proto3_optional": true
|
|
3935
|
+
}
|
|
3936
|
+
},
|
|
3937
|
+
"audienceRows": {
|
|
3938
|
+
"rule": "repeated",
|
|
3939
|
+
"type": "AudienceRow",
|
|
3940
|
+
"id": 2
|
|
3941
|
+
},
|
|
3942
|
+
"rowCount": {
|
|
3943
|
+
"type": "int32",
|
|
3944
|
+
"id": 3,
|
|
3945
|
+
"options": {
|
|
3946
|
+
"proto3_optional": true
|
|
3947
|
+
}
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
},
|
|
3951
|
+
"AudienceRow": {
|
|
3952
|
+
"fields": {
|
|
3953
|
+
"dimensionValues": {
|
|
3954
|
+
"rule": "repeated",
|
|
3955
|
+
"type": "AudienceDimensionValue",
|
|
3956
|
+
"id": 1
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
},
|
|
3960
|
+
"AudienceDimension": {
|
|
3961
|
+
"fields": {
|
|
3962
|
+
"dimensionName": {
|
|
3963
|
+
"type": "string",
|
|
3964
|
+
"id": 1,
|
|
3965
|
+
"options": {
|
|
3966
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
3967
|
+
}
|
|
3968
|
+
}
|
|
3969
|
+
}
|
|
3970
|
+
},
|
|
3971
|
+
"AudienceDimensionValue": {
|
|
3972
|
+
"oneofs": {
|
|
3973
|
+
"oneValue": {
|
|
3974
|
+
"oneof": [
|
|
3975
|
+
"value"
|
|
3976
|
+
]
|
|
3977
|
+
}
|
|
3978
|
+
},
|
|
3979
|
+
"fields": {
|
|
3980
|
+
"value": {
|
|
3981
|
+
"type": "string",
|
|
3982
|
+
"id": 1
|
|
3983
|
+
}
|
|
3984
|
+
}
|
|
3985
|
+
},
|
|
3599
3986
|
"DateRange": {
|
|
3600
3987
|
"fields": {
|
|
3601
3988
|
"startDate": {
|
|
@@ -4124,6 +4511,11 @@
|
|
|
4124
4511
|
"options": {
|
|
4125
4512
|
"proto3_optional": true
|
|
4126
4513
|
}
|
|
4514
|
+
},
|
|
4515
|
+
"samplingMetadatas": {
|
|
4516
|
+
"rule": "repeated",
|
|
4517
|
+
"type": "SamplingMetadata",
|
|
4518
|
+
"id": 9
|
|
4127
4519
|
}
|
|
4128
4520
|
},
|
|
4129
4521
|
"nested": {
|
|
@@ -4163,6 +4555,18 @@
|
|
|
4163
4555
|
}
|
|
4164
4556
|
}
|
|
4165
4557
|
},
|
|
4558
|
+
"SamplingMetadata": {
|
|
4559
|
+
"fields": {
|
|
4560
|
+
"samplesReadCount": {
|
|
4561
|
+
"type": "int64",
|
|
4562
|
+
"id": 1
|
|
4563
|
+
},
|
|
4564
|
+
"samplingSpaceSize": {
|
|
4565
|
+
"type": "int64",
|
|
4566
|
+
"id": 2
|
|
4567
|
+
}
|
|
4568
|
+
}
|
|
4569
|
+
},
|
|
4166
4570
|
"DimensionHeader": {
|
|
4167
4571
|
"fields": {
|
|
4168
4572
|
"name": {
|
|
@@ -4298,14 +4702,32 @@
|
|
|
4298
4702
|
}
|
|
4299
4703
|
},
|
|
4300
4704
|
"QuotaStatus": {
|
|
4705
|
+
"oneofs": {
|
|
4706
|
+
"_consumed": {
|
|
4707
|
+
"oneof": [
|
|
4708
|
+
"consumed"
|
|
4709
|
+
]
|
|
4710
|
+
},
|
|
4711
|
+
"_remaining": {
|
|
4712
|
+
"oneof": [
|
|
4713
|
+
"remaining"
|
|
4714
|
+
]
|
|
4715
|
+
}
|
|
4716
|
+
},
|
|
4301
4717
|
"fields": {
|
|
4302
4718
|
"consumed": {
|
|
4303
4719
|
"type": "int32",
|
|
4304
|
-
"id": 1
|
|
4720
|
+
"id": 1,
|
|
4721
|
+
"options": {
|
|
4722
|
+
"proto3_optional": true
|
|
4723
|
+
}
|
|
4305
4724
|
},
|
|
4306
4725
|
"remaining": {
|
|
4307
4726
|
"type": "int32",
|
|
4308
|
-
"id": 2
|
|
4727
|
+
"id": 2,
|
|
4728
|
+
"options": {
|
|
4729
|
+
"proto3_optional": true
|
|
4730
|
+
}
|
|
4309
4731
|
}
|
|
4310
4732
|
}
|
|
4311
4733
|
},
|