@google-analytics/data 7.1.0 → 7.2.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.
@@ -5137,6 +5137,20 @@ export namespace google {
5137
5137
  */
5138
5138
  public listReportTasks(request: google.analytics.data.v1alpha.IListReportTasksRequest): Promise<google.analytics.data.v1alpha.ListReportTasksResponse>;
5139
5139
 
5140
+ /**
5141
+ * Calls Chat.
5142
+ * @param request ChatRequest message or plain object
5143
+ * @param callback Node-style callback called with the error, if any, and ChatResponse
5144
+ */
5145
+ public chat(request: google.analytics.data.v1alpha.IChatRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.ChatCallback): void;
5146
+
5147
+ /**
5148
+ * Calls Chat.
5149
+ * @param request ChatRequest message or plain object
5150
+ * @returns Promise
5151
+ */
5152
+ public chat(request: google.analytics.data.v1alpha.IChatRequest): Promise<google.analytics.data.v1alpha.ChatResponse>;
5153
+
5140
5154
  /**
5141
5155
  * Calls RunReport.
5142
5156
  * @param request RunReportRequest message or plain object
@@ -5259,6 +5273,13 @@ export namespace google {
5259
5273
  */
5260
5274
  type ListReportTasksCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.ListReportTasksResponse) => void;
5261
5275
 
