@google-analytics/data 7.0.0 → 7.1.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/build/protos/protos.json
CHANGED
|
@@ -50,6 +50,8 @@
|
|
|
50
50
|
"EDITION_PROTO3": 999,
|
|
51
51
|
"EDITION_2023": 1000,
|
|
52
52
|
"EDITION_2024": 1001,
|
|
53
|
+
"EDITION_2026": 1002,
|
|
54
|
+
"EDITION_UNSTABLE": 9999,
|
|
53
55
|
"EDITION_1_TEST_ONLY": 1,
|
|
54
56
|
"EDITION_2_TEST_ONLY": 2,
|
|
55
57
|
"EDITION_99997_TEST_ONLY": 99997,
|
|
@@ -244,6 +246,10 @@
|
|
|
244
246
|
}
|
|
245
247
|
},
|
|
246
248
|
"extensions": [
|
|
249
|
+
[
|
|
250
|
+
990,
|
|
251
|
+
998
|
|
252
|
+
],
|
|
247
253
|
[
|
|
248
254
|
1000,
|
|
249
255
|
536870911
|
|
@@ -519,7 +525,10 @@
|
|
|
519
525
|
"type": "bool",
|
|
520
526
|
"id": 10,
|
|
521
527
|
"options": {
|
|
522
|
-
"default": false
|
|
528
|
+
"default": false,
|
|
529
|
+
"feature_support.edition_introduced": "EDITION_PROTO2",
|
|
530
|
+
"feature_support.edition_removed": "EDITION_2024",
|
|
531
|
+
"feature_support.removal_error": "This behavior is enabled by default in editions 2024 and above. To disable it, you can set `features.(pb.java).nest_in_file_class = YES` on individual messages, enums, or services."
|
|
523
532
|
}
|
|
524
533
|
},
|
|
525
534
|
"javaGenerateEqualsAndHash": {
|
|
@@ -579,7 +588,9 @@
|
|
|
579
588
|
"type": "bool",
|
|
580
589
|
"id": 31,
|
|
581
590
|
"options": {
|
|
582
|
-
"default": true
|
|
591
|
+
"default": true,
|
|
592
|
+
"feature_support.edition_removed": "EDITION_2026",
|
|
593
|
+
"feature_support.removal_error": "cc_enable_arenas is enabled by default in every edition and overrides are ignored.This option is removed in editions 2026 and above."
|
|
583
594
|
}
|
|
584
595
|
},
|
|
585
596
|
"objcClassPrefix": {
|
|
@@ -621,6 +632,10 @@
|
|
|
621
632
|
}
|
|
622
633
|
},
|
|
623
634
|
"extensions": [
|
|
635
|
+
[
|
|
636
|
+
990,
|
|
637
|
+
998
|
|
638
|
+
],
|
|
624
639
|
[
|
|
625
640
|
1000,
|
|
626
641
|
536870911
|
|
@@ -693,6 +708,10 @@
|
|
|
693
708
|
}
|
|
694
709
|
},
|
|
695
710
|
"extensions": [
|
|
711
|
+
[
|
|
712
|
+
990,
|
|
713
|
+
998
|
|
714
|
+
],
|
|
696
715
|
[
|
|
697
716
|
1000,
|
|
698
717
|
536870911
|
|
@@ -807,6 +826,10 @@
|
|
|
807
826
|
}
|
|
808
827
|
},
|
|
809
828
|
"extensions": [
|
|
829
|
+
[
|
|
830
|
+
990,
|
|
831
|
+
998
|
|
832
|
+
],
|
|
810
833
|
[
|
|
811
834
|
1000,
|
|
812
835
|
536870911
|
|
@@ -887,6 +910,10 @@
|
|
|
887
910
|
"editionRemoved": {
|
|
888
911
|
"type": "Edition",
|
|
889
912
|
"id": 4
|
|
913
|
+
},
|
|
914
|
+
"removalError": {
|
|
915
|
+
"type": "string",
|
|
916
|
+
"id": 5
|
|
890
917
|
}
|
|
891
918
|
}
|
|
892
919
|
}
|
|
@@ -906,6 +933,10 @@
|
|
|
906
933
|
}
|
|
907
934
|
},
|
|
908
935
|
"extensions": [
|
|
936
|
+
[
|
|
937
|
+
990,
|
|
938
|
+
998
|
|
939
|
+
],
|
|
909
940
|
[
|
|
910
941
|
1000,
|
|
911
942
|
536870911
|
|
@@ -944,6 +975,10 @@
|
|
|
944
975
|
}
|
|
945
976
|
},
|
|
946
977
|
"extensions": [
|
|
978
|
+
[
|
|
979
|
+
990,
|
|
980
|
+
998
|
|
981
|
+
],
|
|
947
982
|
[
|
|
948
983
|
1000,
|
|
949
984
|
536870911
|
|
@@ -988,6 +1023,10 @@
|
|
|
988
1023
|
}
|
|
989
1024
|
},
|
|
990
1025
|
"extensions": [
|
|
1026
|
+
[
|
|
1027
|
+
990,
|
|
1028
|
+
998
|
|
1029
|
+
],
|
|
991
1030
|
[
|
|
992
1031
|
1000,
|
|
993
1032
|
536870911
|
|
@@ -1015,6 +1054,10 @@
|
|
|
1015
1054
|
}
|
|
1016
1055
|
},
|
|
1017
1056
|
"extensions": [
|
|
1057
|
+
[
|
|
1058
|
+
990,
|
|
1059
|
+
998
|
|
1060
|
+
],
|
|
1018
1061
|
[
|
|
1019
1062
|
1000,
|
|
1020
1063
|
536870911
|
|
@@ -1049,6 +1092,10 @@
|
|
|
1049
1092
|
}
|
|
1050
1093
|
},
|
|
1051
1094
|
"extensions": [
|
|
1095
|
+
[
|
|
1096
|
+
990,
|
|
1097
|
+
998
|
|
1098
|
+
],
|
|
1052
1099
|
[
|
|
1053
1100
|
1000,
|
|
1054
1101
|
536870911
|
|
@@ -1190,8 +1237,8 @@
|
|
|
1190
1237
|
"retention": "RETENTION_SOURCE",
|
|
1191
1238
|
"targets": "TARGET_TYPE_METHOD",
|
|
1192
1239
|
"feature_support.edition_introduced": "EDITION_2024",
|
|
1193
|
-
"edition_defaults.edition": "
|
|
1194
|
-
"edition_defaults.value": "
|
|
1240
|
+
"edition_defaults.edition": "EDITION_2026",
|
|
1241
|
+
"edition_defaults.value": "STYLE2026"
|
|
1195
1242
|
}
|
|
1196
1243
|
},
|
|
1197
1244
|
"defaultSymbolVisibility": {
|
|
@@ -1204,6 +1251,17 @@
|
|
|
1204
1251
|
"edition_defaults.edition": "EDITION_2024",
|
|
1205
1252
|
"edition_defaults.value": "EXPORT_TOP_LEVEL"
|
|
1206
1253
|
}
|
|
1254
|
+
},
|
|
1255
|
+
"enforceProtoLimits": {
|
|
1256
|
+
"type": "ProtoLimitsFeature.EnforceProtoLimits",
|
|
1257
|
+
"id": 9,
|
|
1258
|
+
"options": {
|
|
1259
|
+
"retention": "RETENTION_SOURCE",
|
|
1260
|
+
"targets": "TARGET_TYPE_ONEOF",
|
|
1261
|
+
"feature_support.edition_introduced": "EDITION_2026",
|
|
1262
|
+
"edition_defaults.edition": "EDITION_2026",
|
|
1263
|
+
"edition_defaults.value": "PROTO_LIMITS2026"
|
|
1264
|
+
}
|
|
1207
1265
|
}
|
|
1208
1266
|
},
|
|
1209
1267
|
"extensions": [
|
|
@@ -1280,7 +1338,8 @@
|
|
|
1280
1338
|
"values": {
|
|
1281
1339
|
"ENFORCE_NAMING_STYLE_UNKNOWN": 0,
|
|
1282
1340
|
"STYLE2024": 1,
|
|
1283
|
-
"STYLE_LEGACY": 2
|
|
1341
|
+
"STYLE_LEGACY": 2,
|
|
1342
|
+
"STYLE2026": 3
|
|
1284
1343
|
}
|
|
1285
1344
|
},
|
|
1286
1345
|
"VisibilityFeature": {
|
|
@@ -1302,6 +1361,18 @@
|
|
|
1302
1361
|
}
|
|
1303
1362
|
}
|
|
1304
1363
|
}
|
|
1364
|
+
},
|
|
1365
|
+
"ProtoLimitsFeature": {
|
|
1366
|
+
"fields": {},
|
|
1367
|
+
"nested": {
|
|
1368
|
+
"EnforceProtoLimits": {
|
|
1369
|
+
"values": {
|
|
1370
|
+
"PROTO_LIMITS_UNKNOWN": 0,
|
|
1371
|
+
"LEGACY_NO_EXPLICIT_LIMITS": 1,
|
|
1372
|
+
"PROTO_LIMITS2026": 2
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1305
1376
|
}
|
|
1306
1377
|
}
|
|
1307
1378
|
},
|
|
@@ -6934,6 +7005,10 @@
|
|
|
6934
7005
|
"common": {
|
|
6935
7006
|
"type": "CommonLanguageSettings",
|
|
6936
7007
|
"id": 1
|
|
7008
|
+
},
|
|
7009
|
+
"libraryPackage": {
|
|
7010
|
+
"type": "string",
|
|
7011
|
+
"id": 2
|
|
6937
7012
|
}
|
|
6938
7013
|
}
|
|
6939
7014
|
},
|
|
@@ -7043,6 +7118,10 @@
|
|
|
7043
7118
|
"rule": "repeated",
|
|
7044
7119
|
"type": "string",
|
|
7045
7120
|
"id": 3
|
|
7121
|
+
},
|
|
7122
|
+
"batching": {
|
|
7123
|
+
"type": "BatchingConfigProto",
|
|
7124
|
+
"id": 4
|
|
7046
7125
|
}
|
|
7047
7126
|
},
|
|
7048
7127
|
"nested": {
|
|
@@ -7100,6 +7179,79 @@
|
|
|
7100
7179
|
}
|
|
7101
7180
|
}
|
|
7102
7181
|
},
|
|
7182
|
+
"BatchingConfigProto": {
|
|
7183
|
+
"fields": {
|
|
7184
|
+
"thresholds": {
|
|
7185
|
+
"type": "BatchingSettingsProto",
|
|
7186
|
+
"id": 1
|
|
7187
|
+
},
|
|
7188
|
+
"batchDescriptor": {
|
|
7189
|
+
"type": "BatchingDescriptorProto",
|
|
7190
|
+
"id": 2
|
|
7191
|
+
}
|
|
7192
|
+
}
|
|
7193
|
+
},
|
|
7194
|
+
"BatchingSettingsProto": {
|
|
7195
|
+
"fields": {
|
|
7196
|
+
"elementCountThreshold": {
|
|
7197
|
+
"type": "int32",
|
|
7198
|
+
"id": 1
|
|
7199
|
+
},
|
|
7200
|
+
"requestByteThreshold": {
|
|
7201
|
+
"type": "int64",
|
|
7202
|
+
"id": 2
|
|
7203
|
+
},
|
|
7204
|
+
"delayThreshold": {
|
|
7205
|
+
"type": "google.protobuf.Duration",
|
|
7206
|
+
"id": 3
|
|
7207
|
+
},
|
|
7208
|
+
"elementCountLimit": {
|
|
7209
|
+
"type": "int32",
|
|
7210
|
+
"id": 4
|
|
7211
|
+
},
|
|
7212
|
+
"requestByteLimit": {
|
|
7213
|
+
"type": "int32",
|
|
7214
|
+
"id": 5
|
|
7215
|
+
},
|
|
7216
|
+
"flowControlElementLimit": {
|
|
7217
|
+
"type": "int32",
|
|
7218
|
+
"id": 6
|
|
7219
|
+
},
|
|
7220
|
+
"flowControlByteLimit": {
|
|
7221
|
+
"type": "int32",
|
|
7222
|
+
"id": 7
|
|
7223
|
+
},
|
|
7224
|
+
"flowControlLimitExceededBehavior": {
|
|
7225
|
+
"type": "FlowControlLimitExceededBehaviorProto",
|
|
7226
|
+
"id": 8
|
|
7227
|
+
}
|
|
7228
|
+
}
|
|
7229
|
+
},
|
|
7230
|
+
"FlowControlLimitExceededBehaviorProto": {
|
|
7231
|
+
"values": {
|
|
7232
|
+
"UNSET_BEHAVIOR": 0,
|
|
7233
|
+
"THROW_EXCEPTION": 1,
|
|
7234
|
+
"BLOCK": 2,
|
|
7235
|
+
"IGNORE": 3
|
|
7236
|
+
}
|
|
7237
|
+
},
|
|
7238
|
+
"BatchingDescriptorProto": {
|
|
7239
|
+
"fields": {
|
|
7240
|
+
"batchedField": {
|
|
7241
|
+
"type": "string",
|
|
7242
|
+
"id": 1
|
|
7243
|
+
},
|
|
7244
|
+
"discriminatorFields": {
|
|
7245
|
+
"rule": "repeated",
|
|
7246
|
+
"type": "string",
|
|
7247
|
+
"id": 2
|
|
7248
|
+
},
|
|
7249
|
+
"subresponseField": {
|
|
7250
|
+
"type": "string",
|
|
7251
|
+
"id": 3
|
|
7252
|
+
}
|
|
7253
|
+
}
|
|
7254
|
+
},
|
|
7103
7255
|
"LaunchStage": {
|
|
7104
7256
|
"values": {
|
|
7105
7257
|
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
|
@@ -7215,7 +7367,6 @@
|
|
|
7215
7367
|
},
|
|
7216
7368
|
"longrunning": {
|
|
7217
7369
|
"options": {
|
|
7218
|
-
"cc_enable_arenas": true,
|
|
7219
7370
|
"csharp_namespace": "Google.LongRunning",
|
|
7220
7371
|
"go_package": "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb",
|
|
7221
7372
|
"java_multiple_files": true,
|
|
@@ -7372,6 +7523,10 @@
|
|
|
7372
7523
|
"pageToken": {
|
|
7373
7524
|
"type": "string",
|
|
7374
7525
|
"id": 3
|
|
7526
|
+
},
|
|
7527
|
+
"returnPartialSuccess": {
|
|
7528
|
+
"type": "bool",
|
|
7529
|
+
"id": 5
|
|
7375
7530
|
}
|
|
7376
7531
|
}
|
|
7377
7532
|
},
|
|
@@ -7385,6 +7540,14 @@
|
|
|
7385
7540
|
"nextPageToken": {
|
|
7386
7541
|
"type": "string",
|
|
7387
7542
|
"id": 2
|
|
7543
|
+
},
|
|
7544
|
+
"unreachable": {
|
|
7545
|
+
"rule": "repeated",
|
|
7546
|
+
"type": "string",
|
|
7547
|
+
"id": 3,
|
|
7548
|
+
"options": {
|
|
7549
|
+
"(google.api.field_behavior)": "UNORDERED_LIST"
|
|
7550
|
+
}
|
|
7388
7551
|
}
|
|
7389
7552
|
}
|
|
7390
7553
|
},
|
|
@@ -7432,7 +7595,6 @@
|
|
|
7432
7595
|
},
|
|
7433
7596
|
"rpc": {
|
|
7434
7597
|
"options": {
|
|
7435
|
-
"cc_enable_arenas": true,
|
|
7436
7598
|
"go_package": "google.golang.org/genproto/googleapis/rpc/status;status",
|
|
7437
7599
|
"java_multiple_files": true,
|
|
7438
7600
|
"java_outer_classname": "StatusProto",
|
|
@@ -257,7 +257,7 @@ class AlphaAnalyticsDataClient {
|
|
|
257
257
|
'getMetadata',
|
|
258
258
|
];
|
|
259
259
|
for (const methodName of alphaAnalyticsDataStubMethods) {
|
|
260
|
-
const callPromise = this.alphaAnalyticsDataStub.then(
|
|
260
|
+
const callPromise = this.alphaAnalyticsDataStub.then(stub => (...args) => {
|
|
261
261
|
if (this._terminated) {
|
|
262
262
|
return Promise.reject('The client has already been closed.');
|
|
263
263
|
}
|
|
@@ -354,7 +354,7 @@ class AlphaAnalyticsDataClient {
|
|
|
354
354
|
this._gaxModule.routingHeader.fromParams({
|
|
355
355
|
property: request.property ?? '',
|
|
356
356
|
});
|
|
357
|
-
this.initialize().catch(
|
|
357
|
+
this.initialize().catch(err => {
|
|
358
358
|
throw err;
|
|
359
359
|
});
|
|
360
360
|
this._log.info('runFunnelReport request %j', request);
|
|
@@ -397,7 +397,7 @@ class AlphaAnalyticsDataClient {
|
|
|
397
397
|
this._gaxModule.routingHeader.fromParams({
|
|
398
398
|
name: request.name ?? '',
|
|
399
399
|
});
|
|
400
|
-
this.initialize().catch(
|
|
400
|
+
this.initialize().catch(err => {
|
|
401
401
|
throw err;
|
|
402
402
|
});
|
|
403
403
|
this._log.info('queryAudienceList request %j', request);
|
|
@@ -440,7 +440,7 @@ class AlphaAnalyticsDataClient {
|
|
|
440
440
|
this._gaxModule.routingHeader.fromParams({
|
|
441
441
|
name: request.name ?? '',
|
|
442
442
|
});
|
|
443
|
-
this.initialize().catch(
|
|
443
|
+
this.initialize().catch(err => {
|
|
444
444
|
throw err;
|
|
445
445
|
});
|
|
446
446
|
this._log.info('getAudienceList request %j', request);
|
|
@@ -483,7 +483,7 @@ class AlphaAnalyticsDataClient {
|
|
|
483
483
|
this._gaxModule.routingHeader.fromParams({
|
|
484
484
|
parent: request.parent ?? '',
|
|
485
485
|
});
|
|
486
|
-
this.initialize().catch(
|
|
486
|
+
this.initialize().catch(err => {
|
|
487
487
|
throw err;
|
|
488
488
|
});
|
|
489
489
|
this._log.info('createRecurringAudienceList request %j', request);
|
|
@@ -526,7 +526,7 @@ class AlphaAnalyticsDataClient {
|
|
|
526
526
|
this._gaxModule.routingHeader.fromParams({
|
|
527
527
|
name: request.name ?? '',
|
|
528
528
|
});
|
|
529
|
-
this.initialize().catch(
|
|
529
|
+
this.initialize().catch(err => {
|
|
530
530
|
throw err;
|
|
531
531
|
});
|
|
532
532
|
this._log.info('getRecurringAudienceList request %j', request);
|
|
@@ -569,7 +569,7 @@ class AlphaAnalyticsDataClient {
|
|
|
569
569
|
this._gaxModule.routingHeader.fromParams({
|
|
570
570
|
name: request.name ?? '',
|
|
571
571
|
});
|
|
572
|
-
this.initialize().catch(
|
|
572
|
+
this.initialize().catch(err => {
|
|
573
573
|
throw err;
|
|
574
574
|
});
|
|
575
575
|
this._log.info('getPropertyQuotasSnapshot request %j', request);
|
|
@@ -612,7 +612,7 @@ class AlphaAnalyticsDataClient {
|
|
|
612
612
|
this._gaxModule.routingHeader.fromParams({
|
|
613
613
|
name: request.name ?? '',
|
|
614
614
|
});
|
|
615
|
-
this.initialize().catch(
|
|
615
|
+
this.initialize().catch(err => {
|
|
616
616
|
throw err;
|
|
617
617
|
});
|
|
618
618
|
this._log.info('queryReportTask request %j', request);
|
|
@@ -655,7 +655,7 @@ class AlphaAnalyticsDataClient {
|
|
|
655
655
|
this._gaxModule.routingHeader.fromParams({
|
|
656
656
|
name: request.name ?? '',
|
|
657
657
|
});
|
|
658
|
-
this.initialize().catch(
|
|
658
|
+
this.initialize().catch(err => {
|
|
659
659
|
throw err;
|
|
660
660
|
});
|
|
661
661
|
this._log.info('getReportTask request %j', request);
|
|
@@ -698,7 +698,7 @@ class AlphaAnalyticsDataClient {
|
|
|
698
698
|
this._gaxModule.routingHeader.fromParams({
|
|
699
699
|
property: request.property ?? '',
|
|
700
700
|
});
|
|
701
|
-
this.initialize().catch(
|
|
701
|
+
this.initialize().catch(err => {
|
|
702
702
|
throw err;
|
|
703
703
|
});
|
|
704
704
|
this._log.info('runReport request %j', request);
|
|
@@ -741,7 +741,7 @@ class AlphaAnalyticsDataClient {
|
|
|
741
741
|
this._gaxModule.routingHeader.fromParams({
|
|
742
742
|
name: request.name ?? '',
|
|
743
743
|
});
|
|
744
|
-
this.initialize().catch(
|
|
744
|
+
this.initialize().catch(err => {
|
|
745
745
|
throw err;
|
|
746
746
|
});
|
|
747
747
|
this._log.info('getMetadata request %j', request);
|
|
@@ -784,7 +784,7 @@ class AlphaAnalyticsDataClient {
|
|
|
784
784
|
this._gaxModule.routingHeader.fromParams({
|
|
785
785
|
parent: request.parent ?? '',
|
|
786
786
|
});
|
|
787
|
-
this.initialize().catch(
|
|
787
|
+
this.initialize().catch(err => {
|
|
788
788
|
throw err;
|
|
789
789
|
});
|
|
790
790
|
const wrappedCallback = callback
|
|
@@ -836,7 +836,7 @@ class AlphaAnalyticsDataClient {
|
|
|
836
836
|
this._gaxModule.routingHeader.fromParams({
|
|
837
837
|
parent: request.parent ?? '',
|
|
838
838
|
});
|
|
839
|
-
this.initialize().catch(
|
|
839
|
+
this.initialize().catch(err => {
|
|
840
840
|
throw err;
|
|
841
841
|
});
|
|
842
842
|
const wrappedCallback = callback
|
|
@@ -888,7 +888,7 @@ class AlphaAnalyticsDataClient {
|
|
|
888
888
|
this._gaxModule.routingHeader.fromParams({
|
|
889
889
|
parent: request.parent ?? '',
|
|
890
890
|
});
|
|
891
|
-
this.initialize().catch(
|
|
891
|
+
this.initialize().catch(err => {
|
|
892
892
|
throw err;
|
|
893
893
|
});
|
|
894
894
|
const wrappedCallback = callback
|
|
@@ -945,7 +945,7 @@ class AlphaAnalyticsDataClient {
|
|
|
945
945
|
});
|
|
946
946
|
const defaultCallSettings = this._defaults['listAudienceLists'];
|
|
947
947
|
const callSettings = defaultCallSettings.merge(options);
|
|
948
|
-
this.initialize().catch(
|
|
948
|
+
this.initialize().catch(err => {
|
|
949
949
|
throw err;
|
|
950
950
|
});
|
|
951
951
|
this._log.info('listAudienceLists stream %j', request);
|
|
@@ -994,7 +994,7 @@ class AlphaAnalyticsDataClient {
|
|
|
994
994
|
});
|
|
995
995
|
const defaultCallSettings = this._defaults['listAudienceLists'];
|
|
996
996
|
const callSettings = defaultCallSettings.merge(options);
|
|
997
|
-
this.initialize().catch(
|
|
997
|
+
this.initialize().catch(err => {
|
|
998
998
|
throw err;
|
|
999
999
|
});
|
|
1000
1000
|
this._log.info('listAudienceLists iterate %j', request);
|
|
@@ -1017,7 +1017,7 @@ class AlphaAnalyticsDataClient {
|
|
|
1017
1017
|
this._gaxModule.routingHeader.fromParams({
|
|
1018
1018
|
parent: request.parent ?? '',
|
|
1019
1019
|
});
|
|
1020
|
-
this.initialize().catch(
|
|
1020
|
+
this.initialize().catch(err => {
|
|
1021
1021
|
throw err;
|
|
1022
1022
|
});
|
|
1023
1023
|
const wrappedCallback = callback
|
|
@@ -1076,7 +1076,7 @@ class AlphaAnalyticsDataClient {
|
|
|
1076
1076
|
});
|
|
1077
1077
|
const defaultCallSettings = this._defaults['listRecurringAudienceLists'];
|
|
1078
1078
|
const callSettings = defaultCallSettings.merge(options);
|
|
1079
|
-
this.initialize().catch(
|
|
1079
|
+
this.initialize().catch(err => {
|
|
1080
1080
|
throw err;
|
|
1081
1081
|
});
|
|
1082
1082
|
this._log.info('listRecurringAudienceLists stream %j', request);
|
|
@@ -1127,7 +1127,7 @@ class AlphaAnalyticsDataClient {
|
|
|
1127
1127
|
});
|
|
1128
1128
|
const defaultCallSettings = this._defaults['listRecurringAudienceLists'];
|
|
1129
1129
|
const callSettings = defaultCallSettings.merge(options);
|
|
1130
|
-
this.initialize().catch(
|
|
1130
|
+
this.initialize().catch(err => {
|
|
1131
1131
|
throw err;
|
|
1132
1132
|
});
|
|
1133
1133
|
this._log.info('listRecurringAudienceLists iterate %j', request);
|
|
@@ -1150,7 +1150,7 @@ class AlphaAnalyticsDataClient {
|
|
|
1150
1150
|
this._gaxModule.routingHeader.fromParams({
|
|
1151
1151
|
parent: request.parent ?? '',
|
|
1152
1152
|
});
|
|
1153
|
-
this.initialize().catch(
|
|
1153
|
+
this.initialize().catch(err => {
|
|
1154
1154
|
throw err;
|
|
1155
1155
|
});
|
|
1156
1156
|
const wrappedCallback = callback
|
|
@@ -1201,7 +1201,7 @@ class AlphaAnalyticsDataClient {
|
|
|
1201
1201
|
});
|
|
1202
1202
|
const defaultCallSettings = this._defaults['listReportTasks'];
|
|
1203
1203
|
const callSettings = defaultCallSettings.merge(options);
|
|
1204
|
-
this.initialize().catch(
|
|
1204
|
+
this.initialize().catch(err => {
|
|
1205
1205
|
throw err;
|
|
1206
1206
|
});
|
|
1207
1207
|
this._log.info('listReportTasks stream %j', request);
|
|
@@ -1244,7 +1244,7 @@ class AlphaAnalyticsDataClient {
|
|
|
1244
1244
|
});
|
|
1245
1245
|
const defaultCallSettings = this._defaults['listReportTasks'];
|
|
1246
1246
|
const callSettings = defaultCallSettings.merge(options);
|
|
1247
|
-
this.initialize().catch(
|
|
1247
|
+
this.initialize().catch(err => {
|
|
1248
1248
|
throw err;
|
|
1249
1249
|
});
|
|
1250
1250
|
this._log.info('listReportTasks iterate %j', request);
|
|
@@ -1607,7 +1607,7 @@ class AlphaAnalyticsDataClient {
|
|
|
1607
1607
|
*/
|
|
1608
1608
|
close() {
|
|
1609
1609
|
if (this.alphaAnalyticsDataStub && !this._terminated) {
|
|
1610
|
-
return this.alphaAnalyticsDataStub.then(
|
|
1610
|
+
return this.alphaAnalyticsDataStub.then(stub => {
|
|
1611
1611
|
this._log.info('ending gRPC channel');
|
|
1612
1612
|
this._terminated = true;
|
|
1613
1613
|
stub.close();
|
|
@@ -244,7 +244,7 @@ class BetaAnalyticsDataClient {
|
|
|
244
244
|
'listAudienceExports',
|
|
245
245
|
];
|
|
246
246
|
for (const methodName of betaAnalyticsDataStubMethods) {
|
|
247
|
-
const callPromise = this.betaAnalyticsDataStub.then(
|
|
247
|
+
const callPromise = this.betaAnalyticsDataStub.then(stub => (...args) => {
|
|
248
248
|
if (this._terminated) {
|
|
249
249
|
return Promise.reject('The client has already been closed.');
|
|
250
250
|
}
|
|
@@ -341,7 +341,7 @@ class BetaAnalyticsDataClient {
|
|
|
341
341
|
this._gaxModule.routingHeader.fromParams({
|
|
342
342
|
property: request.property ?? '',
|
|
343
343
|
});
|
|
344
|
-
this.initialize().catch(
|
|
344
|
+
this.initialize().catch(err => {
|
|
345
345
|
throw err;
|
|
346
346
|
});
|
|
347
347
|
this._log.info('runReport request %j', request);
|
|
@@ -384,7 +384,7 @@ class BetaAnalyticsDataClient {
|
|
|
384
384
|
this._gaxModule.routingHeader.fromParams({
|
|
385
385
|
property: request.property ?? '',
|
|
386
386
|
});
|
|
387
|
-
this.initialize().catch(
|
|
387
|
+
this.initialize().catch(err => {
|
|
388
388
|
throw err;
|
|
389
389
|
});
|
|
390
390
|
this._log.info('runPivotReport request %j', request);
|
|
@@ -427,7 +427,7 @@ class BetaAnalyticsDataClient {
|
|
|
427
427
|
this._gaxModule.routingHeader.fromParams({
|
|
428
428
|
property: request.property ?? '',
|
|
429
429
|
});
|
|
430
|
-
this.initialize().catch(
|
|
430
|
+
this.initialize().catch(err => {
|
|
431
431
|
throw err;
|
|
432
432
|
});
|
|
433
433
|
this._log.info('batchRunReports request %j', request);
|
|
@@ -470,7 +470,7 @@ class BetaAnalyticsDataClient {
|
|
|
470
470
|
this._gaxModule.routingHeader.fromParams({
|
|
471
471
|
property: request.property ?? '',
|
|
472
472
|
});
|
|
473
|
-
this.initialize().catch(
|
|
473
|
+
this.initialize().catch(err => {
|
|
474
474
|
throw err;
|
|
475
475
|
});
|
|
476
476
|
this._log.info('batchRunPivotReports request %j', request);
|
|
@@ -513,7 +513,7 @@ class BetaAnalyticsDataClient {
|
|
|
513
513
|
this._gaxModule.routingHeader.fromParams({
|
|
514
514
|
name: request.name ?? '',
|
|
515
515
|
});
|
|
516
|
-
this.initialize().catch(
|
|
516
|
+
this.initialize().catch(err => {
|
|
517
517
|
throw err;
|
|
518
518
|
});
|
|
519
519
|
this._log.info('getMetadata request %j', request);
|
|
@@ -556,7 +556,7 @@ class BetaAnalyticsDataClient {
|
|
|
556
556
|
this._gaxModule.routingHeader.fromParams({
|
|
557
557
|
property: request.property ?? '',
|
|
558
558
|
});
|
|
559
|
-
this.initialize().catch(
|
|
559
|
+
this.initialize().catch(err => {
|
|
560
560
|
throw err;
|
|
561
561
|
});
|
|
562
562
|
this._log.info('runRealtimeReport request %j', request);
|
|
@@ -599,7 +599,7 @@ class BetaAnalyticsDataClient {
|
|
|
599
599
|
this._gaxModule.routingHeader.fromParams({
|
|
600
600
|
property: request.property ?? '',
|
|
601
601
|
});
|
|
602
|
-
this.initialize().catch(
|
|
602
|
+
this.initialize().catch(err => {
|
|
603
603
|
throw err;
|
|
604
604
|
});
|
|
605
605
|
this._log.info('checkCompatibility request %j', request);
|
|
@@ -642,7 +642,7 @@ class BetaAnalyticsDataClient {
|
|
|
642
642
|
this._gaxModule.routingHeader.fromParams({
|
|
643
643
|
name: request.name ?? '',
|
|
644
644
|
});
|
|
645
|
-
this.initialize().catch(
|
|
645
|
+
this.initialize().catch(err => {
|
|
646
646
|
throw err;
|
|
647
647
|
});
|
|
648
648
|
this._log.info('queryAudienceExport request %j', request);
|
|
@@ -685,7 +685,7 @@ class BetaAnalyticsDataClient {
|
|
|
685
685
|
this._gaxModule.routingHeader.fromParams({
|
|
686
686
|
name: request.name ?? '',
|
|
687
687
|
});
|
|
688
|
-
this.initialize().catch(
|
|
688
|
+
this.initialize().catch(err => {
|
|
689
689
|
throw err;
|
|
690
690
|
});
|
|
691
691
|
this._log.info('getAudienceExport request %j', request);
|
|
@@ -728,7 +728,7 @@ class BetaAnalyticsDataClient {
|
|
|
728
728
|
this._gaxModule.routingHeader.fromParams({
|
|
729
729
|
parent: request.parent ?? '',
|
|
730
730
|
});
|
|
731
|
-
this.initialize().catch(
|
|
731
|
+
this.initialize().catch(err => {
|
|
732
732
|
throw err;
|
|
733
733
|
});
|
|
734
734
|
const wrappedCallback = callback
|
|
@@ -780,7 +780,7 @@ class BetaAnalyticsDataClient {
|
|
|
780
780
|
this._gaxModule.routingHeader.fromParams({
|
|
781
781
|
parent: request.parent ?? '',
|
|
782
782
|
});
|
|
783
|
-
this.initialize().catch(
|
|
783
|
+
this.initialize().catch(err => {
|
|
784
784
|
throw err;
|
|
785
785
|
});
|
|
786
786
|
const wrappedCallback = callback
|
|
@@ -837,7 +837,7 @@ class BetaAnalyticsDataClient {
|
|
|
837
837
|
});
|
|
838
838
|
const defaultCallSettings = this._defaults['listAudienceExports'];
|
|
839
839
|
const callSettings = defaultCallSettings.merge(options);
|
|
840
|
-
this.initialize().catch(
|
|
840
|
+
this.initialize().catch(err => {
|
|
841
841
|
throw err;
|
|
842
842
|
});
|
|
843
843
|
this._log.info('listAudienceExports stream %j', request);
|
|
@@ -886,7 +886,7 @@ class BetaAnalyticsDataClient {
|
|
|
886
886
|
});
|
|
887
887
|
const defaultCallSettings = this._defaults['listAudienceExports'];
|
|
888
888
|
const callSettings = defaultCallSettings.merge(options);
|
|
889
|
-
this.initialize().catch(
|
|
889
|
+
this.initialize().catch(err => {
|
|
890
890
|
throw err;
|
|
891
891
|
});
|
|
892
892
|
this._log.info('listAudienceExports iterate %j', request);
|
|
@@ -1158,7 +1158,7 @@ class BetaAnalyticsDataClient {
|
|
|
1158
1158
|
*/
|
|
1159
1159
|
close() {
|
|
1160
1160
|
if (this.betaAnalyticsDataStub && !this._terminated) {
|
|
1161
|
-
return this.betaAnalyticsDataStub.then(
|
|
1161
|
+
return this.betaAnalyticsDataStub.then(stub => {
|
|
1162
1162
|
this._log.info('ending gRPC channel');
|
|
1163
1163
|
this._terminated = true;
|
|
1164
1164
|
stub.close();
|