@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20230502 → 0.0.20230503
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 +371 -1
- package/package.json +1 -1
- package/tests.ts +60 -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: 20230503
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -699,6 +699,9 @@ declare namespace gapi.client {
|
|
|
699
699
|
/** A snapshot of EnhancedMeasurementSettings resource in change history. */
|
|
700
700
|
enhancedMeasurementSettings?:
|
|
701
701
|
GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings;
|
|
702
|
+
/** A snapshot of an EventCreateRule resource in change history. */
|
|
703
|
+
eventCreateRule?:
|
|
704
|
+
GoogleAnalyticsAdminV1alphaEventCreateRule;
|
|
702
705
|
/** A snapshot of an ExpandedDataSet resource in change history. */
|
|
703
706
|
expandedDataSet?:
|
|
704
707
|
GoogleAnalyticsAdminV1alphaExpandedDataSet;
|
|
@@ -1139,6 +1142,26 @@ declare namespace gapi.client {
|
|
|
1139
1142
|
videoEngagementEnabled?:
|
|
1140
1143
|
boolean;
|
|
1141
1144
|
}
|
|
1145
|
+
interface GoogleAnalyticsAdminV1alphaEventCreateRule {
|
|
1146
|
+
/** Required. The name of the new event to be created. This value must: * be less than 40 characters * consist only of letters, digits or _ (underscores) * start with a letter */
|
|
1147
|
+
destinationEvent?:
|
|
1148
|
+
string;
|
|
1149
|
+
/** Required. Must have at least one condition, and can have up to 10 max. Conditions on the source event must match for this rule to be applied. */
|
|
1150
|
+
eventConditions?:
|
|
1151
|
+
GoogleAnalyticsAdminV1alphaMatchingCondition[];
|
|
1152
|
+
/** Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules */
|
|
1153
|
+
name?:
|
|
1154
|
+
string;
|
|
1155
|
+
/** Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied. */
|
|
1156
|
+
parameterMutations?:
|
|
1157
|
+
GoogleAnalyticsAdminV1alphaParameterMutation[];
|
|
1158
|
+
/**
|
|
1159
|
+
* 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
|
|
1160
|
+
* after the parameters have been copied.
|
|
1161
|
+
*/
|
|
1162
|
+
sourceCopyParameters?:
|
|
1163
|
+
boolean;
|
|
1164
|
+
}
|
|
1142
1165
|
interface GoogleAnalyticsAdminV1alphaExpandedDataSet {
|
|
1143
1166
|
/** Output only. Time when expanded data set began (or will begin) collecing data. */
|
|
1144
1167
|
dataCollectionStartTime?:
|
|
@@ -1428,6 +1451,14 @@ declare namespace gapi.client {
|
|
|
1428
1451
|
nextPageToken?:
|
|
1429
1452
|
string;
|
|
1430
1453
|
}
|
|
1454
|
+
interface GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse {
|
|
1455
|
+
/** List of EventCreateRules. These will be ordered stably, but in an arbitrary order. */
|
|
1456
|
+
eventCreateRules?:
|
|
1457
|
+
GoogleAnalyticsAdminV1alphaEventCreateRule[];
|
|
1458
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
1459
|
+
nextPageToken?:
|
|
1460
|
+
string;
|
|
1461
|
+
}
|
|
1431
1462
|
interface GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse {
|
|
1432
1463
|
/** List of ExpandedDataSet. These will be ordered stably, but in an arbitrary order. */
|
|
1433
1464
|
expandedDataSets?:
|
|
@@ -1487,6 +1518,26 @@ declare namespace gapi.client {
|
|
|
1487
1518
|
userLinks?:
|
|
1488
1519
|
GoogleAnalyticsAdminV1alphaUserLink[];
|
|
1489
1520
|
}
|
|
1521
|
+
interface GoogleAnalyticsAdminV1alphaMatchingCondition {
|
|
1522
|
+
/** Required. The type of comparison to be applied to the value. */
|
|
1523
|
+
comparisonType?:
|
|
1524
|
+
string;
|
|
1525
|
+
/**
|
|
1526
|
+
* Required. The name of the field that is compared against for the condition. If 'event_name' is specified this condition will apply to the name of the event. Otherwise the condition
|
|
1527
|
+
* will apply to a parameter with the specified name. This value cannot contain spaces.
|
|
1528
|
+
*/
|
|
1529
|
+
field?:
|
|
1530
|
+
string;
|
|
1531
|
+
/** Whether or not the result of the comparison should be negated. For example, if `negated` is true, then 'equals' comparisons would function as 'not equals'. */
|
|
1532
|
+
negated?:
|
|
1533
|
+
boolean;
|
|
1534
|
+
/**
|
|
1535
|
+
* Required. The value being compared against for this condition. The runtime implementation may perform type coercion of this value to evaluate this condition based on the type of the
|
|
1536
|
+
* parameter value.
|
|
1537
|
+
*/
|
|
1538
|
+
value?:
|
|
1539
|
+
string;
|
|
1540
|
+
}
|
|
1490
1541
|
interface GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret {
|
|
1491
1542
|
/** Required. Human-readable display name for this secret. */
|
|
1492
1543
|
displayName?:
|
|
@@ -1509,6 +1560,21 @@ declare namespace gapi.client {
|
|
|
1509
1560
|
int64Value?:
|
|
1510
1561
|
string;
|
|
1511
1562
|
}
|
|
1563
|
+
interface GoogleAnalyticsAdminV1alphaParameterMutation {
|
|
1564
|
+
/**
|
|
1565
|
+
* Required. The name of the parameter to mutate. This value must: * be less than 40 characters. * be unique across across all mutations within the rule * consist only of letters,
|
|
1566
|
+
* digits or _ (underscores) For event edit rules, the name may also be set to 'event_name' to modify the event_name in place.
|
|
1567
|
+
*/
|
|
1568
|
+
parameter?:
|
|
1569
|
+
string;
|
|
1570
|
+
/**
|
|
1571
|
+
* Required. The value mutation to perform. * Must be less than 100 characters. * To specify a constant value for the param, use the value's string. * To copy value from another
|
|
1572
|
+
* parameter, use syntax like "[[other_parameter]]" For more details, see this [help center
|
|
1573
|
+
* article](https://support.google.com/analytics/answer/10085872?hl=en#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
|
|
1574
|
+
*/
|
|
1575
|
+
parameterValue?:
|
|
1576
|
+
string;
|
|
1577
|
+
}
|
|
1512
1578
|
interface GoogleAnalyticsAdminV1alphaProperty {
|
|
1513
1579
|
/** Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123" */
|
|
1514
1580
|
account?:
|
|
@@ -5896,6 +5962,308 @@ declare namespace gapi.client {
|
|
|
5896
5962
|
},
|
|
5897
5963
|
body: GoogleAnalyticsAdminV1alphaCustomMetric): Request<GoogleAnalyticsAdminV1alphaCustomMetric>;
|
|
5898
5964
|
}
|
|
5965
|
+
interface EventCreateRulesResource {
|
|
5966
|
+
/** Creates an EventCreateRule. */
|
|
5967
|
+
create(request: {
|
|
5968
|
+
/** V1 error format. */
|
|
5969
|
+
"$.xgafv"?:
|
|
5970
|
+
string;
|
|
5971
|
+
/** OAuth access token. */
|
|
5972
|
+
access_token?:
|
|
5973
|
+
string;
|
|
5974
|
+
/** Data format for response. */
|
|
5975
|
+
alt?:
|
|
5976
|
+
string;
|
|
5977
|
+
/** JSONP */
|
|
5978
|
+
callback?:
|
|
5979
|
+
string;
|
|
5980
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5981
|
+
fields?:
|
|
5982
|
+
string;
|
|
5983
|
+
/** 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. */
|
|
5984
|
+
key?:
|
|
5985
|
+
string;
|
|
5986
|
+
/** OAuth 2.0 token for the current user. */
|
|
5987
|
+
oauth_token?:
|
|
5988
|
+
string;
|
|
5989
|
+
/** Required. Example format: properties/123/dataStreams/456 */
|
|
5990
|
+
parent:
|
|
5991
|
+
string;
|
|
5992
|
+
/** Returns response with indentations and line breaks. */
|
|
5993
|
+
prettyPrint?:
|
|
5994
|
+
boolean;
|
|
5995
|
+
/** 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. */
|
|
5996
|
+
quotaUser?:
|
|
5997
|
+
string;
|
|
5998
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5999
|
+
upload_protocol?:
|
|
6000
|
+
string;
|
|
6001
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6002
|
+
uploadType?:
|
|
6003
|
+
string;
|
|
6004
|
+
/** Request body */
|
|
6005
|
+
resource:
|
|
6006
|
+
GoogleAnalyticsAdminV1alphaEventCreateRule;
|
|
6007
|
+
}): Request<GoogleAnalyticsAdminV1alphaEventCreateRule>;
|
|
6008
|
+
create(request: {
|
|
6009
|
+
/** V1 error format. */
|
|
6010
|
+
"$.xgafv"?:
|
|
6011
|
+
string;
|
|
6012
|
+
/** OAuth access token. */
|
|
6013
|
+
access_token?:
|
|
6014
|
+
string;
|
|
6015
|
+
/** Data format for response. */
|
|
6016
|
+
alt?:
|
|
6017
|
+
string;
|
|
6018
|
+
/** JSONP */
|
|
6019
|
+
callback?:
|
|
6020
|
+
string;
|
|
6021
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6022
|
+
fields?:
|
|
6023
|
+
string;
|
|
6024
|
+
/** 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. */
|
|
6025
|
+
key?:
|
|
6026
|
+
string;
|
|
6027
|
+
/** OAuth 2.0 token for the current user. */
|
|
6028
|
+
oauth_token?:
|
|
6029
|
+
string;
|
|
6030
|
+
/** Required. Example format: properties/123/dataStreams/456 */
|
|
6031
|
+
parent:
|
|
6032
|
+
string;
|
|
6033
|
+
/** Returns response with indentations and line breaks. */
|
|
6034
|
+
prettyPrint?:
|
|
6035
|
+
boolean;
|
|
6036
|
+
/** 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. */
|
|
6037
|
+
quotaUser?:
|
|
6038
|
+
string;
|
|
6039
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6040
|
+
upload_protocol?:
|
|
6041
|
+
string;
|
|
6042
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6043
|
+
uploadType?:
|
|
6044
|
+
string;
|
|
6045
|
+
},
|
|
6046
|
+
body: GoogleAnalyticsAdminV1alphaEventCreateRule): Request<GoogleAnalyticsAdminV1alphaEventCreateRule>;
|
|
6047
|
+
/** Deletes an EventCreateRule. */
|
|
6048
|
+
delete(request?: {
|
|
6049
|
+
/** V1 error format. */
|
|
6050
|
+
"$.xgafv"?:
|
|
6051
|
+
string;
|
|
6052
|
+
/** OAuth access token. */
|
|
6053
|
+
access_token?:
|
|
6054
|
+
string;
|
|
6055
|
+
/** Data format for response. */
|
|
6056
|
+
alt?:
|
|
6057
|
+
string;
|
|
6058
|
+
/** JSONP */
|
|
6059
|
+
callback?:
|
|
6060
|
+
string;
|
|
6061
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6062
|
+
fields?:
|
|
6063
|
+
string;
|
|
6064
|
+
/** 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. */
|
|
6065
|
+
key?:
|
|
6066
|
+
string;
|
|
6067
|
+
/** Required. Example format: properties/123/dataStreams/456/eventCreateRules/789 */
|
|
6068
|
+
name:
|
|
6069
|
+
string;
|
|
6070
|
+
/** OAuth 2.0 token for the current user. */
|
|
6071
|
+
oauth_token?:
|
|
6072
|
+
string;
|
|
6073
|
+
/** Returns response with indentations and line breaks. */
|
|
6074
|
+
prettyPrint?:
|
|
6075
|
+
boolean;
|
|
6076
|
+
/** 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. */
|
|
6077
|
+
quotaUser?:
|
|
6078
|
+
string;
|
|
6079
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6080
|
+
upload_protocol?:
|
|
6081
|
+
string;
|
|
6082
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6083
|
+
uploadType?:
|
|
6084
|
+
string;
|
|
6085
|
+
}): Request<{}>;
|
|
6086
|
+
/** Lookup for a single EventCreateRule. */
|
|
6087
|
+
get(request?: {
|
|
6088
|
+
/** V1 error format. */
|
|
6089
|
+
"$.xgafv"?:
|
|
6090
|
+
string;
|
|
6091
|
+
/** OAuth access token. */
|
|
6092
|
+
access_token?:
|
|
6093
|
+
string;
|
|
6094
|
+
/** Data format for response. */
|
|
6095
|
+
alt?:
|
|
6096
|
+
string;
|
|
6097
|
+
/** JSONP */
|
|
6098
|
+
callback?:
|
|
6099
|
+
string;
|
|
6100
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6101
|
+
fields?:
|
|
6102
|
+
string;
|
|
6103
|
+
/** 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. */
|
|
6104
|
+
key?:
|
|
6105
|
+
string;
|
|
6106
|
+
/** Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789 */
|
|
6107
|
+
name:
|
|
6108
|
+
string;
|
|
6109
|
+
/** OAuth 2.0 token for the current user. */
|
|
6110
|
+
oauth_token?:
|
|
6111
|
+
string;
|
|
6112
|
+
/** Returns response with indentations and line breaks. */
|
|
6113
|
+
prettyPrint?:
|
|
6114
|
+
boolean;
|
|
6115
|
+
/** 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. */
|
|
6116
|
+
quotaUser?:
|
|
6117
|
+
string;
|
|
6118
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6119
|
+
upload_protocol?:
|
|
6120
|
+
string;
|
|
6121
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6122
|
+
uploadType?:
|
|
6123
|
+
string;
|
|
6124
|
+
}): Request<GoogleAnalyticsAdminV1alphaEventCreateRule>;
|
|
6125
|
+
/** Lists EventCreateRules on a web data stream. */
|
|
6126
|
+
list(request?: {
|
|
6127
|
+
/** V1 error format. */
|
|
6128
|
+
"$.xgafv"?:
|
|
6129
|
+
string;
|
|
6130
|
+
/** OAuth access token. */
|
|
6131
|
+
access_token?:
|
|
6132
|
+
string;
|
|
6133
|
+
/** Data format for response. */
|
|
6134
|
+
alt?:
|
|
6135
|
+
string;
|
|
6136
|
+
/** JSONP */
|
|
6137
|
+
callback?:
|
|
6138
|
+
string;
|
|
6139
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6140
|
+
fields?:
|
|
6141
|
+
string;
|
|
6142
|
+
/** 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. */
|
|
6143
|
+
key?:
|
|
6144
|
+
string;
|
|
6145
|
+
/** OAuth 2.0 token for the current user. */
|
|
6146
|
+
oauth_token?:
|
|
6147
|
+
string;
|
|
6148
|
+
/** 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). */
|
|
6149
|
+
pageSize?:
|
|
6150
|
+
number;
|
|
6151
|
+
/**
|
|
6152
|
+
* A page token, received from a previous `ListEventCreateRules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
6153
|
+
* `ListEventCreateRules` must match the call that provided the page token.
|
|
6154
|
+
*/
|
|
6155
|
+
pageToken?:
|
|
6156
|
+
string;
|
|
6157
|
+
/** Required. Example format: properties/123/dataStreams/456 */
|
|
6158
|
+
parent:
|
|
6159
|
+
string;
|
|
6160
|
+
/** Returns response with indentations and line breaks. */
|
|
6161
|
+
prettyPrint?:
|
|
6162
|
+
boolean;
|
|
6163
|
+
/** 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. */
|
|
6164
|
+
quotaUser?:
|
|
6165
|
+
string;
|
|
6166
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6167
|
+
upload_protocol?:
|
|
6168
|
+
string;
|
|
6169
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6170
|
+
uploadType?:
|
|
6171
|
+
string;
|
|
6172
|
+
}): Request<GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse>;
|
|
6173
|
+
/** Updates an EventCreateRule. */
|
|
6174
|
+
patch(request: {
|
|
6175
|
+
/** V1 error format. */
|
|
6176
|
+
"$.xgafv"?:
|
|
6177
|
+
string;
|
|
6178
|
+
/** OAuth access token. */
|
|
6179
|
+
access_token?:
|
|
6180
|
+
string;
|
|
6181
|
+
/** Data format for response. */
|
|
6182
|
+
alt?:
|
|
6183
|
+
string;
|
|
6184
|
+
/** JSONP */
|
|
6185
|
+
callback?:
|
|
6186
|
+
string;
|
|
6187
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6188
|
+
fields?:
|
|
6189
|
+
string;
|
|
6190
|
+
/** 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. */
|
|
6191
|
+
key?:
|
|
6192
|
+
string;
|
|
6193
|
+
/** Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules */
|
|
6194
|
+
name:
|
|
6195
|
+
string;
|
|
6196
|
+
/** OAuth 2.0 token for the current user. */
|
|
6197
|
+
oauth_token?:
|
|
6198
|
+
string;
|
|
6199
|
+
/** Returns response with indentations and line breaks. */
|
|
6200
|
+
prettyPrint?:
|
|
6201
|
+
boolean;
|
|
6202
|
+
/** 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. */
|
|
6203
|
+
quotaUser?:
|
|
6204
|
+
string;
|
|
6205
|
+
/**
|
|
6206
|
+
* 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
|
|
6207
|
+
* one path with the string "*" to match all fields.
|
|
6208
|
+
*/
|
|
6209
|
+
updateMask?:
|
|
6210
|
+
string;
|
|
6211
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6212
|
+
upload_protocol?:
|
|
6213
|
+
string;
|
|
6214
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6215
|
+
uploadType?:
|
|
6216
|
+
string;
|
|
6217
|
+
/** Request body */
|
|
6218
|
+
resource:
|
|
6219
|
+
GoogleAnalyticsAdminV1alphaEventCreateRule;
|
|
6220
|
+
}): Request<GoogleAnalyticsAdminV1alphaEventCreateRule>;
|
|
6221
|
+
patch(request: {
|
|
6222
|
+
/** V1 error format. */
|
|
6223
|
+
"$.xgafv"?:
|
|
6224
|
+
string;
|
|
6225
|
+
/** OAuth access token. */
|
|
6226
|
+
access_token?:
|
|
6227
|
+
string;
|
|
6228
|
+
/** Data format for response. */
|
|
6229
|
+
alt?:
|
|
6230
|
+
string;
|
|
6231
|
+
/** JSONP */
|
|
6232
|
+
callback?:
|
|
6233
|
+
string;
|
|
6234
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6235
|
+
fields?:
|
|
6236
|
+
string;
|
|
6237
|
+
/** 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. */
|
|
6238
|
+
key?:
|
|
6239
|
+
string;
|
|
6240
|
+
/** Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules */
|
|
6241
|
+
name:
|
|
6242
|
+
string;
|
|
6243
|
+
/** OAuth 2.0 token for the current user. */
|
|
6244
|
+
oauth_token?:
|
|
6245
|
+
string;
|
|
6246
|
+
/** Returns response with indentations and line breaks. */
|
|
6247
|
+
prettyPrint?:
|
|
6248
|
+
boolean;
|
|
6249
|
+
/** 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. */
|
|
6250
|
+
quotaUser?:
|
|
6251
|
+
string;
|
|
6252
|
+
/**
|
|
6253
|
+
* 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
|
|
6254
|
+
* one path with the string "*" to match all fields.
|
|
6255
|
+
*/
|
|
6256
|
+
updateMask?:
|
|
6257
|
+
string;
|
|
6258
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6259
|
+
upload_protocol?:
|
|
6260
|
+
string;
|
|
6261
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6262
|
+
uploadType?:
|
|
6263
|
+
string;
|
|
6264
|
+
},
|
|
6265
|
+
body: GoogleAnalyticsAdminV1alphaEventCreateRule): Request<GoogleAnalyticsAdminV1alphaEventCreateRule>;
|
|
6266
|
+
}
|
|
5899
6267
|
interface MeasurementProtocolSecretsResource {
|
|
5900
6268
|
/** Creates a measurement protocol secret. */
|
|
5901
6269
|
create(request: {
|
|
@@ -6676,6 +7044,8 @@ declare namespace gapi.client {
|
|
|
6676
7044
|
string;
|
|
6677
7045
|
},
|
|
6678
7046
|
body: GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings): Request<GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings>;
|
|
7047
|
+
eventCreateRules:
|
|
7048
|
+
EventCreateRulesResource;
|
|
6679
7049
|
measurementProtocolSecrets:
|
|
6680
7050
|
MeasurementProtocolSecretsResource;
|
|
6681
7051
|
}
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230503
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1321,6 +1321,65 @@ gapi.load('client', async () => {
|
|
|
1321
1321
|
uriQueryParameter: "Test string",
|
|
1322
1322
|
videoEngagementEnabled: true,
|
|
1323
1323
|
});
|
|
1324
|
+
/** Creates an EventCreateRule. */
|
|
1325
|
+
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.create({
|
|
1326
|
+
parent: "Test string",
|
|
1327
|
+
}, {
|
|
1328
|
+
destinationEvent: "Test string",
|
|
1329
|
+
eventConditions: [
|
|
1330
|
+
{
|
|
1331
|
+
comparisonType: "Test string",
|
|
1332
|
+
field: "Test string",
|
|
1333
|
+
negated: true,
|
|
1334
|
+
value: "Test string",
|
|
1335
|
+
}
|
|
1336
|
+
],
|
|
1337
|
+
name: "Test string",
|
|
1338
|
+
parameterMutations: [
|
|
1339
|
+
{
|
|
1340
|
+
parameter: "Test string",
|
|
1341
|
+
parameterValue: "Test string",
|
|
1342
|
+
}
|
|
1343
|
+
],
|
|
1344
|
+
sourceCopyParameters: true,
|
|
1345
|
+
});
|
|
1346
|
+
/** Deletes an EventCreateRule. */
|
|
1347
|
+
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.delete({
|
|
1348
|
+
name: "Test string",
|
|
1349
|
+
});
|
|
1350
|
+
/** Lookup for a single EventCreateRule. */
|
|
1351
|
+
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.get({
|
|
1352
|
+
name: "Test string",
|
|
1353
|
+
});
|
|
1354
|
+
/** Lists EventCreateRules on a web data stream. */
|
|
1355
|
+
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.list({
|
|
1356
|
+
pageSize: 42,
|
|
1357
|
+
pageToken: "Test string",
|
|
1358
|
+
parent: "Test string",
|
|
1359
|
+
});
|
|
1360
|
+
/** Updates an EventCreateRule. */
|
|
1361
|
+
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.patch({
|
|
1362
|
+
name: "Test string",
|
|
1363
|
+
updateMask: "Test string",
|
|
1364
|
+
}, {
|
|
1365
|
+
destinationEvent: "Test string",
|
|
1366
|
+
eventConditions: [
|
|
1367
|
+
{
|
|
1368
|
+
comparisonType: "Test string",
|
|
1369
|
+
field: "Test string",
|
|
1370
|
+
negated: true,
|
|
1371
|
+
value: "Test string",
|
|
1372
|
+
}
|
|
1373
|
+
],
|
|
1374
|
+
name: "Test string",
|
|
1375
|
+
parameterMutations: [
|
|
1376
|
+
{
|
|
1377
|
+
parameter: "Test string",
|
|
1378
|
+
parameterValue: "Test string",
|
|
1379
|
+
}
|
|
1380
|
+
],
|
|
1381
|
+
sourceCopyParameters: true,
|
|
1382
|
+
});
|
|
1324
1383
|
/** Creates a measurement protocol secret. */
|
|
1325
1384
|
await gapi.client.analyticsadmin.properties.dataStreams.measurementProtocolSecrets.create({
|
|
1326
1385
|
parent: "Test string",
|