@google-analytics/data 4.7.0 → 4.9.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 +55 -5
- package/build/protos/google/analytics/data/v1alpha/data.proto +3 -3
- package/build/protos/google/analytics/data/v1beta/analytics_data_api.proto +13 -0
- package/build/protos/google/analytics/data/v1beta/data.proto +37 -1
- package/build/protos/protos.d.ts +475 -0
- package/build/protos/protos.js +1200 -0
- package/build/protos/protos.json +131 -0
- package/build/src/v1alpha/alpha_analytics_data_client.d.ts +49 -4
- package/build/src/v1alpha/alpha_analytics_data_client.js +44 -0
- package/build/src/v1alpha/alpha_analytics_data_client_config.json +5 -0
- package/build/src/v1beta/beta_analytics_data_client.d.ts +8 -1
- package/package.json +2 -2
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
|
|
|
@@ -16477,6 +16710,9 @@ export namespace google {
|
|
|
16477
16710
|
|
|
16478
16711
|
/** Metadata metrics */
|
|
16479
16712
|
metrics?: (google.analytics.data.v1beta.IMetricMetadata[]|null);
|
|
16713
|
+
|
|
16714
|
+
/** Metadata comparisons */
|
|
16715
|
+
comparisons?: (google.analytics.data.v1beta.IComparisonMetadata[]|null);
|
|
16480
16716
|
}
|
|
16481
16717
|
|
|
16482
16718
|
/** Represents a Metadata. */
|
|
@@ -16497,6 +16733,9 @@ export namespace google {
|
|
|
16497
16733
|
/** Metadata metrics. */
|
|
16498
16734
|
public metrics: google.analytics.data.v1beta.IMetricMetadata[];
|
|
16499
16735
|
|
|
16736
|
+
/** Metadata comparisons. */
|
|
16737
|
+
public comparisons: google.analytics.data.v1beta.IComparisonMetadata[];
|
|
16738
|
+
|
|
16500
16739
|
/**
|
|
16501
16740
|
* Creates a new Metadata instance using the specified properties.
|
|
16502
16741
|
* @param [properties] Properties to set
|
|
@@ -16619,6 +16858,9 @@ export namespace google {
|
|
|
16619
16858
|
|
|
16620
16859
|
/** RunReportRequest returnPropertyQuota */
|
|
16621
16860
|
returnPropertyQuota?: (boolean|null);
|
|
16861
|
+
|
|
16862
|
+
/** RunReportRequest comparisons */
|
|
16863
|
+
comparisons?: (google.analytics.data.v1beta.IComparison[]|null);
|
|
16622
16864
|
}
|
|
16623
16865
|
|
|
16624
16866
|
/** Represents a RunReportRequest. */
|
|
@@ -16672,6 +16914,9 @@ export namespace google {
|
|
|
16672
16914
|
/** RunReportRequest returnPropertyQuota. */
|
|
16673
16915
|
public returnPropertyQuota: boolean;
|
|
16674
16916
|
|
|
16917
|
+
/** RunReportRequest comparisons. */
|
|
16918
|
+
public comparisons: google.analytics.data.v1beta.IComparison[];
|
|
16919
|
+
|
|
16675
16920
|
/**
|
|
16676
16921
|
* Creates a new RunReportRequest instance using the specified properties.
|
|
16677
16922
|
* @param [properties] Properties to set
|
|
@@ -16936,6 +17181,9 @@ export namespace google {
|
|
|
16936
17181
|
|
|
16937
17182
|
/** RunPivotReportRequest returnPropertyQuota */
|
|
16938
17183
|
returnPropertyQuota?: (boolean|null);
|
|
17184
|
+
|
|
17185
|
+
/** RunPivotReportRequest comparisons */
|
|
17186
|
+
comparisons?: (google.analytics.data.v1beta.IComparison[]|null);
|
|
16939
17187
|
}
|
|
16940
17188
|
|
|
16941
17189
|
/** Represents a RunPivotReportRequest. */
|
|
@@ -16980,6 +17228,9 @@ export namespace google {
|
|
|
16980
17228
|
/** RunPivotReportRequest returnPropertyQuota. */
|
|
16981
17229
|
public returnPropertyQuota: boolean;
|
|
16982
17230
|
|
|
17231
|
+
/** RunPivotReportRequest comparisons. */
|
|
17232
|
+
public comparisons: google.analytics.data.v1beta.IComparison[];
|
|
17233
|
+
|
|
16983
17234
|
/**
|
|
16984
17235
|
* Creates a new RunPivotReportRequest instance using the specified properties.
|
|
16985
17236
|
* @param [properties] Properties to set
|
|
@@ -19954,6 +20205,121 @@ export namespace google {
|
|
|
19954
20205
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
19955
20206
|
}
|
|
19956
20207
|
|
|
20208
|
+
/** Properties of a Comparison. */
|
|
20209
|
+
interface IComparison {
|
|
20210
|
+
|
|
20211
|
+
/** Comparison name */
|
|
20212
|
+
name?: (string|null);
|
|
20213
|
+
|
|
20214
|
+
/** Comparison dimensionFilter */
|
|
20215
|
+
dimensionFilter?: (google.analytics.data.v1beta.IFilterExpression|null);
|
|
20216
|
+
|
|
20217
|
+
/** Comparison comparison */
|
|
20218
|
+
comparison?: (string|null);
|
|
20219
|
+
}
|
|
20220
|
+
|
|
20221
|
+
/** Represents a Comparison. */
|
|
20222
|
+
class Comparison implements IComparison {
|
|
20223
|
+
|
|
20224
|
+
/**
|
|
20225
|
+
* Constructs a new Comparison.
|
|
20226
|
+
* @param [properties] Properties to set
|
|
20227
|
+
*/
|
|
20228
|
+
constructor(properties?: google.analytics.data.v1beta.IComparison);
|
|
20229
|
+
|
|
20230
|
+
/** Comparison name. */
|
|
20231
|
+
public name?: (string|null);
|
|
20232
|
+
|
|
20233
|
+
/** Comparison dimensionFilter. */
|
|
20234
|
+
public dimensionFilter?: (google.analytics.data.v1beta.IFilterExpression|null);
|
|
20235
|
+
|
|
20236
|
+
/** Comparison comparison. */
|
|
20237
|
+
public comparison?: (string|null);
|
|
20238
|
+
|
|
20239
|
+
/** Comparison _name. */
|
|
20240
|
+
public _name?: "name";
|
|
20241
|
+
|
|
20242
|
+
/** Comparison oneComparison. */
|
|
20243
|
+
public oneComparison?: ("dimensionFilter"|"comparison");
|
|
20244
|
+
|
|
20245
|
+
/**
|
|
20246
|
+
* Creates a new Comparison instance using the specified properties.
|
|
20247
|
+
* @param [properties] Properties to set
|
|
20248
|
+
* @returns Comparison instance
|
|
20249
|
+
*/
|
|
20250
|
+
public static create(properties?: google.analytics.data.v1beta.IComparison): google.analytics.data.v1beta.Comparison;
|
|
20251
|
+
|
|
20252
|
+
/**
|
|
20253
|
+
* Encodes the specified Comparison message. Does not implicitly {@link google.analytics.data.v1beta.Comparison.verify|verify} messages.
|
|
20254
|
+
* @param message Comparison message or plain object to encode
|
|
20255
|
+
* @param [writer] Writer to encode to
|
|
20256
|
+
* @returns Writer
|
|
20257
|
+
*/
|
|
20258
|
+
public static encode(message: google.analytics.data.v1beta.IComparison, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20259
|
+
|
|
20260
|
+
/**
|
|
20261
|
+
* Encodes the specified Comparison message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.Comparison.verify|verify} messages.
|
|
20262
|
+
* @param message Comparison message or plain object to encode
|
|
20263
|
+
* @param [writer] Writer to encode to
|
|
20264
|
+
* @returns Writer
|
|
20265
|
+
*/
|
|
20266
|
+
public static encodeDelimited(message: google.analytics.data.v1beta.IComparison, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20267
|
+
|
|
20268
|
+
/**
|
|
20269
|
+
* Decodes a Comparison message from the specified reader or buffer.
|
|
20270
|
+
* @param reader Reader or buffer to decode from
|
|
20271
|
+
* @param [length] Message length if known beforehand
|
|
20272
|
+
* @returns Comparison
|
|
20273
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20274
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20275
|
+
*/
|
|
20276
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.Comparison;
|
|
20277
|
+
|
|
20278
|
+
/**
|
|
20279
|
+
* Decodes a Comparison message from the specified reader or buffer, length delimited.
|
|
20280
|
+
* @param reader Reader or buffer to decode from
|
|
20281
|
+
* @returns Comparison
|
|
20282
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20283
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20284
|
+
*/
|
|
20285
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.Comparison;
|
|
20286
|
+
|
|
20287
|
+
/**
|
|
20288
|
+
* Verifies a Comparison message.
|
|
20289
|
+
* @param message Plain object to verify
|
|
20290
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20291
|
+
*/
|
|
20292
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20293
|
+
|
|
20294
|
+
/**
|
|
20295
|
+
* Creates a Comparison message from a plain object. Also converts values to their respective internal types.
|
|
20296
|
+
* @param object Plain object
|
|
20297
|
+
* @returns Comparison
|
|
20298
|
+
*/
|
|
20299
|
+
public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.Comparison;
|
|
20300
|
+
|
|
20301
|
+
/**
|
|
20302
|
+
* Creates a plain object from a Comparison message. Also converts values to other types if specified.
|
|
20303
|
+
* @param message Comparison
|
|
20304
|
+
* @param [options] Conversion options
|
|
20305
|
+
* @returns Plain object
|
|
20306
|
+
*/
|
|
20307
|
+
public static toObject(message: google.analytics.data.v1beta.Comparison, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20308
|
+
|
|
20309
|
+
/**
|
|
20310
|
+
* Converts this Comparison to JSON.
|
|
20311
|
+
* @returns JSON object
|
|
20312
|
+
*/
|
|
20313
|
+
public toJSON(): { [k: string]: any };
|
|
20314
|
+
|
|
20315
|
+
/**
|
|
20316
|
+
* Gets the default type url for Comparison
|
|
20317
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20318
|
+
* @returns The default type url
|
|
20319
|
+
*/
|
|
20320
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20321
|
+
}
|
|
20322
|
+
|
|
19957
20323
|
/** Properties of a FilterExpression. */
|
|
19958
20324
|
interface IFilterExpression {
|
|
19959
20325
|
|
|
@@ -23625,6 +23991,115 @@ export namespace google {
|
|
|
23625
23991
|
}
|
|
23626
23992
|
}
|
|
23627
23993
|
|
|
23994
|
+
/** Properties of a ComparisonMetadata. */
|
|
23995
|
+
interface IComparisonMetadata {
|
|
23996
|
+
|
|
23997
|
+
/** ComparisonMetadata apiName */
|
|
23998
|
+
apiName?: (string|null);
|
|
23999
|
+
|
|
24000
|
+
/** ComparisonMetadata uiName */
|
|
24001
|
+
uiName?: (string|null);
|
|
24002
|
+
|
|
24003
|
+
/** ComparisonMetadata description */
|
|
24004
|
+
description?: (string|null);
|
|
24005
|
+
}
|
|
24006
|
+
|
|
24007
|
+
/** Represents a ComparisonMetadata. */
|
|
24008
|
+
class ComparisonMetadata implements IComparisonMetadata {
|
|
24009
|
+
|
|
24010
|
+
/**
|
|
24011
|
+
* Constructs a new ComparisonMetadata.
|
|
24012
|
+
* @param [properties] Properties to set
|
|
24013
|
+
*/
|
|
24014
|
+
constructor(properties?: google.analytics.data.v1beta.IComparisonMetadata);
|
|
24015
|
+
|
|
24016
|
+
/** ComparisonMetadata apiName. */
|
|
24017
|
+
public apiName: string;
|
|
24018
|
+
|
|
24019
|
+
/** ComparisonMetadata uiName. */
|
|
24020
|
+
public uiName: string;
|
|
24021
|
+
|
|
24022
|
+
/** ComparisonMetadata description. */
|
|
24023
|
+
public description: string;
|
|
24024
|
+
|
|
24025
|
+
/**
|
|
24026
|
+
* Creates a new ComparisonMetadata instance using the specified properties.
|
|
24027
|
+
* @param [properties] Properties to set
|
|
24028
|
+
* @returns ComparisonMetadata instance
|
|
24029
|
+
*/
|
|
24030
|
+
public static create(properties?: google.analytics.data.v1beta.IComparisonMetadata): google.analytics.data.v1beta.ComparisonMetadata;
|
|
24031
|
+
|
|
24032
|
+
/**
|
|
24033
|
+
* Encodes the specified ComparisonMetadata message. Does not implicitly {@link google.analytics.data.v1beta.ComparisonMetadata.verify|verify} messages.
|
|
24034
|
+
* @param message ComparisonMetadata message or plain object to encode
|
|
24035
|
+
* @param [writer] Writer to encode to
|
|
24036
|
+
* @returns Writer
|
|
24037
|
+
*/
|
|
24038
|
+
public static encode(message: google.analytics.data.v1beta.IComparisonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24039
|
+
|
|
24040
|
+
/**
|
|
24041
|
+
* Encodes the specified ComparisonMetadata message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.ComparisonMetadata.verify|verify} messages.
|
|
24042
|
+
* @param message ComparisonMetadata message or plain object to encode
|
|
24043
|
+
* @param [writer] Writer to encode to
|
|
24044
|
+
* @returns Writer
|
|
24045
|
+
*/
|
|
24046
|
+
public static encodeDelimited(message: google.analytics.data.v1beta.IComparisonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24047
|
+
|
|
24048
|
+
/**
|
|
24049
|
+
* Decodes a ComparisonMetadata message from the specified reader or buffer.
|
|
24050
|
+
* @param reader Reader or buffer to decode from
|
|
24051
|
+
* @param [length] Message length if known beforehand
|
|
24052
|
+
* @returns ComparisonMetadata
|
|
24053
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24054
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24055
|
+
*/
|
|
24056
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.ComparisonMetadata;
|
|
24057
|
+
|
|
24058
|
+
/**
|
|
24059
|
+
* Decodes a ComparisonMetadata message from the specified reader or buffer, length delimited.
|
|
24060
|
+
* @param reader Reader or buffer to decode from
|
|
24061
|
+
* @returns ComparisonMetadata
|
|
24062
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24063
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24064
|
+
*/
|
|
24065
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.ComparisonMetadata;
|
|
24066
|
+
|
|
24067
|
+
/**
|
|
24068
|
+
* Verifies a ComparisonMetadata message.
|
|
24069
|
+
* @param message Plain object to verify
|
|
24070
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24071
|
+
*/
|
|
24072
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24073
|
+
|
|
24074
|
+
/**
|
|
24075
|
+
* Creates a ComparisonMetadata message from a plain object. Also converts values to their respective internal types.
|
|
24076
|
+
* @param object Plain object
|
|
24077
|
+
* @returns ComparisonMetadata
|
|
24078
|
+
*/
|
|
24079
|
+
public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.ComparisonMetadata;
|
|
24080
|
+
|
|
24081
|
+
/**
|
|
24082
|
+
* Creates a plain object from a ComparisonMetadata message. Also converts values to other types if specified.
|
|
24083
|
+
* @param message ComparisonMetadata
|
|
24084
|
+
* @param [options] Conversion options
|
|
24085
|
+
* @returns Plain object
|
|
24086
|
+
*/
|
|
24087
|
+
public static toObject(message: google.analytics.data.v1beta.ComparisonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24088
|
+
|
|
24089
|
+
/**
|
|
24090
|
+
* Converts this ComparisonMetadata to JSON.
|
|
24091
|
+
* @returns JSON object
|
|
24092
|
+
*/
|
|
24093
|
+
public toJSON(): { [k: string]: any };
|
|
24094
|
+
|
|
24095
|
+
/**
|
|
24096
|
+
* Gets the default type url for ComparisonMetadata
|
|
24097
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
24098
|
+
* @returns The default type url
|
|
24099
|
+
*/
|
|
24100
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
24101
|
+
}
|
|
24102
|
+
|
|
23628
24103
|
/** Properties of a DimensionCompatibility. */
|
|
23629
24104
|
interface IDimensionCompatibility {
|
|
23630
24105
|
|