@google-analytics/data 4.2.0 → 4.3.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.
@@ -12760,6 +12760,62 @@ export namespace google {
12760
12760
  * @returns Promise
12761
12761
  */
12762
12762
  public checkCompatibility(request: google.analytics.data.v1beta.ICheckCompatibilityRequest): Promise<google.analytics.data.v1beta.CheckCompatibilityResponse>;
12763
+
12764
+ /**
12765
+ * Calls CreateAudienceExport.
12766
+ * @param request CreateAudienceExportRequest message or plain object
12767
+ * @param callback Node-style callback called with the error, if any, and Operation
12768
+ */
12769
+ public createAudienceExport(request: google.analytics.data.v1beta.ICreateAudienceExportRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.CreateAudienceExportCallback): void;
12770
+
12771
+ /**
12772
+ * Calls CreateAudienceExport.
12773
+ * @param request CreateAudienceExportRequest message or plain object
12774
+ * @returns Promise
12775
+ */
12776
+ public createAudienceExport(request: google.analytics.data.v1beta.ICreateAudienceExportRequest): Promise<google.longrunning.Operation>;
12777
+
12778
+ /**
12779
+ * Calls QueryAudienceExport.
12780
+ * @param request QueryAudienceExportRequest message or plain object
12781
+ * @param callback Node-style callback called with the error, if any, and QueryAudienceExportResponse
12782
+ */
12783
+ public queryAudienceExport(request: google.analytics.data.v1beta.IQueryAudienceExportRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.QueryAudienceExportCallback): void;
12784
+
12785
+ /**
12786
+ * Calls QueryAudienceExport.
12787
+ * @param request QueryAudienceExportRequest message or plain object
12788
+ * @returns Promise
12789
+ */
12790
+ public queryAudienceExport(request: google.analytics.data.v1beta.IQueryAudienceExportRequest): Promise<google.analytics.data.v1beta.QueryAudienceExportResponse>;
12791
+
12792
+ /**
12793
+ * Calls GetAudienceExport.
12794
+ * @param request GetAudienceExportRequest message or plain object
12795
+ * @param callback Node-style callback called with the error, if any, and AudienceExport
12796
+ */
12797
+ public getAudienceExport(request: google.analytics.data.v1beta.IGetAudienceExportRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.GetAudienceExportCallback): void;
12798
+
12799
+ /**
12800
+ * Calls GetAudienceExport.
12801
+ * @param request GetAudienceExportRequest message or plain object
12802
+ * @returns Promise
12803
+ */
12804
+ public getAudienceExport(request: google.analytics.data.v1beta.IGetAudienceExportRequest): Promise<google.analytics.data.v1beta.AudienceExport>;
12805
+
12806
+ /**
12807
+ * Calls ListAudienceExports.
12808
+ * @param request ListAudienceExportsRequest message or plain object
12809
+ * @param callback Node-style callback called with the error, if any, and ListAudienceExportsResponse
12810
+ */
12811
+ public listAudienceExports(request: google.analytics.data.v1beta.IListAudienceExportsRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.ListAudienceExportsCallback): void;
12812
+
12813
+ /**
12814
+ * Calls ListAudienceExports.
12815
+ * @param request ListAudienceExportsRequest message or plain object
12816
+ * @returns Promise
12817
+ */
12818
+ public listAudienceExports(request: google.analytics.data.v1beta.IListAudienceExportsRequest): Promise<google.analytics.data.v1beta.ListAudienceExportsResponse>;
12763
12819
  }
12764
12820
 
