@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20230301 → 0.0.20230302
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 +5 -5
- package/package.json +1 -1
- package/tests.ts +2 -2
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: 20230302
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -565,8 +565,8 @@ declare namespace gapi.client {
|
|
|
565
565
|
interface GoogleAnalyticsAdminV1alphaConnectedSiteTag {
|
|
566
566
|
/** Required. User-provided display name for the connected site tag. Must be less than 256 characters. */
|
|
567
567
|
displayName?: string;
|
|
568
|
-
/** Required.
|
|
569
|
-
|
|
568
|
+
/** Required. "Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345). */
|
|
569
|
+
tagId?: string;
|
|
570
570
|
}
|
|
571
571
|
interface GoogleAnalyticsAdminV1alphaConversionEvent {
|
|
572
572
|
/** Output only. Time when this conversion event was created in the property. */
|
|
@@ -709,13 +709,13 @@ declare namespace gapi.client {
|
|
|
709
709
|
name?: string;
|
|
710
710
|
}
|
|
711
711
|
interface GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest {
|
|
712
|
-
/** The measurement ID of the tag to remove from the Universal Analytics property. Also known as "G-ID". Example: "G-12345" */
|
|
713
|
-
measurementId?: string;
|
|
714
712
|
/**
|
|
715
713
|
* The Universal Analytics property to delete connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example:
|
|
716
714
|
* properties/1234
|
|
717
715
|
*/
|
|
718
716
|
property?: string;
|
|
717
|
+
/** Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345). */
|
|
718
|
+
tagId?: string;
|
|
719
719
|
}
|
|
720
720
|
interface GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest {
|
|
721
721
|
/** Required. Example format: accounts/1234/userLinks/5678 */
|
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: 20230302
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -453,8 +453,8 @@ gapi.load('client', async () => {
|
|
|
453
453
|
/** Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties. */
|
|
454
454
|
await gapi.client.analyticsadmin.properties.deleteConnectedSiteTag({
|
|
455
455
|
}, {
|
|
456
|
-
measurementId: "Test string",
|
|
457
456
|
property: "Test string",
|
|
457
|
+
tagId: "Test string",
|
|
458
458
|
});
|
|
459
459
|
/** Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property. */
|
|
460
460
|
await gapi.client.analyticsadmin.properties.fetchAutomatedGa4ConfigurationOptOut({
|