@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20240723 → 0.0.20240728
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/index.d.ts +289 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://analyticsadmin.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240728
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -787,6 +787,18 @@ declare namespace gapi.client {
|
|
|
787
787
|
/** If true, the source parameters are copied to the new event. If false, or unset, all non-internal parameters are not copied from the source event. Parameter mutations are applied after the parameters have been copied. */
|
|
788
788
|
sourceCopyParameters?: boolean;
|
|
789
789
|
}
|
|
790
|
+
interface GoogleAnalyticsAdminV1alphaEventEditRule {
|
|
791
|
+
/** Required. The display name of this event edit rule. Maximum of 255 characters. */
|
|
792
|
+
displayName?: string;
|
|
793
|
+
/** Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max. */
|
|
794
|
+
eventConditions?: GoogleAnalyticsAdminV1alphaMatchingCondition[];
|
|
795
|
+
/** Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} */
|
|
796
|
+
name?: string;
|
|
797
|
+
/** Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied. */
|
|
798
|
+
parameterMutations?: GoogleAnalyticsAdminV1alphaParameterMutation[];
|
|
799
|
+
/** Output only. The order for which this rule will be processed. Rules with an order value lower than this will be processed before this rule, rules with an order value higher than this will be processed after this rule. New event edit rules will be assigned an order value at the end of the order. This value does not apply to event create rules. */
|
|
800
|
+
processingOrder?: string;
|
|
801
|
+
}
|
|
790
802
|
interface GoogleAnalyticsAdminV1alphaEventMapping {
|
|
791
803
|
/** Required. Name of the GA4 event. It must always be set. The max allowed display name length is 40 UTF-16 code units. */
|
|
792
804
|
eventName?: string;
|
|
@@ -1033,6 +1045,12 @@ declare namespace gapi.client {
|
|
|
1033
1045
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
1034
1046
|
nextPageToken?: string;
|
|
1035
1047
|
}
|
|
1048
|
+
interface GoogleAnalyticsAdminV1alphaListEventEditRulesResponse {
|
|
1049
|
+
/** List of EventEditRules. These will be ordered stably, but in an arbitrary order. */
|
|
1050
|
+
eventEditRules?: GoogleAnalyticsAdminV1alphaEventEditRule[];
|
|
1051
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
1052
|
+
nextPageToken?: string;
|
|
1053
|
+
}
|
|
1036
1054
|
interface GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse {
|
|
1037
1055
|
/** List of ExpandedDataSet. These will be ordered stably, but in an arbitrary order. */
|
|
1038
1056
|
expandedDataSets?: GoogleAnalyticsAdminV1alphaExpandedDataSet[];
|
|
@@ -1177,6 +1195,10 @@ declare namespace gapi.client {
|
|
|
1177
1195
|
/** The param to be passed in the ToS link. */
|
|
1178
1196
|
accountTicketId?: string;
|
|
1179
1197
|
}
|
|
1198
|
+
interface GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest {
|
|
1199
|
+
/** Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list. */
|
|
1200
|
+
eventEditRules?: string[];
|
|
1201
|
+
}
|
|
1180
1202
|
interface GoogleAnalyticsAdminV1alphaRollupPropertySourceLink {
|
|
1181
1203
|
/** Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format: 'properties/123/rollupPropertySourceLinks/456' */
|
|
1182
1204
|
name?: string;
|
|
@@ -4415,6 +4437,271 @@ declare namespace gapi.client {
|
|
|
4415
4437
|
body: GoogleAnalyticsAdminV1alphaEventCreateRule
|
|
4416
4438
|
): Request<GoogleAnalyticsAdminV1alphaEventCreateRule>;
|
|
4417
4439
|
}
|
|
4440
|
+
interface EventEditRulesResource {
|
|
4441
|
+
/** Creates an EventEditRule. */
|
|
4442
|
+
create(request: {
|
|
4443
|
+
/** V1 error format. */
|
|
4444
|
+
'$.xgafv'?: string;
|
|
4445
|
+
/** OAuth access token. */
|
|
4446
|
+
access_token?: string;
|
|
4447
|
+
/** Data format for response. */
|
|
4448
|
+
alt?: string;
|
|
4449
|
+
/** JSONP */
|
|
4450
|
+
callback?: string;
|
|
4451
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4452
|
+
fields?: string;
|
|
4453
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4454
|
+
key?: string;
|
|
4455
|
+
/** OAuth 2.0 token for the current user. */
|
|
4456
|
+
oauth_token?: string;
|
|
4457
|
+
/** Required. Example format: properties/123/dataStreams/456 */
|
|
4458
|
+
parent: string;
|
|
4459
|
+
/** Returns response with indentations and line breaks. */
|
|
4460
|
+
prettyPrint?: boolean;
|
|
4461
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4462
|
+
quotaUser?: string;
|
|
4463
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4464
|
+
upload_protocol?: string;
|
|
4465
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4466
|
+
uploadType?: string;
|
|
4467
|
+
/** Request body */
|
|
4468
|
+
resource: GoogleAnalyticsAdminV1alphaEventEditRule;
|
|
4469
|
+
}): Request<GoogleAnalyticsAdminV1alphaEventEditRule>;
|
|
4470
|
+
create(
|
|
4471
|
+
request: {
|
|
4472
|
+
/** V1 error format. */
|
|
4473
|
+
'$.xgafv'?: string;
|
|
4474
|
+
/** OAuth access token. */
|
|
4475
|
+
access_token?: string;
|
|
4476
|
+
/** Data format for response. */
|
|
4477
|
+
alt?: string;
|
|
4478
|
+
/** JSONP */
|
|
4479
|
+
callback?: string;
|
|
4480
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4481
|
+
fields?: string;
|
|
4482
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4483
|
+
key?: string;
|
|
4484
|
+
/** OAuth 2.0 token for the current user. */
|
|
4485
|
+
oauth_token?: string;
|
|
4486
|
+
/** Required. Example format: properties/123/dataStreams/456 */
|
|
4487
|
+
parent: string;
|
|
4488
|
+
/** Returns response with indentations and line breaks. */
|
|
4489
|
+
prettyPrint?: boolean;
|
|
4490
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4491
|
+
quotaUser?: string;
|
|
4492
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4493
|
+
upload_protocol?: string;
|
|
4494
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4495
|
+
uploadType?: string;
|
|
4496
|
+
},
|
|
4497
|
+
body: GoogleAnalyticsAdminV1alphaEventEditRule
|
|
4498
|
+
): Request<GoogleAnalyticsAdminV1alphaEventEditRule>;
|
|
4499
|
+
/** Deletes an EventEditRule. */
|
|
4500
|
+
delete(request?: {
|
|
4501
|
+
/** V1 error format. */
|
|
4502
|
+
'$.xgafv'?: string;
|
|
4503
|
+
/** OAuth access token. */
|
|
4504
|
+
access_token?: string;
|
|
4505
|
+
/** Data format for response. */
|
|
4506
|
+
alt?: string;
|
|
4507
|
+
/** JSONP */
|
|
4508
|
+
callback?: string;
|
|
4509
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4510
|
+
fields?: string;
|
|
4511
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4512
|
+
key?: string;
|
|
4513
|
+
/** Required. Example format: properties/123/dataStreams/456/eventEditRules/789 */
|
|
4514
|
+
name: string;
|
|
4515
|
+
/** OAuth 2.0 token for the current user. */
|
|
4516
|
+
oauth_token?: string;
|
|
4517
|
+
/** Returns response with indentations and line breaks. */
|
|
4518
|
+
prettyPrint?: boolean;
|
|
4519
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4520
|
+
quotaUser?: string;
|
|
4521
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4522
|
+
upload_protocol?: string;
|
|
4523
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4524
|
+
uploadType?: string;
|
|
4525
|
+
}): Request<{}>;
|
|
4526
|
+
/** Lookup for a single EventEditRule. */
|
|
4527
|
+
get(request?: {
|
|
4528
|
+
/** V1 error format. */
|
|
4529
|
+
'$.xgafv'?: string;
|
|
4530
|
+
/** OAuth access token. */
|
|
4531
|
+
access_token?: string;
|
|
4532
|
+
/** Data format for response. */
|
|
4533
|
+
alt?: string;
|
|
4534
|
+
/** JSONP */
|
|
4535
|
+
callback?: string;
|
|
4536
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4537
|
+
fields?: string;
|
|
4538
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4539
|
+
key?: string;
|
|
4540
|
+
/** Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789 */
|
|
4541
|
+
name: string;
|
|
4542
|
+
/** OAuth 2.0 token for the current user. */
|
|
4543
|
+
oauth_token?: string;
|
|
4544
|
+
/** Returns response with indentations and line breaks. */
|
|
4545
|
+
prettyPrint?: boolean;
|
|
4546
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4547
|
+
quotaUser?: string;
|
|
4548
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4549
|
+
upload_protocol?: string;
|
|
4550
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4551
|
+
uploadType?: string;
|
|
4552
|
+
}): Request<GoogleAnalyticsAdminV1alphaEventEditRule>;
|
|
4553
|
+
/** Lists EventEditRules on a web data stream. */
|
|
4554
|
+
list(request?: {
|
|
4555
|
+
/** V1 error format. */
|
|
4556
|
+
'$.xgafv'?: string;
|
|
4557
|
+
/** OAuth access token. */
|
|
4558
|
+
access_token?: string;
|
|
4559
|
+
/** Data format for response. */
|
|
4560
|
+
alt?: string;
|
|
4561
|
+
/** JSONP */
|
|
4562
|
+
callback?: string;
|
|
4563
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4564
|
+
fields?: string;
|
|
4565
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4566
|
+
key?: string;
|
|
4567
|
+
/** OAuth 2.0 token for the current user. */
|
|
4568
|
+
oauth_token?: string;
|
|
4569
|
+
/** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
|
|
4570
|
+
pageSize?: number;
|
|
4571
|
+
/** Optional. A page token, received from a previous `ListEventEditRules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventEditRules` must match the call that provided the page token. */
|
|
4572
|
+
pageToken?: string;
|
|
4573
|
+
/** Required. Example format: properties/123/dataStreams/456 */
|
|
4574
|
+
parent: string;
|
|
4575
|
+
/** Returns response with indentations and line breaks. */
|
|
4576
|
+
prettyPrint?: boolean;
|
|
4577
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4578
|
+
quotaUser?: string;
|
|
4579
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4580
|
+
upload_protocol?: string;
|
|
4581
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4582
|
+
uploadType?: string;
|
|
4583
|
+
}): Request<GoogleAnalyticsAdminV1alphaListEventEditRulesResponse>;
|
|
4584
|
+
/** Updates an EventEditRule. */
|
|
4585
|
+
patch(request: {
|
|
4586
|
+
/** V1 error format. */
|
|
4587
|
+
'$.xgafv'?: string;
|
|
4588
|
+
/** OAuth access token. */
|
|
4589
|
+
access_token?: string;
|
|
4590
|
+
/** Data format for response. */
|
|
4591
|
+
alt?: string;
|
|
4592
|
+
/** JSONP */
|
|
4593
|
+
callback?: string;
|
|
4594
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4595
|
+
fields?: string;
|
|
4596
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4597
|
+
key?: string;
|
|
4598
|
+
/** Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} */
|
|
4599
|
+
name: string;
|
|
4600
|
+
/** OAuth 2.0 token for the current user. */
|
|
4601
|
+
oauth_token?: string;
|
|
4602
|
+
/** Returns response with indentations and line breaks. */
|
|
4603
|
+
prettyPrint?: boolean;
|
|
4604
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4605
|
+
quotaUser?: string;
|
|
4606
|
+
/** Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. */
|
|
4607
|
+
updateMask?: string;
|
|
4608
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4609
|
+
upload_protocol?: string;
|
|
4610
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4611
|
+
uploadType?: string;
|
|
4612
|
+
/** Request body */
|
|
4613
|
+
resource: GoogleAnalyticsAdminV1alphaEventEditRule;
|
|
4614
|
+
}): Request<GoogleAnalyticsAdminV1alphaEventEditRule>;
|
|
4615
|
+
patch(
|
|
4616
|
+
request: {
|
|
4617
|
+
/** V1 error format. */
|
|
4618
|
+
'$.xgafv'?: string;
|
|
4619
|
+
/** OAuth access token. */
|
|
4620
|
+
access_token?: string;
|
|
4621
|
+
/** Data format for response. */
|
|
4622
|
+
alt?: string;
|
|
4623
|
+
/** JSONP */
|
|
4624
|
+
callback?: string;
|
|
4625
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4626
|
+
fields?: string;
|
|
4627
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4628
|
+
key?: string;
|
|
4629
|
+
/** Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} */
|
|
4630
|
+
name: string;
|
|
4631
|
+
/** OAuth 2.0 token for the current user. */
|
|
4632
|
+
oauth_token?: string;
|
|
4633
|
+
/** Returns response with indentations and line breaks. */
|
|
4634
|
+
prettyPrint?: boolean;
|
|
4635
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4636
|
+
quotaUser?: string;
|
|
4637
|
+
/** Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. */
|
|
4638
|
+
updateMask?: string;
|
|
4639
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4640
|
+
upload_protocol?: string;
|
|
4641
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4642
|
+
uploadType?: string;
|
|
4643
|
+
},
|
|
4644
|
+
body: GoogleAnalyticsAdminV1alphaEventEditRule
|
|
4645
|
+
): Request<GoogleAnalyticsAdminV1alphaEventEditRule>;
|
|
4646
|
+
/** Changes the processing order of event edit rules on the specified stream. */
|
|
4647
|
+
reorder(request: {
|
|
4648
|
+
/** V1 error format. */
|
|
4649
|
+
'$.xgafv'?: string;
|
|
4650
|
+
/** OAuth access token. */
|
|
4651
|
+
access_token?: string;
|
|
4652
|
+
/** Data format for response. */
|
|
4653
|
+
alt?: string;
|
|
4654
|
+
/** JSONP */
|
|
4655
|
+
callback?: string;
|
|
4656
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4657
|
+
fields?: string;
|
|
4658
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4659
|
+
key?: string;
|
|
4660
|
+
/** OAuth 2.0 token for the current user. */
|
|
4661
|
+
oauth_token?: string;
|
|
4662
|
+
/** Required. Example format: properties/123/dataStreams/456 */
|
|
4663
|
+
parent: string;
|
|
4664
|
+
/** Returns response with indentations and line breaks. */
|
|
4665
|
+
prettyPrint?: boolean;
|
|
4666
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4667
|
+
quotaUser?: string;
|
|
4668
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4669
|
+
upload_protocol?: string;
|
|
4670
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4671
|
+
uploadType?: string;
|
|
4672
|
+
/** Request body */
|
|
4673
|
+
resource: GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest;
|
|
4674
|
+
}): Request<{}>;
|
|
4675
|
+
reorder(
|
|
4676
|
+
request: {
|
|
4677
|
+
/** V1 error format. */
|
|
4678
|
+
'$.xgafv'?: string;
|
|
4679
|
+
/** OAuth access token. */
|
|
4680
|
+
access_token?: string;
|
|
4681
|
+
/** Data format for response. */
|
|
4682
|
+
alt?: string;
|
|
4683
|
+
/** JSONP */
|
|
4684
|
+
callback?: string;
|
|
4685
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4686
|
+
fields?: string;
|
|
4687
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4688
|
+
key?: string;
|
|
4689
|
+
/** OAuth 2.0 token for the current user. */
|
|
4690
|
+
oauth_token?: string;
|
|
4691
|
+
/** Required. Example format: properties/123/dataStreams/456 */
|
|
4692
|
+
parent: string;
|
|
4693
|
+
/** Returns response with indentations and line breaks. */
|
|
4694
|
+
prettyPrint?: boolean;
|
|
4695
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4696
|
+
quotaUser?: string;
|
|
4697
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4698
|
+
upload_protocol?: string;
|
|
4699
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4700
|
+
uploadType?: string;
|
|
4701
|
+
},
|
|
4702
|
+
body: GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest
|
|
4703
|
+
): Request<{}>;
|
|
4704
|
+
}
|
|
4418
4705
|
interface MeasurementProtocolSecretsResource {
|
|
4419
4706
|
/** Creates a measurement protocol secret. */
|
|
4420
4707
|
create(request: {
|
|
@@ -5241,6 +5528,7 @@ declare namespace gapi.client {
|
|
|
5241
5528
|
body: GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
|
5242
5529
|
): Request<GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings>;
|
|
5243
5530
|
eventCreateRules: EventCreateRulesResource;
|
|
5531
|
+
eventEditRules: EventEditRulesResource;
|
|
5244
5532
|
measurementProtocolSecrets: MeasurementProtocolSecretsResource;
|
|
5245
5533
|
sKAdNetworkConversionValueSchema: SKAdNetworkConversionValueSchemaResource;
|
|
5246
5534
|
}
|