@google-analytics/data 4.8.0 → 4.10.0
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/README.md +3 -2
- package/build/protos/google/analytics/data/v1alpha/analytics_data_api.proto +59 -5
- package/build/protos/google/analytics/data/v1alpha/data.proto +23 -3
- package/build/protos/protos.d.ts +250 -0
- package/build/protos/protos.js +613 -0
- package/build/protos/protos.json +85 -0
- package/build/src/v1alpha/alpha_analytics_data_client.d.ts +49 -3
- package/build/src/v1alpha/alpha_analytics_data_client.js +44 -0
- package/build/src/v1alpha/alpha_analytics_data_client_config.json +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.10.0](https://github.com/googleapis/google-cloud-node/compare/data-v4.9.0...data-v4.10.0) (2024-10-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* [analytics-data] add `SamplingLevel` type to Data API v1alpha ([#5759](https://github.com/googleapis/google-cloud-node/issues/5759)) ([96bb1b5](https://github.com/googleapis/google-cloud-node/commit/96bb1b51a7d1481cb16d2d9ca6bc984b3258688d))
|
|
9
|
+
|
|
10
|
+
## [4.9.0](https://github.com/googleapis/google-cloud-node/compare/data-v4.8.0...data-v4.9.0) (2024-09-24)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* [analytics-data] add `GetPropertyQuotasSnapshot` method to the Data API v1alpha ([#5692](https://github.com/googleapis/google-cloud-node/issues/5692)) ([a143a79](https://github.com/googleapis/google-cloud-node/commit/a143a7926ab91dce75a2db2d831d498d3f3524d8))
|
|
16
|
+
|
|
3
17
|
## [4.8.0](https://github.com/googleapis/google-cloud-node/compare/data-v4.7.0...data-v4.8.0) (2024-08-09)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
|
43
43
|
|
|
44
44
|
1. [Select or create a Cloud Platform project][projects].
|
|
45
45
|
1. [Enable the Google Analytics Data API][enable_api].
|
|
46
|
-
1. [Set up authentication
|
|
46
|
+
1. [Set up authentication][auth] so you can access the
|
|
47
47
|
API from your local workstation.
|
|
48
48
|
|
|
49
49
|
### Installing the client library
|
|
@@ -113,6 +113,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
|
|
|
113
113
|
| Alpha_analytics_data.create_recurring_audience_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.create_recurring_audience_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.create_recurring_audience_list.js,packages/google-analytics-data/samples/README.md) |
|
|
114
114
|
| Alpha_analytics_data.create_report_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.create_report_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.create_report_task.js,packages/google-analytics-data/samples/README.md) |
|
|
115
115
|
| Alpha_analytics_data.get_audience_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.get_audience_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.get_audience_list.js,packages/google-analytics-data/samples/README.md) |
|
|
116
|
+
| Alpha_analytics_data.get_property_quotas_snapshot | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.get_property_quotas_snapshot.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.get_property_quotas_snapshot.js,packages/google-analytics-data/samples/README.md) |
|
|
116
117
|
| Alpha_analytics_data.get_recurring_audience_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.get_recurring_audience_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.get_recurring_audience_list.js,packages/google-analytics-data/samples/README.md) |
|
|
117
118
|
| Alpha_analytics_data.get_report_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.get_report_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.get_report_task.js,packages/google-analytics-data/samples/README.md) |
|
|
118
119
|
| Alpha_analytics_data.list_audience_lists | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.list_audience_lists.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-analytics-data/samples/generated/v1alpha/alpha_analytics_data.list_audience_lists.js,packages/google-analytics-data/samples/README.md) |
|
|
@@ -202,4 +203,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
|
|
|
202
203
|
[projects]: https://console.cloud.google.com/project
|
|
203
204
|
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
|
204
205
|
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=analyticsdata.googleapis.com
|
|
205
|
-
[auth]: https://cloud.google.com/docs/authentication/
|
|
206
|
+
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
|
|
@@ -266,10 +266,26 @@ service AlphaAnalyticsData {
|
|
|
266
266
|
option (google.api.method_signature) = "parent";
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
+
// Get all property quotas organized by quota category for a given property.
|
|
270
|
+
// This will charge 1 property quota from the category with the most quota.
|
|
271
|
+
rpc GetPropertyQuotasSnapshot(GetPropertyQuotasSnapshotRequest)
|
|
272
|
+
returns (PropertyQuotasSnapshot) {
|
|
273
|
+
option (google.api.http) = {
|
|
274
|
+
get: "/v1alpha/{name=properties/*/propertyQuotasSnapshot}"
|
|
275
|
+
};
|
|
276
|
+
option (google.api.method_signature) = "name";
|
|
277
|
+
}
|
|
278
|
+
|
|
269
279
|
// Initiates the creation of a report task. This method quickly
|
|
270
280
|
// returns a report task and initiates a long running
|
|
271
281
|
// asynchronous request to form a customized report of your Google Analytics
|
|
272
282
|
// event data.
|
|
283
|
+
//
|
|
284
|
+
// A report task will be retained and available for querying for 72 hours
|
|
285
|
+
// after it has been created.
|
|
286
|
+
//
|
|
287
|
+
// A report task created by one user can be listed and queried by all users
|
|
288
|
+
// who have access to the property.
|
|
273
289
|
rpc CreateReportTask(CreateReportTaskRequest)
|
|
274
290
|
returns (google.longrunning.Operation) {
|
|
275
291
|
option (google.api.http) = {
|
|
@@ -514,6 +530,40 @@ message ListRecurringAudienceListsResponse {
|
|
|
514
530
|
optional string next_page_token = 2;
|
|
515
531
|
}
|
|
516
532
|
|
|
533
|
+
// A request to return the PropertyQuotasSnapshot for a given category.
|
|
534
|
+
message GetPropertyQuotasSnapshotRequest {
|
|
535
|
+
// Required. Quotas from this property will be listed in the response.
|
|
536
|
+
// Format: `properties/{property}/propertyQuotasSnapshot`
|
|
537
|
+
string name = 1 [
|
|
538
|
+
(google.api.field_behavior) = REQUIRED,
|
|
539
|
+
(google.api.resource_reference) = {
|
|
540
|
+
type: "analyticsadmin.googleapis.com/PropertyQuotasSnapshot"
|
|
541
|
+
}
|
|
542
|
+
];
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
// Current state of all Property Quotas organized by quota category.
|
|
546
|
+
message PropertyQuotasSnapshot {
|
|
547
|
+
option (google.api.resource) = {
|
|
548
|
+
type: "analyticsadmin.googleapis.com/PropertyQuotasSnapshot"
|
|
549
|
+
pattern: "properties/{property}/propertyQuotasSnapshot"
|
|
550
|
+
plural: "propertyQuotasSnapshots"
|
|
551
|
+
singular: "propertyQuotasSnapshot"
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
// Identifier. The property quota snapshot resource name.
|
|
555
|
+
string name = 4 [(google.api.field_behavior) = IDENTIFIER];
|
|
556
|
+
|
|
557
|
+
// Property Quota for core property tokens
|
|
558
|
+
PropertyQuota core_property_quota = 1;
|
|
559
|
+
|
|
560
|
+
// Property Quota for realtime property tokens
|
|
561
|
+
PropertyQuota realtime_property_quota = 2;
|
|
562
|
+
|
|
563
|
+
// Property Quota for funnel property tokens
|
|
564
|
+
PropertyQuota funnel_property_quota = 3;
|
|
565
|
+
}
|
|
566
|
+
|
|
517
567
|
// A request to retrieve configuration metadata about a specific audience list.
|
|
518
568
|
message GetAudienceListRequest {
|
|
519
569
|
// Required. The audience list resource name.
|
|
@@ -844,9 +894,9 @@ message RunFunnelReportRequest {
|
|
|
844
894
|
TRENDED_FUNNEL = 2;
|
|
845
895
|
}
|
|
846
896
|
|
|
847
|
-
// Optional. A Google Analytics
|
|
848
|
-
//
|
|
849
|
-
//
|
|
897
|
+
// Optional. A Google Analytics property identifier whose events are tracked.
|
|
898
|
+
// Specified in the URL path and not the body. To learn more, see [where to
|
|
899
|
+
// find your Property
|
|
850
900
|
// ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
851
901
|
// Within a batch request, this property should either be unspecified or
|
|
852
902
|
// consistent with the batch-level property.
|
|
@@ -1030,12 +1080,16 @@ message ReportTask {
|
|
|
1030
1080
|
// not separately removed by a filter.
|
|
1031
1081
|
//
|
|
1032
1082
|
// Regardless of this `keep_empty_rows` setting, only data recorded by the
|
|
1033
|
-
// Google Analytics
|
|
1083
|
+
// Google Analytics property can be displayed in a report.
|
|
1034
1084
|
//
|
|
1035
1085
|
// For example if a property never logs a `purchase` event, then a query for
|
|
1036
1086
|
// the `eventName` dimension and `eventCount` metric will not have a row
|
|
1037
1087
|
// containing eventName: "purchase" and eventCount: 0.
|
|
1038
1088
|
bool keep_empty_rows = 13 [(google.api.field_behavior) = OPTIONAL];
|
|
1089
|
+
|
|
1090
|
+
// Optional. The report's sampling level.
|
|
1091
|
+
optional SamplingLevel sampling_level = 14
|
|
1092
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
1039
1093
|
}
|
|
1040
1094
|
|
|
1041
1095
|
// The report metadata for a specific report task.
|
|
@@ -1104,7 +1158,7 @@ message ReportTask {
|
|
|
1104
1158
|
}
|
|
1105
1159
|
|
|
1106
1160
|
// Output only. Identifier. The report task resource name assigned during
|
|
1107
|
-
// creation. Format:
|
|
1161
|
+
// creation. Format: "properties/{property}/reportTasks/{report_task}"
|
|
1108
1162
|
string name = 1 [
|
|
1109
1163
|
(google.api.field_behavior) = IDENTIFIER,
|
|
1110
1164
|
(google.api.field_behavior) = OUTPUT_ONLY
|
|
@@ -1107,7 +1107,7 @@ enum EventExclusionDuration {
|
|
|
1107
1107
|
// Another segment might be users who purchase a particular line of products or
|
|
1108
1108
|
// who visit a specific part of your site or trigger certain events in your app.
|
|
1109
1109
|
//
|
|
1110
|
-
// To learn more, see [
|
|
1110
|
+
// To learn more, see [Segment
|
|
1111
1111
|
// Builder](https://support.google.com/analytics/answer/9304353).
|
|
1112
1112
|
message Segment {
|
|
1113
1113
|
// The name for this segment. If unspecified, segments are named "Segment".
|
|
@@ -1561,8 +1561,8 @@ enum MetricType {
|
|
|
1561
1561
|
TYPE_KILOMETERS = 13;
|
|
1562
1562
|
}
|
|
1563
1563
|
|
|
1564
|
-
// Categories of data that you may be restricted from viewing on certain
|
|
1565
|
-
// properties.
|
|
1564
|
+
// Categories of data that you may be restricted from viewing on certain
|
|
1565
|
+
// Google Analytics properties.
|
|
1566
1566
|
enum RestrictedMetricType {
|
|
1567
1567
|
// Unspecified type.
|
|
1568
1568
|
RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0;
|
|
@@ -1573,3 +1573,23 @@ enum RestrictedMetricType {
|
|
|
1573
1573
|
// Revenue metrics such as `purchaseRevenue`.
|
|
1574
1574
|
REVENUE_DATA = 2;
|
|
1575
1575
|
}
|
|
1576
|
+
|
|
1577
|
+
// Categories of sampling levels for the requests.
|
|
1578
|
+
enum SamplingLevel {
|
|
1579
|
+
// Unspecified type.
|
|
1580
|
+
SAMPLING_LEVEL_UNSPECIFIED = 0;
|
|
1581
|
+
|
|
1582
|
+
// Applies a sampling level of 10 million to standard properties and
|
|
1583
|
+
// 100 million to Google Analytics 360 properties.
|
|
1584
|
+
LOW = 1;
|
|
1585
|
+
|
|
1586
|
+
// Exclusive to Google Analytics 360 properties with a sampling level of 1
|
|
1587
|
+
// billion.
|
|
1588
|
+
MEDIUM = 2;
|
|
1589
|
+
|
|
1590
|
+
// Exclusive to Google Analytics 360 properties. Unsampled explorations are
|
|
1591
|
+
// more accurate and can reveal insights that aren't visible in standard
|
|
1592
|
+
// explorations. To learn more, see
|
|
1593
|
+
// https://support.google.com/analytics/answer/10896953.
|
|
1594
|
+
UNSAMPLED = 3;
|
|
1595
|
+
}
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -4681,6 +4681,20 @@ export namespace google {
|
|
|
4681
4681
|
*/
|
|
4682
4682
|
public listRecurringAudienceLists(request: google.analytics.data.v1alpha.IListRecurringAudienceListsRequest): Promise<google.analytics.data.v1alpha.ListRecurringAudienceListsResponse>;
|
|
4683
4683
|
|
|
4684
|
+
/**
|
|
4685
|
+
* Calls GetPropertyQuotasSnapshot.
|
|
4686
|
+
* @param request GetPropertyQuotasSnapshotRequest message or plain object
|
|
4687
|
+
* @param callback Node-style callback called with the error, if any, and PropertyQuotasSnapshot
|
|
4688
|
+
*/
|
|
4689
|
+
public getPropertyQuotasSnapshot(request: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.GetPropertyQuotasSnapshotCallback): void;
|
|
4690
|
+
|
|
4691
|
+
/**
|
|
4692
|
+
* Calls GetPropertyQuotasSnapshot.
|
|
4693
|
+
* @param request GetPropertyQuotasSnapshotRequest message or plain object
|
|
4694
|
+
* @returns Promise
|
|
4695
|
+
*/
|
|
4696
|
+
public getPropertyQuotasSnapshot(request: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest): Promise<google.analytics.data.v1alpha.PropertyQuotasSnapshot>;
|
|
4697
|
+
|
|
4684
4698
|
/**
|
|
4685
4699
|
* Calls CreateReportTask.
|
|
4686
4700
|
* @param request CreateReportTaskRequest message or plain object
|
|
@@ -4803,6 +4817,13 @@ export namespace google {
|
|
|
4803
4817
|
*/
|
|
4804
4818
|
type ListRecurringAudienceListsCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.ListRecurringAudienceListsResponse) => void;
|
|
4805
4819
|
|
|
4820
|
+
/**
|
|
4821
|
+
* Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|getPropertyQuotasSnapshot}.
|
|
4822
|
+
* @param error Error, if any
|
|
4823
|
+
* @param [response] PropertyQuotasSnapshot
|
|
4824
|
+
*/
|
|
4825
|
+
type GetPropertyQuotasSnapshotCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.PropertyQuotasSnapshot) => void;
|
|
4826
|
+
|
|
4806
4827
|
/**
|
|
4807
4828
|
* Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|createReportTask}.
|
|
4808
4829
|
* @param error Error, if any
|
|
@@ -5495,6 +5516,218 @@ export namespace google {
|
|
|
5495
5516
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5496
5517
|
}
|
|
5497
5518
|
|
|
5519
|
+
/** Properties of a GetPropertyQuotasSnapshotRequest. */
|
|
5520
|
+
interface IGetPropertyQuotasSnapshotRequest {
|
|
5521
|
+
|
|
5522
|
+
/** GetPropertyQuotasSnapshotRequest name */
|
|
5523
|
+
name?: (string|null);
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
/** Represents a GetPropertyQuotasSnapshotRequest. */
|
|
5527
|
+
class GetPropertyQuotasSnapshotRequest implements IGetPropertyQuotasSnapshotRequest {
|
|
5528
|
+
|
|
5529
|
+
/**
|
|
5530
|
+
* Constructs a new GetPropertyQuotasSnapshotRequest.
|
|
5531
|
+
* @param [properties] Properties to set
|
|
5532
|
+
*/
|
|
5533
|
+
constructor(properties?: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest);
|
|
5534
|
+
|
|
5535
|
+
/** GetPropertyQuotasSnapshotRequest name. */
|
|
5536
|
+
public name: string;
|
|
5537
|
+
|
|
5538
|
+
/**
|
|
5539
|
+
* Creates a new GetPropertyQuotasSnapshotRequest instance using the specified properties.
|
|
5540
|
+
* @param [properties] Properties to set
|
|
5541
|
+
* @returns GetPropertyQuotasSnapshotRequest instance
|
|
5542
|
+
*/
|
|
5543
|
+
public static create(properties?: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest): google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest;
|
|
5544
|
+
|
|
5545
|
+
/**
|
|
5546
|
+
* Encodes the specified GetPropertyQuotasSnapshotRequest message. Does not implicitly {@link google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest.verify|verify} messages.
|
|
5547
|
+
* @param message GetPropertyQuotasSnapshotRequest message or plain object to encode
|
|
5548
|
+
* @param [writer] Writer to encode to
|
|
5549
|
+
* @returns Writer
|
|
5550
|
+
*/
|
|
5551
|
+
public static encode(message: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5552
|
+
|
|
5553
|
+
/**
|
|
5554
|
+
* Encodes the specified GetPropertyQuotasSnapshotRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest.verify|verify} messages.
|
|
5555
|
+
* @param message GetPropertyQuotasSnapshotRequest message or plain object to encode
|
|
5556
|
+
* @param [writer] Writer to encode to
|
|
5557
|
+
* @returns Writer
|
|
5558
|
+
*/
|
|
5559
|
+
public static encodeDelimited(message: google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5560
|
+
|
|
5561
|
+
/**
|
|
5562
|
+
* Decodes a GetPropertyQuotasSnapshotRequest message from the specified reader or buffer.
|
|
5563
|
+
* @param reader Reader or buffer to decode from
|
|
5564
|
+
* @param [length] Message length if known beforehand
|
|
5565
|
+
* @returns GetPropertyQuotasSnapshotRequest
|
|
5566
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5567
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5568
|
+
*/
|
|
5569
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest;
|
|
5570
|
+
|
|
5571
|
+
/**
|
|
5572
|
+
* Decodes a GetPropertyQuotasSnapshotRequest message from the specified reader or buffer, length delimited.
|
|
5573
|
+
* @param reader Reader or buffer to decode from
|
|
5574
|
+
* @returns GetPropertyQuotasSnapshotRequest
|
|
5575
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5576
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5577
|
+
*/
|
|
5578
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest;
|
|
5579
|
+
|
|
5580
|
+
/**
|
|
5581
|
+
* Verifies a GetPropertyQuotasSnapshotRequest message.
|
|
5582
|
+
* @param message Plain object to verify
|
|
5583
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5584
|
+
*/
|
|
5585
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5586
|
+
|
|
5587
|
+
/**
|
|
5588
|
+
* Creates a GetPropertyQuotasSnapshotRequest message from a plain object. Also converts values to their respective internal types.
|
|
5589
|
+
* @param object Plain object
|
|
5590
|
+
* @returns GetPropertyQuotasSnapshotRequest
|
|
5591
|
+
*/
|
|
5592
|
+
public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest;
|
|
5593
|
+
|
|
5594
|
+
/**
|
|
5595
|
+
* Creates a plain object from a GetPropertyQuotasSnapshotRequest message. Also converts values to other types if specified.
|
|
5596
|
+
* @param message GetPropertyQuotasSnapshotRequest
|
|
5597
|
+
* @param [options] Conversion options
|
|
5598
|
+
* @returns Plain object
|
|
5599
|
+
*/
|
|
5600
|
+
public static toObject(message: google.analytics.data.v1alpha.GetPropertyQuotasSnapshotRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5601
|
+
|
|
5602
|
+
/**
|
|
5603
|
+
* Converts this GetPropertyQuotasSnapshotRequest to JSON.
|
|
5604
|
+
* @returns JSON object
|
|
5605
|
+
*/
|
|
5606
|
+
public toJSON(): { [k: string]: any };
|
|
5607
|
+
|
|
5608
|
+
/**
|
|
5609
|
+
* Gets the default type url for GetPropertyQuotasSnapshotRequest
|
|
5610
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5611
|
+
* @returns The default type url
|
|
5612
|
+
*/
|
|
5613
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
/** Properties of a PropertyQuotasSnapshot. */
|
|
5617
|
+
interface IPropertyQuotasSnapshot {
|
|
5618
|
+
|
|
5619
|
+
/** PropertyQuotasSnapshot name */
|
|
5620
|
+
name?: (string|null);
|
|
5621
|
+
|
|
5622
|
+
/** PropertyQuotasSnapshot corePropertyQuota */
|
|
5623
|
+
corePropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
|
|
5624
|
+
|
|
5625
|
+
/** PropertyQuotasSnapshot realtimePropertyQuota */
|
|
5626
|
+
realtimePropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
|
|
5627
|
+
|
|
5628
|
+
/** PropertyQuotasSnapshot funnelPropertyQuota */
|
|
5629
|
+
funnelPropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
|
|
5630
|
+
}
|
|
5631
|
+
|
|
5632
|
+
/** Represents a PropertyQuotasSnapshot. */
|
|
5633
|
+
class PropertyQuotasSnapshot implements IPropertyQuotasSnapshot {
|
|
5634
|
+
|
|
5635
|
+
/**
|
|
5636
|
+
* Constructs a new PropertyQuotasSnapshot.
|
|
5637
|
+
* @param [properties] Properties to set
|
|
5638
|
+
*/
|
|
5639
|
+
constructor(properties?: google.analytics.data.v1alpha.IPropertyQuotasSnapshot);
|
|
5640
|
+
|
|
5641
|
+
/** PropertyQuotasSnapshot name. */
|
|
5642
|
+
public name: string;
|
|
5643
|
+
|
|
5644
|
+
/** PropertyQuotasSnapshot corePropertyQuota. */
|
|
5645
|
+
public corePropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
|
|
5646
|
+
|
|
5647
|
+
/** PropertyQuotasSnapshot realtimePropertyQuota. */
|
|
5648
|
+
public realtimePropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
|
|
5649
|
+
|
|
5650
|
+
/** PropertyQuotasSnapshot funnelPropertyQuota. */
|
|
5651
|
+
public funnelPropertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);
|
|
5652
|
+
|
|
5653
|
+
/**
|
|
5654
|
+
* Creates a new PropertyQuotasSnapshot instance using the specified properties.
|
|
5655
|
+
* @param [properties] Properties to set
|
|
5656
|
+
* @returns PropertyQuotasSnapshot instance
|
|
5657
|
+
*/
|
|
5658
|
+
public static create(properties?: google.analytics.data.v1alpha.IPropertyQuotasSnapshot): google.analytics.data.v1alpha.PropertyQuotasSnapshot;
|
|
5659
|
+
|
|
5660
|
+
/**
|
|
5661
|
+
* Encodes the specified PropertyQuotasSnapshot message. Does not implicitly {@link google.analytics.data.v1alpha.PropertyQuotasSnapshot.verify|verify} messages.
|
|
5662
|
+
* @param message PropertyQuotasSnapshot message or plain object to encode
|
|
5663
|
+
* @param [writer] Writer to encode to
|
|
5664
|
+
* @returns Writer
|
|
5665
|
+
*/
|
|
5666
|
+
public static encode(message: google.analytics.data.v1alpha.IPropertyQuotasSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5667
|
+
|
|
5668
|
+
/**
|
|
5669
|
+
* Encodes the specified PropertyQuotasSnapshot message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.PropertyQuotasSnapshot.verify|verify} messages.
|
|
5670
|
+
* @param message PropertyQuotasSnapshot message or plain object to encode
|
|
5671
|
+
* @param [writer] Writer to encode to
|
|
5672
|
+
* @returns Writer
|
|
5673
|
+
*/
|
|
5674
|
+
public static encodeDelimited(message: google.analytics.data.v1alpha.IPropertyQuotasSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5675
|
+
|
|
5676
|
+
/**
|
|
5677
|
+
* Decodes a PropertyQuotasSnapshot message from the specified reader or buffer.
|
|
5678
|
+
* @param reader Reader or buffer to decode from
|
|
5679
|
+
* @param [length] Message length if known beforehand
|
|
5680
|
+
* @returns PropertyQuotasSnapshot
|
|
5681
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5682
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5683
|
+
*/
|
|
5684
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.PropertyQuotasSnapshot;
|
|
5685
|
+
|
|
5686
|
+
/**
|
|
5687
|
+
* Decodes a PropertyQuotasSnapshot message from the specified reader or buffer, length delimited.
|
|
5688
|
+
* @param reader Reader or buffer to decode from
|
|
5689
|
+
* @returns PropertyQuotasSnapshot
|
|
5690
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5691
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5692
|
+
*/
|
|
5693
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.PropertyQuotasSnapshot;
|
|
5694
|
+
|
|
5695
|
+
/**
|
|
5696
|
+
* Verifies a PropertyQuotasSnapshot message.
|
|
5697
|
+
* @param message Plain object to verify
|
|
5698
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5699
|
+
*/
|
|
5700
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5701
|
+
|
|
5702
|
+
/**
|
|
5703
|
+
* Creates a PropertyQuotasSnapshot message from a plain object. Also converts values to their respective internal types.
|
|
5704
|
+
* @param object Plain object
|
|
5705
|
+
* @returns PropertyQuotasSnapshot
|
|
5706
|
+
*/
|
|
5707
|
+
public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.PropertyQuotasSnapshot;
|
|
5708
|
+
|
|
5709
|
+
/**
|
|
5710
|
+
* Creates a plain object from a PropertyQuotasSnapshot message. Also converts values to other types if specified.
|
|
5711
|
+
* @param message PropertyQuotasSnapshot
|
|
5712
|
+
* @param [options] Conversion options
|
|
5713
|
+
* @returns Plain object
|
|
5714
|
+
*/
|
|
5715
|
+
public static toObject(message: google.analytics.data.v1alpha.PropertyQuotasSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5716
|
+
|
|
5717
|
+
/**
|
|
5718
|
+
* Converts this PropertyQuotasSnapshot to JSON.
|
|
5719
|
+
* @returns JSON object
|
|
5720
|
+
*/
|
|
5721
|
+
public toJSON(): { [k: string]: any };
|
|
5722
|
+
|
|
5723
|
+
/**
|
|
5724
|
+
* Gets the default type url for PropertyQuotasSnapshot
|
|
5725
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5726
|
+
* @returns The default type url
|
|
5727
|
+
*/
|
|
5728
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5729
|
+
}
|
|
5730
|
+
|
|
5498
5731
|
/** Properties of a GetAudienceListRequest. */
|
|
5499
5732
|
interface IGetAudienceListRequest {
|
|
5500
5733
|
|
|
@@ -7375,6 +7608,9 @@ export namespace google {
|
|
|
7375
7608
|
|
|
7376
7609
|
/** ReportDefinition keepEmptyRows */
|
|
7377
7610
|
keepEmptyRows?: (boolean|null);
|
|
7611
|
+
|
|
7612
|
+
/** ReportDefinition samplingLevel */
|
|
7613
|
+
samplingLevel?: (google.analytics.data.v1alpha.SamplingLevel|keyof typeof google.analytics.data.v1alpha.SamplingLevel|null);
|
|
7378
7614
|
}
|
|
7379
7615
|
|
|
7380
7616
|
/** Represents a ReportDefinition. */
|
|
@@ -7422,6 +7658,12 @@ export namespace google {
|
|
|
7422
7658
|
/** ReportDefinition keepEmptyRows. */
|
|
7423
7659
|
public keepEmptyRows: boolean;
|
|
7424
7660
|
|
|
7661
|
+
/** ReportDefinition samplingLevel. */
|
|
7662
|
+
public samplingLevel?: (google.analytics.data.v1alpha.SamplingLevel|keyof typeof google.analytics.data.v1alpha.SamplingLevel|null);
|
|
7663
|
+
|
|
7664
|
+
/** ReportDefinition _samplingLevel. */
|
|
7665
|
+
public _samplingLevel?: "samplingLevel";
|
|
7666
|
+
|
|
7425
7667
|
/**
|
|
7426
7668
|
* Creates a new ReportDefinition instance using the specified properties.
|
|
7427
7669
|
* @param [properties] Properties to set
|
|
@@ -15976,6 +16218,14 @@ export namespace google {
|
|
|
15976
16218
|
COST_DATA = 1,
|
|
15977
16219
|
REVENUE_DATA = 2
|
|
15978
16220
|
}
|
|
16221
|
+
|
|
16222
|
+
/** SamplingLevel enum. */
|
|
16223
|
+
enum SamplingLevel {
|
|
16224
|
+
SAMPLING_LEVEL_UNSPECIFIED = 0,
|
|
16225
|
+
LOW = 1,
|
|
16226
|
+
MEDIUM = 2,
|
|
16227
|
+
UNSAMPLED = 3
|
|
16228
|
+
}
|
|
15979
16229
|
}
|
|
15980
16230
|
|
|
15981
16231
|
/** Namespace v1beta. */
|