12765
12821
  namespace BetaAnalyticsData {
@@ -12812,6 +12868,34 @@ export namespace google {
12812
12868
  * @param [response] CheckCompatibilityResponse
12813
12869
  */
12814
12870
  type CheckCompatibilityCallback = (error: (Error|null), response?: google.analytics.data.v1beta.CheckCompatibilityResponse) => void;
12871
+
12872
+ /**
12873
+ * Callback as used by {@link google.analytics.data.v1beta.BetaAnalyticsData|createAudienceExport}.
12874
+ * @param error Error, if any
12875
+ * @param [response] Operation
12876
+ */
12877
+ type CreateAudienceExportCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
12878
+
12879
+ /**
12880
+ * Callback as used by {@link google.analytics.data.v1beta.BetaAnalyticsData|queryAudienceExport}.
12881
+ * @param error Error, if any
12882
+ * @param [response] QueryAudienceExportResponse
12883
+ */
12884
+ type QueryAudienceExportCallback = (error: (Error|null), response?: google.analytics.data.v1beta.QueryAudienceExportResponse) => void;
12885
+
12886
+ /**
12887
+ * Callback as used by {@link google.analytics.data.v1beta.BetaAnalyticsData|getAudienceExport}.
12888
+ * @param error Error, if any
12889
+ * @param [response] AudienceExport
12890
+ */
12891
+ type GetAudienceExportCallback = (error: (Error|null), response?: google.analytics.data.v1beta.AudienceExport) => void;
12892
+
12893
+ /**
12894
+ * Callback as used by {@link google.analytics.data.v1beta.BetaAnalyticsData|listAudienceExports}.
12895
+ * @param error Error, if any
12896
+ * @param [response] ListAudienceExportsResponse
12897
+ */
12898
+ type ListAudienceExportsCallback = (error: (Error|null), response?: google.analytics.data.v1beta.ListAudienceExportsResponse) => void;
12815
12899
  }
12816
12900
 
12817
12901
  /** Properties of a CheckCompatibilityRequest. */
@@ -14351,229 +14435,1430 @@ export namespace google {
14351
14435
  /** RunRealtimeReportRequest orderBys. */
14352
14436
  public orderBys: google.analytics.data.v1beta.IOrderBy[];
14353
14437
 
14354
- /** RunRealtimeReportRequest returnPropertyQuota. */
14355
- public returnPropertyQuota: boolean;
14438
+ /** RunRealtimeReportRequest returnPropertyQuota. */
14439
+ public returnPropertyQuota: boolean;
14440
+
14441
+ /** RunRealtimeReportRequest minuteRanges. */
14442
+ public minuteRanges: google.analytics.data.v1beta.IMinuteRange[];
14443
+
14444
+ /**
14445
+ * Creates a new RunRealtimeReportRequest instance using the specified properties.
14446
+ * @param [properties] Properties to set
14447
+ * @returns RunRealtimeReportRequest instance
14448
+ */
14449
+ public static create(properties?: google.analytics.data.v1beta.IRunRealtimeReportRequest): google.analytics.data.v1beta.RunRealtimeReportRequest;
14450
+
14451
+ /**
14452
+ * Encodes the specified RunRealtimeReportRequest message. Does not implicitly {@link google.analytics.data.v1beta.RunRealtimeReportRequest.verify|verify} messages.
14453
+ * @param message RunRealtimeReportRequest message or plain object to encode
14454
+ * @param [writer] Writer to encode to
14455
+ * @returns Writer
14456
+ */
14457
+ public static encode(message: google.analytics.data.v1beta.IRunRealtimeReportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14458
+
14459
+ /**
14460
+ * Encodes the specified RunRealtimeReportRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.RunRealtimeReportRequest.verify|verify} messages.
14461
+ * @param message RunRealtimeReportRequest message or plain object to encode
14462
+ * @param [writer] Writer to encode to
14463
+ * @returns Writer
14464
+ */
14465
+ public static encodeDelimited(message: google.analytics.data.v1beta.IRunRealtimeReportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14466
+
14467
+ /**
14468
+ * Decodes a RunRealtimeReportRequest message from the specified reader or buffer.
14469
+ * @param reader Reader or buffer to decode from
14470
+ * @param [length] Message length if known beforehand
14471
+ * @returns RunRealtimeReportRequest
14472
+ * @throws {Error} If the payload is not a reader or valid buffer
14473
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14474
+ */
14475
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.RunRealtimeReportRequest;
14476
+
14477
+ /**
14478
+ * Decodes a RunRealtimeReportRequest message from the specified reader or buffer, length delimited.
14479
+ * @param reader Reader or buffer to decode from
14480
+ * @returns RunRealtimeReportRequest
14481
+ * @throws {Error} If the payload is not a reader or valid buffer
14482
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14483
+ */
14484
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.RunRealtimeReportRequest;
14485
+
14486
+ /**
14487
+ * Verifies a RunRealtimeReportRequest message.
14488
+ * @param message Plain object to verify
14489
+ * @returns `null` if valid, otherwise the reason why it is not
14490
+ */
14491
+ public static verify(message: { [k: string]: any }): (string|null);
14492
+
14493
+ /**
14494
+ * Creates a RunRealtimeReportRequest message from a plain object. Also converts values to their respective internal types.
14495
+ * @param object Plain object
14496
+ * @returns RunRealtimeReportRequest
14497
+ */
14498
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.RunRealtimeReportRequest;
14499
+
14500
+ /**
14501
+ * Creates a plain object from a RunRealtimeReportRequest message. Also converts values to other types if specified.
14502
+ * @param message RunRealtimeReportRequest
14503
+ * @param [options] Conversion options
14504
+ * @returns Plain object
14505
+ */
14506
+ public static toObject(message: google.analytics.data.v1beta.RunRealtimeReportRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14507
+
14508
+ /**
14509
+ * Converts this RunRealtimeReportRequest to JSON.
14510
+ * @returns JSON object
14511
+ */
14512
+ public toJSON(): { [k: string]: any };
14513
+
14514
+ /**
14515
+ * Gets the default type url for RunRealtimeReportRequest
14516
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14517
+ * @returns The default type url
14518
+ */
14519
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14520
+ }
14521
+
14522
+ /** Properties of a RunRealtimeReportResponse. */
14523
+ interface IRunRealtimeReportResponse {
14524
+
14525
+ /** RunRealtimeReportResponse dimensionHeaders */
14526
+ dimensionHeaders?: (google.analytics.data.v1beta.IDimensionHeader[]|null);
14527
+
14528
+ /** RunRealtimeReportResponse metricHeaders */
14529
+ metricHeaders?: (google.analytics.data.v1beta.IMetricHeader[]|null);
14530
+
14531
+ /** RunRealtimeReportResponse rows */
14532
+ rows?: (google.analytics.data.v1beta.IRow[]|null);
14533
+
14534
+ /** RunRealtimeReportResponse totals */
14535
+ totals?: (google.analytics.data.v1beta.IRow[]|null);
14536
+
14537
+ /** RunRealtimeReportResponse maximums */
14538
+ maximums?: (google.analytics.data.v1beta.IRow[]|null);
14539
+
14540
+ /** RunRealtimeReportResponse minimums */
14541
+ minimums?: (google.analytics.data.v1beta.IRow[]|null);
14542
+
14543
+ /** RunRealtimeReportResponse rowCount */
14544
+ rowCount?: (number|null);
14545
+
14546
+ /** RunRealtimeReportResponse propertyQuota */
14547
+ propertyQuota?: (google.analytics.data.v1beta.IPropertyQuota|null);
14548
+
14549
+ /** RunRealtimeReportResponse kind */
14550
+ kind?: (string|null);
14551
+ }
14552
+
14553
+ /** Represents a RunRealtimeReportResponse. */
14554
+ class RunRealtimeReportResponse implements IRunRealtimeReportResponse {
14555
+
14556
+ /**
14557
+ * Constructs a new RunRealtimeReportResponse.
14558
+ * @param [properties] Properties to set
14559
+ */
14560
+ constructor(properties?: google.analytics.data.v1beta.IRunRealtimeReportResponse);
14561
+
14562
+ /** RunRealtimeReportResponse dimensionHeaders. */
14563
+ public dimensionHeaders: google.analytics.data.v1beta.IDimensionHeader[];
14564
+
14565
+ /** RunRealtimeReportResponse metricHeaders. */
14566
+ public metricHeaders: google.analytics.data.v1beta.IMetricHeader[];
14567
+
14568
+ /** RunRealtimeReportResponse rows. */
14569
+ public rows: google.analytics.data.v1beta.IRow[];
14570
+
14571
+ /** RunRealtimeReportResponse totals. */
14572
+ public totals: google.analytics.data.v1beta.IRow[];
14573
+
14574
+ /** RunRealtimeReportResponse maximums. */
14575
+ public maximums: google.analytics.data.v1beta.IRow[];
14576
+
14577
+ /** RunRealtimeReportResponse minimums. */
14578
+ public minimums: google.analytics.data.v1beta.IRow[];
14579
+
14580
+ /** RunRealtimeReportResponse rowCount. */
14581
+ public rowCount: number;
14582
+
14583
+ /** RunRealtimeReportResponse propertyQuota. */
14584
+ public propertyQuota?: (google.analytics.data.v1beta.IPropertyQuota|null);
14585
+
14586
+ /** RunRealtimeReportResponse kind. */
14587
+ public kind: string;
14588
+
14589
+ /**
14590
+ * Creates a new RunRealtimeReportResponse instance using the specified properties.
14591
+ * @param [properties] Properties to set
14592
+ * @returns RunRealtimeReportResponse instance
14593
+ */
14594
+ public static create(properties?: google.analytics.data.v1beta.IRunRealtimeReportResponse): google.analytics.data.v1beta.RunRealtimeReportResponse;
14595
+
14596
+ /**
14597
+ * Encodes the specified RunRealtimeReportResponse message. Does not implicitly {@link google.analytics.data.v1beta.RunRealtimeReportResponse.verify|verify} messages.
14598
+ * @param message RunRealtimeReportResponse message or plain object to encode
14599
+ * @param [writer] Writer to encode to
14600
+ * @returns Writer
14601
+ */
14602
+ public static encode(message: google.analytics.data.v1beta.IRunRealtimeReportResponse, writer?: $protobuf.Writer): $protobuf.Writer;
14603
+
14604
+ /**
14605
+ * Encodes the specified RunRealtimeReportResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.RunRealtimeReportResponse.verify|verify} messages.
14606
+ * @param message RunRealtimeReportResponse message or plain object to encode
14607
+ * @param [writer] Writer to encode to
14608
+ * @returns Writer
14609
+ */
14610
+ public static encodeDelimited(message: google.analytics.data.v1beta.IRunRealtimeReportResponse, writer?: $protobuf.Writer): $protobuf.Writer;
14611
+
14612
+ /**
14613
+ * Decodes a RunRealtimeReportResponse message from the specified reader or buffer.
14614
+ * @param reader Reader or buffer to decode from
14615
+ * @param [length] Message length if known beforehand
14616
+ * @returns RunRealtimeReportResponse
14617
+ * @throws {Error} If the payload is not a reader or valid buffer
14618
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14619
+ */
14620
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.RunRealtimeReportResponse;
14621
+
14622
+ /**
14623
+ * Decodes a RunRealtimeReportResponse message from the specified reader or buffer, length delimited.
14624
+ * @param reader Reader or buffer to decode from
14625
+ * @returns RunRealtimeReportResponse
14626
+ * @throws {Error} If the payload is not a reader or valid buffer
14627
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14628
+ */
14629
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.RunRealtimeReportResponse;
14630
+
14631
+ /**
14632
+ * Verifies a RunRealtimeReportResponse message.
14633
+ * @param message Plain object to verify
14634
+ * @returns `null` if valid, otherwise the reason why it is not
14635
+ */
14636
+ public static verify(message: { [k: string]: any }): (string|null);
14637
+
14638
+ /**
14639
+ * Creates a RunRealtimeReportResponse message from a plain object. Also converts values to their respective internal types.
14640
+ * @param object Plain object
14641
+ * @returns RunRealtimeReportResponse
14642
+ */
14643
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.RunRealtimeReportResponse;
14644
+
14645
+ /**
14646
+ * Creates a plain object from a RunRealtimeReportResponse message. Also converts values to other types if specified.
14647
+ * @param message RunRealtimeReportResponse
14648
+ * @param [options] Conversion options
14649
+ * @returns Plain object
14650
+ */
14651
+ public static toObject(message: google.analytics.data.v1beta.RunRealtimeReportResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
14652
+
14653
+ /**
14654
+ * Converts this RunRealtimeReportResponse to JSON.
14655
+ * @returns JSON object
14656
+ */
14657
+ public toJSON(): { [k: string]: any };
14658
+
14659
+ /**
14660
+ * Gets the default type url for RunRealtimeReportResponse
14661
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14662
+ * @returns The default type url
14663
+ */
14664
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14665
+ }
14666
+
14667
+ /** Properties of a GetAudienceExportRequest. */
14668
+ interface IGetAudienceExportRequest {
14669
+
14670
+ /** GetAudienceExportRequest name */
14671
+ name?: (string|null);
14672
+ }
14673
+
14674
+ /** Represents a GetAudienceExportRequest. */
14675
+ class GetAudienceExportRequest implements IGetAudienceExportRequest {
14676
+
14677
+ /**
14678
+ * Constructs a new GetAudienceExportRequest.
14679
+ * @param [properties] Properties to set
14680
+ */
14681
+ constructor(properties?: google.analytics.data.v1beta.IGetAudienceExportRequest);
14682
+
14683
+ /** GetAudienceExportRequest name. */
14684
+ public name: string;
14685
+
14686
+ /**
14687
+ * Creates a new GetAudienceExportRequest instance using the specified properties.
14688
+ * @param [properties] Properties to set
14689
+ * @returns GetAudienceExportRequest instance
14690
+ */
14691
+ public static create(properties?: google.analytics.data.v1beta.IGetAudienceExportRequest): google.analytics.data.v1beta.GetAudienceExportRequest;
14692
+
14693
+ /**
14694
+ * Encodes the specified GetAudienceExportRequest message. Does not implicitly {@link google.analytics.data.v1beta.GetAudienceExportRequest.verify|verify} messages.
14695
+ * @param message GetAudienceExportRequest message or plain object to encode
14696
+ * @param [writer] Writer to encode to
14697
+ * @returns Writer
14698
+ */
14699
+ public static encode(message: google.analytics.data.v1beta.IGetAudienceExportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14700
+
14701
+ /**
14702
+ * Encodes the specified GetAudienceExportRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.GetAudienceExportRequest.verify|verify} messages.
14703
+ * @param message GetAudienceExportRequest message or plain object to encode
14704
+ * @param [writer] Writer to encode to
14705
+ * @returns Writer
14706
+ */
14707
+ public static encodeDelimited(message: google.analytics.data.v1beta.IGetAudienceExportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14708
+
14709
+ /**
14710
+ * Decodes a GetAudienceExportRequest message from the specified reader or buffer.
14711
+ * @param reader Reader or buffer to decode from
14712
+ * @param [length] Message length if known beforehand
14713
+ * @returns GetAudienceExportRequest
14714
+ * @throws {Error} If the payload is not a reader or valid buffer
14715
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14716
+ */
14717
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.GetAudienceExportRequest;
14718
+
14719
+ /**
14720
+ * Decodes a GetAudienceExportRequest message from the specified reader or buffer, length delimited.
14721
+ * @param reader Reader or buffer to decode from
14722
+ * @returns GetAudienceExportRequest
14723
+ * @throws {Error} If the payload is not a reader or valid buffer
14724
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14725
+ */
14726
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.GetAudienceExportRequest;
14727
+
14728
+ /**
14729
+ * Verifies a GetAudienceExportRequest message.
14730
+ * @param message Plain object to verify
14731
+ * @returns `null` if valid, otherwise the reason why it is not
14732
+ */
14733
+ public static verify(message: { [k: string]: any }): (string|null);
14734
+
14735
+ /**
14736
+ * Creates a GetAudienceExportRequest message from a plain object. Also converts values to their respective internal types.
14737
+ * @param object Plain object
14738
+ * @returns GetAudienceExportRequest
14739
+ */
14740
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.GetAudienceExportRequest;
14741
+
14742
+ /**
14743
+ * Creates a plain object from a GetAudienceExportRequest message. Also converts values to other types if specified.
14744
+ * @param message GetAudienceExportRequest
14745
+ * @param [options] Conversion options
14746
+ * @returns Plain object
14747
+ */
14748
+ public static toObject(message: google.analytics.data.v1beta.GetAudienceExportRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14749
+
14750
+ /**
14751
+ * Converts this GetAudienceExportRequest to JSON.
14752
+ * @returns JSON object
14753
+ */
14754
+ public toJSON(): { [k: string]: any };
14755
+
14756
+ /**
14757
+ * Gets the default type url for GetAudienceExportRequest
14758
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14759
+ * @returns The default type url
14760
+ */
14761
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14762
+ }
14763
+
14764
+ /** Properties of a ListAudienceExportsRequest. */
14765
+ interface IListAudienceExportsRequest {
14766
+
14767
+ /** ListAudienceExportsRequest parent */
14768
+ parent?: (string|null);
14769
+
14770
+ /** ListAudienceExportsRequest pageSize */
14771
+ pageSize?: (number|null);
14772
+
14773
+ /** ListAudienceExportsRequest pageToken */
14774
+ pageToken?: (string|null);
14775
+ }
14776
+
14777
+ /** Represents a ListAudienceExportsRequest. */
14778
+ class ListAudienceExportsRequest implements IListAudienceExportsRequest {
14779
+
14780
+ /**
14781
+ * Constructs a new ListAudienceExportsRequest.
14782
+ * @param [properties] Properties to set
14783
+ */
14784
+ constructor(properties?: google.analytics.data.v1beta.IListAudienceExportsRequest);
14785
+
14786
+ /** ListAudienceExportsRequest parent. */
14787
+ public parent: string;
14788
+
14789
+ /** ListAudienceExportsRequest pageSize. */
14790
+ public pageSize: number;
14791
+
14792
+ /** ListAudienceExportsRequest pageToken. */
14793
+ public pageToken: string;
14794
+
14795
+ /**
14796
+ * Creates a new ListAudienceExportsRequest instance using the specified properties.
14797
+ * @param [properties] Properties to set
14798
+ * @returns ListAudienceExportsRequest instance
14799
+ */
14800
+ public static create(properties?: google.analytics.data.v1beta.IListAudienceExportsRequest): google.analytics.data.v1beta.ListAudienceExportsRequest;
14801
+
14802
+ /**
14803
+ * Encodes the specified ListAudienceExportsRequest message. Does not implicitly {@link google.analytics.data.v1beta.ListAudienceExportsRequest.verify|verify} messages.
14804
+ * @param message ListAudienceExportsRequest message or plain object to encode
14805
+ * @param [writer] Writer to encode to
14806
+ * @returns Writer
14807
+ */
14808
+ public static encode(message: google.analytics.data.v1beta.IListAudienceExportsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14809
+
14810
+ /**
14811
+ * Encodes the specified ListAudienceExportsRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.ListAudienceExportsRequest.verify|verify} messages.
14812
+ * @param message ListAudienceExportsRequest message or plain object to encode
14813
+ * @param [writer] Writer to encode to
14814
+ * @returns Writer
14815
+ */
14816
+ public static encodeDelimited(message: google.analytics.data.v1beta.IListAudienceExportsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14817
+
14818
+ /**
14819
+ * Decodes a ListAudienceExportsRequest message from the specified reader or buffer.
14820
+ * @param reader Reader or buffer to decode from
14821
+ * @param [length] Message length if known beforehand
14822
+ * @returns ListAudienceExportsRequest
14823
+ * @throws {Error} If the payload is not a reader or valid buffer
14824
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14825
+ */
14826
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.ListAudienceExportsRequest;
14827
+
14828
+ /**
14829
+ * Decodes a ListAudienceExportsRequest message from the specified reader or buffer, length delimited.
14830
+ * @param reader Reader or buffer to decode from
14831
+ * @returns ListAudienceExportsRequest
14832
+ * @throws {Error} If the payload is not a reader or valid buffer
14833
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14834
+ */
14835
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.ListAudienceExportsRequest;
14836
+
14837
+ /**
14838
+ * Verifies a ListAudienceExportsRequest message.
14839
+ * @param message Plain object to verify
14840
+ * @returns `null` if valid, otherwise the reason why it is not
14841
+ */
14842
+ public static verify(message: { [k: string]: any }): (string|null);
14843
+
14844
+ /**
14845
+ * Creates a ListAudienceExportsRequest message from a plain object. Also converts values to their respective internal types.
14846
+ * @param object Plain object
14847
+ * @returns ListAudienceExportsRequest
14848
+ */
14849
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.ListAudienceExportsRequest;
14850
+
14851
+ /**
14852
+ * Creates a plain object from a ListAudienceExportsRequest message. Also converts values to other types if specified.
14853
+ * @param message ListAudienceExportsRequest
14854
+ * @param [options] Conversion options
14855
+ * @returns Plain object
14856
+ */
14857
+ public static toObject(message: google.analytics.data.v1beta.ListAudienceExportsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14858
+
14859
+ /**
14860
+ * Converts this ListAudienceExportsRequest to JSON.
14861
+ * @returns JSON object
14862
+ */
14863
+ public toJSON(): { [k: string]: any };
14864
+
14865
+ /**
14866
+ * Gets the default type url for ListAudienceExportsRequest
14867
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14868
+ * @returns The default type url
14869
+ */
14870
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14871
+ }
14872
+
14873
+ /** Properties of a ListAudienceExportsResponse. */
14874
+ interface IListAudienceExportsResponse {
14875
+
14876
+ /** ListAudienceExportsResponse audienceExports */
14877
+ audienceExports?: (google.analytics.data.v1beta.IAudienceExport[]|null);
14878
+
14879
+ /** ListAudienceExportsResponse nextPageToken */
14880
+ nextPageToken?: (string|null);
14881
+ }
14882
+
14883
+ /** Represents a ListAudienceExportsResponse. */
14884
+ class ListAudienceExportsResponse implements IListAudienceExportsResponse {
14885
+
14886
+ /**
14887
+ * Constructs a new ListAudienceExportsResponse.
14888
+ * @param [properties] Properties to set
14889
+ */
14890
+ constructor(properties?: google.analytics.data.v1beta.IListAudienceExportsResponse);
14891
+
14892
+ /** ListAudienceExportsResponse audienceExports. */
14893
+ public audienceExports: google.analytics.data.v1beta.IAudienceExport[];
14894
+
14895
+ /** ListAudienceExportsResponse nextPageToken. */
14896
+ public nextPageToken?: (string|null);
14897
+
14898
+ /** ListAudienceExportsResponse _nextPageToken. */
14899
+ public _nextPageToken?: "nextPageToken";
14900
+
14901
+ /**
14902
+ * Creates a new ListAudienceExportsResponse instance using the specified properties.
14903
+ * @param [properties] Properties to set
14904
+ * @returns ListAudienceExportsResponse instance
14905
+ */
14906
+ public static create(properties?: google.analytics.data.v1beta.IListAudienceExportsResponse): google.analytics.data.v1beta.ListAudienceExportsResponse;
14907
+
14908
+ /**
14909
+ * Encodes the specified ListAudienceExportsResponse message. Does not implicitly {@link google.analytics.data.v1beta.ListAudienceExportsResponse.verify|verify} messages.
14910
+ * @param message ListAudienceExportsResponse message or plain object to encode
14911
+ * @param [writer] Writer to encode to
14912
+ * @returns Writer
14913
+ */
14914
+ public static encode(message: google.analytics.data.v1beta.IListAudienceExportsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
14915
+
14916
+ /**
14917
+ * Encodes the specified ListAudienceExportsResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.ListAudienceExportsResponse.verify|verify} messages.
14918
+ * @param message ListAudienceExportsResponse message or plain object to encode
14919
+ * @param [writer] Writer to encode to
14920
+ * @returns Writer
14921
+ */
14922
+ public static encodeDelimited(message: google.analytics.data.v1beta.IListAudienceExportsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
14923
+
14924
+ /**
14925
+ * Decodes a ListAudienceExportsResponse message from the specified reader or buffer.
14926
+ * @param reader Reader or buffer to decode from
14927
+ * @param [length] Message length if known beforehand
14928
+ * @returns ListAudienceExportsResponse
14929
+ * @throws {Error} If the payload is not a reader or valid buffer
14930
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14931
+ */
14932
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.ListAudienceExportsResponse;
14933
+
14934
+ /**
14935
+ * Decodes a ListAudienceExportsResponse message from the specified reader or buffer, length delimited.
14936
+ * @param reader Reader or buffer to decode from
14937
+ * @returns ListAudienceExportsResponse
14938
+ * @throws {Error} If the payload is not a reader or valid buffer
14939
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14940
+ */
14941
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.ListAudienceExportsResponse;
14942
+
14943
+ /**
14944
+ * Verifies a ListAudienceExportsResponse message.
14945
+ * @param message Plain object to verify
14946
+ * @returns `null` if valid, otherwise the reason why it is not
14947
+ */
14948
+ public static verify(message: { [k: string]: any }): (string|null);
14949
+
14950
+ /**
14951
+ * Creates a ListAudienceExportsResponse message from a plain object. Also converts values to their respective internal types.
14952
+ * @param object Plain object
14953
+ * @returns ListAudienceExportsResponse
14954
+ */
14955
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.ListAudienceExportsResponse;
14956
+
14957
+ /**
14958
+ * Creates a plain object from a ListAudienceExportsResponse message. Also converts values to other types if specified.
14959
+ * @param message ListAudienceExportsResponse
14960
+ * @param [options] Conversion options
14961
+ * @returns Plain object
14962
+ */
14963
+ public static toObject(message: google.analytics.data.v1beta.ListAudienceExportsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
14964
+
14965
+ /**
14966
+ * Converts this ListAudienceExportsResponse to JSON.
14967
+ * @returns JSON object
14968
+ */
14969
+ public toJSON(): { [k: string]: any };
14970
+
14971
+ /**
14972
+ * Gets the default type url for ListAudienceExportsResponse
14973
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14974
+ * @returns The default type url
14975
+ */
14976
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14977
+ }
14978
+
14979
+ /** Properties of a CreateAudienceExportRequest. */
14980
+ interface ICreateAudienceExportRequest {
14981
+
14982
+ /** CreateAudienceExportRequest parent */
14983
+ parent?: (string|null);
14984
+
14985
+ /** CreateAudienceExportRequest audienceExport */
14986
+ audienceExport?: (google.analytics.data.v1beta.IAudienceExport|null);
14987
+ }
14988
+
14989
+ /** Represents a CreateAudienceExportRequest. */
14990
+ class CreateAudienceExportRequest implements ICreateAudienceExportRequest {
14991
+
14992
+ /**
14993
+ * Constructs a new CreateAudienceExportRequest.
14994
+ * @param [properties] Properties to set
14995
+ */
14996
+ constructor(properties?: google.analytics.data.v1beta.ICreateAudienceExportRequest);
14997
+
14998
+ /** CreateAudienceExportRequest parent. */
14999
+ public parent: string;
15000
+
15001
+ /** CreateAudienceExportRequest audienceExport. */
15002
+ public audienceExport?: (google.analytics.data.v1beta.IAudienceExport|null);
15003
+
15004
+ /**
15005
+ * Creates a new CreateAudienceExportRequest instance using the specified properties.
15006
+ * @param [properties] Properties to set
15007
+ * @returns CreateAudienceExportRequest instance
15008
+ */
15009
+ public static create(properties?: google.analytics.data.v1beta.ICreateAudienceExportRequest): google.analytics.data.v1beta.CreateAudienceExportRequest;
15010
+
15011
+ /**
15012
+ * Encodes the specified CreateAudienceExportRequest message. Does not implicitly {@link google.analytics.data.v1beta.CreateAudienceExportRequest.verify|verify} messages.
15013
+ * @param message CreateAudienceExportRequest message or plain object to encode
15014
+ * @param [writer] Writer to encode to
15015
+ * @returns Writer
15016
+ */
15017
+ public static encode(message: google.analytics.data.v1beta.ICreateAudienceExportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15018
+
15019
+ /**
15020
+ * Encodes the specified CreateAudienceExportRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.CreateAudienceExportRequest.verify|verify} messages.
15021
+ * @param message CreateAudienceExportRequest message or plain object to encode
15022
+ * @param [writer] Writer to encode to
15023
+ * @returns Writer
15024
+ */
15025
+ public static encodeDelimited(message: google.analytics.data.v1beta.ICreateAudienceExportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15026
+
15027
+ /**
15028
+ * Decodes a CreateAudienceExportRequest message from the specified reader or buffer.
15029
+ * @param reader Reader or buffer to decode from
15030
+ * @param [length] Message length if known beforehand
15031
+ * @returns CreateAudienceExportRequest
15032
+ * @throws {Error} If the payload is not a reader or valid buffer
15033
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15034
+ */
15035
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.CreateAudienceExportRequest;
15036
+
15037
+ /**
15038
+ * Decodes a CreateAudienceExportRequest message from the specified reader or buffer, length delimited.
15039
+ * @param reader Reader or buffer to decode from
15040
+ * @returns CreateAudienceExportRequest
15041
+ * @throws {Error} If the payload is not a reader or valid buffer
15042
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15043
+ */
15044
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.CreateAudienceExportRequest;
15045
+
15046
+ /**
15047
+ * Verifies a CreateAudienceExportRequest message.
15048
+ * @param message Plain object to verify
15049
+ * @returns `null` if valid, otherwise the reason why it is not
15050
+ */
15051
+ public static verify(message: { [k: string]: any }): (string|null);
15052
+
15053
+ /**
15054
+ * Creates a CreateAudienceExportRequest message from a plain object. Also converts values to their respective internal types.
15055
+ * @param object Plain object
15056
+ * @returns CreateAudienceExportRequest
15057
+ */
15058
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.CreateAudienceExportRequest;
15059
+
15060
+ /**
15061
+ * Creates a plain object from a CreateAudienceExportRequest message. Also converts values to other types if specified.
15062
+ * @param message CreateAudienceExportRequest
15063
+ * @param [options] Conversion options
15064
+ * @returns Plain object
15065
+ */
15066
+ public static toObject(message: google.analytics.data.v1beta.CreateAudienceExportRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
15067
+
15068
+ /**
15069
+ * Converts this CreateAudienceExportRequest to JSON.
15070
+ * @returns JSON object
15071
+ */
15072
+ public toJSON(): { [k: string]: any };
15073
+
15074
+ /**
15075
+ * Gets the default type url for CreateAudienceExportRequest
15076
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15077
+ * @returns The default type url
15078
+ */
15079
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15080
+ }
15081
+
15082
+ /** Properties of an AudienceExport. */
15083
+ interface IAudienceExport {
15084
+
15085
+ /** AudienceExport name */
15086
+ name?: (string|null);
15087
+
15088
+ /** AudienceExport audience */
15089
+ audience?: (string|null);
15090
+
15091
+ /** AudienceExport audienceDisplayName */
15092
+ audienceDisplayName?: (string|null);
15093
+
15094
+ /** AudienceExport dimensions */
15095
+ dimensions?: (google.analytics.data.v1beta.IAudienceDimension[]|null);
15096
+
15097
+ /** AudienceExport state */
15098
+ state?: (google.analytics.data.v1beta.AudienceExport.State|keyof typeof google.analytics.data.v1beta.AudienceExport.State|null);
15099
+
15100
+ /** AudienceExport beginCreatingTime */
15101
+ beginCreatingTime?: (google.protobuf.ITimestamp|null);
15102
+
15103
+ /** AudienceExport creationQuotaTokensCharged */
15104
+ creationQuotaTokensCharged?: (number|null);
15105
+
15106
+ /** AudienceExport rowCount */
15107
+ rowCount?: (number|null);
15108
+
15109
+ /** AudienceExport errorMessage */
15110
+ errorMessage?: (string|null);
15111
+
15112
+ /** AudienceExport percentageCompleted */
15113
+ percentageCompleted?: (number|null);
15114
+ }
15115
+
15116
+ /** Represents an AudienceExport. */
15117
+ class AudienceExport implements IAudienceExport {
15118
+
15119
+ /**
15120
+ * Constructs a new AudienceExport.
15121
+ * @param [properties] Properties to set
15122
+ */
15123
+ constructor(properties?: google.analytics.data.v1beta.IAudienceExport);
15124
+
15125
+ /** AudienceExport name. */
15126
+ public name: string;
15127
+
15128
+ /** AudienceExport audience. */
15129
+ public audience: string;
15130
+
15131
+ /** AudienceExport audienceDisplayName. */
15132
+ public audienceDisplayName: string;
15133
+
15134
+ /** AudienceExport dimensions. */
15135
+ public dimensions: google.analytics.data.v1beta.IAudienceDimension[];
15136
+
15137
+ /** AudienceExport state. */
15138
+ public state?: (google.analytics.data.v1beta.AudienceExport.State|keyof typeof google.analytics.data.v1beta.AudienceExport.State|null);
15139
+
15140
+ /** AudienceExport beginCreatingTime. */
15141
+ public beginCreatingTime?: (google.protobuf.ITimestamp|null);
15142
+
15143
+ /** AudienceExport creationQuotaTokensCharged. */
15144
+ public creationQuotaTokensCharged: number;
15145
+
15146
+ /** AudienceExport rowCount. */
15147
+ public rowCount?: (number|null);
15148
+
15149
+ /** AudienceExport errorMessage. */
15150
+ public errorMessage?: (string|null);
15151
+
15152
+ /** AudienceExport percentageCompleted. */
15153
+ public percentageCompleted?: (number|null);
15154
+
15155
+ /** AudienceExport _state. */
15156
+ public _state?: "state";
15157
+
15158
+ /** AudienceExport _beginCreatingTime. */
15159
+ public _beginCreatingTime?: "beginCreatingTime";
15160
+
15161
+ /** AudienceExport _rowCount. */
15162
+ public _rowCount?: "rowCount";
15163
+
15164
+ /** AudienceExport _errorMessage. */
15165
+ public _errorMessage?: "errorMessage";
15166
+
15167
+ /** AudienceExport _percentageCompleted. */
15168
+ public _percentageCompleted?: "percentageCompleted";
15169
+
15170
+ /**
15171
+ * Creates a new AudienceExport instance using the specified properties.
15172
+ * @param [properties] Properties to set
15173
+ * @returns AudienceExport instance
15174
+ */
15175
+ public static create(properties?: google.analytics.data.v1beta.IAudienceExport): google.analytics.data.v1beta.AudienceExport;
15176
+
15177
+ /**
15178
+ * Encodes the specified AudienceExport message. Does not implicitly {@link google.analytics.data.v1beta.AudienceExport.verify|verify} messages.
15179
+ * @param message AudienceExport message or plain object to encode
15180
+ * @param [writer] Writer to encode to
15181
+ * @returns Writer
15182
+ */
15183
+ public static encode(message: google.analytics.data.v1beta.IAudienceExport, writer?: $protobuf.Writer): $protobuf.Writer;
15184
+
15185
+ /**
15186
+ * Encodes the specified AudienceExport message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.AudienceExport.verify|verify} messages.
15187
+ * @param message AudienceExport message or plain object to encode
15188
+ * @param [writer] Writer to encode to
15189
+ * @returns Writer
15190
+ */
15191
+ public static encodeDelimited(message: google.analytics.data.v1beta.IAudienceExport, writer?: $protobuf.Writer): $protobuf.Writer;
15192
+
15193
+ /**
15194
+ * Decodes an AudienceExport message from the specified reader or buffer.
15195
+ * @param reader Reader or buffer to decode from
15196
+ * @param [length] Message length if known beforehand
15197
+ * @returns AudienceExport
15198
+ * @throws {Error} If the payload is not a reader or valid buffer
15199
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15200
+ */
15201
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.AudienceExport;
15202
+
15203
+ /**
15204
+ * Decodes an AudienceExport message from the specified reader or buffer, length delimited.
15205
+ * @param reader Reader or buffer to decode from
15206
+ * @returns AudienceExport
15207
+ * @throws {Error} If the payload is not a reader or valid buffer
15208
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15209
+ */
15210
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.AudienceExport;
15211
+
15212
+ /**
15213
+ * Verifies an AudienceExport message.
15214
+ * @param message Plain object to verify
15215
+ * @returns `null` if valid, otherwise the reason why it is not
15216
+ */
15217
+ public static verify(message: { [k: string]: any }): (string|null);
15218
+
15219
+ /**
15220
+ * Creates an AudienceExport message from a plain object. Also converts values to their respective internal types.
15221
+ * @param object Plain object
15222
+ * @returns AudienceExport
15223
+ */
15224
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.AudienceExport;
15225
+
15226
+ /**
15227
+ * Creates a plain object from an AudienceExport message. Also converts values to other types if specified.
15228
+ * @param message AudienceExport
15229
+ * @param [options] Conversion options
15230
+ * @returns Plain object
15231
+ */
15232
+ public static toObject(message: google.analytics.data.v1beta.AudienceExport, options?: $protobuf.IConversionOptions): { [k: string]: any };
15233
+
15234
+ /**
15235
+ * Converts this AudienceExport to JSON.
15236
+ * @returns JSON object
15237
+ */
15238
+ public toJSON(): { [k: string]: any };
15239
+
15240
+ /**
15241
+ * Gets the default type url for AudienceExport
15242
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15243
+ * @returns The default type url
15244
+ */
15245
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15246
+ }
15247
+
15248
+ namespace AudienceExport {
15249
+
15250
+ /** State enum. */
15251
+ enum State {
15252
+ STATE_UNSPECIFIED = 0,
15253
+ CREATING = 1,
15254
+ ACTIVE = 2,
15255
+ FAILED = 3
15256
+ }
15257
+ }
15258
+
15259
+ /** Properties of an AudienceExportMetadata. */
15260
+ interface IAudienceExportMetadata {
15261
+ }
15262
+
15263
+ /** Represents an AudienceExportMetadata. */
15264
+ class AudienceExportMetadata implements IAudienceExportMetadata {
15265
+
15266
+ /**
15267
+ * Constructs a new AudienceExportMetadata.
15268
+ * @param [properties] Properties to set
15269
+ */
15270
+ constructor(properties?: google.analytics.data.v1beta.IAudienceExportMetadata);
15271
+
15272
+ /**
15273
+ * Creates a new AudienceExportMetadata instance using the specified properties.
15274
+ * @param [properties] Properties to set
15275
+ * @returns AudienceExportMetadata instance
15276
+ */
15277
+ public static create(properties?: google.analytics.data.v1beta.IAudienceExportMetadata): google.analytics.data.v1beta.AudienceExportMetadata;
15278
+
15279
+ /**
15280
+ * Encodes the specified AudienceExportMetadata message. Does not implicitly {@link google.analytics.data.v1beta.AudienceExportMetadata.verify|verify} messages.
15281
+ * @param message AudienceExportMetadata message or plain object to encode
15282
+ * @param [writer] Writer to encode to
15283
+ * @returns Writer
15284
+ */
15285
+ public static encode(message: google.analytics.data.v1beta.IAudienceExportMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
15286
+
15287
+ /**
15288
+ * Encodes the specified AudienceExportMetadata message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.AudienceExportMetadata.verify|verify} messages.
15289
+ * @param message AudienceExportMetadata message or plain object to encode
15290
+ * @param [writer] Writer to encode to
15291
+ * @returns Writer
15292
+ */
15293
+ public static encodeDelimited(message: google.analytics.data.v1beta.IAudienceExportMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
15294
+
15295
+ /**
15296
+ * Decodes an AudienceExportMetadata message from the specified reader or buffer.
15297
+ * @param reader Reader or buffer to decode from
15298
+ * @param [length] Message length if known beforehand
15299
+ * @returns AudienceExportMetadata
15300
+ * @throws {Error} If the payload is not a reader or valid buffer
15301
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15302
+ */
15303
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.AudienceExportMetadata;
15304
+
15305
+ /**
15306
+ * Decodes an AudienceExportMetadata message from the specified reader or buffer, length delimited.
15307
+ * @param reader Reader or buffer to decode from
15308
+ * @returns AudienceExportMetadata
15309
+ * @throws {Error} If the payload is not a reader or valid buffer
15310
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15311
+ */
15312
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.AudienceExportMetadata;
15313
+
15314
+ /**
15315
+ * Verifies an AudienceExportMetadata message.
15316
+ * @param message Plain object to verify
15317
+ * @returns `null` if valid, otherwise the reason why it is not
15318
+ */
15319
+ public static verify(message: { [k: string]: any }): (string|null);
15320
+
15321
+ /**
15322
+ * Creates an AudienceExportMetadata message from a plain object. Also converts values to their respective internal types.
15323
+ * @param object Plain object
15324
+ * @returns AudienceExportMetadata
15325
+ */
15326
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.AudienceExportMetadata;
15327
+
15328
+ /**
15329
+ * Creates a plain object from an AudienceExportMetadata message. Also converts values to other types if specified.
15330
+ * @param message AudienceExportMetadata
15331
+ * @param [options] Conversion options
15332
+ * @returns Plain object
15333
+ */
15334
+ public static toObject(message: google.analytics.data.v1beta.AudienceExportMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
15335
+
15336
+ /**
15337
+ * Converts this AudienceExportMetadata to JSON.
15338
+ * @returns JSON object
15339
+ */
15340
+ public toJSON(): { [k: string]: any };
15341
+
15342
+ /**
15343
+ * Gets the default type url for AudienceExportMetadata
15344
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15345
+ * @returns The default type url
15346
+ */
15347
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15348
+ }
15349
+
15350
+ /** Properties of a QueryAudienceExportRequest. */
15351
+ interface IQueryAudienceExportRequest {
15352
+
15353
+ /** QueryAudienceExportRequest name */
15354
+ name?: (string|null);
15355
+
15356
+ /** QueryAudienceExportRequest offset */
15357
+ offset?: (number|Long|string|null);
15358
+
15359
+ /** QueryAudienceExportRequest limit */
15360
+ limit?: (number|Long|string|null);
15361
+ }
15362
+
15363
+ /** Represents a QueryAudienceExportRequest. */
15364
+ class QueryAudienceExportRequest implements IQueryAudienceExportRequest {
15365
+
15366
+ /**
15367
+ * Constructs a new QueryAudienceExportRequest.
15368
+ * @param [properties] Properties to set
15369
+ */
15370
+ constructor(properties?: google.analytics.data.v1beta.IQueryAudienceExportRequest);
15371
+
15372
+ /** QueryAudienceExportRequest name. */
15373
+ public name: string;
15374
+
15375
+ /** QueryAudienceExportRequest offset. */
15376
+ public offset: (number|Long|string);
15377
+
15378
+ /** QueryAudienceExportRequest limit. */
15379
+ public limit: (number|Long|string);
15380
+
15381
+ /**
15382
+ * Creates a new QueryAudienceExportRequest instance using the specified properties.
15383
+ * @param [properties] Properties to set
15384
+ * @returns QueryAudienceExportRequest instance
15385
+ */
15386
+ public static create(properties?: google.analytics.data.v1beta.IQueryAudienceExportRequest): google.analytics.data.v1beta.QueryAudienceExportRequest;
15387
+
15388
+ /**
15389
+ * Encodes the specified QueryAudienceExportRequest message. Does not implicitly {@link google.analytics.data.v1beta.QueryAudienceExportRequest.verify|verify} messages.
15390
+ * @param message QueryAudienceExportRequest message or plain object to encode
15391
+ * @param [writer] Writer to encode to
15392
+ * @returns Writer
15393
+ */
15394
+ public static encode(message: google.analytics.data.v1beta.IQueryAudienceExportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15395
+
15396
+ /**
15397
+ * Encodes the specified QueryAudienceExportRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.QueryAudienceExportRequest.verify|verify} messages.
15398
+ * @param message QueryAudienceExportRequest message or plain object to encode
15399
+ * @param [writer] Writer to encode to
15400
+ * @returns Writer
15401
+ */
15402
+ public static encodeDelimited(message: google.analytics.data.v1beta.IQueryAudienceExportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15403
+
15404
+ /**
15405
+ * Decodes a QueryAudienceExportRequest message from the specified reader or buffer.
15406
+ * @param reader Reader or buffer to decode from
15407
+ * @param [length] Message length if known beforehand
15408
+ * @returns QueryAudienceExportRequest
15409
+ * @throws {Error} If the payload is not a reader or valid buffer
15410
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15411
+ */
15412
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.QueryAudienceExportRequest;
15413
+
15414
+ /**
15415
+ * Decodes a QueryAudienceExportRequest message from the specified reader or buffer, length delimited.
15416
+ * @param reader Reader or buffer to decode from
15417
+ * @returns QueryAudienceExportRequest
15418
+ * @throws {Error} If the payload is not a reader or valid buffer
15419
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15420
+ */
15421
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.QueryAudienceExportRequest;
15422
+
15423
+ /**
15424
+ * Verifies a QueryAudienceExportRequest message.
15425
+ * @param message Plain object to verify
15426
+ * @returns `null` if valid, otherwise the reason why it is not
15427
+ */
15428
+ public static verify(message: { [k: string]: any }): (string|null);
15429
+
15430
+ /**
15431
+ * Creates a QueryAudienceExportRequest message from a plain object. Also converts values to their respective internal types.
15432
+ * @param object Plain object
15433
+ * @returns QueryAudienceExportRequest
15434
+ */
15435
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.QueryAudienceExportRequest;
15436
+
15437
+ /**
15438
+ * Creates a plain object from a QueryAudienceExportRequest message. Also converts values to other types if specified.
15439
+ * @param message QueryAudienceExportRequest
15440
+ * @param [options] Conversion options
15441
+ * @returns Plain object
15442
+ */
15443
+ public static toObject(message: google.analytics.data.v1beta.QueryAudienceExportRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
15444
+
15445
+ /**
15446
+ * Converts this QueryAudienceExportRequest to JSON.
15447
+ * @returns JSON object
15448
+ */
15449
+ public toJSON(): { [k: string]: any };
15450
+
15451
+ /**
15452
+ * Gets the default type url for QueryAudienceExportRequest
15453
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15454
+ * @returns The default type url
15455
+ */
15456
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15457
+ }
15458
+
15459
+ /** Properties of a QueryAudienceExportResponse. */
15460
+ interface IQueryAudienceExportResponse {
15461
+
15462
+ /** QueryAudienceExportResponse audienceExport */
15463
+ audienceExport?: (google.analytics.data.v1beta.IAudienceExport|null);
15464
+
15465
+ /** QueryAudienceExportResponse audienceRows */
15466
+ audienceRows?: (google.analytics.data.v1beta.IAudienceRow[]|null);
15467
+
15468
+ /** QueryAudienceExportResponse rowCount */
15469
+ rowCount?: (number|null);
15470
+ }
15471
+
15472
+ /** Represents a QueryAudienceExportResponse. */
15473
+ class QueryAudienceExportResponse implements IQueryAudienceExportResponse {
15474
+
15475
+ /**
15476
+ * Constructs a new QueryAudienceExportResponse.
15477
+ * @param [properties] Properties to set
15478
+ */
15479
+ constructor(properties?: google.analytics.data.v1beta.IQueryAudienceExportResponse);
15480
+
15481
+ /** QueryAudienceExportResponse audienceExport. */
15482
+ public audienceExport?: (google.analytics.data.v1beta.IAudienceExport|null);
15483
+
15484
+ /** QueryAudienceExportResponse audienceRows. */
15485
+ public audienceRows: google.analytics.data.v1beta.IAudienceRow[];
15486
+
15487
+ /** QueryAudienceExportResponse rowCount. */
15488
+ public rowCount?: (number|null);
15489
+
15490
+ /** QueryAudienceExportResponse _audienceExport. */
15491
+ public _audienceExport?: "audienceExport";
15492
+
15493
+ /** QueryAudienceExportResponse _rowCount. */
15494
+ public _rowCount?: "rowCount";
15495
+
15496
+ /**
15497
+ * Creates a new QueryAudienceExportResponse instance using the specified properties.
15498
+ * @param [properties] Properties to set
15499
+ * @returns QueryAudienceExportResponse instance
15500
+ */
15501
+ public static create(properties?: google.analytics.data.v1beta.IQueryAudienceExportResponse): google.analytics.data.v1beta.QueryAudienceExportResponse;
15502
+
15503
+ /**
15504
+ * Encodes the specified QueryAudienceExportResponse message. Does not implicitly {@link google.analytics.data.v1beta.QueryAudienceExportResponse.verify|verify} messages.
15505
+ * @param message QueryAudienceExportResponse message or plain object to encode
15506
+ * @param [writer] Writer to encode to
15507
+ * @returns Writer
15508
+ */
15509
+ public static encode(message: google.analytics.data.v1beta.IQueryAudienceExportResponse, writer?: $protobuf.Writer): $protobuf.Writer;
15510
+
15511
+ /**
15512
+ * Encodes the specified QueryAudienceExportResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.QueryAudienceExportResponse.verify|verify} messages.
15513
+ * @param message QueryAudienceExportResponse message or plain object to encode
15514
+ * @param [writer] Writer to encode to
15515
+ * @returns Writer
15516
+ */
15517
+ public static encodeDelimited(message: google.analytics.data.v1beta.IQueryAudienceExportResponse, writer?: $protobuf.Writer): $protobuf.Writer;
15518
+
15519
+ /**
15520
+ * Decodes a QueryAudienceExportResponse message from the specified reader or buffer.
15521
+ * @param reader Reader or buffer to decode from
15522
+ * @param [length] Message length if known beforehand
15523
+ * @returns QueryAudienceExportResponse
15524
+ * @throws {Error} If the payload is not a reader or valid buffer
15525
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15526
+ */
15527
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.QueryAudienceExportResponse;
15528
+
15529
+ /**
15530
+ * Decodes a QueryAudienceExportResponse message from the specified reader or buffer, length delimited.
15531
+ * @param reader Reader or buffer to decode from
15532
+ * @returns QueryAudienceExportResponse
15533
+ * @throws {Error} If the payload is not a reader or valid buffer
15534
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15535
+ */
15536
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.QueryAudienceExportResponse;
15537
+
15538
+ /**
15539
+ * Verifies a QueryAudienceExportResponse message.
15540
+ * @param message Plain object to verify
15541
+ * @returns `null` if valid, otherwise the reason why it is not
15542
+ */
15543
+ public static verify(message: { [k: string]: any }): (string|null);
15544
+
15545
+ /**
15546
+ * Creates a QueryAudienceExportResponse message from a plain object. Also converts values to their respective internal types.
15547
+ * @param object Plain object
15548
+ * @returns QueryAudienceExportResponse
15549
+ */
15550
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.QueryAudienceExportResponse;
15551
+
15552
+ /**
15553
+ * Creates a plain object from a QueryAudienceExportResponse message. Also converts values to other types if specified.
15554
+ * @param message QueryAudienceExportResponse
15555
+ * @param [options] Conversion options
15556
+ * @returns Plain object
15557
+ */
15558
+ public static toObject(message: google.analytics.data.v1beta.QueryAudienceExportResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
15559
+
15560
+ /**
15561
+ * Converts this QueryAudienceExportResponse to JSON.
15562
+ * @returns JSON object
15563
+ */
15564
+ public toJSON(): { [k: string]: any };
15565
+
15566
+ /**
15567
+ * Gets the default type url for QueryAudienceExportResponse
15568
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15569
+ * @returns The default type url
15570
+ */
15571
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15572
+ }
15573
+
15574
+ /** Properties of an AudienceRow. */
15575
+ interface IAudienceRow {
15576
+
15577
+ /** AudienceRow dimensionValues */
15578
+ dimensionValues?: (google.analytics.data.v1beta.IAudienceDimensionValue[]|null);
15579
+ }
15580
+
15581
+ /** Represents an AudienceRow. */
15582
+ class AudienceRow implements IAudienceRow {
15583
+
15584
+ /**
15585
+ * Constructs a new AudienceRow.
15586
+ * @param [properties] Properties to set
15587
+ */
15588
+ constructor(properties?: google.analytics.data.v1beta.IAudienceRow);
15589
+
15590
+ /** AudienceRow dimensionValues. */
15591
+ public dimensionValues: google.analytics.data.v1beta.IAudienceDimensionValue[];
15592
+
15593
+ /**
15594
+ * Creates a new AudienceRow instance using the specified properties.
15595
+ * @param [properties] Properties to set
15596
+ * @returns AudienceRow instance
15597
+ */
15598
+ public static create(properties?: google.analytics.data.v1beta.IAudienceRow): google.analytics.data.v1beta.AudienceRow;
15599
+
15600
+ /**
15601
+ * Encodes the specified AudienceRow message. Does not implicitly {@link google.analytics.data.v1beta.AudienceRow.verify|verify} messages.
15602
+ * @param message AudienceRow message or plain object to encode
15603
+ * @param [writer] Writer to encode to
15604
+ * @returns Writer
15605
+ */
15606
+ public static encode(message: google.analytics.data.v1beta.IAudienceRow, writer?: $protobuf.Writer): $protobuf.Writer;
15607
+
15608
+ /**
15609
+ * Encodes the specified AudienceRow message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.AudienceRow.verify|verify} messages.
15610
+ * @param message AudienceRow message or plain object to encode
15611
+ * @param [writer] Writer to encode to
15612
+ * @returns Writer
15613
+ */
15614
+ public static encodeDelimited(message: google.analytics.data.v1beta.IAudienceRow, writer?: $protobuf.Writer): $protobuf.Writer;
15615
+
15616
+ /**
15617
+ * Decodes an AudienceRow message from the specified reader or buffer.
15618
+ * @param reader Reader or buffer to decode from
15619
+ * @param [length] Message length if known beforehand
15620
+ * @returns AudienceRow
15621
+ * @throws {Error} If the payload is not a reader or valid buffer
15622
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15623
+ */
15624
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.AudienceRow;
15625
+
15626
+ /**
15627
+ * Decodes an AudienceRow message from the specified reader or buffer, length delimited.
15628
+ * @param reader Reader or buffer to decode from
15629
+ * @returns AudienceRow
15630
+ * @throws {Error} If the payload is not a reader or valid buffer
15631
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15632
+ */
15633
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.AudienceRow;
15634
+
15635
+ /**
15636
+ * Verifies an AudienceRow message.
15637
+ * @param message Plain object to verify
15638
+ * @returns `null` if valid, otherwise the reason why it is not
15639
+ */
15640
+ public static verify(message: { [k: string]: any }): (string|null);
15641
+
15642
+ /**
15643
+ * Creates an AudienceRow message from a plain object. Also converts values to their respective internal types.
15644
+ * @param object Plain object
15645
+ * @returns AudienceRow
15646
+ */
15647
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.AudienceRow;
15648
+
15649
+ /**
15650
+ * Creates a plain object from an AudienceRow message. Also converts values to other types if specified.
15651
+ * @param message AudienceRow
15652
+ * @param [options] Conversion options
15653
+ * @returns Plain object
15654
+ */
15655
+ public static toObject(message: google.analytics.data.v1beta.AudienceRow, options?: $protobuf.IConversionOptions): { [k: string]: any };
15656
+
15657
+ /**
15658
+ * Converts this AudienceRow to JSON.
15659
+ * @returns JSON object
15660
+ */
15661
+ public toJSON(): { [k: string]: any };
15662
+
15663
+ /**
15664
+ * Gets the default type url for AudienceRow
15665
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15666
+ * @returns The default type url
15667
+ */
15668
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15669
+ }
15670
+
15671
+ /** Properties of an AudienceDimension. */
15672
+ interface IAudienceDimension {
15673
+
15674
+ /** AudienceDimension dimensionName */
15675
+ dimensionName?: (string|null);
15676
+ }
15677
+
15678
+ /** Represents an AudienceDimension. */
15679
+ class AudienceDimension implements IAudienceDimension {
15680
+
15681
+ /**
15682
+ * Constructs a new AudienceDimension.
15683
+ * @param [properties] Properties to set
15684
+ */
15685
+ constructor(properties?: google.analytics.data.v1beta.IAudienceDimension);
14356
15686
 
14357
- /** RunRealtimeReportRequest minuteRanges. */
14358
- public minuteRanges: google.analytics.data.v1beta.IMinuteRange[];
15687
+ /** AudienceDimension dimensionName. */
15688
+ public dimensionName: string;
14359
15689
 
14360
15690
  /**
14361
- * Creates a new RunRealtimeReportRequest instance using the specified properties.
15691
+ * Creates a new AudienceDimension instance using the specified properties.
14362
15692
  * @param [properties] Properties to set
14363
- * @returns RunRealtimeReportRequest instance
15693
+ * @returns AudienceDimension instance
14364
15694
  */
14365
- public static create(properties?: google.analytics.data.v1beta.IRunRealtimeReportRequest): google.analytics.data.v1beta.RunRealtimeReportRequest;
15695
+ public static create(properties?: google.analytics.data.v1beta.IAudienceDimension): google.analytics.data.v1beta.AudienceDimension;
14366
15696
 
14367
15697
  /**
14368
- * Encodes the specified RunRealtimeReportRequest message. Does not implicitly {@link google.analytics.data.v1beta.RunRealtimeReportRequest.verify|verify} messages.
14369
- * @param message RunRealtimeReportRequest message or plain object to encode
15698
+ * Encodes the specified AudienceDimension message. Does not implicitly {@link google.analytics.data.v1beta.AudienceDimension.verify|verify} messages.
15699
+ * @param message AudienceDimension message or plain object to encode
14370
15700
  * @param [writer] Writer to encode to
14371
15701
  * @returns Writer
14372
15702
  */
14373
- public static encode(message: google.analytics.data.v1beta.IRunRealtimeReportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15703
+ public static encode(message: google.analytics.data.v1beta.IAudienceDimension, writer?: $protobuf.Writer): $protobuf.Writer;
14374
15704
 
14375
15705
  /**
14376
- * Encodes the specified RunRealtimeReportRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.RunRealtimeReportRequest.verify|verify} messages.
14377
- * @param message RunRealtimeReportRequest message or plain object to encode
15706
+ * Encodes the specified AudienceDimension message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.AudienceDimension.verify|verify} messages.
15707
+ * @param message AudienceDimension message or plain object to encode
14378
15708
  * @param [writer] Writer to encode to
14379
15709
  * @returns Writer
14380
15710
  */
14381
- public static encodeDelimited(message: google.analytics.data.v1beta.IRunRealtimeReportRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15711
+ public static encodeDelimited(message: google.analytics.data.v1beta.IAudienceDimension, writer?: $protobuf.Writer): $protobuf.Writer;
14382
15712
 
14383
15713
  /**
14384
- * Decodes a RunRealtimeReportRequest message from the specified reader or buffer.
15714
+ * Decodes an AudienceDimension message from the specified reader or buffer.
14385
15715
  * @param reader Reader or buffer to decode from
14386
15716
  * @param [length] Message length if known beforehand
14387
- * @returns RunRealtimeReportRequest
15717
+ * @returns AudienceDimension
14388
15718
  * @throws {Error} If the payload is not a reader or valid buffer
14389
15719
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
14390
15720
  */
14391
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.RunRealtimeReportRequest;
15721
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.AudienceDimension;
14392
15722
 
14393
15723
  /**
14394
- * Decodes a RunRealtimeReportRequest message from the specified reader or buffer, length delimited.
15724
+ * Decodes an AudienceDimension message from the specified reader or buffer, length delimited.
14395
15725
  * @param reader Reader or buffer to decode from
14396
- * @returns RunRealtimeReportRequest
15726
+ * @returns AudienceDimension
14397
15727
  * @throws {Error} If the payload is not a reader or valid buffer
14398
15728
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
14399
15729
  */
14400
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.RunRealtimeReportRequest;
15730
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.AudienceDimension;
14401
15731
 
14402
15732
  /**
14403
- * Verifies a RunRealtimeReportRequest message.
15733
+ * Verifies an AudienceDimension message.
14404
15734
  * @param message Plain object to verify
14405
15735
  * @returns `null` if valid, otherwise the reason why it is not
14406
15736
  */
14407
15737
  public static verify(message: { [k: string]: any }): (string|null);
14408
15738
 
14409
15739
  /**
14410
- * Creates a RunRealtimeReportRequest message from a plain object. Also converts values to their respective internal types.
15740
+ * Creates an AudienceDimension message from a plain object. Also converts values to their respective internal types.
14411
15741
  * @param object Plain object
14412
- * @returns RunRealtimeReportRequest
15742
+ * @returns AudienceDimension
14413
15743
  */
14414
- public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.RunRealtimeReportRequest;
15744
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.AudienceDimension;
14415
15745
 
14416
15746
  /**
14417
- * Creates a plain object from a RunRealtimeReportRequest message. Also converts values to other types if specified.
14418
- * @param message RunRealtimeReportRequest
15747
+ * Creates a plain object from an AudienceDimension message. Also converts values to other types if specified.
15748
+ * @param message AudienceDimension
14419
15749
  * @param [options] Conversion options
14420
15750
  * @returns Plain object
14421
15751
  */
14422
- public static toObject(message: google.analytics.data.v1beta.RunRealtimeReportRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
15752
+ public static toObject(message: google.analytics.data.v1beta.AudienceDimension, options?: $protobuf.IConversionOptions): { [k: string]: any };
14423
15753
 
14424
15754
  /**
14425
- * Converts this RunRealtimeReportRequest to JSON.
15755
+ * Converts this AudienceDimension to JSON.
14426
15756
  * @returns JSON object
14427
15757
  */
14428
15758
  public toJSON(): { [k: string]: any };
14429
15759
 
14430
15760
  /**
14431
- * Gets the default type url for RunRealtimeReportRequest
15761
+ * Gets the default type url for AudienceDimension
14432
15762
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14433
15763
  * @returns The default type url
14434
15764
  */
14435
15765
  public static getTypeUrl(typeUrlPrefix?: string): string;
14436
15766
  }
14437
15767
 
14438
- /** Properties of a RunRealtimeReportResponse. */
14439
- interface IRunRealtimeReportResponse {
14440
-
14441
- /** RunRealtimeReportResponse dimensionHeaders */
14442
- dimensionHeaders?: (google.analytics.data.v1beta.IDimensionHeader[]|null);
14443
-
14444
- /** RunRealtimeReportResponse metricHeaders */
14445
- metricHeaders?: (google.analytics.data.v1beta.IMetricHeader[]|null);
14446
-
14447
- /** RunRealtimeReportResponse rows */
14448
- rows?: (google.analytics.data.v1beta.IRow[]|null);
14449
-
14450
- /** RunRealtimeReportResponse totals */
14451
- totals?: (google.analytics.data.v1beta.IRow[]|null);
14452
-
14453
- /** RunRealtimeReportResponse maximums */
14454
- maximums?: (google.analytics.data.v1beta.IRow[]|null);
14455
-
14456
- /** RunRealtimeReportResponse minimums */
14457
- minimums?: (google.analytics.data.v1beta.IRow[]|null);
14458
-
14459
- /** RunRealtimeReportResponse rowCount */
14460
- rowCount?: (number|null);
14461
-
14462
- /** RunRealtimeReportResponse propertyQuota */
14463
- propertyQuota?: (google.analytics.data.v1beta.IPropertyQuota|null);
15768
+ /** Properties of an AudienceDimensionValue. */
15769
+ interface IAudienceDimensionValue {
14464
15770
 
14465
- /** RunRealtimeReportResponse kind */
14466
- kind?: (string|null);
15771
+ /** AudienceDimensionValue value */
15772
+ value?: (string|null);
14467
15773
  }
14468
15774
 
14469
- /** Represents a RunRealtimeReportResponse. */
14470
- class RunRealtimeReportResponse implements IRunRealtimeReportResponse {
15775
+ /** Represents an AudienceDimensionValue. */
15776
+ class AudienceDimensionValue implements IAudienceDimensionValue {
14471
15777
 
14472
15778
  /**
14473
- * Constructs a new RunRealtimeReportResponse.
15779
+ * Constructs a new AudienceDimensionValue.
14474
15780
  * @param [properties] Properties to set
14475
15781
  */
14476
- constructor(properties?: google.analytics.data.v1beta.IRunRealtimeReportResponse);
14477
-
14478
- /** RunRealtimeReportResponse dimensionHeaders. */
14479
- public dimensionHeaders: google.analytics.data.v1beta.IDimensionHeader[];
14480
-
14481
- /** RunRealtimeReportResponse metricHeaders. */
14482
- public metricHeaders: google.analytics.data.v1beta.IMetricHeader[];
14483
-
14484
- /** RunRealtimeReportResponse rows. */
14485
- public rows: google.analytics.data.v1beta.IRow[];
14486
-
14487
- /** RunRealtimeReportResponse totals. */
14488
- public totals: google.analytics.data.v1beta.IRow[];
14489
-
14490
- /** RunRealtimeReportResponse maximums. */
14491
- public maximums: google.analytics.data.v1beta.IRow[];
15782
+ constructor(properties?: google.analytics.data.v1beta.IAudienceDimensionValue);
14492
15783
 
14493
- /** RunRealtimeReportResponse minimums. */
14494
- public minimums: google.analytics.data.v1beta.IRow[];
14495
-
14496
- /** RunRealtimeReportResponse rowCount. */
14497
- public rowCount: number;
14498
-
14499
- /** RunRealtimeReportResponse propertyQuota. */
14500
- public propertyQuota?: (google.analytics.data.v1beta.IPropertyQuota|null);
15784
+ /** AudienceDimensionValue value. */
15785
+ public value?: (string|null);
14501
15786
 
14502
- /** RunRealtimeReportResponse kind. */
14503
- public kind: string;
15787
+ /** AudienceDimensionValue oneValue. */
15788
+ public oneValue?: "value";
14504
15789
 
14505
15790
  /**
14506
- * Creates a new RunRealtimeReportResponse instance using the specified properties.
15791
+ * Creates a new AudienceDimensionValue instance using the specified properties.
14507
15792
  * @param [properties] Properties to set
14508
- * @returns RunRealtimeReportResponse instance
15793
+ * @returns AudienceDimensionValue instance
14509
15794
  */
14510
- public static create(properties?: google.analytics.data.v1beta.IRunRealtimeReportResponse): google.analytics.data.v1beta.RunRealtimeReportResponse;
15795
+ public static create(properties?: google.analytics.data.v1beta.IAudienceDimensionValue): google.analytics.data.v1beta.AudienceDimensionValue;
14511
15796
 
14512
15797
  /**
14513
- * Encodes the specified RunRealtimeReportResponse message. Does not implicitly {@link google.analytics.data.v1beta.RunRealtimeReportResponse.verify|verify} messages.
14514
- * @param message RunRealtimeReportResponse message or plain object to encode
15798
+ * Encodes the specified AudienceDimensionValue message. Does not implicitly {@link google.analytics.data.v1beta.AudienceDimensionValue.verify|verify} messages.
15799
+ * @param message AudienceDimensionValue message or plain object to encode
14515
15800
  * @param [writer] Writer to encode to
14516
15801
  * @returns Writer
14517
15802
  */
14518
- public static encode(message: google.analytics.data.v1beta.IRunRealtimeReportResponse, writer?: $protobuf.Writer): $protobuf.Writer;
15803
+ public static encode(message: google.analytics.data.v1beta.IAudienceDimensionValue, writer?: $protobuf.Writer): $protobuf.Writer;
14519
15804
 
14520
15805
  /**
14521
- * Encodes the specified RunRealtimeReportResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.RunRealtimeReportResponse.verify|verify} messages.
14522
- * @param message RunRealtimeReportResponse message or plain object to encode
15806
+ * Encodes the specified AudienceDimensionValue message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.AudienceDimensionValue.verify|verify} messages.
15807
+ * @param message AudienceDimensionValue message or plain object to encode
14523
15808
  * @param [writer] Writer to encode to
14524
15809
  * @returns Writer
14525
15810
  */
14526
- public static encodeDelimited(message: google.analytics.data.v1beta.IRunRealtimeReportResponse, writer?: $protobuf.Writer): $protobuf.Writer;
15811
+ public static encodeDelimited(message: google.analytics.data.v1beta.IAudienceDimensionValue, writer?: $protobuf.Writer): $protobuf.Writer;
14527
15812
 
14528
15813
  /**
14529
- * Decodes a RunRealtimeReportResponse message from the specified reader or buffer.
15814
+ * Decodes an AudienceDimensionValue message from the specified reader or buffer.
14530
15815
  * @param reader Reader or buffer to decode from
14531
15816
  * @param [length] Message length if known beforehand
14532
- * @returns RunRealtimeReportResponse
15817
+ * @returns AudienceDimensionValue
14533
15818
  * @throws {Error} If the payload is not a reader or valid buffer
14534
15819
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
14535
15820
  */
14536
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.RunRealtimeReportResponse;
15821
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.AudienceDimensionValue;
14537
15822
 
14538
15823
  /**
14539
- * Decodes a RunRealtimeReportResponse message from the specified reader or buffer, length delimited.
15824
+ * Decodes an AudienceDimensionValue message from the specified reader or buffer, length delimited.
14540
15825
  * @param reader Reader or buffer to decode from
14541
- * @returns RunRealtimeReportResponse
15826
+ * @returns AudienceDimensionValue
14542
15827
  * @throws {Error} If the payload is not a reader or valid buffer
14543
15828
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
14544
15829
  */
14545
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.RunRealtimeReportResponse;
15830
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.AudienceDimensionValue;
14546
15831
 
14547
15832
  /**
14548
- * Verifies a RunRealtimeReportResponse message.
15833
+ * Verifies an AudienceDimensionValue message.
14549
15834
  * @param message Plain object to verify
14550
15835
  * @returns `null` if valid, otherwise the reason why it is not
14551
15836
  */
14552
15837
  public static verify(message: { [k: string]: any }): (string|null);
14553
15838
 
14554
15839
  /**
14555
- * Creates a RunRealtimeReportResponse message from a plain object. Also converts values to their respective internal types.
15840
+ * Creates an AudienceDimensionValue message from a plain object. Also converts values to their respective internal types.
14556
15841
  * @param object Plain object
14557
- * @returns RunRealtimeReportResponse
15842
+ * @returns AudienceDimensionValue
14558
15843
  */
14559
- public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.RunRealtimeReportResponse;
15844
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.AudienceDimensionValue;
14560
15845
 
14561
15846
  /**
14562
- * Creates a plain object from a RunRealtimeReportResponse message. Also converts values to other types if specified.
14563
- * @param message RunRealtimeReportResponse
15847
+ * Creates a plain object from an AudienceDimensionValue message. Also converts values to other types if specified.
15848
+ * @param message AudienceDimensionValue
14564
15849
  * @param [options] Conversion options
14565
15850
  * @returns Plain object
14566
15851
  */
14567
- public static toObject(message: google.analytics.data.v1beta.RunRealtimeReportResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
15852
+ public static toObject(message: google.analytics.data.v1beta.AudienceDimensionValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
14568
15853
 
14569
15854
  /**
14570
- * Converts this RunRealtimeReportResponse to JSON.
15855
+ * Converts this AudienceDimensionValue to JSON.
14571
15856
  * @returns JSON object
14572
15857
  */
14573
15858
  public toJSON(): { [k: string]: any };
14574
15859
 
14575
15860
  /**
14576
- * Gets the default type url for RunRealtimeReportResponse
15861
+ * Gets the default type url for AudienceDimensionValue
14577
15862
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14578
15863
  * @returns The default type url
14579
15864
  */
@@ -17235,6 +18520,9 @@ export namespace google {
17235
18520
 
17236
18521
  /** ResponseMetaData subjectToThresholding */
17237
18522
  subjectToThresholding?: (boolean|null);
18523
+
18524
+ /** ResponseMetaData samplingMetadatas */
18525
+ samplingMetadatas?: (google.analytics.data.v1beta.ISamplingMetadata[]|null);
17238
18526
  }
17239
18527
 
17240
18528
  /** Represents a ResponseMetaData. */
@@ -17264,6 +18552,9 @@ export namespace google {
17264
18552
  /** ResponseMetaData subjectToThresholding. */
17265
18553
  public subjectToThresholding?: (boolean|null);
17266
18554
 
18555
+ /** ResponseMetaData samplingMetadatas. */
18556
+ public samplingMetadatas: google.analytics.data.v1beta.ISamplingMetadata[];
18557
+
17267
18558
  /** ResponseMetaData _schemaRestrictionResponse. */
17268
18559
  public _schemaRestrictionResponse?: "schemaRestrictionResponse";
17269
18560
 
@@ -17566,6 +18857,109 @@ export namespace google {
17566
18857
  }
17567
18858
  }
17568
18859
 
18860
+ /** Properties of a SamplingMetadata. */
18861
+ interface ISamplingMetadata {
18862
+
18863
+ /** SamplingMetadata samplesReadCount */
18864
+ samplesReadCount?: (number|Long|string|null);
18865
+
18866
+ /** SamplingMetadata samplingSpaceSize */
18867
+ samplingSpaceSize?: (number|Long|string|null);
18868
+ }
18869
+
18870
+ /** Represents a SamplingMetadata. */
18871
+ class SamplingMetadata implements ISamplingMetadata {
18872
+
18873
+ /**
18874
+ * Constructs a new SamplingMetadata.
18875
+ * @param [properties] Properties to set
18876
+ */
18877
+ constructor(properties?: google.analytics.data.v1beta.ISamplingMetadata);
18878
+
18879
+ /** SamplingMetadata samplesReadCount. */
18880
+ public samplesReadCount: (number|Long|string);
18881
+
18882
+ /** SamplingMetadata samplingSpaceSize. */
18883
+ public samplingSpaceSize: (number|Long|string);
18884
+
18885
+ /**
18886
+ * Creates a new SamplingMetadata instance using the specified properties.
18887
+ * @param [properties] Properties to set
18888
+ * @returns SamplingMetadata instance
18889
+ */
18890
+ public static create(properties?: google.analytics.data.v1beta.ISamplingMetadata): google.analytics.data.v1beta.SamplingMetadata;
18891
+
18892
+ /**
18893
+ * Encodes the specified SamplingMetadata message. Does not implicitly {@link google.analytics.data.v1beta.SamplingMetadata.verify|verify} messages.
18894
+ * @param message SamplingMetadata message or plain object to encode
18895
+ * @param [writer] Writer to encode to
18896
+ * @returns Writer
18897
+ */
18898
+ public static encode(message: google.analytics.data.v1beta.ISamplingMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
18899
+
18900
+ /**
18901
+ * Encodes the specified SamplingMetadata message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.SamplingMetadata.verify|verify} messages.
18902
+ * @param message SamplingMetadata message or plain object to encode
18903
+ * @param [writer] Writer to encode to
18904
+ * @returns Writer
18905
+ */
18906
+ public static encodeDelimited(message: google.analytics.data.v1beta.ISamplingMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
18907
+
18908
+ /**
18909
+ * Decodes a SamplingMetadata message from the specified reader or buffer.
18910
+ * @param reader Reader or buffer to decode from
18911
+ * @param [length] Message length if known beforehand
18912
+ * @returns SamplingMetadata
18913
+ * @throws {Error} If the payload is not a reader or valid buffer
18914
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18915
+ */
18916
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.SamplingMetadata;
18917
+
18918
+ /**
18919
+ * Decodes a SamplingMetadata message from the specified reader or buffer, length delimited.
18920
+ * @param reader Reader or buffer to decode from
18921
+ * @returns SamplingMetadata
18922
+ * @throws {Error} If the payload is not a reader or valid buffer
18923
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18924
+ */
18925
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.SamplingMetadata;
18926
+
18927
+ /**
18928
+ * Verifies a SamplingMetadata message.
18929
+ * @param message Plain object to verify
18930
+ * @returns `null` if valid, otherwise the reason why it is not
18931
+ */
18932
+ public static verify(message: { [k: string]: any }): (string|null);
18933
+
18934
+ /**
18935
+ * Creates a SamplingMetadata message from a plain object. Also converts values to their respective internal types.
18936
+ * @param object Plain object
18937
+ * @returns SamplingMetadata
18938
+ */
18939
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.SamplingMetadata;
18940
+
18941
+ /**
18942
+ * Creates a plain object from a SamplingMetadata message. Also converts values to other types if specified.
18943
+ * @param message SamplingMetadata
18944
+ * @param [options] Conversion options
18945
+ * @returns Plain object
18946
+ */
18947
+ public static toObject(message: google.analytics.data.v1beta.SamplingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
18948
+
18949
+ /**
18950
+ * Converts this SamplingMetadata to JSON.
18951
+ * @returns JSON object
18952
+ */
18953
+ public toJSON(): { [k: string]: any };
18954
+
18955
+ /**
18956
+ * Gets the default type url for SamplingMetadata
18957
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18958
+ * @returns The default type url
18959
+ */
18960
+ public static getTypeUrl(typeUrlPrefix?: string): string;
18961
+ }
18962
+
17569
18963
  /** Properties of a DimensionHeader. */
17570
18964
  interface IDimensionHeader {
17571
18965
 
@@ -18522,10 +19916,16 @@ export namespace google {
18522
19916
  constructor(properties?: google.analytics.data.v1beta.IQuotaStatus);
18523
19917
 
18524
19918
  /** QuotaStatus consumed. */
18525
- public consumed: number;
19919
+ public consumed?: (number|null);
18526
19920
 
18527
19921
  /** QuotaStatus remaining. */
18528
- public remaining: number;
19922
+ public remaining?: (number|null);
19923
+
19924
+ /** QuotaStatus _consumed. */
19925
+ public _consumed?: "consumed";
19926
+
19927
+ /** QuotaStatus _remaining. */
19928
+ public _remaining?: "remaining";
18529
19929
 
18530
19930
  /**
18531
19931
  * Creates a new QuotaStatus instance using the specified properties.