@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20221201 → 0.0.20221206

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.
Files changed (3) hide show
  1. package/index.d.ts +74 -1
  2. package/package.json +1 -1
  3. package/tests.ts +11 -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: 20221201
12
+ // Revision: 20221206
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -842,6 +842,12 @@ declare namespace gapi.client {
842
842
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
843
843
  nextPageToken?: string;
844
844
  }
845
+ interface GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse {
846
+ /** List of BigQueryLinks. */
847
+ bigqueryLinks?: GoogleAnalyticsAdminV1alphaBigQueryLink[];
848
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
849
+ nextPageToken?: string;
850
+ }
845
851
  interface GoogleAnalyticsAdminV1alphaListConversionEventsResponse {
846
852
  /** The requested conversion events */
847
853
  conversionEvents?: GoogleAnalyticsAdminV1alphaConversionEvent[];
@@ -2200,6 +2206,72 @@ declare namespace gapi.client {
2200
2206
  },
2201
2207
  body: GoogleAnalyticsAdminV1alphaAudience): Request<GoogleAnalyticsAdminV1alphaAudience>;
2202
2208
  }
2209
+ interface BigQueryLinksResource {
2210
+ /** Lookup for a single BigQuery Link. */
2211
+ get(request?: {
2212
+ /** V1 error format. */
2213
+ "$.xgafv"?: string;
2214
+ /** OAuth access token. */
2215
+ access_token?: string;
2216
+ /** Data format for response. */
2217
+ alt?: string;
2218
+ /** JSONP */
2219
+ callback?: string;
2220
+ /** Selector specifying which fields to include in a partial response. */
2221
+ fields?: string;
2222
+ /** 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. */
2223
+ key?: string;
2224
+ /** Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456 */
2225
+ name: string;
2226
+ /** OAuth 2.0 token for the current user. */
2227
+ oauth_token?: string;
2228
+ /** Returns response with indentations and line breaks. */
2229
+ prettyPrint?: boolean;
2230
+ /** 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. */
2231
+ quotaUser?: string;
2232
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2233
+ upload_protocol?: string;
2234
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2235
+ uploadType?: string;
2236
+ }): Request<GoogleAnalyticsAdminV1alphaBigQueryLink>;
2237
+ /** Lists BigQuery Links on a property. */
2238
+ list(request?: {
2239
+ /** V1 error format. */
2240
+ "$.xgafv"?: string;
2241
+ /** OAuth access token. */
2242
+ access_token?: string;
2243
+ /** Data format for response. */
2244
+ alt?: string;
2245
+ /** JSONP */
2246
+ callback?: string;
2247
+ /** Selector specifying which fields to include in a partial response. */
2248
+ fields?: string;
2249
+ /** 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. */
2250
+ key?: string;
2251
+ /** OAuth 2.0 token for the current user. */
2252
+ oauth_token?: string;
2253
+ /**
2254
+ * The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be
2255
+ * returned. The maximum value is 200; (higher values will be coerced to the maximum)
2256
+ */
2257
+ pageSize?: number;
2258
+ /**
2259
+ * A page token, received from a previous `ListBigQueryLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2260
+ * `ListBigQueryLinks` must match the call that provided the page token.
2261
+ */
2262
+ pageToken?: string;
2263
+ /** Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234 */
2264
+ parent: string;
2265
+ /** Returns response with indentations and line breaks. */
2266
+ prettyPrint?: boolean;
2267
+ /** 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. */
2268
+ quotaUser?: string;
2269
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2270
+ upload_protocol?: string;
2271
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2272
+ uploadType?: string;
2273
+ }): Request<GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse>;
2274
+ }
2203
2275
  interface ConversionEventsResource {
2204
2276
  /** Creates a conversion event with the specified attributes. */
2205
2277
  create(request: {
@@ -5376,6 +5448,7 @@ declare namespace gapi.client {
5376
5448
  },
5377
5449
  body: GoogleAnalyticsAdminV1alphaGoogleSignalsSettings): Request<GoogleAnalyticsAdminV1alphaGoogleSignalsSettings>;
5378
5450
  audiences: AudiencesResource;
5451
+ bigQueryLinks: BigQueryLinksResource;
5379
5452
  conversionEvents: ConversionEventsResource;
5380
5453
  customDimensions: CustomDimensionsResource;
5381
5454
  customMetrics: CustomMetricsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.analyticsadmin-v1alpha",
3
- "version": "0.0.20221201",
3
+ "version": "0.0.20221206",
4
4
  "description": "TypeScript typings for Google Analytics Admin API v1alpha",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20221201
6
+ // Revision: 20221206
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -706,6 +706,16 @@ gapi.load('client', async () => {
706
706
  membershipDurationDays: 42,
707
707
  name: "Test string",
708
708
  });
709
+ /** Lookup for a single BigQuery Link. */
710
+ await gapi.client.analyticsadmin.properties.bigQueryLinks.get({
711
+ name: "Test string",
712
+ });
713
+ /** Lists BigQuery Links on a property. */
714
+ await gapi.client.analyticsadmin.properties.bigQueryLinks.list({
715
+ pageSize: 42,
716
+ pageToken: "Test string",
717
+ parent: "Test string",
718
+ });
709
719
  /** Creates a conversion event with the specified attributes. */
710
720
  await gapi.client.analyticsadmin.properties.conversionEvents.create({
711
721
  parent: "Test string",