@googleapis/analyticsdata 1.3.0 → 1.4.1
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/CHANGELOG.md +14 -0
- package/build/v1beta.d.ts +265 -1
- package/build/v1beta.js +131 -0
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1beta.ts +579 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.4.1](https://github.com/googleapis/google-api-nodejs-client/compare/analyticsdata-v1.4.0...analyticsdata-v1.4.1) (2024-02-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **analyticsdata:** update the API ([5847c48](https://github.com/googleapis/google-api-nodejs-client/commit/5847c48697867e8a24b475b3d1d5a3a57c2bc39b))
|
|
9
|
+
|
|
10
|
+
## [1.4.0](https://github.com/googleapis/google-api-nodejs-client/compare/analyticsdata-v1.3.0...analyticsdata-v1.4.0) (2024-01-03)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **analyticsdata:** update the API ([25d0b67](https://github.com/googleapis/google-api-nodejs-client/commit/25d0b6763ee7fc4bd9e41cd00d11b5910ab2b274))
|
|
16
|
+
|
|
3
17
|
## [1.3.0](https://github.com/googleapis/google-api-nodejs-client/compare/analyticsdata-v1.2.0...analyticsdata-v1.3.0) (2023-11-30)
|
|
4
18
|
|
|
5
19
|
|
package/build/v1beta.d.ts
CHANGED
|
@@ -84,6 +84,51 @@ export declare namespace analyticsdata_v1beta {
|
|
|
84
84
|
*/
|
|
85
85
|
restrictedMetricTypes?: string[] | null;
|
|
86
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* An audience export is a list of users in an audience at the time of the list's creation. One audience may have multiple audience exports created for different days.
|
|
89
|
+
*/
|
|
90
|
+
export interface Schema$AudienceExport {
|
|
91
|
+
/**
|
|
92
|
+
* Required. The audience resource name. This resource name identifies the audience being listed and is shared between the Analytics Data & Admin APIs. Format: `properties/{property\}/audiences/{audience\}`
|
|
93
|
+
*/
|
|
94
|
+
audience?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* Output only. The descriptive display name for this audience. For example, "Purchasers".
|
|
97
|
+
*/
|
|
98
|
+
audienceDisplayName?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Output only. The time when CreateAudienceExport was called and the AudienceExport began the `CREATING` state.
|
|
101
|
+
*/
|
|
102
|
+
beginCreatingTime?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Output only. The total quota tokens charged during creation of the AudienceExport. Because this token count is based on activity from the `CREATING` state, this tokens charged will be fixed once an AudienceExport enters the `ACTIVE` or `FAILED` states.
|
|
105
|
+
*/
|
|
106
|
+
creationQuotaTokensCharged?: number | null;
|
|
107
|
+
/**
|
|
108
|
+
* Required. The dimensions requested and displayed in the query response.
|
|
109
|
+
*/
|
|
110
|
+
dimensions?: Schema$V1betaAudienceDimension[];
|
|
111
|
+
/**
|
|
112
|
+
* Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.
|
|
113
|
+
*/
|
|
114
|
+
errorMessage?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* Output only. Identifier. The audience export resource name assigned during creation. This resource name identifies this `AudienceExport`. Format: `properties/{property\}/audienceExports/{audience_export\}`
|
|
117
|
+
*/
|
|
118
|
+
name?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* Output only. The percentage completed for this audience export ranging between 0 to 100.
|
|
121
|
+
*/
|
|
122
|
+
percentageCompleted?: number | null;
|
|
123
|
+
/**
|
|
124
|
+
* Output only. The total number of rows in the AudienceExport result.
|
|
125
|
+
*/
|
|
126
|
+
rowCount?: number | null;
|
|
127
|
+
/**
|
|
128
|
+
* Output only. The current state for this AudienceExport.
|
|
129
|
+
*/
|
|
130
|
+
state?: string | null;
|
|
131
|
+
}
|
|
87
132
|
/**
|
|
88
133
|
* This metadata is currently blank.
|
|
89
134
|
*/
|
|
@@ -348,7 +393,7 @@ export declare namespace analyticsdata_v1beta {
|
|
|
348
393
|
*/
|
|
349
394
|
category?: string | null;
|
|
350
395
|
/**
|
|
351
|
-
* True if the dimension is
|
|
396
|
+
* True if the dimension is custom to this property. This includes user, event, & item scoped custom dimensions; to learn more about custom dimensions, see https://support.google.com/analytics/answer/14240153. This also include custom channel groups; to learn more about custom channel groups, see https://support.google.com/analytics/answer/13051316.
|
|
352
397
|
*/
|
|
353
398
|
customDefinition?: boolean | null;
|
|
354
399
|
/**
|
|
@@ -454,6 +499,19 @@ export declare namespace analyticsdata_v1beta {
|
|
|
454
499
|
*/
|
|
455
500
|
values?: string[] | null;
|
|
456
501
|
}
|
|
502
|
+
/**
|
|
503
|
+
* A list of all audience exports for a property.
|
|
504
|
+
*/
|
|
505
|
+
export interface Schema$ListAudienceExportsResponse {
|
|
506
|
+
/**
|
|
507
|
+
* Each audience export for a property.
|
|
508
|
+
*/
|
|
509
|
+
audienceExports?: Schema$AudienceExport[];
|
|
510
|
+
/**
|
|
511
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
512
|
+
*/
|
|
513
|
+
nextPageToken?: string | null;
|
|
514
|
+
}
|
|
457
515
|
/**
|
|
458
516
|
* The dimensions, metrics and comparisons currently accepted in reporting methods.
|
|
459
517
|
*/
|
|
@@ -616,6 +674,35 @@ export declare namespace analyticsdata_v1beta {
|
|
|
616
674
|
*/
|
|
617
675
|
int64Value?: string | null;
|
|
618
676
|
}
|
|
677
|
+
/**
|
|
678
|
+
* This resource represents a long-running operation that is the result of a network API call.
|
|
679
|
+
*/
|
|
680
|
+
export interface Schema$Operation {
|
|
681
|
+
/**
|
|
682
|
+
* If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
|
|
683
|
+
*/
|
|
684
|
+
done?: boolean | null;
|
|
685
|
+
/**
|
|
686
|
+
* The error result of the operation in case of failure or cancellation.
|
|
687
|
+
*/
|
|
688
|
+
error?: Schema$Status;
|
|
689
|
+
/**
|
|
690
|
+
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
691
|
+
*/
|
|
692
|
+
metadata?: {
|
|
693
|
+
[key: string]: any;
|
|
694
|
+
} | null;
|
|
695
|
+
/**
|
|
696
|
+
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`.
|
|
697
|
+
*/
|
|
698
|
+
name?: string | null;
|
|
699
|
+
/**
|
|
700
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
701
|
+
*/
|
|
702
|
+
response?: {
|
|
703
|
+
[key: string]: any;
|
|
704
|
+
} | null;
|
|
705
|
+
}
|
|
619
706
|
/**
|
|
620
707
|
* Order bys define how rows will be sorted in the response. For example, ordering rows by descending event count is one ordering, and ordering rows by the event name string is a different ordering.
|
|
621
708
|
*/
|
|
@@ -739,6 +826,36 @@ export declare namespace analyticsdata_v1beta {
|
|
|
739
826
|
*/
|
|
740
827
|
tokensPerProjectPerHour?: Schema$QuotaStatus;
|
|
741
828
|
}
|
|
829
|
+
/**
|
|
830
|
+
* A request to list users in an audience export.
|
|
831
|
+
*/
|
|
832
|
+
export interface Schema$QueryAudienceExportRequest {
|
|
833
|
+
/**
|
|
834
|
+
* Optional. The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
835
|
+
*/
|
|
836
|
+
limit?: string | null;
|
|
837
|
+
/**
|
|
838
|
+
* Optional. The row count of the start row. The first row is counted as row 0. When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first `limit` of rows. The second request sets offset to the `limit` of the first request; the second request returns the second `limit` of rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
839
|
+
*/
|
|
840
|
+
offset?: string | null;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* A list of users in an audience export.
|
|
844
|
+
*/
|
|
845
|
+
export interface Schema$QueryAudienceExportResponse {
|
|
846
|
+
/**
|
|
847
|
+
* Configuration data about AudienceExport being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceExport correspond to the columns in the AudienceRows.
|
|
848
|
+
*/
|
|
849
|
+
audienceExport?: Schema$AudienceExport;
|
|
850
|
+
/**
|
|
851
|
+
* Rows for each user in an audience export. The number of rows in this response will be less than or equal to request's page size.
|
|
852
|
+
*/
|
|
853
|
+
audienceRows?: Schema$V1betaAudienceRow[];
|
|
854
|
+
/**
|
|
855
|
+
* The total number of rows in the AudienceExport result. `rowCount` is independent of the number of rows returned in the response, the `limit` request parameter, and the `offset` request parameter. For example if a query returns 175 rows and includes `limit` of 50 in the API request, the response will contain `rowCount` of 175 but only 50 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
856
|
+
*/
|
|
857
|
+
rowCount?: number | null;
|
|
858
|
+
}
|
|
742
859
|
/**
|
|
743
860
|
* Current state for a particular quota group.
|
|
744
861
|
*/
|
|
@@ -1094,6 +1211,25 @@ export declare namespace analyticsdata_v1beta {
|
|
|
1094
1211
|
*/
|
|
1095
1212
|
activeMetricRestrictions?: Schema$ActiveMetricRestriction[];
|
|
1096
1213
|
}
|
|
1214
|
+
/**
|
|
1215
|
+
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1216
|
+
*/
|
|
1217
|
+
export interface Schema$Status {
|
|
1218
|
+
/**
|
|
1219
|
+
* The status code, which should be an enum value of google.rpc.Code.
|
|
1220
|
+
*/
|
|
1221
|
+
code?: number | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
|
1224
|
+
*/
|
|
1225
|
+
details?: Array<{
|
|
1226
|
+
[key: string]: any;
|
|
1227
|
+
}> | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
|
|
1230
|
+
*/
|
|
1231
|
+
message?: string | null;
|
|
1232
|
+
}
|
|
1097
1233
|
/**
|
|
1098
1234
|
* The filter for string
|
|
1099
1235
|
*/
|
|
@@ -1111,8 +1247,36 @@ export declare namespace analyticsdata_v1beta {
|
|
|
1111
1247
|
*/
|
|
1112
1248
|
value?: string | null;
|
|
1113
1249
|
}
|
|
1250
|
+
/**
|
|
1251
|
+
* An audience dimension is a user attribute. Specific user attributed are requested and then later returned in the `QueryAudienceExportResponse`.
|
|
1252
|
+
*/
|
|
1253
|
+
export interface Schema$V1betaAudienceDimension {
|
|
1254
|
+
/**
|
|
1255
|
+
* Optional. The API name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) for the list of dimension names.
|
|
1256
|
+
*/
|
|
1257
|
+
dimensionName?: string | null;
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* The value of a dimension.
|
|
1261
|
+
*/
|
|
1262
|
+
export interface Schema$V1betaAudienceDimensionValue {
|
|
1263
|
+
/**
|
|
1264
|
+
* Value as a string if the dimension type is a string.
|
|
1265
|
+
*/
|
|
1266
|
+
value?: string | null;
|
|
1267
|
+
}
|
|
1268
|
+
/**
|
|
1269
|
+
* Dimension value attributes for the audience user row.
|
|
1270
|
+
*/
|
|
1271
|
+
export interface Schema$V1betaAudienceRow {
|
|
1272
|
+
/**
|
|
1273
|
+
* Each dimension value attribute for an audience user. One dimension value will be added for each dimension column requested.
|
|
1274
|
+
*/
|
|
1275
|
+
dimensionValues?: Schema$V1betaAudienceDimensionValue[];
|
|
1276
|
+
}
|
|
1114
1277
|
export class Resource$Properties {
|
|
1115
1278
|
context: APIRequestContext;
|
|
1279
|
+
audienceExports: Resource$Properties$Audienceexports;
|
|
1116
1280
|
constructor(context: APIRequestContext);
|
|
1117
1281
|
/**
|
|
1118
1282
|
* Returns multiple pivot reports in a batch. All reports must be for the same GA4 Property.
|
|
@@ -1279,5 +1443,105 @@ export declare namespace analyticsdata_v1beta {
|
|
|
1279
1443
|
*/
|
|
1280
1444
|
requestBody?: Schema$RunReportRequest;
|
|
1281
1445
|
}
|
|
1446
|
+
export class Resource$Properties$Audienceexports {
|
|
1447
|
+
context: APIRequestContext;
|
|
1448
|
+
constructor(context: APIRequestContext);
|
|
1449
|
+
/**
|
|
1450
|
+
* Creates an audience export for later retrieval. This method quickly returns the audience export's resource name and initiates a long running asynchronous request to form an audience export. To export the users in an audience export, first create the audience export through this method and then send the audience resource name to the `QueryAudienceExport` method. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. An audience export is a snapshot of the users currently in the audience at the time of audience export creation. Creating audience exports for one audience on different days will return different results as users enter and exit the audience. Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. Audience exports contain the users in each audience. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
1451
|
+
*
|
|
1452
|
+
* @param params - Parameters for request
|
|
1453
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1454
|
+
* @param callback - Optional callback that handles the response.
|
|
1455
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1456
|
+
*/
|
|
1457
|
+
create(params: Params$Resource$Properties$Audienceexports$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1458
|
+
create(params?: Params$Resource$Properties$Audienceexports$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
1459
|
+
create(params: Params$Resource$Properties$Audienceexports$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1460
|
+
create(params: Params$Resource$Properties$Audienceexports$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1461
|
+
create(params: Params$Resource$Properties$Audienceexports$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1462
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1463
|
+
/**
|
|
1464
|
+
* Gets configuration metadata about a specific audience export. This method can be used to understand an audience export after it has been created. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
1465
|
+
*
|
|
1466
|
+
* @param params - Parameters for request
|
|
1467
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1468
|
+
* @param callback - Optional callback that handles the response.
|
|
1469
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1470
|
+
*/
|
|
1471
|
+
get(params: Params$Resource$Properties$Audienceexports$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1472
|
+
get(params?: Params$Resource$Properties$Audienceexports$Get, options?: MethodOptions): GaxiosPromise<Schema$AudienceExport>;
|
|
1473
|
+
get(params: Params$Resource$Properties$Audienceexports$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1474
|
+
get(params: Params$Resource$Properties$Audienceexports$Get, options: MethodOptions | BodyResponseCallback<Schema$AudienceExport>, callback: BodyResponseCallback<Schema$AudienceExport>): void;
|
|
1475
|
+
get(params: Params$Resource$Properties$Audienceexports$Get, callback: BodyResponseCallback<Schema$AudienceExport>): void;
|
|
1476
|
+
get(callback: BodyResponseCallback<Schema$AudienceExport>): void;
|
|
1477
|
+
/**
|
|
1478
|
+
* Lists all audience exports for a property. This method can be used for you to find and reuse existing audience exports rather than creating unnecessary new audience exports. The same audience can have multiple audience exports that represent the export of users that were in an audience on different days. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
1479
|
+
*
|
|
1480
|
+
* @param params - Parameters for request
|
|
1481
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1482
|
+
* @param callback - Optional callback that handles the response.
|
|
1483
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1484
|
+
*/
|
|
1485
|
+
list(params: Params$Resource$Properties$Audienceexports$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1486
|
+
list(params?: Params$Resource$Properties$Audienceexports$List, options?: MethodOptions): GaxiosPromise<Schema$ListAudienceExportsResponse>;
|
|
1487
|
+
list(params: Params$Resource$Properties$Audienceexports$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1488
|
+
list(params: Params$Resource$Properties$Audienceexports$List, options: MethodOptions | BodyResponseCallback<Schema$ListAudienceExportsResponse>, callback: BodyResponseCallback<Schema$ListAudienceExportsResponse>): void;
|
|
1489
|
+
list(params: Params$Resource$Properties$Audienceexports$List, callback: BodyResponseCallback<Schema$ListAudienceExportsResponse>): void;
|
|
1490
|
+
list(callback: BodyResponseCallback<Schema$ListAudienceExportsResponse>): void;
|
|
1491
|
+
/**
|
|
1492
|
+
* Retrieves an audience export of users. After creating an audience, the users are not immediately available for exporting. First, a request to `CreateAudienceExport` is necessary to create an audience export of users, and then second, this method is used to retrieve the users in the audience export. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
1493
|
+
*
|
|
1494
|
+
* @param params - Parameters for request
|
|
1495
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1496
|
+
* @param callback - Optional callback that handles the response.
|
|
1497
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1498
|
+
*/
|
|
1499
|
+
query(params: Params$Resource$Properties$Audienceexports$Query, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1500
|
+
query(params?: Params$Resource$Properties$Audienceexports$Query, options?: MethodOptions): GaxiosPromise<Schema$QueryAudienceExportResponse>;
|
|
1501
|
+
query(params: Params$Resource$Properties$Audienceexports$Query, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1502
|
+
query(params: Params$Resource$Properties$Audienceexports$Query, options: MethodOptions | BodyResponseCallback<Schema$QueryAudienceExportResponse>, callback: BodyResponseCallback<Schema$QueryAudienceExportResponse>): void;
|
|
1503
|
+
query(params: Params$Resource$Properties$Audienceexports$Query, callback: BodyResponseCallback<Schema$QueryAudienceExportResponse>): void;
|
|
1504
|
+
query(callback: BodyResponseCallback<Schema$QueryAudienceExportResponse>): void;
|
|
1505
|
+
}
|
|
1506
|
+
export interface Params$Resource$Properties$Audienceexports$Create extends StandardParameters {
|
|
1507
|
+
/**
|
|
1508
|
+
* Required. The parent resource where this audience export will be created. Format: `properties/{property\}`
|
|
1509
|
+
*/
|
|
1510
|
+
parent?: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* Request body metadata
|
|
1513
|
+
*/
|
|
1514
|
+
requestBody?: Schema$AudienceExport;
|
|
1515
|
+
}
|
|
1516
|
+
export interface Params$Resource$Properties$Audienceexports$Get extends StandardParameters {
|
|
1517
|
+
/**
|
|
1518
|
+
* Required. The audience export resource name. Format: `properties/{property\}/audienceExports/{audience_export\}`
|
|
1519
|
+
*/
|
|
1520
|
+
name?: string;
|
|
1521
|
+
}
|
|
1522
|
+
export interface Params$Resource$Properties$Audienceexports$List extends StandardParameters {
|
|
1523
|
+
/**
|
|
1524
|
+
* Optional. The maximum number of audience exports to return. The service may return fewer than this value. If unspecified, at most 200 audience exports will be returned. The maximum value is 1000 (higher values will be coerced to the maximum).
|
|
1525
|
+
*/
|
|
1526
|
+
pageSize?: number;
|
|
1527
|
+
/**
|
|
1528
|
+
* Optional. A page token, received from a previous `ListAudienceExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAudienceExports` must match the call that provided the page token.
|
|
1529
|
+
*/
|
|
1530
|
+
pageToken?: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* Required. All audience exports for this property will be listed in the response. Format: `properties/{property\}`
|
|
1533
|
+
*/
|
|
1534
|
+
parent?: string;
|
|
1535
|
+
}
|
|
1536
|
+
export interface Params$Resource$Properties$Audienceexports$Query extends StandardParameters {
|
|
1537
|
+
/**
|
|
1538
|
+
* Required. The name of the audience export to retrieve users from. Format: `properties/{property\}/audienceExports/{audience_export\}`
|
|
1539
|
+
*/
|
|
1540
|
+
name?: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Request body metadata
|
|
1543
|
+
*/
|
|
1544
|
+
requestBody?: Schema$QueryAudienceExportRequest;
|
|
1545
|
+
}
|
|
1282
1546
|
export {};
|
|
1283
1547
|
}
|
package/build/v1beta.js
CHANGED
|
@@ -45,6 +45,7 @@ var analyticsdata_v1beta;
|
|
|
45
45
|
class Resource$Properties {
|
|
46
46
|
constructor(context) {
|
|
47
47
|
this.context = context;
|
|
48
|
+
this.audienceExports = new Resource$Properties$Audienceexports(this.context);
|
|
48
49
|
}
|
|
49
50
|
batchRunPivotReports(paramsOrCallback, optionsOrCallback, callback) {
|
|
50
51
|
let params = (paramsOrCallback ||
|
|
@@ -265,5 +266,135 @@ var analyticsdata_v1beta;
|
|
|
265
266
|
}
|
|
266
267
|
}
|
|
267
268
|
analyticsdata_v1beta.Resource$Properties = Resource$Properties;
|
|
269
|
+
class Resource$Properties$Audienceexports {
|
|
270
|
+
constructor(context) {
|
|
271
|
+
this.context = context;
|
|
272
|
+
}
|
|
273
|
+
create(paramsOrCallback, optionsOrCallback, callback) {
|
|
274
|
+
let params = (paramsOrCallback ||
|
|
275
|
+
{});
|
|
276
|
+
let options = (optionsOrCallback || {});
|
|
277
|
+
if (typeof paramsOrCallback === 'function') {
|
|
278
|
+
callback = paramsOrCallback;
|
|
279
|
+
params = {};
|
|
280
|
+
options = {};
|
|
281
|
+
}
|
|
282
|
+
if (typeof optionsOrCallback === 'function') {
|
|
283
|
+
callback = optionsOrCallback;
|
|
284
|
+
options = {};
|
|
285
|
+
}
|
|
286
|
+
const rootUrl = options.rootUrl || 'https://analyticsdata.googleapis.com/';
|
|
287
|
+
const parameters = {
|
|
288
|
+
options: Object.assign({
|
|
289
|
+
url: (rootUrl + '/v1beta/{+parent}/audienceExports').replace(/([^:]\/)\/+/g, '$1'),
|
|
290
|
+
method: 'POST',
|
|
291
|
+
}, options),
|
|
292
|
+
params,
|
|
293
|
+
requiredParams: ['parent'],
|
|
294
|
+
pathParams: ['parent'],
|
|
295
|
+
context: this.context,
|
|
296
|
+
};
|
|
297
|
+
if (callback) {
|
|
298
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
305
|
+
let params = (paramsOrCallback ||
|
|
306
|
+
{});
|
|
307
|
+
let options = (optionsOrCallback || {});
|
|
308
|
+
if (typeof paramsOrCallback === 'function') {
|
|
309
|
+
callback = paramsOrCallback;
|
|
310
|
+
params = {};
|
|
311
|
+
options = {};
|
|
312
|
+
}
|
|
313
|
+
if (typeof optionsOrCallback === 'function') {
|
|
314
|
+
callback = optionsOrCallback;
|
|
315
|
+
options = {};
|
|
316
|
+
}
|
|
317
|
+
const rootUrl = options.rootUrl || 'https://analyticsdata.googleapis.com/';
|
|
318
|
+
const parameters = {
|
|
319
|
+
options: Object.assign({
|
|
320
|
+
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
321
|
+
method: 'GET',
|
|
322
|
+
}, options),
|
|
323
|
+
params,
|
|
324
|
+
requiredParams: ['name'],
|
|
325
|
+
pathParams: ['name'],
|
|
326
|
+
context: this.context,
|
|
327
|
+
};
|
|
328
|
+
if (callback) {
|
|
329
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
330
|
+
}
|
|
331
|
+
else {
|
|
332
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
336
|
+
let params = (paramsOrCallback ||
|
|
337
|
+
{});
|
|
338
|
+
let options = (optionsOrCallback || {});
|
|
339
|
+
if (typeof paramsOrCallback === 'function') {
|
|
340
|
+
callback = paramsOrCallback;
|
|
341
|
+
params = {};
|
|
342
|
+
options = {};
|
|
343
|
+
}
|
|
344
|
+
if (typeof optionsOrCallback === 'function') {
|
|
345
|
+
callback = optionsOrCallback;
|
|
346
|
+
options = {};
|
|
347
|
+
}
|
|
348
|
+
const rootUrl = options.rootUrl || 'https://analyticsdata.googleapis.com/';
|
|
349
|
+
const parameters = {
|
|
350
|
+
options: Object.assign({
|
|
351
|
+
url: (rootUrl + '/v1beta/{+parent}/audienceExports').replace(/([^:]\/)\/+/g, '$1'),
|
|
352
|
+
method: 'GET',
|
|
353
|
+
}, options),
|
|
354
|
+
params,
|
|
355
|
+
requiredParams: ['parent'],
|
|
356
|
+
pathParams: ['parent'],
|
|
357
|
+
context: this.context,
|
|
358
|
+
};
|
|
359
|
+
if (callback) {
|
|
360
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
361
|
+
}
|
|
362
|
+
else {
|
|
363
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
query(paramsOrCallback, optionsOrCallback, callback) {
|
|
367
|
+
let params = (paramsOrCallback ||
|
|
368
|
+
{});
|
|
369
|
+
let options = (optionsOrCallback || {});
|
|
370
|
+
if (typeof paramsOrCallback === 'function') {
|
|
371
|
+
callback = paramsOrCallback;
|
|
372
|
+
params = {};
|
|
373
|
+
options = {};
|
|
374
|
+
}
|
|
375
|
+
if (typeof optionsOrCallback === 'function') {
|
|
376
|
+
callback = optionsOrCallback;
|
|
377
|
+
options = {};
|
|
378
|
+
}
|
|
379
|
+
const rootUrl = options.rootUrl || 'https://analyticsdata.googleapis.com/';
|
|
380
|
+
const parameters = {
|
|
381
|
+
options: Object.assign({
|
|
382
|
+
url: (rootUrl + '/v1beta/{+name}:query').replace(/([^:]\/)\/+/g, '$1'),
|
|
383
|
+
method: 'POST',
|
|
384
|
+
}, options),
|
|
385
|
+
params,
|
|
386
|
+
requiredParams: ['name'],
|
|
387
|
+
pathParams: ['name'],
|
|
388
|
+
context: this.context,
|
|
389
|
+
};
|
|
390
|
+
if (callback) {
|
|
391
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
392
|
+
}
|
|
393
|
+
else {
|
|
394
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
analyticsdata_v1beta.Resource$Properties$Audienceexports = Resource$Properties$Audienceexports;
|
|
268
399
|
})(analyticsdata_v1beta = exports.analyticsdata_v1beta || (exports.analyticsdata_v1beta = {}));
|
|
269
400
|
//# sourceMappingURL=v1beta.js.map
|
package/build/v1beta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1beta.js","sourceRoot":"","sources":["../v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,oBAAoB,CA40DpC;AA50DD,WAAiB,oBAAoB;IAgEnC;;;;;;;;;;OAUG;IACH,MAAa,aAAa;QAIxB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,UAAU,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1D,CAAC;KACF;IAZY,kCAAa,gBAYzB,CAAA;IAkhCD,MAAa,mBAAmB;QAE9B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACzB,CAAC;QAqCD,oBAAoB,CACl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lC,IAAI,MAAM,GAAG,CAAC,gBAAgB;gBAC5B,EAAE,CAAqD,CAAC;YAC1D,IAAI,OAAO,GAAG,CAAC,iBAAiB,IAAI,EAAE,CAAkB,CAAC;YAEzD,IAAI,OAAO,gBAAgB,KAAK,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAAsD,CAAC;gBAChE,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,uCAAuC,CAAC;YAC7D,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,uBAAuB,CAAC,CAAC,OAAO,CAC9C,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,MAAM,CAAC;gBACxB,UAAU,EAAE,CAAC,MAAM,CAAC;gBACpB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAqC,UAAU,CAAC,CAAC;aACzE;QACH,CAAC;KACF;IAhXY,wDAAmC,sCAgX/C,CAAA;AAgDH,CAAC,EA94EgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA84EpC"}
|
package/package.json
CHANGED
package/v1beta.ts
CHANGED
|
@@ -137,6 +137,51 @@ export namespace analyticsdata_v1beta {
|
|
|
137
137
|
*/
|
|
138
138
|
restrictedMetricTypes?: string[] | null;
|
|
139
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* An audience export is a list of users in an audience at the time of the list's creation. One audience may have multiple audience exports created for different days.
|
|
142
|
+
*/
|
|
143
|
+
export interface Schema$AudienceExport {
|
|
144
|
+
/**
|
|
145
|
+
* Required. The audience resource name. This resource name identifies the audience being listed and is shared between the Analytics Data & Admin APIs. Format: `properties/{property\}/audiences/{audience\}`
|
|
146
|
+
*/
|
|
147
|
+
audience?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* Output only. The descriptive display name for this audience. For example, "Purchasers".
|
|
150
|
+
*/
|
|
151
|
+
audienceDisplayName?: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* Output only. The time when CreateAudienceExport was called and the AudienceExport began the `CREATING` state.
|
|
154
|
+
*/
|
|
155
|
+
beginCreatingTime?: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* Output only. The total quota tokens charged during creation of the AudienceExport. Because this token count is based on activity from the `CREATING` state, this tokens charged will be fixed once an AudienceExport enters the `ACTIVE` or `FAILED` states.
|
|
158
|
+
*/
|
|
159
|
+
creationQuotaTokensCharged?: number | null;
|
|
160
|
+
/**
|
|
161
|
+
* Required. The dimensions requested and displayed in the query response.
|
|
162
|
+
*/
|
|
163
|
+
dimensions?: Schema$V1betaAudienceDimension[];
|
|
164
|
+
/**
|
|
165
|
+
* Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.
|
|
166
|
+
*/
|
|
167
|
+
errorMessage?: string | null;
|
|
168
|
+
/**
|
|
169
|
+
* Output only. Identifier. The audience export resource name assigned during creation. This resource name identifies this `AudienceExport`. Format: `properties/{property\}/audienceExports/{audience_export\}`
|
|
170
|
+
*/
|
|
171
|
+
name?: string | null;
|
|
172
|
+
/**
|
|
173
|
+
* Output only. The percentage completed for this audience export ranging between 0 to 100.
|
|
174
|
+
*/
|
|
175
|
+
percentageCompleted?: number | null;
|
|
176
|
+
/**
|
|
177
|
+
* Output only. The total number of rows in the AudienceExport result.
|
|
178
|
+
*/
|
|
179
|
+
rowCount?: number | null;
|
|
180
|
+
/**
|
|
181
|
+
* Output only. The current state for this AudienceExport.
|
|
182
|
+
*/
|
|
183
|
+
state?: string | null;
|
|
184
|
+
}
|
|
140
185
|
/**
|
|
141
186
|
* This metadata is currently blank.
|
|
142
187
|
*/
|
|
@@ -400,7 +445,7 @@ export namespace analyticsdata_v1beta {
|
|
|
400
445
|
*/
|
|
401
446
|
category?: string | null;
|
|
402
447
|
/**
|
|
403
|
-
* True if the dimension is
|
|
448
|
+
* True if the dimension is custom to this property. This includes user, event, & item scoped custom dimensions; to learn more about custom dimensions, see https://support.google.com/analytics/answer/14240153. This also include custom channel groups; to learn more about custom channel groups, see https://support.google.com/analytics/answer/13051316.
|
|
404
449
|
*/
|
|
405
450
|
customDefinition?: boolean | null;
|
|
406
451
|
/**
|
|
@@ -506,6 +551,19 @@ export namespace analyticsdata_v1beta {
|
|
|
506
551
|
*/
|
|
507
552
|
values?: string[] | null;
|
|
508
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* A list of all audience exports for a property.
|
|
556
|
+
*/
|
|
557
|
+
export interface Schema$ListAudienceExportsResponse {
|
|
558
|
+
/**
|
|
559
|
+
* Each audience export for a property.
|
|
560
|
+
*/
|
|
561
|
+
audienceExports?: Schema$AudienceExport[];
|
|
562
|
+
/**
|
|
563
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
564
|
+
*/
|
|
565
|
+
nextPageToken?: string | null;
|
|
566
|
+
}
|
|
509
567
|
/**
|
|
510
568
|
* The dimensions, metrics and comparisons currently accepted in reporting methods.
|
|
511
569
|
*/
|
|
@@ -668,6 +726,31 @@ export namespace analyticsdata_v1beta {
|
|
|
668
726
|
*/
|
|
669
727
|
int64Value?: string | null;
|
|
670
728
|
}
|
|
729
|
+
/**
|
|
730
|
+
* This resource represents a long-running operation that is the result of a network API call.
|
|
731
|
+
*/
|
|
732
|
+
export interface Schema$Operation {
|
|
733
|
+
/**
|
|
734
|
+
* If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
|
|
735
|
+
*/
|
|
736
|
+
done?: boolean | null;
|
|
737
|
+
/**
|
|
738
|
+
* The error result of the operation in case of failure or cancellation.
|
|
739
|
+
*/
|
|
740
|
+
error?: Schema$Status;
|
|
741
|
+
/**
|
|
742
|
+
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
743
|
+
*/
|
|
744
|
+
metadata?: {[key: string]: any} | null;
|
|
745
|
+
/**
|
|
746
|
+
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`.
|
|
747
|
+
*/
|
|
748
|
+
name?: string | null;
|
|
749
|
+
/**
|
|
750
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
751
|
+
*/
|
|
752
|
+
response?: {[key: string]: any} | null;
|
|
753
|
+
}
|
|
671
754
|
/**
|
|
672
755
|
* Order bys define how rows will be sorted in the response. For example, ordering rows by descending event count is one ordering, and ordering rows by the event name string is a different ordering.
|
|
673
756
|
*/
|
|
@@ -791,6 +874,36 @@ export namespace analyticsdata_v1beta {
|
|
|
791
874
|
*/
|
|
792
875
|
tokensPerProjectPerHour?: Schema$QuotaStatus;
|
|
793
876
|
}
|
|
877
|
+
/**
|
|
878
|
+
* A request to list users in an audience export.
|
|
879
|
+
*/
|
|
880
|
+
export interface Schema$QueryAudienceExportRequest {
|
|
881
|
+
/**
|
|
882
|
+
* Optional. The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
883
|
+
*/
|
|
884
|
+
limit?: string | null;
|
|
885
|
+
/**
|
|
886
|
+
* Optional. The row count of the start row. The first row is counted as row 0. When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first `limit` of rows. The second request sets offset to the `limit` of the first request; the second request returns the second `limit` of rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
887
|
+
*/
|
|
888
|
+
offset?: string | null;
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* A list of users in an audience export.
|
|
892
|
+
*/
|
|
893
|
+
export interface Schema$QueryAudienceExportResponse {
|
|
894
|
+
/**
|
|
895
|
+
* Configuration data about AudienceExport being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceExport correspond to the columns in the AudienceRows.
|
|
896
|
+
*/
|
|
897
|
+
audienceExport?: Schema$AudienceExport;
|
|
898
|
+
/**
|
|
899
|
+
* Rows for each user in an audience export. The number of rows in this response will be less than or equal to request's page size.
|
|
900
|
+
*/
|
|
901
|
+
audienceRows?: Schema$V1betaAudienceRow[];
|
|
902
|
+
/**
|
|
903
|
+
* The total number of rows in the AudienceExport result. `rowCount` is independent of the number of rows returned in the response, the `limit` request parameter, and the `offset` request parameter. For example if a query returns 175 rows and includes `limit` of 50 in the API request, the response will contain `rowCount` of 175 but only 50 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
904
|
+
*/
|
|
905
|
+
rowCount?: number | null;
|
|
906
|
+
}
|
|
794
907
|
/**
|
|
795
908
|
* Current state for a particular quota group.
|
|
796
909
|
*/
|
|
@@ -1146,6 +1259,23 @@ export namespace analyticsdata_v1beta {
|
|
|
1146
1259
|
*/
|
|
1147
1260
|
activeMetricRestrictions?: Schema$ActiveMetricRestriction[];
|
|
1148
1261
|
}
|
|
1262
|
+
/**
|
|
1263
|
+
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1264
|
+
*/
|
|
1265
|
+
export interface Schema$Status {
|
|
1266
|
+
/**
|
|
1267
|
+
* The status code, which should be an enum value of google.rpc.Code.
|
|
1268
|
+
*/
|
|
1269
|
+
code?: number | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
|
1272
|
+
*/
|
|
1273
|
+
details?: Array<{[key: string]: any}> | null;
|
|
1274
|
+
/**
|
|
1275
|
+
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
|
|
1276
|
+
*/
|
|
1277
|
+
message?: string | null;
|
|
1278
|
+
}
|
|
1149
1279
|
/**
|
|
1150
1280
|
* The filter for string
|
|
1151
1281
|
*/
|
|
@@ -1163,11 +1293,42 @@ export namespace analyticsdata_v1beta {
|
|
|
1163
1293
|
*/
|
|
1164
1294
|
value?: string | null;
|
|
1165
1295
|
}
|
|
1296
|
+
/**
|
|
1297
|
+
* An audience dimension is a user attribute. Specific user attributed are requested and then later returned in the `QueryAudienceExportResponse`.
|
|
1298
|
+
*/
|
|
1299
|
+
export interface Schema$V1betaAudienceDimension {
|
|
1300
|
+
/**
|
|
1301
|
+
* Optional. The API name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) for the list of dimension names.
|
|
1302
|
+
*/
|
|
1303
|
+
dimensionName?: string | null;
|
|
1304
|
+
}
|
|
1305
|
+
/**
|
|
1306
|
+
* The value of a dimension.
|
|
1307
|
+
*/
|
|
1308
|
+
export interface Schema$V1betaAudienceDimensionValue {
|
|
1309
|
+
/**
|
|
1310
|
+
* Value as a string if the dimension type is a string.
|
|
1311
|
+
*/
|
|
1312
|
+
value?: string | null;
|
|
1313
|
+
}
|
|
1314
|
+
/**
|
|
1315
|
+
* Dimension value attributes for the audience user row.
|
|
1316
|
+
*/
|
|
1317
|
+
export interface Schema$V1betaAudienceRow {
|
|
1318
|
+
/**
|
|
1319
|
+
* Each dimension value attribute for an audience user. One dimension value will be added for each dimension column requested.
|
|
1320
|
+
*/
|
|
1321
|
+
dimensionValues?: Schema$V1betaAudienceDimensionValue[];
|
|
1322
|
+
}
|
|
1166
1323
|
|
|
1167
1324
|
export class Resource$Properties {
|
|
1168
1325
|
context: APIRequestContext;
|
|
1326
|
+
audienceExports: Resource$Properties$Audienceexports;
|
|
1169
1327
|
constructor(context: APIRequestContext) {
|
|
1170
1328
|
this.context = context;
|
|
1329
|
+
this.audienceExports = new Resource$Properties$Audienceexports(
|
|
1330
|
+
this.context
|
|
1331
|
+
);
|
|
1171
1332
|
}
|
|
1172
1333
|
|
|
1173
1334
|
/**
|
|
@@ -1903,4 +2064,421 @@ export namespace analyticsdata_v1beta {
|
|
|
1903
2064
|
*/
|
|
1904
2065
|
requestBody?: Schema$RunReportRequest;
|
|
1905
2066
|
}
|
|
2067
|
+
|
|
2068
|
+
export class Resource$Properties$Audienceexports {
|
|
2069
|
+
context: APIRequestContext;
|
|
2070
|
+
constructor(context: APIRequestContext) {
|
|
2071
|
+
this.context = context;
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* Creates an audience export for later retrieval. This method quickly returns the audience export's resource name and initiates a long running asynchronous request to form an audience export. To export the users in an audience export, first create the audience export through this method and then send the audience resource name to the `QueryAudienceExport` method. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. An audience export is a snapshot of the users currently in the audience at the time of audience export creation. Creating audience exports for one audience on different days will return different results as users enter and exit the audience. Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. Audience exports contain the users in each audience. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
2076
|
+
*
|
|
2077
|
+
* @param params - Parameters for request
|
|
2078
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2079
|
+
* @param callback - Optional callback that handles the response.
|
|
2080
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2081
|
+
*/
|
|
2082
|
+
create(
|
|
2083
|
+
params: Params$Resource$Properties$Audienceexports$Create,
|
|
2084
|
+
options: StreamMethodOptions
|
|
2085
|
+
): GaxiosPromise<Readable>;
|
|
2086
|
+
create(
|
|
2087
|
+
params?: Params$Resource$Properties$Audienceexports$Create,
|
|
2088
|
+
options?: MethodOptions
|
|
2089
|
+
): GaxiosPromise<Schema$Operation>;
|
|
2090
|
+
create(
|
|
2091
|
+
params: Params$Resource$Properties$Audienceexports$Create,
|
|
2092
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2093
|
+
callback: BodyResponseCallback<Readable>
|
|
2094
|
+
): void;
|
|
2095
|
+
create(
|
|
2096
|
+
params: Params$Resource$Properties$Audienceexports$Create,
|
|
2097
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
2098
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
2099
|
+
): void;
|
|
2100
|
+
create(
|
|
2101
|
+
params: Params$Resource$Properties$Audienceexports$Create,
|
|
2102
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
2103
|
+
): void;
|
|
2104
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2105
|
+
create(
|
|
2106
|
+
paramsOrCallback?:
|
|
2107
|
+
| Params$Resource$Properties$Audienceexports$Create
|
|
2108
|
+
| BodyResponseCallback<Schema$Operation>
|
|
2109
|
+
| BodyResponseCallback<Readable>,
|
|
2110
|
+
optionsOrCallback?:
|
|
2111
|
+
| MethodOptions
|
|
2112
|
+
| StreamMethodOptions
|
|
2113
|
+
| BodyResponseCallback<Schema$Operation>
|
|
2114
|
+
| BodyResponseCallback<Readable>,
|
|
2115
|
+
callback?:
|
|
2116
|
+
| BodyResponseCallback<Schema$Operation>
|
|
2117
|
+
| BodyResponseCallback<Readable>
|
|
2118
|
+
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
2119
|
+
let params = (paramsOrCallback ||
|
|
2120
|
+
{}) as Params$Resource$Properties$Audienceexports$Create;
|
|
2121
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2122
|
+
|
|
2123
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2124
|
+
callback = paramsOrCallback;
|
|
2125
|
+
params = {} as Params$Resource$Properties$Audienceexports$Create;
|
|
2126
|
+
options = {};
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2130
|
+
callback = optionsOrCallback;
|
|
2131
|
+
options = {};
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
const rootUrl =
|
|
2135
|
+
options.rootUrl || 'https://analyticsdata.googleapis.com/';
|
|
2136
|
+
const parameters = {
|
|
2137
|
+
options: Object.assign(
|
|
2138
|
+
{
|
|
2139
|
+
url: (rootUrl + '/v1beta/{+parent}/audienceExports').replace(
|
|
2140
|
+
/([^:]\/)\/+/g,
|
|
2141
|
+
'$1'
|
|
2142
|
+
),
|
|
2143
|
+
method: 'POST',
|
|
2144
|
+
},
|
|
2145
|
+
options
|
|
2146
|
+
),
|
|
2147
|
+
params,
|
|
2148
|
+
requiredParams: ['parent'],
|
|
2149
|
+
pathParams: ['parent'],
|
|
2150
|
+
context: this.context,
|
|
2151
|
+
};
|
|
2152
|
+
if (callback) {
|
|
2153
|
+
createAPIRequest<Schema$Operation>(
|
|
2154
|
+
parameters,
|
|
2155
|
+
callback as BodyResponseCallback<unknown>
|
|
2156
|
+
);
|
|
2157
|
+
} else {
|
|
2158
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* Gets configuration metadata about a specific audience export. This method can be used to understand an audience export after it has been created. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
2164
|
+
*
|
|
2165
|
+
* @param params - Parameters for request
|
|
2166
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2167
|
+
* @param callback - Optional callback that handles the response.
|
|
2168
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2169
|
+
*/
|
|
2170
|
+
get(
|
|
2171
|
+
params: Params$Resource$Properties$Audienceexports$Get,
|
|
2172
|
+
options: StreamMethodOptions
|
|
2173
|
+
): GaxiosPromise<Readable>;
|
|
2174
|
+
get(
|
|
2175
|
+
params?: Params$Resource$Properties$Audienceexports$Get,
|
|
2176
|
+
options?: MethodOptions
|
|
2177
|
+
): GaxiosPromise<Schema$AudienceExport>;
|
|
2178
|
+
get(
|
|
2179
|
+
params: Params$Resource$Properties$Audienceexports$Get,
|
|
2180
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2181
|
+
callback: BodyResponseCallback<Readable>
|
|
2182
|
+
): void;
|
|
2183
|
+
get(
|
|
2184
|
+
params: Params$Resource$Properties$Audienceexports$Get,
|
|
2185
|
+
options: MethodOptions | BodyResponseCallback<Schema$AudienceExport>,
|
|
2186
|
+
callback: BodyResponseCallback<Schema$AudienceExport>
|
|
2187
|
+
): void;
|
|
2188
|
+
get(
|
|
2189
|
+
params: Params$Resource$Properties$Audienceexports$Get,
|
|
2190
|
+
callback: BodyResponseCallback<Schema$AudienceExport>
|
|
2191
|
+
): void;
|
|
2192
|
+
get(callback: BodyResponseCallback<Schema$AudienceExport>): void;
|
|
2193
|
+
get(
|
|
2194
|
+
paramsOrCallback?:
|
|
2195
|
+
| Params$Resource$Properties$Audienceexports$Get
|
|
2196
|
+
| BodyResponseCallback<Schema$AudienceExport>
|
|
2197
|
+
| BodyResponseCallback<Readable>,
|
|
2198
|
+
optionsOrCallback?:
|
|
2199
|
+
| MethodOptions
|
|
2200
|
+
| StreamMethodOptions
|
|
2201
|
+
| BodyResponseCallback<Schema$AudienceExport>
|
|
2202
|
+
| BodyResponseCallback<Readable>,
|
|
2203
|
+
callback?:
|
|
2204
|
+
| BodyResponseCallback<Schema$AudienceExport>
|
|
2205
|
+
| BodyResponseCallback<Readable>
|
|
2206
|
+
): void | GaxiosPromise<Schema$AudienceExport> | GaxiosPromise<Readable> {
|
|
2207
|
+
let params = (paramsOrCallback ||
|
|
2208
|
+
{}) as Params$Resource$Properties$Audienceexports$Get;
|
|
2209
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2210
|
+
|
|
2211
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2212
|
+
callback = paramsOrCallback;
|
|
2213
|
+
params = {} as Params$Resource$Properties$Audienceexports$Get;
|
|
2214
|
+
options = {};
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2218
|
+
callback = optionsOrCallback;
|
|
2219
|
+
options = {};
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
const rootUrl =
|
|
2223
|
+
options.rootUrl || 'https://analyticsdata.googleapis.com/';
|
|
2224
|
+
const parameters = {
|
|
2225
|
+
options: Object.assign(
|
|
2226
|
+
{
|
|
2227
|
+
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2228
|
+
method: 'GET',
|
|
2229
|
+
},
|
|
2230
|
+
options
|
|
2231
|
+
),
|
|
2232
|
+
params,
|
|
2233
|
+
requiredParams: ['name'],
|
|
2234
|
+
pathParams: ['name'],
|
|
2235
|
+
context: this.context,
|
|
2236
|
+
};
|
|
2237
|
+
if (callback) {
|
|
2238
|
+
createAPIRequest<Schema$AudienceExport>(
|
|
2239
|
+
parameters,
|
|
2240
|
+
callback as BodyResponseCallback<unknown>
|
|
2241
|
+
);
|
|
2242
|
+
} else {
|
|
2243
|
+
return createAPIRequest<Schema$AudienceExport>(parameters);
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* Lists all audience exports for a property. This method can be used for you to find and reuse existing audience exports rather than creating unnecessary new audience exports. The same audience can have multiple audience exports that represent the export of users that were in an audience on different days. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
2249
|
+
*
|
|
2250
|
+
* @param params - Parameters for request
|
|
2251
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2252
|
+
* @param callback - Optional callback that handles the response.
|
|
2253
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2254
|
+
*/
|
|
2255
|
+
list(
|
|
2256
|
+
params: Params$Resource$Properties$Audienceexports$List,
|
|
2257
|
+
options: StreamMethodOptions
|
|
2258
|
+
): GaxiosPromise<Readable>;
|
|
2259
|
+
list(
|
|
2260
|
+
params?: Params$Resource$Properties$Audienceexports$List,
|
|
2261
|
+
options?: MethodOptions
|
|
2262
|
+
): GaxiosPromise<Schema$ListAudienceExportsResponse>;
|
|
2263
|
+
list(
|
|
2264
|
+
params: Params$Resource$Properties$Audienceexports$List,
|
|
2265
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2266
|
+
callback: BodyResponseCallback<Readable>
|
|
2267
|
+
): void;
|
|
2268
|
+
list(
|
|
2269
|
+
params: Params$Resource$Properties$Audienceexports$List,
|
|
2270
|
+
options:
|
|
2271
|
+
| MethodOptions
|
|
2272
|
+
| BodyResponseCallback<Schema$ListAudienceExportsResponse>,
|
|
2273
|
+
callback: BodyResponseCallback<Schema$ListAudienceExportsResponse>
|
|
2274
|
+
): void;
|
|
2275
|
+
list(
|
|
2276
|
+
params: Params$Resource$Properties$Audienceexports$List,
|
|
2277
|
+
callback: BodyResponseCallback<Schema$ListAudienceExportsResponse>
|
|
2278
|
+
): void;
|
|
2279
|
+
list(
|
|
2280
|
+
callback: BodyResponseCallback<Schema$ListAudienceExportsResponse>
|
|
2281
|
+
): void;
|
|
2282
|
+
list(
|
|
2283
|
+
paramsOrCallback?:
|
|
2284
|
+
| Params$Resource$Properties$Audienceexports$List
|
|
2285
|
+
| BodyResponseCallback<Schema$ListAudienceExportsResponse>
|
|
2286
|
+
| BodyResponseCallback<Readable>,
|
|
2287
|
+
optionsOrCallback?:
|
|
2288
|
+
| MethodOptions
|
|
2289
|
+
| StreamMethodOptions
|
|
2290
|
+
| BodyResponseCallback<Schema$ListAudienceExportsResponse>
|
|
2291
|
+
| BodyResponseCallback<Readable>,
|
|
2292
|
+
callback?:
|
|
2293
|
+
| BodyResponseCallback<Schema$ListAudienceExportsResponse>
|
|
2294
|
+
| BodyResponseCallback<Readable>
|
|
2295
|
+
):
|
|
2296
|
+
| void
|
|
2297
|
+
| GaxiosPromise<Schema$ListAudienceExportsResponse>
|
|
2298
|
+
| GaxiosPromise<Readable> {
|
|
2299
|
+
let params = (paramsOrCallback ||
|
|
2300
|
+
{}) as Params$Resource$Properties$Audienceexports$List;
|
|
2301
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2302
|
+
|
|
2303
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2304
|
+
callback = paramsOrCallback;
|
|
2305
|
+
params = {} as Params$Resource$Properties$Audienceexports$List;
|
|
2306
|
+
options = {};
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2310
|
+
callback = optionsOrCallback;
|
|
2311
|
+
options = {};
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
const rootUrl =
|
|
2315
|
+
options.rootUrl || 'https://analyticsdata.googleapis.com/';
|
|
2316
|
+
const parameters = {
|
|
2317
|
+
options: Object.assign(
|
|
2318
|
+
{
|
|
2319
|
+
url: (rootUrl + '/v1beta/{+parent}/audienceExports').replace(
|
|
2320
|
+
/([^:]\/)\/+/g,
|
|
2321
|
+
'$1'
|
|
2322
|
+
),
|
|
2323
|
+
method: 'GET',
|
|
2324
|
+
},
|
|
2325
|
+
options
|
|
2326
|
+
),
|
|
2327
|
+
params,
|
|
2328
|
+
requiredParams: ['parent'],
|
|
2329
|
+
pathParams: ['parent'],
|
|
2330
|
+
context: this.context,
|
|
2331
|
+
};
|
|
2332
|
+
if (callback) {
|
|
2333
|
+
createAPIRequest<Schema$ListAudienceExportsResponse>(
|
|
2334
|
+
parameters,
|
|
2335
|
+
callback as BodyResponseCallback<unknown>
|
|
2336
|
+
);
|
|
2337
|
+
} else {
|
|
2338
|
+
return createAPIRequest<Schema$ListAudienceExportsResponse>(parameters);
|
|
2339
|
+
}
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* Retrieves an audience export of users. After creating an audience, the users are not immediately available for exporting. First, a request to `CreateAudienceExport` is necessary to create an audience export of users, and then second, this method is used to retrieve the users in the audience export. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
2344
|
+
*
|
|
2345
|
+
* @param params - Parameters for request
|
|
2346
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2347
|
+
* @param callback - Optional callback that handles the response.
|
|
2348
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2349
|
+
*/
|
|
2350
|
+
query(
|
|
2351
|
+
params: Params$Resource$Properties$Audienceexports$Query,
|
|
2352
|
+
options: StreamMethodOptions
|
|
2353
|
+
): GaxiosPromise<Readable>;
|
|
2354
|
+
query(
|
|
2355
|
+
params?: Params$Resource$Properties$Audienceexports$Query,
|
|
2356
|
+
options?: MethodOptions
|
|
2357
|
+
): GaxiosPromise<Schema$QueryAudienceExportResponse>;
|
|
2358
|
+
query(
|
|
2359
|
+
params: Params$Resource$Properties$Audienceexports$Query,
|
|
2360
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2361
|
+
callback: BodyResponseCallback<Readable>
|
|
2362
|
+
): void;
|
|
2363
|
+
query(
|
|
2364
|
+
params: Params$Resource$Properties$Audienceexports$Query,
|
|
2365
|
+
options:
|
|
2366
|
+
| MethodOptions
|
|
2367
|
+
| BodyResponseCallback<Schema$QueryAudienceExportResponse>,
|
|
2368
|
+
callback: BodyResponseCallback<Schema$QueryAudienceExportResponse>
|
|
2369
|
+
): void;
|
|
2370
|
+
query(
|
|
2371
|
+
params: Params$Resource$Properties$Audienceexports$Query,
|
|
2372
|
+
callback: BodyResponseCallback<Schema$QueryAudienceExportResponse>
|
|
2373
|
+
): void;
|
|
2374
|
+
query(
|
|
2375
|
+
callback: BodyResponseCallback<Schema$QueryAudienceExportResponse>
|
|
2376
|
+
): void;
|
|
2377
|
+
query(
|
|
2378
|
+
paramsOrCallback?:
|
|
2379
|
+
| Params$Resource$Properties$Audienceexports$Query
|
|
2380
|
+
| BodyResponseCallback<Schema$QueryAudienceExportResponse>
|
|
2381
|
+
| BodyResponseCallback<Readable>,
|
|
2382
|
+
optionsOrCallback?:
|
|
2383
|
+
| MethodOptions
|
|
2384
|
+
| StreamMethodOptions
|
|
2385
|
+
| BodyResponseCallback<Schema$QueryAudienceExportResponse>
|
|
2386
|
+
| BodyResponseCallback<Readable>,
|
|
2387
|
+
callback?:
|
|
2388
|
+
| BodyResponseCallback<Schema$QueryAudienceExportResponse>
|
|
2389
|
+
| BodyResponseCallback<Readable>
|
|
2390
|
+
):
|
|
2391
|
+
| void
|
|
2392
|
+
| GaxiosPromise<Schema$QueryAudienceExportResponse>
|
|
2393
|
+
| GaxiosPromise<Readable> {
|
|
2394
|
+
let params = (paramsOrCallback ||
|
|
2395
|
+
{}) as Params$Resource$Properties$Audienceexports$Query;
|
|
2396
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2397
|
+
|
|
2398
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2399
|
+
callback = paramsOrCallback;
|
|
2400
|
+
params = {} as Params$Resource$Properties$Audienceexports$Query;
|
|
2401
|
+
options = {};
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2405
|
+
callback = optionsOrCallback;
|
|
2406
|
+
options = {};
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
const rootUrl =
|
|
2410
|
+
options.rootUrl || 'https://analyticsdata.googleapis.com/';
|
|
2411
|
+
const parameters = {
|
|
2412
|
+
options: Object.assign(
|
|
2413
|
+
{
|
|
2414
|
+
url: (rootUrl + '/v1beta/{+name}:query').replace(
|
|
2415
|
+
/([^:]\/)\/+/g,
|
|
2416
|
+
'$1'
|
|
2417
|
+
),
|
|
2418
|
+
method: 'POST',
|
|
2419
|
+
},
|
|
2420
|
+
options
|
|
2421
|
+
),
|
|
2422
|
+
params,
|
|
2423
|
+
requiredParams: ['name'],
|
|
2424
|
+
pathParams: ['name'],
|
|
2425
|
+
context: this.context,
|
|
2426
|
+
};
|
|
2427
|
+
if (callback) {
|
|
2428
|
+
createAPIRequest<Schema$QueryAudienceExportResponse>(
|
|
2429
|
+
parameters,
|
|
2430
|
+
callback as BodyResponseCallback<unknown>
|
|
2431
|
+
);
|
|
2432
|
+
} else {
|
|
2433
|
+
return createAPIRequest<Schema$QueryAudienceExportResponse>(parameters);
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
export interface Params$Resource$Properties$Audienceexports$Create
|
|
2439
|
+
extends StandardParameters {
|
|
2440
|
+
/**
|
|
2441
|
+
* Required. The parent resource where this audience export will be created. Format: `properties/{property\}`
|
|
2442
|
+
*/
|
|
2443
|
+
parent?: string;
|
|
2444
|
+
|
|
2445
|
+
/**
|
|
2446
|
+
* Request body metadata
|
|
2447
|
+
*/
|
|
2448
|
+
requestBody?: Schema$AudienceExport;
|
|
2449
|
+
}
|
|
2450
|
+
export interface Params$Resource$Properties$Audienceexports$Get
|
|
2451
|
+
extends StandardParameters {
|
|
2452
|
+
/**
|
|
2453
|
+
* Required. The audience export resource name. Format: `properties/{property\}/audienceExports/{audience_export\}`
|
|
2454
|
+
*/
|
|
2455
|
+
name?: string;
|
|
2456
|
+
}
|
|
2457
|
+
export interface Params$Resource$Properties$Audienceexports$List
|
|
2458
|
+
extends StandardParameters {
|
|
2459
|
+
/**
|
|
2460
|
+
* Optional. The maximum number of audience exports to return. The service may return fewer than this value. If unspecified, at most 200 audience exports will be returned. The maximum value is 1000 (higher values will be coerced to the maximum).
|
|
2461
|
+
*/
|
|
2462
|
+
pageSize?: number;
|
|
2463
|
+
/**
|
|
2464
|
+
* Optional. A page token, received from a previous `ListAudienceExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAudienceExports` must match the call that provided the page token.
|
|
2465
|
+
*/
|
|
2466
|
+
pageToken?: string;
|
|
2467
|
+
/**
|
|
2468
|
+
* Required. All audience exports for this property will be listed in the response. Format: `properties/{property\}`
|
|
2469
|
+
*/
|
|
2470
|
+
parent?: string;
|
|
2471
|
+
}
|
|
2472
|
+
export interface Params$Resource$Properties$Audienceexports$Query
|
|
2473
|
+
extends StandardParameters {
|
|
2474
|
+
/**
|
|
2475
|
+
* Required. The name of the audience export to retrieve users from. Format: `properties/{property\}/audienceExports/{audience_export\}`
|
|
2476
|
+
*/
|
|
2477
|
+
name?: string;
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* Request body metadata
|
|
2481
|
+
*/
|
|
2482
|
+
requestBody?: Schema$QueryAudienceExportRequest;
|
|
2483
|
+
}
|
|
1906
2484
|
}
|