5276
+ /**
5277
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|chat}.
5278
+ * @param error Error, if any
5279
+ * @param [response] ChatResponse
5280
+ */
5281
+ type ChatCallback = (error: (Error|null), response?: google.analytics.data.v1alpha.ChatResponse) => void;
5282
+
5262
5283
  /**
5263
5284
  * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|runReport}.
5264
5285
  * @param error Error, if any
@@ -8769,6 +8790,230 @@ export namespace google {
8769
8790
  public static getTypeUrl(typeUrlPrefix?: string): string;
8770
8791
  }
8771
8792
 
8793
+ /** Properties of a ChatRequest. */
8794
+ interface IChatRequest {
8795
+
8796
+ /** ChatRequest property */
8797
+ property?: (string|null);
8798
+
8799
+ /** ChatRequest userQuery */
8800
+ userQuery?: (string|null);
8801
+
8802
+ /** ChatRequest sessionId */
8803
+ sessionId?: (string|null);
8804
+
8805
+ /** ChatRequest returnPropertyQuota */
8806
+ returnPropertyQuota?: (boolean|null);
8807
+ }
8808
+
8809
+ /** Represents a ChatRequest. */
8810
+ class ChatRequest implements IChatRequest {
8811
+
8812
+ /**
8813
+ * Constructs a new ChatRequest.
8814
+ * @param [properties] Properties to set
8815
+ */
8816
+ constructor(properties?: google.analytics.data.v1alpha.IChatRequest);
8817
+
8818
+ /** ChatRequest property. */
8819
+ public property: string;
8820
+
8821
+ /** ChatRequest userQuery. */
8822
+ public userQuery: string;
8823
+
8824
+ /** ChatRequest sessionId. */
8825
+ public sessionId?: (string|null);
8826
+
8827
+ /** ChatRequest returnPropertyQuota. */
8828
+ public returnPropertyQuota: boolean;
8829
+
8830
+ /**
8831
+ * Creates a new ChatRequest instance using the specified properties.
8832
+ * @param [properties] Properties to set
8833
+ * @returns ChatRequest instance
8834
+ */
8835
+ public static create(properties?: google.analytics.data.v1alpha.IChatRequest): google.analytics.data.v1alpha.ChatRequest;
8836
+
8837
+ /**
8838
+ * Encodes the specified ChatRequest message. Does not implicitly {@link google.analytics.data.v1alpha.ChatRequest.verify|verify} messages.
8839
+ * @param message ChatRequest message or plain object to encode
8840
+ * @param [writer] Writer to encode to
8841
+ * @returns Writer
8842
+ */
8843
+ public static encode(message: google.analytics.data.v1alpha.IChatRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8844
+
8845
+ /**
8846
+ * Encodes the specified ChatRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ChatRequest.verify|verify} messages.
8847
+ * @param message ChatRequest message or plain object to encode
8848
+ * @param [writer] Writer to encode to
8849
+ * @returns Writer
8850
+ */
8851
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IChatRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8852
+
8853
+ /**
8854
+ * Decodes a ChatRequest message from the specified reader or buffer.
8855
+ * @param reader Reader or buffer to decode from
8856
+ * @param [length] Message length if known beforehand
8857
+ * @returns ChatRequest
8858
+ * @throws {Error} If the payload is not a reader or valid buffer
8859
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8860
+ */
8861
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ChatRequest;
8862
+
8863
+ /**
8864
+ * Decodes a ChatRequest message from the specified reader or buffer, length delimited.
8865
+ * @param reader Reader or buffer to decode from
8866
+ * @returns ChatRequest
8867
+ * @throws {Error} If the payload is not a reader or valid buffer
8868
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8869
+ */
8870
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ChatRequest;
8871
+
8872
+ /**
8873
+ * Verifies a ChatRequest message.
8874
+ * @param message Plain object to verify
8875
+ * @returns `null` if valid, otherwise the reason why it is not
8876
+ */
8877
+ public static verify(message: { [k: string]: any }): (string|null);
8878
+
8879
+ /**
8880
+ * Creates a ChatRequest message from a plain object. Also converts values to their respective internal types.
8881
+ * @param object Plain object
8882
+ * @returns ChatRequest
8883
+ */
8884
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ChatRequest;
8885
+
8886
+ /**
8887
+ * Creates a plain object from a ChatRequest message. Also converts values to other types if specified.
8888
+ * @param message ChatRequest
8889
+ * @param [options] Conversion options
8890
+ * @returns Plain object
8891
+ */
8892
+ public static toObject(message: google.analytics.data.v1alpha.ChatRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8893
+
8894
+ /**
8895
+ * Converts this ChatRequest to JSON.
8896
+ * @returns JSON object
8897
+ */
8898
+ public toJSON(): { [k: string]: any };
8899
+
8900
+ /**
8901
+ * Gets the default type url for ChatRequest
8902
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8903
+ * @returns The default type url
8904
+ */
8905
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8906
+ }
8907
+
8908
+ /** Properties of a ChatResponse. */
8909
+ interface IChatResponse {
8910
+
8911
+ /** ChatResponse sessionId */
8912
+ sessionId?: (string|null);
8913
+
8914
+ /** ChatResponse blocks */
8915
+ blocks?: (google.analytics.data.v1alpha.IResponseBlock[]|null);
8916
+
8917
+ /** ChatResponse propertyQuota */
8918
+ propertyQuota?: (google.analytics.data.v1alpha.IPropertyChatQuota|null);
8919
+ }
8920
+
8921
+ /** Represents a ChatResponse. */
8922
+ class ChatResponse implements IChatResponse {
8923
+
8924
+ /**
8925
+ * Constructs a new ChatResponse.
8926
+ * @param [properties] Properties to set
8927
+ */
8928
+ constructor(properties?: google.analytics.data.v1alpha.IChatResponse);
8929
+
8930
+ /** ChatResponse sessionId. */
8931
+ public sessionId: string;
8932
+
8933
+ /** ChatResponse blocks. */
8934
+ public blocks: google.analytics.data.v1alpha.IResponseBlock[];
8935
+
8936
+ /** ChatResponse propertyQuota. */
8937
+ public propertyQuota?: (google.analytics.data.v1alpha.IPropertyChatQuota|null);
8938
+
8939
+ /**
8940
+ * Creates a new ChatResponse instance using the specified properties.
8941
+ * @param [properties] Properties to set
8942
+ * @returns ChatResponse instance
8943
+ */
8944
+ public static create(properties?: google.analytics.data.v1alpha.IChatResponse): google.analytics.data.v1alpha.ChatResponse;
8945
+
8946
+ /**
8947
+ * Encodes the specified ChatResponse message. Does not implicitly {@link google.analytics.data.v1alpha.ChatResponse.verify|verify} messages.
8948
+ * @param message ChatResponse message or plain object to encode
8949
+ * @param [writer] Writer to encode to
8950
+ * @returns Writer
8951
+ */
8952
+ public static encode(message: google.analytics.data.v1alpha.IChatResponse, writer?: $protobuf.Writer): $protobuf.Writer;
8953
+
8954
+ /**
8955
+ * Encodes the specified ChatResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ChatResponse.verify|verify} messages.
8956
+ * @param message ChatResponse message or plain object to encode
8957
+ * @param [writer] Writer to encode to
8958
+ * @returns Writer
8959
+ */
8960
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IChatResponse, writer?: $protobuf.Writer): $protobuf.Writer;
8961
+
8962
+ /**
8963
+ * Decodes a ChatResponse message from the specified reader or buffer.
8964
+ * @param reader Reader or buffer to decode from
8965
+ * @param [length] Message length if known beforehand
8966
+ * @returns ChatResponse
8967
+ * @throws {Error} If the payload is not a reader or valid buffer
8968
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8969
+ */
8970
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ChatResponse;
8971
+
8972
+ /**
8973
+ * Decodes a ChatResponse message from the specified reader or buffer, length delimited.
8974
+ * @param reader Reader or buffer to decode from
8975
+ * @returns ChatResponse
8976
+ * @throws {Error} If the payload is not a reader or valid buffer
8977
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8978
+ */
8979
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ChatResponse;
8980
+
8981
+ /**
8982
+ * Verifies a ChatResponse message.
8983
+ * @param message Plain object to verify
8984
+ * @returns `null` if valid, otherwise the reason why it is not
8985
+ */
8986
+ public static verify(message: { [k: string]: any }): (string|null);
8987
+
8988
+ /**
8989
+ * Creates a ChatResponse message from a plain object. Also converts values to their respective internal types.
8990
+ * @param object Plain object
8991
+ * @returns ChatResponse
8992
+ */
8993
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ChatResponse;
8994
+
8995
+ /**
8996
+ * Creates a plain object from a ChatResponse message. Also converts values to other types if specified.
8997
+ * @param message ChatResponse
8998
+ * @param [options] Conversion options
8999
+ * @returns Plain object
9000
+ */
9001
+ public static toObject(message: google.analytics.data.v1alpha.ChatResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
9002
+
9003
+ /**
9004
+ * Converts this ChatResponse to JSON.
9005
+ * @returns JSON object
9006
+ */
9007
+ public toJSON(): { [k: string]: any };
9008
+
9009
+ /**
9010
+ * Gets the default type url for ChatResponse
9011
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9012
+ * @returns The default type url
9013
+ */
9014
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9015
+ }
9016
+
8772
9017
  /** Properties of a RunReportRequest. */
8773
9018
  interface IRunReportRequest {
8774
9019
 
@@ -11860,6 +12105,9 @@ export namespace google {
11860
12105
 
11861
12106
  /** ResponseMetaData section */
11862
12107
  section?: (google.analytics.data.v1alpha.Section|keyof typeof google.analytics.data.v1alpha.Section|null);
12108
+
12109
+ /** ResponseMetaData dataTruncationReasons */
12110
+ dataTruncationReasons?: (google.analytics.data.v1alpha.ResponseMetaData.IDataTruncationReason[]|null);
11863
12111
  }
11864
12112
 
11865
12113
  /** Represents a ResponseMetaData. */
@@ -11895,6 +12143,9 @@ export namespace google {
11895
12143
  /** ResponseMetaData section. */
11896
12144
  public section: (google.analytics.data.v1alpha.Section|keyof typeof google.analytics.data.v1alpha.Section);
11897
12145
 
12146
+ /** ResponseMetaData dataTruncationReasons. */
12147
+ public dataTruncationReasons: google.analytics.data.v1alpha.ResponseMetaData.IDataTruncationReason[];
12148
+
11898
12149
  /**
11899
12150
  * Creates a new ResponseMetaData instance using the specified properties.
11900
12151
  * @param [properties] Properties to set
@@ -12177,109 +12428,345 @@ export namespace google {
12177
12428
  public static getTypeUrl(typeUrlPrefix?: string): string;
12178
12429
  }
12179
12430
  }
12180
- }
12181
-
12182
- /** Properties of a DimensionHeader. */
12183
- interface IDimensionHeader {
12184
-
12185
- /** DimensionHeader name */
12186
- name?: (string|null);
12187
- }
12188
12431
 
12189
- /** Represents a DimensionHeader. */
12190
- class DimensionHeader implements IDimensionHeader {
12432
+ /** Properties of a DataTruncationReason. */
12433
+ interface IDataTruncationReason {
12191
12434
 
12192
- /**
12193
- * Constructs a new DimensionHeader.
12194
- * @param [properties] Properties to set
12195
- */
12196
- constructor(properties?: google.analytics.data.v1alpha.IDimensionHeader);
12435
+ /** DataTruncationReason dataTruncationType */
12436
+ dataTruncationType?: (google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationType|keyof typeof google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationType|null);
12197
12437
 
12198
- /** DimensionHeader name. */
12199
- public name: string;
12438
+ /** DataTruncationReason dataTruncationMessage */
12439
+ dataTruncationMessage?: (string|null);
12200
12440
 
12201
- /**
12202
- * Creates a new DimensionHeader instance using the specified properties.
12203
- * @param [properties] Properties to set
12204
- * @returns DimensionHeader instance
12205
- */
12206
- public static create(properties?: google.analytics.data.v1alpha.IDimensionHeader): google.analytics.data.v1alpha.DimensionHeader;
12441
+ /** DataTruncationReason dataTruncationDate */
12442
+ dataTruncationDate?: (string|null);
12207
12443
 
12208
- /**
12209
- * Encodes the specified DimensionHeader message. Does not implicitly {@link google.analytics.data.v1alpha.DimensionHeader.verify|verify} messages.
12210
- * @param message DimensionHeader message or plain object to encode
12211
- * @param [writer] Writer to encode to
12212
- * @returns Writer
12213
- */
12214
- public static encode(message: google.analytics.data.v1alpha.IDimensionHeader, writer?: $protobuf.Writer): $protobuf.Writer;
12444
+ /** DataTruncationReason dataTruncationDateRanges */
12445
+ dataTruncationDateRanges?: (google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange[]|null);
12446
+ }
12215
12447
 
12216
- /**
12217
- * Encodes the specified DimensionHeader message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.DimensionHeader.verify|verify} messages.
12218
- * @param message DimensionHeader message or plain object to encode
12219
- * @param [writer] Writer to encode to
12220
- * @returns Writer
12221
- */
12222
- public static encodeDelimited(message: google.analytics.data.v1alpha.IDimensionHeader, writer?: $protobuf.Writer): $protobuf.Writer;
12448
+ /** Represents a DataTruncationReason. */
12449
+ class DataTruncationReason implements IDataTruncationReason {
12223
12450
 
12224
- /**
12225
- * Decodes a DimensionHeader message from the specified reader or buffer.
12226
- * @param reader Reader or buffer to decode from
12227
- * @param [length] Message length if known beforehand
12228
- * @returns DimensionHeader
12229
- * @throws {Error} If the payload is not a reader or valid buffer
12230
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
12231
- */
12232
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.DimensionHeader;
12451
+ /**
12452
+ * Constructs a new DataTruncationReason.
12453
+ * @param [properties] Properties to set
12454
+ */
12455
+ constructor(properties?: google.analytics.data.v1alpha.ResponseMetaData.IDataTruncationReason);
12233
12456
 
12234
- /**
12235
- * Decodes a DimensionHeader message from the specified reader or buffer, length delimited.
12236
- * @param reader Reader or buffer to decode from
12237
- * @returns DimensionHeader
12238
- * @throws {Error} If the payload is not a reader or valid buffer
12239
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
12240
- */
12241
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.DimensionHeader;
12457
+ /** DataTruncationReason dataTruncationType. */
12458
+ public dataTruncationType?: (google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationType|keyof typeof google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationType|null);
12242
12459
 
12243
- /**
12244
- * Verifies a DimensionHeader message.
12245
- * @param message Plain object to verify
12246
- * @returns `null` if valid, otherwise the reason why it is not
12247
- */
12248
- public static verify(message: { [k: string]: any }): (string|null);
12460
+ /** DataTruncationReason dataTruncationMessage. */
12461
+ public dataTruncationMessage?: (string|null);
12249
12462
 
12250
- /**
12251
- * Creates a DimensionHeader message from a plain object. Also converts values to their respective internal types.
12252
- * @param object Plain object
12253
- * @returns DimensionHeader
12254
- */
12255
- public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.DimensionHeader;
12463
+ /** DataTruncationReason dataTruncationDate. */
12464
+ public dataTruncationDate?: (string|null);
12256
12465
 
12257
- /**
12258
- * Creates a plain object from a DimensionHeader message. Also converts values to other types if specified.
12259
- * @param message DimensionHeader
12260
- * @param [options] Conversion options
12261
- * @returns Plain object
12262
- */
12263
- public static toObject(message: google.analytics.data.v1alpha.DimensionHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
12466
+ /** DataTruncationReason dataTruncationDateRanges. */
12467
+ public dataTruncationDateRanges: google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange[];
12264
12468
 
12265
- /**
12266
- * Converts this DimensionHeader to JSON.
12267
- * @returns JSON object
12268
- */
12269
- public toJSON(): { [k: string]: any };
12469
+ /**
12470
+ * Creates a new DataTruncationReason instance using the specified properties.
12471
+ * @param [properties] Properties to set
12472
+ * @returns DataTruncationReason instance
12473
+ */
12474
+ public static create(properties?: google.analytics.data.v1alpha.ResponseMetaData.IDataTruncationReason): google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason;
12270
12475
 
12271
- /**
12272
- * Gets the default type url for DimensionHeader
12273
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12274
- * @returns The default type url
12275
- */
12276
- public static getTypeUrl(typeUrlPrefix?: string): string;
12277
- }
12476
+ /**
12477
+ * Encodes the specified DataTruncationReason message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.verify|verify} messages.
12478
+ * @param message DataTruncationReason message or plain object to encode
12479
+ * @param [writer] Writer to encode to
12480
+ * @returns Writer
12481
+ */
12482
+ public static encode(message: google.analytics.data.v1alpha.ResponseMetaData.IDataTruncationReason, writer?: $protobuf.Writer): $protobuf.Writer;
12278
12483
 
12279
- /** Properties of a MetricHeader. */
12280
- interface IMetricHeader {
12484
+ /**
12485
+ * Encodes the specified DataTruncationReason message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.verify|verify} messages.
12486
+ * @param message DataTruncationReason message or plain object to encode
12487
+ * @param [writer] Writer to encode to
12488
+ * @returns Writer
12489
+ */
12490
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ResponseMetaData.IDataTruncationReason, writer?: $protobuf.Writer): $protobuf.Writer;
12281
12491
 
12282
- /** MetricHeader name */
12492
+ /**
12493
+ * Decodes a DataTruncationReason message from the specified reader or buffer.
12494
+ * @param reader Reader or buffer to decode from
12495
+ * @param [length] Message length if known beforehand
12496
+ * @returns DataTruncationReason
12497
+ * @throws {Error} If the payload is not a reader or valid buffer
12498
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12499
+ */
12500
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason;
12501
+
12502
+ /**
12503
+ * Decodes a DataTruncationReason message from the specified reader or buffer, length delimited.
12504
+ * @param reader Reader or buffer to decode from
12505
+ * @returns DataTruncationReason
12506
+ * @throws {Error} If the payload is not a reader or valid buffer
12507
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12508
+ */
12509
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason;
12510
+
12511
+ /**
12512
+ * Verifies a DataTruncationReason message.
12513
+ * @param message Plain object to verify
12514
+ * @returns `null` if valid, otherwise the reason why it is not
12515
+ */
12516
+ public static verify(message: { [k: string]: any }): (string|null);
12517
+
12518
+ /**
12519
+ * Creates a DataTruncationReason message from a plain object. Also converts values to their respective internal types.
12520
+ * @param object Plain object
12521
+ * @returns DataTruncationReason
12522
+ */
12523
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason;
12524
+
12525
+ /**
12526
+ * Creates a plain object from a DataTruncationReason message. Also converts values to other types if specified.
12527
+ * @param message DataTruncationReason
12528
+ * @param [options] Conversion options
12529
+ * @returns Plain object
12530
+ */
12531
+ public static toObject(message: google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
12532
+
12533
+ /**
12534
+ * Converts this DataTruncationReason to JSON.
12535
+ * @returns JSON object
12536
+ */
12537
+ public toJSON(): { [k: string]: any };
12538
+
12539
+ /**
12540
+ * Gets the default type url for DataTruncationReason
12541
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12542
+ * @returns The default type url
12543
+ */
12544
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12545
+ }
12546
+
12547
+ namespace DataTruncationReason {
12548
+
12549
+ /** DataTruncationType enum. */
12550
+ enum DataTruncationType {
12551
+ DATA_TRUNCATION_TYPE_UNSPECIFIED = 0,
12552
+ DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1,
12553
+ DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2,
12554
+ DATA_TRUNCATION_TYPE_DV360 = 3,
12555
+ DATA_TRUNCATION_TYPE_CM360 = 4,
12556
+ DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5,
12557
+ DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6,
12558
+ DATA_TRUNCATION_TYPE_DATE_RANGE = 7,
12559
+ DATA_TRUNCATION_TYPE_PROPERTY = 8,
12560
+ DATA_TRUNCATION_TYPE_CONVERSIONS = 9,
12561
+ DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10
12562
+ }
12563
+
12564
+ /** Properties of a DataTruncationDateRange. */
12565
+ interface IDataTruncationDateRange {
12566
+
12567
+ /** DataTruncationDateRange startDate */
12568
+ startDate?: (string|null);
12569
+
12570
+ /** DataTruncationDateRange endDate */
12571
+ endDate?: (string|null);
12572
+ }
12573
+
12574
+ /** Represents a DataTruncationDateRange. */
12575
+ class DataTruncationDateRange implements IDataTruncationDateRange {
12576
+
12577
+ /**
12578
+ * Constructs a new DataTruncationDateRange.
12579
+ * @param [properties] Properties to set
12580
+ */
12581
+ constructor(properties?: google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange);
12582
+
12583
+ /** DataTruncationDateRange startDate. */
12584
+ public startDate?: (string|null);
12585
+
12586
+ /** DataTruncationDateRange endDate. */
12587
+ public endDate?: (string|null);
12588
+
12589
+ /**
12590
+ * Creates a new DataTruncationDateRange instance using the specified properties.
12591
+ * @param [properties] Properties to set
12592
+ * @returns DataTruncationDateRange instance
12593
+ */
12594
+ public static create(properties?: google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange): google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationDateRange;
12595
+
12596
+ /**
12597
+ * Encodes the specified DataTruncationDateRange message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationDateRange.verify|verify} messages.
12598
+ * @param message DataTruncationDateRange message or plain object to encode
12599
+ * @param [writer] Writer to encode to
12600
+ * @returns Writer
12601
+ */
12602
+ public static encode(message: google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange, writer?: $protobuf.Writer): $protobuf.Writer;
12603
+
12604
+ /**
12605
+ * Encodes the specified DataTruncationDateRange message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationDateRange.verify|verify} messages.
12606
+ * @param message DataTruncationDateRange message or plain object to encode
12607
+ * @param [writer] Writer to encode to
12608
+ * @returns Writer
12609
+ */
12610
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange, writer?: $protobuf.Writer): $protobuf.Writer;
12611
+
12612
+ /**
12613
+ * Decodes a DataTruncationDateRange message from the specified reader or buffer.
12614
+ * @param reader Reader or buffer to decode from
12615
+ * @param [length] Message length if known beforehand
12616
+ * @returns DataTruncationDateRange
12617
+ * @throws {Error} If the payload is not a reader or valid buffer
12618
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12619
+ */
12620
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationDateRange;
12621
+
12622
+ /**
12623
+ * Decodes a DataTruncationDateRange message from the specified reader or buffer, length delimited.
12624
+ * @param reader Reader or buffer to decode from
12625
+ * @returns DataTruncationDateRange
12626
+ * @throws {Error} If the payload is not a reader or valid buffer
12627
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12628
+ */
12629
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationDateRange;
12630
+
12631
+ /**
12632
+ * Verifies a DataTruncationDateRange message.
12633
+ * @param message Plain object to verify
12634
+ * @returns `null` if valid, otherwise the reason why it is not
12635
+ */
12636
+ public static verify(message: { [k: string]: any }): (string|null);
12637
+
12638
+ /**
12639
+ * Creates a DataTruncationDateRange message from a plain object. Also converts values to their respective internal types.
12640
+ * @param object Plain object
12641
+ * @returns DataTruncationDateRange
12642
+ */
12643
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationDateRange;
12644
+
12645
+ /**
12646
+ * Creates a plain object from a DataTruncationDateRange message. Also converts values to other types if specified.
12647
+ * @param message DataTruncationDateRange
12648
+ * @param [options] Conversion options
12649
+ * @returns Plain object
12650
+ */
12651
+ public static toObject(message: google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationDateRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
12652
+
12653
+ /**
12654
+ * Converts this DataTruncationDateRange to JSON.
12655
+ * @returns JSON object
12656
+ */
12657
+ public toJSON(): { [k: string]: any };
12658
+
12659
+ /**
12660
+ * Gets the default type url for DataTruncationDateRange
12661
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12662
+ * @returns The default type url
12663
+ */
12664
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12665
+ }
12666
+ }
12667
+ }
12668
+
12669
+ /** Properties of a DimensionHeader. */
12670
+ interface IDimensionHeader {
12671
+
12672
+ /** DimensionHeader name */
12673
+ name?: (string|null);
12674
+ }
12675
+
12676
+ /** Represents a DimensionHeader. */
12677
+ class DimensionHeader implements IDimensionHeader {
12678
+
12679
+ /**
12680
+ * Constructs a new DimensionHeader.
12681
+ * @param [properties] Properties to set
12682
+ */
12683
+ constructor(properties?: google.analytics.data.v1alpha.IDimensionHeader);
12684
+
12685
+ /** DimensionHeader name. */
12686
+ public name: string;
12687
+
12688
+ /**
12689
+ * Creates a new DimensionHeader instance using the specified properties.
12690
+ * @param [properties] Properties to set
12691
+ * @returns DimensionHeader instance
12692
+ */
12693
+ public static create(properties?: google.analytics.data.v1alpha.IDimensionHeader): google.analytics.data.v1alpha.DimensionHeader;
12694
+
12695
+ /**
12696
+ * Encodes the specified DimensionHeader message. Does not implicitly {@link google.analytics.data.v1alpha.DimensionHeader.verify|verify} messages.
12697
+ * @param message DimensionHeader message or plain object to encode
12698
+ * @param [writer] Writer to encode to
12699
+ * @returns Writer
12700
+ */
12701
+ public static encode(message: google.analytics.data.v1alpha.IDimensionHeader, writer?: $protobuf.Writer): $protobuf.Writer;
12702
+
12703
+ /**
12704
+ * Encodes the specified DimensionHeader message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.DimensionHeader.verify|verify} messages.
12705
+ * @param message DimensionHeader message or plain object to encode
12706
+ * @param [writer] Writer to encode to
12707
+ * @returns Writer
12708
+ */
12709
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IDimensionHeader, writer?: $protobuf.Writer): $protobuf.Writer;
12710
+
12711
+ /**
12712
+ * Decodes a DimensionHeader message from the specified reader or buffer.
12713
+ * @param reader Reader or buffer to decode from
12714
+ * @param [length] Message length if known beforehand
12715
+ * @returns DimensionHeader
12716
+ * @throws {Error} If the payload is not a reader or valid buffer
12717
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12718
+ */
12719
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.DimensionHeader;
12720
+
12721
+ /**
12722
+ * Decodes a DimensionHeader message from the specified reader or buffer, length delimited.
12723
+ * @param reader Reader or buffer to decode from
12724
+ * @returns DimensionHeader
12725
+ * @throws {Error} If the payload is not a reader or valid buffer
12726
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12727
+ */
12728
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.DimensionHeader;
12729
+
12730
+ /**
12731
+ * Verifies a DimensionHeader message.
12732
+ * @param message Plain object to verify
12733
+ * @returns `null` if valid, otherwise the reason why it is not
12734
+ */
12735
+ public static verify(message: { [k: string]: any }): (string|null);
12736
+
12737
+ /**
12738
+ * Creates a DimensionHeader message from a plain object. Also converts values to their respective internal types.
12739
+ * @param object Plain object
12740
+ * @returns DimensionHeader
12741
+ */
12742
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.DimensionHeader;
12743
+
12744
+ /**
12745
+ * Creates a plain object from a DimensionHeader message. Also converts values to other types if specified.
12746
+ * @param message DimensionHeader
12747
+ * @param [options] Conversion options
12748
+ * @returns Plain object
12749
+ */
12750
+ public static toObject(message: google.analytics.data.v1alpha.DimensionHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
12751
+
12752
+ /**
12753
+ * Converts this DimensionHeader to JSON.
12754
+ * @returns JSON object
12755
+ */
12756
+ public toJSON(): { [k: string]: any };
12757
+
12758
+ /**
12759
+ * Gets the default type url for DimensionHeader
12760
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12761
+ * @returns The default type url
12762
+ */
12763
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12764
+ }
12765
+
12766
+ /** Properties of a MetricHeader. */
12767
+ interface IMetricHeader {
12768
+
12769
+ /** MetricHeader name */
12283
12770
  name?: (string|null);
12284
12771
 
12285
12772
  /** MetricHeader type */
@@ -13422,33 +13909,542 @@ export namespace google {
13422
13909
  */
13423
13910
  public static verify(message: { [k: string]: any }): (string|null);
13424
13911
 
13425
- /**
13426
- * Creates a FunnelSubReport message from a plain object. Also converts values to their respective internal types.
13427
- * @param object Plain object
13428
- * @returns FunnelSubReport
13429
- */
13430
- public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelSubReport;
13912
+ /**
13913
+ * Creates a FunnelSubReport message from a plain object. Also converts values to their respective internal types.
13914
+ * @param object Plain object
13915
+ * @returns FunnelSubReport
13916
+ */
13917
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.FunnelSubReport;
13918
+
13919
+ /**
13920
+ * Creates a plain object from a FunnelSubReport message. Also converts values to other types if specified.
13921
+ * @param message FunnelSubReport
13922
+ * @param [options] Conversion options
13923
+ * @returns Plain object
13924
+ */
13925
+ public static toObject(message: google.analytics.data.v1alpha.FunnelSubReport, options?: $protobuf.IConversionOptions): { [k: string]: any };
13926
+
13927
+ /**
13928
+ * Converts this FunnelSubReport to JSON.
13929
+ * @returns JSON object
13930
+ */
13931
+ public toJSON(): { [k: string]: any };
13932
+
13933
+ /**
13934
+ * Gets the default type url for FunnelSubReport
13935
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13936
+ * @returns The default type url
13937
+ */
13938
+ public static getTypeUrl(typeUrlPrefix?: string): string;
13939
+ }
13940
+
13941
+ /** Properties of a ResponseBlock. */
13942
+ interface IResponseBlock {
13943
+
13944
+ /** ResponseBlock text */
13945
+ text?: (string|null);
13946
+
13947
+ /** ResponseBlock table */
13948
+ table?: (google.analytics.data.v1alpha.ResponseBlock.IDataTable|null);
13949
+ }
13950
+
13951
+ /** Represents a ResponseBlock. */
13952
+ class ResponseBlock implements IResponseBlock {
13953
+
13954
+ /**
13955
+ * Constructs a new ResponseBlock.
13956
+ * @param [properties] Properties to set
13957
+ */
13958
+ constructor(properties?: google.analytics.data.v1alpha.IResponseBlock);
13959
+
13960
+ /** ResponseBlock text. */
13961
+ public text?: (string|null);
13962
+
13963
+ /** ResponseBlock table. */
13964
+ public table?: (google.analytics.data.v1alpha.ResponseBlock.IDataTable|null);
13965
+
13966
+ /** ResponseBlock block. */
13967
+ public block?: ("text"|"table");
13968
+
13969
+ /**
13970
+ * Creates a new ResponseBlock instance using the specified properties.
13971
+ * @param [properties] Properties to set
13972
+ * @returns ResponseBlock instance
13973
+ */
13974
+ public static create(properties?: google.analytics.data.v1alpha.IResponseBlock): google.analytics.data.v1alpha.ResponseBlock;
13975
+
13976
+ /**
13977
+ * Encodes the specified ResponseBlock message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.verify|verify} messages.
13978
+ * @param message ResponseBlock message or plain object to encode
13979
+ * @param [writer] Writer to encode to
13980
+ * @returns Writer
13981
+ */
13982
+ public static encode(message: google.analytics.data.v1alpha.IResponseBlock, writer?: $protobuf.Writer): $protobuf.Writer;
13983
+
13984
+ /**
13985
+ * Encodes the specified ResponseBlock message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.verify|verify} messages.
13986
+ * @param message ResponseBlock message or plain object to encode
13987
+ * @param [writer] Writer to encode to
13988
+ * @returns Writer
13989
+ */
13990
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IResponseBlock, writer?: $protobuf.Writer): $protobuf.Writer;
13991
+
13992
+ /**
13993
+ * Decodes a ResponseBlock message from the specified reader or buffer.
13994
+ * @param reader Reader or buffer to decode from
13995
+ * @param [length] Message length if known beforehand
13996
+ * @returns ResponseBlock
13997
+ * @throws {Error} If the payload is not a reader or valid buffer
13998
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13999
+ */
14000
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseBlock;
14001
+
14002
+ /**
14003
+ * Decodes a ResponseBlock message from the specified reader or buffer, length delimited.
14004
+ * @param reader Reader or buffer to decode from
14005
+ * @returns ResponseBlock
14006
+ * @throws {Error} If the payload is not a reader or valid buffer
14007
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14008
+ */
14009
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseBlock;
14010
+
14011
+ /**
14012
+ * Verifies a ResponseBlock message.
14013
+ * @param message Plain object to verify
14014
+ * @returns `null` if valid, otherwise the reason why it is not
14015
+ */
14016
+ public static verify(message: { [k: string]: any }): (string|null);
14017
+
14018
+ /**
14019
+ * Creates a ResponseBlock message from a plain object. Also converts values to their respective internal types.
14020
+ * @param object Plain object
14021
+ * @returns ResponseBlock
14022
+ */
14023
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseBlock;
14024
+
14025
+ /**
14026
+ * Creates a plain object from a ResponseBlock message. Also converts values to other types if specified.
14027
+ * @param message ResponseBlock
14028
+ * @param [options] Conversion options
14029
+ * @returns Plain object
14030
+ */
14031
+ public static toObject(message: google.analytics.data.v1alpha.ResponseBlock, options?: $protobuf.IConversionOptions): { [k: string]: any };
14032
+
14033
+ /**
14034
+ * Converts this ResponseBlock to JSON.
14035
+ * @returns JSON object
14036
+ */
14037
+ public toJSON(): { [k: string]: any };
14038
+
14039
+ /**
14040
+ * Gets the default type url for ResponseBlock
14041
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14042
+ * @returns The default type url
14043
+ */
14044
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14045
+ }
14046
+
14047
+ namespace ResponseBlock {
14048
+
14049
+ /** Properties of a DataTableCell. */
14050
+ interface IDataTableCell {
14051
+
14052
+ /** DataTableCell value */
14053
+ value?: (string|null);
14054
+ }
14055
+
14056
+ /** Represents a DataTableCell. */
14057
+ class DataTableCell implements IDataTableCell {
14058
+
14059
+ /**
14060
+ * Constructs a new DataTableCell.
14061
+ * @param [properties] Properties to set
14062
+ */
14063
+ constructor(properties?: google.analytics.data.v1alpha.ResponseBlock.IDataTableCell);
14064
+
14065
+ /** DataTableCell value. */
14066
+ public value: string;
14067
+
14068
+ /**
14069
+ * Creates a new DataTableCell instance using the specified properties.
14070
+ * @param [properties] Properties to set
14071
+ * @returns DataTableCell instance
14072
+ */
14073
+ public static create(properties?: google.analytics.data.v1alpha.ResponseBlock.IDataTableCell): google.analytics.data.v1alpha.ResponseBlock.DataTableCell;
14074
+
14075
+ /**
14076
+ * Encodes the specified DataTableCell message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.DataTableCell.verify|verify} messages.
14077
+ * @param message DataTableCell message or plain object to encode
14078
+ * @param [writer] Writer to encode to
14079
+ * @returns Writer
14080
+ */
14081
+ public static encode(message: google.analytics.data.v1alpha.ResponseBlock.IDataTableCell, writer?: $protobuf.Writer): $protobuf.Writer;
14082
+
14083
+ /**
14084
+ * Encodes the specified DataTableCell message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.DataTableCell.verify|verify} messages.
14085
+ * @param message DataTableCell message or plain object to encode
14086
+ * @param [writer] Writer to encode to
14087
+ * @returns Writer
14088
+ */
14089
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ResponseBlock.IDataTableCell, writer?: $protobuf.Writer): $protobuf.Writer;
14090
+
14091
+ /**
14092
+ * Decodes a DataTableCell message from the specified reader or buffer.
14093
+ * @param reader Reader or buffer to decode from
14094
+ * @param [length] Message length if known beforehand
14095
+ * @returns DataTableCell
14096
+ * @throws {Error} If the payload is not a reader or valid buffer
14097
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14098
+ */
14099
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseBlock.DataTableCell;
14100
+
14101
+ /**
14102
+ * Decodes a DataTableCell message from the specified reader or buffer, length delimited.
14103
+ * @param reader Reader or buffer to decode from
14104
+ * @returns DataTableCell
14105
+ * @throws {Error} If the payload is not a reader or valid buffer
14106
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14107
+ */
14108
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseBlock.DataTableCell;
14109
+
14110
+ /**
14111
+ * Verifies a DataTableCell message.
14112
+ * @param message Plain object to verify
14113
+ * @returns `null` if valid, otherwise the reason why it is not
14114
+ */
14115
+ public static verify(message: { [k: string]: any }): (string|null);
14116
+
14117
+ /**
14118
+ * Creates a DataTableCell message from a plain object. Also converts values to their respective internal types.
14119
+ * @param object Plain object
14120
+ * @returns DataTableCell
14121
+ */
14122
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseBlock.DataTableCell;
14123
+
14124
+ /**
14125
+ * Creates a plain object from a DataTableCell message. Also converts values to other types if specified.
14126
+ * @param message DataTableCell
14127
+ * @param [options] Conversion options
14128
+ * @returns Plain object
14129
+ */
14130
+ public static toObject(message: google.analytics.data.v1alpha.ResponseBlock.DataTableCell, options?: $protobuf.IConversionOptions): { [k: string]: any };
14131
+
14132
+ /**
14133
+ * Converts this DataTableCell to JSON.
14134
+ * @returns JSON object
14135
+ */
14136
+ public toJSON(): { [k: string]: any };
14137
+
14138
+ /**
14139
+ * Gets the default type url for DataTableCell
14140
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14141
+ * @returns The default type url
14142
+ */
14143
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14144
+ }
14145
+
14146
+ /** Properties of a DataTableHeader. */
14147
+ interface IDataTableHeader {
14148
+
14149
+ /** DataTableHeader header */
14150
+ header?: (string|null);
14151
+
14152
+ /** DataTableHeader dataType */
14153
+ dataType?: (string|null);
14154
+ }
14155
+
14156
+ /** Represents a DataTableHeader. */
14157
+ class DataTableHeader implements IDataTableHeader {
14158
+
14159
+ /**
14160
+ * Constructs a new DataTableHeader.
14161
+ * @param [properties] Properties to set
14162
+ */
14163
+ constructor(properties?: google.analytics.data.v1alpha.ResponseBlock.IDataTableHeader);
14164
+
14165
+ /** DataTableHeader header. */
14166
+ public header: string;
14167
+
14168
+ /** DataTableHeader dataType. */
14169
+ public dataType: string;
14170
+
14171
+ /**
14172
+ * Creates a new DataTableHeader instance using the specified properties.
14173
+ * @param [properties] Properties to set
14174
+ * @returns DataTableHeader instance
14175
+ */
14176
+ public static create(properties?: google.analytics.data.v1alpha.ResponseBlock.IDataTableHeader): google.analytics.data.v1alpha.ResponseBlock.DataTableHeader;
14177
+
14178
+ /**
14179
+ * Encodes the specified DataTableHeader message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.DataTableHeader.verify|verify} messages.
14180
+ * @param message DataTableHeader message or plain object to encode
14181
+ * @param [writer] Writer to encode to
14182
+ * @returns Writer
14183
+ */
14184
+ public static encode(message: google.analytics.data.v1alpha.ResponseBlock.IDataTableHeader, writer?: $protobuf.Writer): $protobuf.Writer;
14185
+
14186
+ /**
14187
+ * Encodes the specified DataTableHeader message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.DataTableHeader.verify|verify} messages.
14188
+ * @param message DataTableHeader message or plain object to encode
14189
+ * @param [writer] Writer to encode to
14190
+ * @returns Writer
14191
+ */
14192
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ResponseBlock.IDataTableHeader, writer?: $protobuf.Writer): $protobuf.Writer;
14193
+
14194
+ /**
14195
+ * Decodes a DataTableHeader message from the specified reader or buffer.
14196
+ * @param reader Reader or buffer to decode from
14197
+ * @param [length] Message length if known beforehand
14198
+ * @returns DataTableHeader
14199
+ * @throws {Error} If the payload is not a reader or valid buffer
14200
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14201
+ */
14202
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseBlock.DataTableHeader;
14203
+
14204
+ /**
14205
+ * Decodes a DataTableHeader message from the specified reader or buffer, length delimited.
14206
+ * @param reader Reader or buffer to decode from
14207
+ * @returns DataTableHeader
14208
+ * @throws {Error} If the payload is not a reader or valid buffer
14209
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14210
+ */
14211
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseBlock.DataTableHeader;
14212
+
14213
+ /**
14214
+ * Verifies a DataTableHeader message.
14215
+ * @param message Plain object to verify
14216
+ * @returns `null` if valid, otherwise the reason why it is not
14217
+ */
14218
+ public static verify(message: { [k: string]: any }): (string|null);
14219
+
14220
+ /**
14221
+ * Creates a DataTableHeader message from a plain object. Also converts values to their respective internal types.
14222
+ * @param object Plain object
14223
+ * @returns DataTableHeader
14224
+ */
14225
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseBlock.DataTableHeader;
14226
+
14227
+ /**
14228
+ * Creates a plain object from a DataTableHeader message. Also converts values to other types if specified.
14229
+ * @param message DataTableHeader
14230
+ * @param [options] Conversion options
14231
+ * @returns Plain object
14232
+ */
14233
+ public static toObject(message: google.analytics.data.v1alpha.ResponseBlock.DataTableHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
14234
+
14235
+ /**
14236
+ * Converts this DataTableHeader to JSON.
14237
+ * @returns JSON object
14238
+ */
14239
+ public toJSON(): { [k: string]: any };
14240
+
14241
+ /**
14242
+ * Gets the default type url for DataTableHeader
14243
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14244
+ * @returns The default type url
14245
+ */
14246
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14247
+ }
14248
+
14249
+ /** Properties of a DataTableRow. */
14250
+ interface IDataTableRow {
14251
+
14252
+ /** DataTableRow columns */
14253
+ columns?: (google.analytics.data.v1alpha.ResponseBlock.IDataTableCell[]|null);
14254
+ }
14255
+
14256
+ /** Represents a DataTableRow. */
14257
+ class DataTableRow implements IDataTableRow {
14258
+
14259
+ /**
14260
+ * Constructs a new DataTableRow.
14261
+ * @param [properties] Properties to set
14262
+ */
14263
+ constructor(properties?: google.analytics.data.v1alpha.ResponseBlock.IDataTableRow);
14264
+
14265
+ /** DataTableRow columns. */
14266
+ public columns: google.analytics.data.v1alpha.ResponseBlock.IDataTableCell[];
14267
+
14268
+ /**
14269
+ * Creates a new DataTableRow instance using the specified properties.
14270
+ * @param [properties] Properties to set
14271
+ * @returns DataTableRow instance
14272
+ */
14273
+ public static create(properties?: google.analytics.data.v1alpha.ResponseBlock.IDataTableRow): google.analytics.data.v1alpha.ResponseBlock.DataTableRow;
14274
+
14275
+ /**
14276
+ * Encodes the specified DataTableRow message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.DataTableRow.verify|verify} messages.
14277
+ * @param message DataTableRow message or plain object to encode
14278
+ * @param [writer] Writer to encode to
14279
+ * @returns Writer
14280
+ */
14281
+ public static encode(message: google.analytics.data.v1alpha.ResponseBlock.IDataTableRow, writer?: $protobuf.Writer): $protobuf.Writer;
14282
+
14283
+ /**
14284
+ * Encodes the specified DataTableRow message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.DataTableRow.verify|verify} messages.
14285
+ * @param message DataTableRow message or plain object to encode
14286
+ * @param [writer] Writer to encode to
14287
+ * @returns Writer
14288
+ */
14289
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ResponseBlock.IDataTableRow, writer?: $protobuf.Writer): $protobuf.Writer;
14290
+
14291
+ /**
14292
+ * Decodes a DataTableRow message from the specified reader or buffer.
14293
+ * @param reader Reader or buffer to decode from
14294
+ * @param [length] Message length if known beforehand
14295
+ * @returns DataTableRow
14296
+ * @throws {Error} If the payload is not a reader or valid buffer
14297
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14298
+ */
14299
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseBlock.DataTableRow;
14300
+
14301
+ /**
14302
+ * Decodes a DataTableRow message from the specified reader or buffer, length delimited.
14303
+ * @param reader Reader or buffer to decode from
14304
+ * @returns DataTableRow
14305
+ * @throws {Error} If the payload is not a reader or valid buffer
14306
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14307
+ */
14308
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseBlock.DataTableRow;
14309
+
14310
+ /**
14311
+ * Verifies a DataTableRow message.
14312
+ * @param message Plain object to verify
14313
+ * @returns `null` if valid, otherwise the reason why it is not
14314
+ */
14315
+ public static verify(message: { [k: string]: any }): (string|null);
14316
+
14317
+ /**
14318
+ * Creates a DataTableRow message from a plain object. Also converts values to their respective internal types.
14319
+ * @param object Plain object
14320
+ * @returns DataTableRow
14321
+ */
14322
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseBlock.DataTableRow;
14323
+
14324
+ /**
14325
+ * Creates a plain object from a DataTableRow message. Also converts values to other types if specified.
14326
+ * @param message DataTableRow
14327
+ * @param [options] Conversion options
14328
+ * @returns Plain object
14329
+ */
14330
+ public static toObject(message: google.analytics.data.v1alpha.ResponseBlock.DataTableRow, options?: $protobuf.IConversionOptions): { [k: string]: any };
14331
+
14332
+ /**
14333
+ * Converts this DataTableRow to JSON.
14334
+ * @returns JSON object
14335
+ */
14336
+ public toJSON(): { [k: string]: any };
14337
+
14338
+ /**
14339
+ * Gets the default type url for DataTableRow
14340
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14341
+ * @returns The default type url
14342
+ */
14343
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14344
+ }
14345
+
14346
+ /** Properties of a DataTable. */
14347
+ interface IDataTable {
14348
+
14349
+ /** DataTable headers */
14350
+ headers?: (google.analytics.data.v1alpha.ResponseBlock.IDataTableHeader[]|null);
14351
+
14352
+ /** DataTable rows */
14353
+ rows?: (google.analytics.data.v1alpha.ResponseBlock.IDataTableRow[]|null);
14354
+ }
14355
+
14356
+ /** Represents a DataTable. */
14357
+ class DataTable implements IDataTable {
14358
+
14359
+ /**
14360
+ * Constructs a new DataTable.
14361
+ * @param [properties] Properties to set
14362
+ */
14363
+ constructor(properties?: google.analytics.data.v1alpha.ResponseBlock.IDataTable);
14364
+
14365
+ /** DataTable headers. */
14366
+ public headers: google.analytics.data.v1alpha.ResponseBlock.IDataTableHeader[];
14367
+
14368
+ /** DataTable rows. */
14369
+ public rows: google.analytics.data.v1alpha.ResponseBlock.IDataTableRow[];
14370
+
14371
+ /**
14372
+ * Creates a new DataTable instance using the specified properties.
14373
+ * @param [properties] Properties to set
14374
+ * @returns DataTable instance
14375
+ */
14376
+ public static create(properties?: google.analytics.data.v1alpha.ResponseBlock.IDataTable): google.analytics.data.v1alpha.ResponseBlock.DataTable;
14377
+
14378
+ /**
14379
+ * Encodes the specified DataTable message. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.DataTable.verify|verify} messages.
14380
+ * @param message DataTable message or plain object to encode
14381
+ * @param [writer] Writer to encode to
14382
+ * @returns Writer
14383
+ */
14384
+ public static encode(message: google.analytics.data.v1alpha.ResponseBlock.IDataTable, writer?: $protobuf.Writer): $protobuf.Writer;
14385
+
14386
+ /**
14387
+ * Encodes the specified DataTable message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ResponseBlock.DataTable.verify|verify} messages.
14388
+ * @param message DataTable message or plain object to encode
14389
+ * @param [writer] Writer to encode to
14390
+ * @returns Writer
14391
+ */
14392
+ public static encodeDelimited(message: google.analytics.data.v1alpha.ResponseBlock.IDataTable, writer?: $protobuf.Writer): $protobuf.Writer;
14393
+
14394
+ /**
14395
+ * Decodes a DataTable message from the specified reader or buffer.
14396
+ * @param reader Reader or buffer to decode from
14397
+ * @param [length] Message length if known beforehand
14398
+ * @returns DataTable
14399
+ * @throws {Error} If the payload is not a reader or valid buffer
14400
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14401
+ */
14402
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.ResponseBlock.DataTable;
14403
+
14404
+ /**
14405
+ * Decodes a DataTable message from the specified reader or buffer, length delimited.
14406
+ * @param reader Reader or buffer to decode from
14407
+ * @returns DataTable
14408
+ * @throws {Error} If the payload is not a reader or valid buffer
14409
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14410
+ */
14411
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.ResponseBlock.DataTable;
14412
+
14413
+ /**
14414
+ * Verifies a DataTable message.
14415
+ * @param message Plain object to verify
14416
+ * @returns `null` if valid, otherwise the reason why it is not
14417
+ */
14418
+ public static verify(message: { [k: string]: any }): (string|null);
13431
14419
 
13432
- /**
13433
- * Creates a plain object from a FunnelSubReport message. Also converts values to other types if specified.
13434
- * @param message FunnelSubReport
13435
- * @param [options] Conversion options
13436
- * @returns Plain object
13437
- */
13438
- public static toObject(message: google.analytics.data.v1alpha.FunnelSubReport, options?: $protobuf.IConversionOptions): { [k: string]: any };
14420
+ /**
14421
+ * Creates a DataTable message from a plain object. Also converts values to their respective internal types.
14422
+ * @param object Plain object
14423
+ * @returns DataTable
14424
+ */
14425
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.ResponseBlock.DataTable;
13439
14426
 
13440
- /**
13441
- * Converts this FunnelSubReport to JSON.
13442
- * @returns JSON object
13443
- */
13444
- public toJSON(): { [k: string]: any };
14427
+ /**
14428
+ * Creates a plain object from a DataTable message. Also converts values to other types if specified.
14429
+ * @param message DataTable
14430
+ * @param [options] Conversion options
14431
+ * @returns Plain object
14432
+ */
14433
+ public static toObject(message: google.analytics.data.v1alpha.ResponseBlock.DataTable, options?: $protobuf.IConversionOptions): { [k: string]: any };
13445
14434
 
13446
- /**
13447
- * Gets the default type url for FunnelSubReport
13448
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13449
- * @returns The default type url
13450
- */
13451
- public static getTypeUrl(typeUrlPrefix?: string): string;
14435
+ /**
14436
+ * Converts this DataTable to JSON.
14437
+ * @returns JSON object
14438
+ */
14439
+ public toJSON(): { [k: string]: any };
14440
+
14441
+ /**
14442
+ * Gets the default type url for DataTable
14443
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14444
+ * @returns The default type url
14445
+ */
14446
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14447
+ }
13452
14448
  }
13453
14449
 
13454
14450
  /** Properties of a UserSegment. */
@@ -17709,6 +18705,109 @@ export namespace google {
17709
18705
  */
17710
18706
  public static getTypeUrl(typeUrlPrefix?: string): string;
17711
18707
  }
18708
+
18709
+ /** Properties of a PropertyChatQuota. */
18710
+ interface IPropertyChatQuota {
18711
+
18712
+ /** PropertyChatQuota tokensPerDay */
18713
+ tokensPerDay?: (google.analytics.data.v1alpha.IQuotaStatus|null);
18714
+
18715
+ /** PropertyChatQuota tokensPerHour */
18716
+ tokensPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
18717
+ }
18718
+
18719
+ /** Represents a PropertyChatQuota. */
18720
+ class PropertyChatQuota implements IPropertyChatQuota {
18721
+
18722
+ /**
18723
+ * Constructs a new PropertyChatQuota.
18724
+ * @param [properties] Properties to set
18725
+ */
18726
+ constructor(properties?: google.analytics.data.v1alpha.IPropertyChatQuota);
18727
+
18728
+ /** PropertyChatQuota tokensPerDay. */
18729
+ public tokensPerDay?: (google.analytics.data.v1alpha.IQuotaStatus|null);
18730
+
18731
+ /** PropertyChatQuota tokensPerHour. */
18732
+ public tokensPerHour?: (google.analytics.data.v1alpha.IQuotaStatus|null);
18733
+
18734
+ /**
18735
+ * Creates a new PropertyChatQuota instance using the specified properties.
18736
+ * @param [properties] Properties to set
18737
+ * @returns PropertyChatQuota instance
18738
+ */
18739
+ public static create(properties?: google.analytics.data.v1alpha.IPropertyChatQuota): google.analytics.data.v1alpha.PropertyChatQuota;
18740
+
18741
+ /**
18742
+ * Encodes the specified PropertyChatQuota message. Does not implicitly {@link google.analytics.data.v1alpha.PropertyChatQuota.verify|verify} messages.
18743
+ * @param message PropertyChatQuota message or plain object to encode
18744
+ * @param [writer] Writer to encode to
18745
+ * @returns Writer
18746
+ */
18747
+ public static encode(message: google.analytics.data.v1alpha.IPropertyChatQuota, writer?: $protobuf.Writer): $protobuf.Writer;
18748
+
18749
+ /**
18750
+ * Encodes the specified PropertyChatQuota message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.PropertyChatQuota.verify|verify} messages.
18751
+ * @param message PropertyChatQuota message or plain object to encode
18752
+ * @param [writer] Writer to encode to
18753
+ * @returns Writer
18754
+ */
18755
+ public static encodeDelimited(message: google.analytics.data.v1alpha.IPropertyChatQuota, writer?: $protobuf.Writer): $protobuf.Writer;
18756
+
18757
+ /**
18758
+ * Decodes a PropertyChatQuota message from the specified reader or buffer.
18759
+ * @param reader Reader or buffer to decode from
18760
+ * @param [length] Message length if known beforehand
18761
+ * @returns PropertyChatQuota
18762
+ * @throws {Error} If the payload is not a reader or valid buffer
18763
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18764
+ */
18765
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.PropertyChatQuota;
18766
+
18767
+ /**
18768
+ * Decodes a PropertyChatQuota message from the specified reader or buffer, length delimited.
18769
+ * @param reader Reader or buffer to decode from
18770
+ * @returns PropertyChatQuota
18771
+ * @throws {Error} If the payload is not a reader or valid buffer
18772
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18773
+ */
18774
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.PropertyChatQuota;
18775
+
18776
+ /**
18777
+ * Verifies a PropertyChatQuota message.
18778
+ * @param message Plain object to verify
18779
+ * @returns `null` if valid, otherwise the reason why it is not
18780
+ */
18781
+ public static verify(message: { [k: string]: any }): (string|null);
18782
+
18783
+ /**
18784
+ * Creates a PropertyChatQuota message from a plain object. Also converts values to their respective internal types.
18785
+ * @param object Plain object
18786
+ * @returns PropertyChatQuota
18787
+ */
18788
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1alpha.PropertyChatQuota;
18789
+
18790
+ /**
18791
+ * Creates a plain object from a PropertyChatQuota message. Also converts values to other types if specified.
18792
+ * @param message PropertyChatQuota
18793
+ * @param [options] Conversion options
18794
+ * @returns Plain object
18795
+ */
18796
+ public static toObject(message: google.analytics.data.v1alpha.PropertyChatQuota, options?: $protobuf.IConversionOptions): { [k: string]: any };
18797
+
18798
+ /**
18799
+ * Converts this PropertyChatQuota to JSON.
18800
+ * @returns JSON object
18801
+ */
18802
+ public toJSON(): { [k: string]: any };
18803
+
18804
+ /**
18805
+ * Gets the default type url for PropertyChatQuota
18806
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18807
+ * @returns The default type url
18808
+ */
18809
+ public static getTypeUrl(typeUrlPrefix?: string): string;
18810
+ }
17712
18811
  }
17713
18812
 
17714
18813
  /** Namespace v1beta. */
@@ -23791,6 +24890,9 @@ export namespace google {
23791
24890
 
23792
24891
  /** ResponseMetaData samplingMetadatas */
23793
24892
  samplingMetadatas?: (google.analytics.data.v1beta.ISamplingMetadata[]|null);
24893
+
24894
+ /** ResponseMetaData dataTruncationReasons */
24895
+ dataTruncationReasons?: (google.analytics.data.v1beta.ResponseMetaData.IDataTruncationReason[]|null);
23794
24896
  }
23795
24897
 
23796
24898
  /** Represents a ResponseMetaData. */
@@ -23823,6 +24925,9 @@ export namespace google {
23823
24925
  /** ResponseMetaData samplingMetadatas. */
23824
24926
  public samplingMetadatas: google.analytics.data.v1beta.ISamplingMetadata[];
23825
24927
 
24928
+ /** ResponseMetaData dataTruncationReasons. */
24929
+ public dataTruncationReasons: google.analytics.data.v1beta.ResponseMetaData.IDataTruncationReason[];
24930
+
23826
24931
  /**
23827
24932
  * Creates a new ResponseMetaData instance using the specified properties.
23828
24933
  * @param [properties] Properties to set
@@ -24105,6 +25210,242 @@ export namespace google {
24105
25210
  public static getTypeUrl(typeUrlPrefix?: string): string;
24106
25211
  }
24107
25212
  }
25213
+
25214
+ /** Properties of a DataTruncationReason. */
25215
+ interface IDataTruncationReason {
25216
+
25217
+ /** DataTruncationReason dataTruncationType */
25218
+ dataTruncationType?: (google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationType|keyof typeof google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationType|null);
25219
+
25220
+ /** DataTruncationReason dataTruncationMessage */
25221
+ dataTruncationMessage?: (string|null);
25222
+
25223
+ /** DataTruncationReason dataTruncationDate */
25224
+ dataTruncationDate?: (string|null);
25225
+
25226
+ /** DataTruncationReason dataTruncationDateRanges */
25227
+ dataTruncationDateRanges?: (google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange[]|null);
25228
+ }
25229
+
25230
+ /** Represents a DataTruncationReason. */
25231
+ class DataTruncationReason implements IDataTruncationReason {
25232
+
25233
+ /**
25234
+ * Constructs a new DataTruncationReason.
25235
+ * @param [properties] Properties to set
25236
+ */
25237
+ constructor(properties?: google.analytics.data.v1beta.ResponseMetaData.IDataTruncationReason);
25238
+
25239
+ /** DataTruncationReason dataTruncationType. */
25240
+ public dataTruncationType?: (google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationType|keyof typeof google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationType|null);
25241
+
25242
+ /** DataTruncationReason dataTruncationMessage. */
25243
+ public dataTruncationMessage?: (string|null);
25244
+
25245
+ /** DataTruncationReason dataTruncationDate. */
25246
+ public dataTruncationDate?: (string|null);
25247
+
25248
+ /** DataTruncationReason dataTruncationDateRanges. */
25249
+ public dataTruncationDateRanges: google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange[];
25250
+
25251
+ /**
25252
+ * Creates a new DataTruncationReason instance using the specified properties.
25253
+ * @param [properties] Properties to set
25254
+ * @returns DataTruncationReason instance
25255
+ */
25256
+ public static create(properties?: google.analytics.data.v1beta.ResponseMetaData.IDataTruncationReason): google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason;
25257
+
25258
+ /**
25259
+ * Encodes the specified DataTruncationReason message. Does not implicitly {@link google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.verify|verify} messages.
25260
+ * @param message DataTruncationReason message or plain object to encode
25261
+ * @param [writer] Writer to encode to
25262
+ * @returns Writer
25263
+ */
25264
+ public static encode(message: google.analytics.data.v1beta.ResponseMetaData.IDataTruncationReason, writer?: $protobuf.Writer): $protobuf.Writer;
25265
+
25266
+ /**
25267
+ * Encodes the specified DataTruncationReason message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.verify|verify} messages.
25268
+ * @param message DataTruncationReason message or plain object to encode
25269
+ * @param [writer] Writer to encode to
25270
+ * @returns Writer
25271
+ */
25272
+ public static encodeDelimited(message: google.analytics.data.v1beta.ResponseMetaData.IDataTruncationReason, writer?: $protobuf.Writer): $protobuf.Writer;
25273
+
25274
+ /**
25275
+ * Decodes a DataTruncationReason message from the specified reader or buffer.
25276
+ * @param reader Reader or buffer to decode from
25277
+ * @param [length] Message length if known beforehand
25278
+ * @returns DataTruncationReason
25279
+ * @throws {Error} If the payload is not a reader or valid buffer
25280
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25281
+ */
25282
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason;
25283
+
25284
+ /**
25285
+ * Decodes a DataTruncationReason message from the specified reader or buffer, length delimited.
25286
+ * @param reader Reader or buffer to decode from
25287
+ * @returns DataTruncationReason
25288
+ * @throws {Error} If the payload is not a reader or valid buffer
25289
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25290
+ */
25291
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason;
25292
+
25293
+ /**
25294
+ * Verifies a DataTruncationReason message.
25295
+ * @param message Plain object to verify
25296
+ * @returns `null` if valid, otherwise the reason why it is not
25297
+ */
25298
+ public static verify(message: { [k: string]: any }): (string|null);
25299
+
25300
+ /**
25301
+ * Creates a DataTruncationReason message from a plain object. Also converts values to their respective internal types.
25302
+ * @param object Plain object
25303
+ * @returns DataTruncationReason
25304
+ */
25305
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason;
25306
+
25307
+ /**
25308
+ * Creates a plain object from a DataTruncationReason message. Also converts values to other types if specified.
25309
+ * @param message DataTruncationReason
25310
+ * @param [options] Conversion options
25311
+ * @returns Plain object
25312
+ */
25313
+ public static toObject(message: google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
25314
+
25315
+ /**
25316
+ * Converts this DataTruncationReason to JSON.
25317
+ * @returns JSON object
25318
+ */
25319
+ public toJSON(): { [k: string]: any };
25320
+
25321
+ /**
25322
+ * Gets the default type url for DataTruncationReason
25323
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25324
+ * @returns The default type url
25325
+ */
25326
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25327
+ }
25328
+
25329
+ namespace DataTruncationReason {
25330
+
25331
+ /** DataTruncationType enum. */
25332
+ enum DataTruncationType {
25333
+ DATA_TRUNCATION_TYPE_UNSPECIFIED = 0,
25334
+ DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1,
25335
+ DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2,
25336
+ DATA_TRUNCATION_TYPE_DV360 = 3,
25337
+ DATA_TRUNCATION_TYPE_CM360 = 4,
25338
+ DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5,
25339
+ DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6,
25340
+ DATA_TRUNCATION_TYPE_DATE_RANGE = 7,
25341
+ DATA_TRUNCATION_TYPE_PROPERTY = 8,
25342
+ DATA_TRUNCATION_TYPE_CONVERSIONS = 9,
25343
+ DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10
25344
+ }
25345
+
25346
+ /** Properties of a DataTruncationDateRange. */
25347
+ interface IDataTruncationDateRange {
25348
+
25349
+ /** DataTruncationDateRange startDate */
25350
+ startDate?: (string|null);
25351
+
25352
+ /** DataTruncationDateRange endDate */
25353
+ endDate?: (string|null);
25354
+ }
25355
+
25356
+ /** Represents a DataTruncationDateRange. */
25357
+ class DataTruncationDateRange implements IDataTruncationDateRange {
25358
+
25359
+ /**
25360
+ * Constructs a new DataTruncationDateRange.
25361
+ * @param [properties] Properties to set
25362
+ */
25363
+ constructor(properties?: google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange);
25364
+
25365
+ /** DataTruncationDateRange startDate. */
25366
+ public startDate?: (string|null);
25367
+
25368
+ /** DataTruncationDateRange endDate. */
25369
+ public endDate?: (string|null);
25370
+
25371
+ /**
25372
+ * Creates a new DataTruncationDateRange instance using the specified properties.
25373
+ * @param [properties] Properties to set
25374
+ * @returns DataTruncationDateRange instance
25375
+ */
25376
+ public static create(properties?: google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange): google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationDateRange;
25377
+
25378
+ /**
25379
+ * Encodes the specified DataTruncationDateRange message. Does not implicitly {@link google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationDateRange.verify|verify} messages.
25380
+ * @param message DataTruncationDateRange message or plain object to encode
25381
+ * @param [writer] Writer to encode to
25382
+ * @returns Writer
25383
+ */
25384
+ public static encode(message: google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange, writer?: $protobuf.Writer): $protobuf.Writer;
25385
+
25386
+ /**
25387
+ * Encodes the specified DataTruncationDateRange message, length delimited. Does not implicitly {@link google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationDateRange.verify|verify} messages.
25388
+ * @param message DataTruncationDateRange message or plain object to encode
25389
+ * @param [writer] Writer to encode to
25390
+ * @returns Writer
25391
+ */
25392
+ public static encodeDelimited(message: google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.IDataTruncationDateRange, writer?: $protobuf.Writer): $protobuf.Writer;
25393
+
25394
+ /**
25395
+ * Decodes a DataTruncationDateRange message from the specified reader or buffer.
25396
+ * @param reader Reader or buffer to decode from
25397
+ * @param [length] Message length if known beforehand
25398
+ * @returns DataTruncationDateRange
25399
+ * @throws {Error} If the payload is not a reader or valid buffer
25400
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25401
+ */
25402
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationDateRange;
25403
+
25404
+ /**
25405
+ * Decodes a DataTruncationDateRange message from the specified reader or buffer, length delimited.
25406
+ * @param reader Reader or buffer to decode from
25407
+ * @returns DataTruncationDateRange
25408
+ * @throws {Error} If the payload is not a reader or valid buffer
25409
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25410
+ */
25411
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationDateRange;
25412
+
25413
+ /**
25414
+ * Verifies a DataTruncationDateRange message.
25415
+ * @param message Plain object to verify
25416
+ * @returns `null` if valid, otherwise the reason why it is not
25417
+ */
25418
+ public static verify(message: { [k: string]: any }): (string|null);
25419
+
25420
+ /**
25421
+ * Creates a DataTruncationDateRange message from a plain object. Also converts values to their respective internal types.
25422
+ * @param object Plain object
25423
+ * @returns DataTruncationDateRange
25424
+ */
25425
+ public static fromObject(object: { [k: string]: any }): google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationDateRange;
25426
+
25427
+ /**
25428
+ * Creates a plain object from a DataTruncationDateRange message. Also converts values to other types if specified.
25429
+ * @param message DataTruncationDateRange
25430
+ * @param [options] Conversion options
25431
+ * @returns Plain object
25432
+ */
25433
+ public static toObject(message: google.analytics.data.v1beta.ResponseMetaData.DataTruncationReason.DataTruncationDateRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
25434
+
25435
+ /**
25436
+ * Converts this DataTruncationDateRange to JSON.
25437
+ * @returns JSON object
25438
+ */
25439
+ public toJSON(): { [k: string]: any };
25440
+
25441
+ /**
25442
+ * Gets the default type url for DataTruncationDateRange
25443
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25444
+ * @returns The default type url
25445
+ */
25446
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25447
+ }
25448
+ }
24108
25449
  }
24109
25450
 
24110
25451
  /** Properties of a SamplingMetadata. */