@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.1.20260316 → 0.2.20260603

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.
Files changed (3) hide show
  1. package/index.d.ts +877 -591
  2. package/package.json +1 -1
  3. package/readme.md +24 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://analyticsadmin.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20260316
12
+ // Revision: 20260603
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -106,7 +106,13 @@ declare namespace gapi.client {
106
106
  }
107
107
  interface GoogleAnalyticsAdminV1alphaAccessNumericFilter {
108
108
  /** The operation type for this filter. */
109
- operation?: string;
109
+ operation?:
110
+ | 'OPERATION_UNSPECIFIED'
111
+ | 'EQUAL'
112
+ | 'LESS_THAN'
113
+ | 'LESS_THAN_OR_EQUAL'
114
+ | 'GREATER_THAN'
115
+ | 'GREATER_THAN_OR_EQUAL';
110
116
  /** A numeric value or a date value. */
111
117
  value?: GoogleAnalyticsAdminV1alphaNumericValue;
112
118
  }
@@ -122,7 +128,11 @@ declare namespace gapi.client {
122
128
  /** A dimension name in the request to order by. */
123
129
  dimensionName?: string;
124
130
  /** Controls the rule for dimension value ordering. */
125
- orderType?: string;
131
+ orderType?:
132
+ | 'ORDER_TYPE_UNSPECIFIED'
133
+ | 'ALPHANUMERIC'
134
+ | 'CASE_INSENSITIVE_ALPHANUMERIC'
135
+ | 'NUMERIC';
126
136
  }
127
137
  interface GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy {
128
138
  /** A metric name in the request to order by. */
@@ -156,7 +166,14 @@ declare namespace gapi.client {
156
166
  /** If true, the string value is case sensitive. */
157
167
  caseSensitive?: boolean;
158
168
  /** The match type for this filter. */
159
- matchType?: string;
169
+ matchType?:
170
+ | 'MATCH_TYPE_UNSPECIFIED'
171
+ | 'EXACT'
172
+ | 'BEGINS_WITH'
173
+ | 'ENDS_WITH'
174
+ | 'CONTAINS'
175
+ | 'FULL_REGEXP'
176
+ | 'PARTIAL_REGEXP';
160
177
  /** The string value used for the matching. */
161
178
  value?: string;
162
179
  }
@@ -169,7 +186,7 @@ declare namespace gapi.client {
169
186
  displayName?: string;
170
187
  /** Output only. The URI for a Google Marketing Platform organization resource. Only set when this account is connected to a GMP organization. Format: marketingplatformadmin.googleapis.com/organizations/{org_id} */
171
188
  gmpOrganization?: string;
172
- /** Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
189
+ /** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
173
190
  name?: string;
174
191
  /** Country of business. Must be a Unicode CLDR region code. */
175
192
  regionCode?: string;
@@ -181,7 +198,7 @@ declare namespace gapi.client {
181
198
  account?: string;
182
199
  /** Display name for the account referred to in this account summary. */
183
200
  displayName?: string;
184
- /** Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000" */
201
+ /** Identifier. Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000" */
185
202
  name?: string;
186
203
  /** List of summaries for child accounts of this account. */
187
204
  propertySummaries?: GoogleAnalyticsAdminV1alphaPropertySummary[];
@@ -207,15 +224,30 @@ declare namespace gapi.client {
207
224
  interface GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest {}
208
225
  interface GoogleAnalyticsAdminV1alphaAttributionSettings {
209
226
  /** Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days. */
210
- acquisitionConversionEventLookbackWindow?: string;
227
+ acquisitionConversionEventLookbackWindow?:
228
+ | 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED'
229
+ | 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS'
230
+ | 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS';
211
231
  /** Required. The Conversion Export Scope for data exported to linked Ads Accounts. */
212
- adsWebConversionDataExportScope?: string;
232
+ adsWebConversionDataExportScope?:
233
+ | 'ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED'
234
+ | 'NOT_SELECTED_YET'
235
+ | 'PAID_AND_ORGANIC_CHANNELS'
236
+ | 'GOOGLE_PAID_CHANNELS';
213
237
  /** Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings" */
214
238
  name?: string;
215
239
  /** Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days. */
216
- otherConversionEventLookbackWindow?: string;
240
+ otherConversionEventLookbackWindow?:
241
+ | 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED'
242
+ | 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS'
243
+ | 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS'
244
+ | 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS';
217
245
  /** Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected. */
218
- reportingAttributionModel?: string;
246
+ reportingAttributionModel?:
247
+ | 'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED'
248
+ | 'PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN'
249
+ | 'PAID_AND_ORGANIC_CHANNELS_LAST_CLICK'
250
+ | 'GOOGLE_PAID_CHANNELS_LAST_CLICK';
219
251
  }
220
252
  interface GoogleAnalyticsAdminV1alphaAudience {
221
253
  /** Output only. It is automatically set by GA to false if this is an NPA Audience and is excluded from ads personalization. */
@@ -229,7 +261,10 @@ declare namespace gapi.client {
229
261
  /** Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience. */
230
262
  eventTrigger?: GoogleAnalyticsAdminV1alphaAudienceEventTrigger;
231
263
  /** Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience. */
232
- exclusionDurationMode?: string;
264
+ exclusionDurationMode?:
265
+ | 'AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED'
266
+ | 'EXCLUDE_TEMPORARILY'
267
+ | 'EXCLUDE_PERMANENTLY';
233
268
  /** Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together. */
234
269
  filterClauses?: GoogleAnalyticsAdminV1alphaAudienceFilterClause[];
235
270
  /** Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more than 540 days. */
@@ -267,7 +302,11 @@ declare namespace gapi.client {
267
302
  }
268
303
  interface GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter {
269
304
  /** Required. The operation applied to a numeric filter. */
270
- operation?: string;
305
+ operation?:
306
+ | 'OPERATION_UNSPECIFIED'
307
+ | 'EQUAL'
308
+ | 'LESS_THAN'
309
+ | 'GREATER_THAN';
271
310
  /** Required. The numeric or date value to match against. */
272
311
  value?: GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue;
273
312
  }
@@ -281,7 +320,13 @@ declare namespace gapi.client {
281
320
  /** Optional. If true, the match is case-sensitive. If false, the match is case-insensitive. */
282
321
  caseSensitive?: boolean;
283
322
  /** Required. The match type for the string filter. */
284
- matchType?: string;
323
+ matchType?:
324
+ | 'MATCH_TYPE_UNSPECIFIED'
325
+ | 'EXACT'
326
+ | 'BEGINS_WITH'
327
+ | 'ENDS_WITH'
328
+ | 'CONTAINS'
329
+ | 'FULL_REGEXP';
285
330
  /** Required. The string value to be matched against. */
286
331
  value?: string;
287
332
  }
@@ -295,11 +340,14 @@ declare namespace gapi.client {
295
340
  /** Required. The event name that will be logged. */
296
341
  eventName?: string;
297
342
  /** Required. When to log the event. */
298
- logCondition?: string;
343
+ logCondition?:
344
+ | 'LOG_CONDITION_UNSPECIFIED'
345
+ | 'AUDIENCE_JOINED'
346
+ | 'AUDIENCE_MEMBERSHIP_RENEWED';
299
347
  }
300
348
  interface GoogleAnalyticsAdminV1alphaAudienceFilterClause {
301
349
  /** Required. Specifies whether this is an include or exclude filter clause. */
302
- clauseType?: string;
350
+ clauseType?: 'AUDIENCE_CLAUSE_TYPE_UNSPECIFIED' | 'INCLUDE' | 'EXCLUDE';
303
351
  /** Filters that must occur in a specific order for the user to be a member of the Audience. */
304
352
  sequenceFilter?: GoogleAnalyticsAdminV1alphaAudienceSequenceFilter;
305
353
  /** A simple filter that a user must satisfy to be a member of the Audience. */
@@ -323,7 +371,11 @@ declare namespace gapi.client {
323
371
  }
324
372
  interface GoogleAnalyticsAdminV1alphaAudienceSequenceFilter {
325
373
  /** Required. Immutable. Specifies the scope for this filter. */
326
- scope?: string;
374
+ scope?:
375
+ | 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED'
376
+ | 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT'
377
+ | 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION'
378
+ | 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS';
327
379
  /** Optional. Defines the time period in which the whole sequence must occur. */
328
380
  sequenceMaximumDuration?: string;
329
381
  /** Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter. */
@@ -337,13 +389,21 @@ declare namespace gapi.client {
337
389
  /** Optional. If true, the event satisfying this step must be the very next event after the event satisfying the last step. If unset or false, this step indirectly follows the prior step; for example, there may be events between the prior step and this step. It is ignored for the first step. */
338
390
  immediatelyFollows?: boolean;
339
391
  /** Required. Immutable. Specifies the scope for this step. */
340
- scope?: string;
392
+ scope?:
393
+ | 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED'
394
+ | 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT'
395
+ | 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION'
396
+ | 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS';
341
397
  }
342
398
  interface GoogleAnalyticsAdminV1alphaAudienceSimpleFilter {
343
399
  /** Required. Immutable. A logical expression of Audience dimension, metric, or event filters. */
344
400
  filterExpression?: GoogleAnalyticsAdminV1alphaAudienceFilterExpression;
345
401
  /** Required. Immutable. Specifies the scope for this filter. */
346
- scope?: string;
402
+ scope?:
403
+ | 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED'
404
+ | 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT'
405
+ | 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION'
406
+ | 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS';
347
407
  }
348
408
  interface GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest {
349
409
  /** Required. The requests specifying the access bindings to create. A maximum of 1000 access bindings can be created in a batch. */
@@ -403,16 +463,30 @@ declare namespace gapi.client {
403
463
  /** Output only. If true, this calculated metric has a invalid metric reference. Anything using a calculated metric with invalid_metric_reference set to true may fail, produce warnings, or produce unexpected results. */
404
464
  invalidMetricReference?: boolean;
405
465
  /** Required. The type for the calculated metric's value. */
406
- metricUnit?: string;
407
- /** Output only. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' */
466
+ metricUnit?:
467
+ | 'METRIC_UNIT_UNSPECIFIED'
468
+ | 'STANDARD'
469
+ | 'CURRENCY'
470
+ | 'FEET'
471
+ | 'MILES'
472
+ | 'METERS'
473
+ | 'KILOMETERS'
474
+ | 'MILLISECONDS'
475
+ | 'SECONDS'
476
+ | 'MINUTES'
477
+ | 'HOURS';
478
+ /** Identifier. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' */
408
479
  name?: string;
409
480
  /** Output only. Types of restricted data that this metric contains. */
410
- restrictedMetricType?: string[];
481
+ restrictedMetricType?:
482
+ | 'RESTRICTED_METRIC_TYPE_UNSPECIFIED'
483
+ | 'COST_DATA'
484
+ | 'REVENUE_DATA'[];
411
485
  }
412
486
  interface GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest {}
413
487
  interface GoogleAnalyticsAdminV1alphaChangeHistoryChange {
414
488
  /** The type of action that changed this resource. */
415
- action?: string;
489
+ action?: 'ACTION_TYPE_UNSPECIFIED' | 'CREATED' | 'UPDATED' | 'DELETED';
416
490
  /** Resource name of the resource whose changes are described by this entry. */
417
491
  resource?: string;
418
492
  /** Resource contents from after the change was made. If this resource was deleted in this change, this field will be missing. */
@@ -479,10 +553,12 @@ declare namespace gapi.client {
479
553
  skadnetworkConversionValueSchema?: GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema;
480
554
  /** A snapshot of a SubpropertySyncConfig resource in change history. */
481
555
  subpropertySyncConfig?: GoogleAnalyticsAdminV1alphaSubpropertySyncConfig;
556
+ /** A snapshot of a UserProvidedDataSettings resource in change history. */
557
+ userProvidedDataSettings?: GoogleAnalyticsAdminV1alphaUserProvidedDataSettings;
482
558
  }
483
559
  interface GoogleAnalyticsAdminV1alphaChangeHistoryEvent {
484
560
  /** The type of actor that made this change. */
485
- actorType?: string;
561
+ actorType?: 'ACTOR_TYPE_UNSPECIFIED' | 'USER' | 'SYSTEM' | 'SUPPORT';
486
562
  /** A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest. */
487
563
  changes?: GoogleAnalyticsAdminV1alphaChangeHistoryChange[];
488
564
  /** If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event. */
@@ -536,13 +612,23 @@ declare namespace gapi.client {
536
612
  }
537
613
  interface GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter {
538
614
  /** Required. The match type for the string filter. */
539
- matchType?: string;
615
+ matchType?:
616
+ | 'MATCH_TYPE_UNSPECIFIED'
617
+ | 'EXACT'
618
+ | 'BEGINS_WITH'
619
+ | 'ENDS_WITH'
620
+ | 'CONTAINS'
621
+ | 'FULL_REGEXP'
622
+ | 'PARTIAL_REGEXP';
540
623
  /** Required. The string value to be matched against. */
541
624
  value?: string;
542
625
  }
543
626
  interface GoogleAnalyticsAdminV1alphaConversionEvent {
544
627
  /** Optional. The method by which conversions will be counted across multiple events within a session. If this value is not provided, it will be set to `ONCE_PER_EVENT`. */
545
- countingMethod?: string;
628
+ countingMethod?:
629
+ | 'CONVERSION_COUNTING_METHOD_UNSPECIFIED'
630
+ | 'ONCE_PER_EVENT'
631
+ | 'ONCE_PER_SESSION';
546
632
  /** Output only. Time when this conversion event was created in the property. */
547
633
  createTime?: string;
548
634
  /** Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property. */
@@ -553,7 +639,7 @@ declare namespace gapi.client {
553
639
  deletable?: boolean;
554
640
  /** Immutable. The event name for this conversion event. Examples: 'click', 'purchase' */
555
641
  eventName?: string;
556
- /** Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
642
+ /** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
557
643
  name?: string;
558
644
  }
559
645
  interface GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue {
@@ -564,7 +650,11 @@ declare namespace gapi.client {
564
650
  }
565
651
  interface GoogleAnalyticsAdminV1alphaConversionValues {
566
652
  /** Required. A coarse grained conversion value. This value is not guaranteed to be unique. */
567
- coarseValue?: string;
653
+ coarseValue?:
654
+ | 'COARSE_VALUE_UNSPECIFIED'
655
+ | 'COARSE_VALUE_LOW'
656
+ | 'COARSE_VALUE_MEDIUM'
657
+ | 'COARSE_VALUE_HIGH';
568
658
  /** Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units. */
569
659
  displayName?: string;
570
660
  /** Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled. */
@@ -599,12 +689,12 @@ declare namespace gapi.client {
599
689
  disallowAdsPersonalization?: boolean;
600
690
  /** Required. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets. */
601
691
  displayName?: string;
602
- /** Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
692
+ /** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
603
693
  name?: string;
604
694
  /** Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions. */
605
695
  parameterName?: string;
606
696
  /** Required. Immutable. The scope of this dimension. */
607
- scope?: string;
697
+ scope?: 'DIMENSION_SCOPE_UNSPECIFIED' | 'EVENT' | 'USER' | 'ITEM';
608
698
  }
609
699
  interface GoogleAnalyticsAdminV1alphaCustomMetric {
610
700
  /** Optional. Description for this custom dimension. Max length of 150 characters. */
@@ -612,15 +702,29 @@ declare namespace gapi.client {
612
702
  /** Required. Display name for this custom metric as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets. */
613
703
  displayName?: string;
614
704
  /** Required. The type for the custom metric's value. */
615
- measurementUnit?: string;
616
- /** Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
705
+ measurementUnit?:
706
+ | 'MEASUREMENT_UNIT_UNSPECIFIED'
707
+ | 'STANDARD'
708
+ | 'CURRENCY'
709
+ | 'FEET'
710
+ | 'METERS'
711
+ | 'KILOMETERS'
712
+ | 'MILES'
713
+ | 'MILLISECONDS'
714
+ | 'SECONDS'
715
+ | 'MINUTES'
716
+ | 'HOURS';
717
+ /** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
617
718
  name?: string;
618
719
  /** Required. Immutable. Tagging name for this custom metric. If this is an event-scoped metric, then this is the event parameter name. May only contain alphanumeric and underscore charactes, starting with a letter. Max length of 40 characters for event-scoped metrics. */
619
720
  parameterName?: string;
620
721
  /** Optional. Types of restricted data that this metric may contain. Required for metrics with CURRENCY measurement unit. Must be empty for metrics with a non-CURRENCY measurement unit. */
621
- restrictedMetricType?: string[];
722
+ restrictedMetricType?:
723
+ | 'RESTRICTED_METRIC_TYPE_UNSPECIFIED'
724
+ | 'COST_DATA'
725
+ | 'REVENUE_DATA'[];
622
726
  /** Required. Immutable. The scope of this custom metric. */
623
- scope?: string;
727
+ scope?: 'METRIC_SCOPE_UNSPECIFIED' | 'EVENT';
624
728
  }
625
729
  interface GoogleAnalyticsAdminV1alphaDataRedactionSettings {
626
730
  /** If enabled, any event parameter or user property values that look like an email will be redacted. */
@@ -634,16 +738,28 @@ declare namespace gapi.client {
634
738
  }
635
739
  interface GoogleAnalyticsAdminV1alphaDataRetentionSettings {
636
740
  /** Required. The length of time that event-level data is retained. */
637
- eventDataRetention?: string;
638
- /** Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
741
+ eventDataRetention?:
742
+ | 'RETENTION_DURATION_UNSPECIFIED'
743
+ | 'TWO_MONTHS'
744
+ | 'FOURTEEN_MONTHS'
745
+ | 'TWENTY_SIX_MONTHS'
746
+ | 'THIRTY_EIGHT_MONTHS'
747
+ | 'FIFTY_MONTHS';
748
+ /** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
639
749
  name?: string;
640
750
  /** If true, reset the retention period for the user identifier with every event from that user. */
641
751
  resetUserDataOnNewActivity?: boolean;
642
752
  /** Required. The length of time that user-level data is retained. */
643
- userDataRetention?: string;
753
+ userDataRetention?:
754
+ | 'RETENTION_DURATION_UNSPECIFIED'
755
+ | 'TWO_MONTHS'
756
+ | 'FOURTEEN_MONTHS'
757
+ | 'TWENTY_SIX_MONTHS'
758
+ | 'THIRTY_EIGHT_MONTHS'
759
+ | 'FIFTY_MONTHS';
644
760
  }
645
761
  interface GoogleAnalyticsAdminV1alphaDataSharingSettings {
646
- /** Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" */
762
+ /** Identifier. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" */
647
763
  name?: string;
648
764
  /** Deprecated. This field is no longer used and always returns false. */
649
765
  sharingWithGoogleAnySalesEnabled?: boolean;
@@ -665,10 +781,14 @@ declare namespace gapi.client {
665
781
  displayName?: string;
666
782
  /** Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM. */
667
783
  iosAppStreamData?: GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData;
668
- /** Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
784
+ /** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
669
785
  name?: string;
670
786
  /** Required. Immutable. The type of this DataStream resource. */
671
- type?: string;
787
+ type?:
788
+ | 'DATA_STREAM_TYPE_UNSPECIFIED'
789
+ | 'WEB_DATA_STREAM'
790
+ | 'ANDROID_APP_DATA_STREAM'
791
+ | 'IOS_APP_DATA_STREAM';
672
792
  /** Output only. Time when stream payload fields were last updated. */
673
793
  updateTime?: string;
674
794
  /** Data specific to web streams. Must be populated if type is WEB_DATA_STREAM. */
@@ -709,7 +829,7 @@ declare namespace gapi.client {
709
829
  campaignDataSharingEnabled?: boolean;
710
830
  /** Immutable. Enables the import of cost data from Display & Video 360 into the Google Analytics property. This can only be enabled if `campaign_data_sharing_enabled` is true. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true. */
711
831
  costDataSharingEnabled?: boolean;
712
- /** Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID */
832
+ /** Identifier. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID */
713
833
  name?: string;
714
834
  }
715
835
  interface GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal {
@@ -725,7 +845,7 @@ declare namespace gapi.client {
725
845
  costDataSharingEnabled?: boolean;
726
846
  /** Output only. The status information for this link proposal. */
727
847
  linkProposalStatusDetails?: GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails;
728
- /** Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} Note: proposalId is not the Display & Video 360 Advertiser ID */
848
+ /** Identifier. The resource name for this DisplayVideo360AdvertiserLinkProposal resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} Note: proposalId is not the Display & Video 360 Advertiser ID */
729
849
  name?: string;
730
850
  /** Input only. On a proposal being sent to Display & Video 360, this field must be set to the email address of an admin on the target advertiser. This is used to verify that the Google Analytics admin is aware of at least one admin on the Display & Video 360 Advertiser. This does not restrict approval of the proposal to a single user. Any admin on the Display & Video 360 Advertiser may approve the proposal. */
731
851
  validationEmail?: string;
@@ -836,20 +956,20 @@ declare namespace gapi.client {
836
956
  /** Optional. If true, the match is case-sensitive. If false, the match is case-insensitive. Must be true when match_type is EXACT. Must be false when match_type is CONTAINS. */
837
957
  caseSensitive?: boolean;
838
958
  /** Required. The match type for the string filter. */
839
- matchType?: string;
959
+ matchType?: 'MATCH_TYPE_UNSPECIFIED' | 'EXACT' | 'CONTAINS';
840
960
  /** Required. The string value to be matched against. */
841
961
  value?: string;
842
962
  }
843
963
  interface GoogleAnalyticsAdminV1alphaFirebaseLink {
844
964
  /** Output only. Time when this FirebaseLink was originally created. */
845
965
  createTime?: string;
846
- /** Output only. Example format: properties/1234/firebaseLinks/5678 */
966
+ /** Identifier. Example format: properties/1234/firebaseLinks/5678 */
847
967
  name?: string;
848
968
  /** Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234' */
849
969
  project?: string;
850
970
  }
851
971
  interface GoogleAnalyticsAdminV1alphaGlobalSiteTag {
852
- /** Output only. Resource name for this GlobalSiteTag resource. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag" */
972
+ /** Identifier. Resource name for this GlobalSiteTag resource. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag" */
853
973
  name?: string;
854
974
  /** Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure. */
855
975
  snippet?: string;
@@ -865,18 +985,24 @@ declare namespace gapi.client {
865
985
  creatorEmailAddress?: string;
866
986
  /** Immutable. Google Ads customer ID. */
867
987
  customerId?: string;
868
- /** Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
988
+ /** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
869
989
  name?: string;
870
990
  /** Output only. Time when this link was last updated. */
871
991
  updateTime?: string;
872
992
  }
873
993
  interface GoogleAnalyticsAdminV1alphaGoogleSignalsSettings {
874
994
  /** Output only. Terms of Service acceptance. */
875
- consent?: string;
995
+ consent?:
996
+ | 'GOOGLE_SIGNALS_CONSENT_UNSPECIFIED'
997
+ | 'GOOGLE_SIGNALS_CONSENT_CONSENTED'
998
+ | 'GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED';
876
999
  /** Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings" */
877
1000
  name?: string;
878
1001
  /** Status of this setting. */
879
- state?: string;
1002
+ state?:
1003
+ | 'GOOGLE_SIGNALS_STATE_UNSPECIFIED'
1004
+ | 'GOOGLE_SIGNALS_ENABLED'
1005
+ | 'GOOGLE_SIGNALS_DISABLED';
880
1006
  }
881
1007
  interface GoogleAnalyticsAdminV1alphaGroupingRule {
882
1008
  /** Required. Customer defined display name for the channel. */
@@ -886,7 +1012,10 @@ declare namespace gapi.client {
886
1012
  }
887
1013
  interface GoogleAnalyticsAdminV1alphaKeyEvent {
888
1014
  /** Required. The method by which Key Events will be counted across multiple events within a session. */
889
- countingMethod?: string;
1015
+ countingMethod?:
1016
+ | 'COUNTING_METHOD_UNSPECIFIED'
1017
+ | 'ONCE_PER_EVENT'
1018
+ | 'ONCE_PER_SESSION';
890
1019
  /** Output only. Time when this key event was created in the property. */
891
1020
  createTime?: string;
892
1021
  /** Output only. If set to true, this key event refers to a custom event. If set to false, this key event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom key events that may be created per property. */
@@ -908,9 +1037,19 @@ declare namespace gapi.client {
908
1037
  }
909
1038
  interface GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails {
910
1039
  /** Output only. The source of this proposal. */
911
- linkProposalInitiatingProduct?: string;
1040
+ linkProposalInitiatingProduct?:
1041
+ | 'LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED'
1042
+ | 'GOOGLE_ANALYTICS'
1043
+ | 'LINKED_PRODUCT';
912
1044
  /** Output only. The state of this proposal. */
913
- linkProposalState?: string;
1045
+ linkProposalState?:
1046
+ | 'LINK_PROPOSAL_STATE_UNSPECIFIED'
1047
+ | 'AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS'
1048
+ | 'AWAITING_REVIEW_FROM_LINKED_PRODUCT'
1049
+ | 'WITHDRAWN'
1050
+ | 'DECLINED'
1051
+ | 'EXPIRED'
1052
+ | 'OBSOLETE';
914
1053
  /** Output only. The email address of the user that proposed this linkage. */
915
1054
  requestorEmail?: string;
916
1055
  }
@@ -1084,7 +1223,22 @@ declare namespace gapi.client {
1084
1223
  }
1085
1224
  interface GoogleAnalyticsAdminV1alphaMatchingCondition {
1086
1225
  /** Required. The type of comparison to be applied to the value. */
1087
- comparisonType?: string;
1226
+ comparisonType?:
1227
+ | 'COMPARISON_TYPE_UNSPECIFIED'
1228
+ | 'EQUALS'
1229
+ | 'EQUALS_CASE_INSENSITIVE'
1230
+ | 'CONTAINS'
1231
+ | 'CONTAINS_CASE_INSENSITIVE'
1232
+ | 'STARTS_WITH'
1233
+ | 'STARTS_WITH_CASE_INSENSITIVE'
1234
+ | 'ENDS_WITH'
1235
+ | 'ENDS_WITH_CASE_INSENSITIVE'
1236
+ | 'GREATER_THAN'
1237
+ | 'GREATER_THAN_OR_EQUAL'
1238
+ | 'LESS_THAN'
1239
+ | 'LESS_THAN_OR_EQUAL'
1240
+ | 'REGULAR_EXPRESSION'
1241
+ | 'REGULAR_EXPRESSION_CASE_INSENSITIVE';
1088
1242
  /** Required. The name of the field that is compared against for the condition. If 'event_name' is specified this condition will apply to the name of the event. Otherwise the condition will apply to a parameter with the specified name. This value cannot contain spaces. */
1089
1243
  field?: string;
1090
1244
  /** Whether or not the result of the comparison should be negated. For example, if `negated` is true, then 'equals' comparisons would function as 'not equals'. */
@@ -1095,7 +1249,7 @@ declare namespace gapi.client {
1095
1249
  interface GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret {
1096
1250
  /** Required. Human-readable display name for this secret. */
1097
1251
  displayName?: string;
1098
- /** Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
1252
+ /** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
1099
1253
  name?: string;
1100
1254
  /** Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property. */
1101
1255
  secretValue?: string;
@@ -1132,15 +1286,49 @@ declare namespace gapi.client {
1132
1286
  /** Output only. If set, the time at which this trashed property will be permanently deleted. If not set, then this property is not currently in the trash can and is not slated to be deleted. */
1133
1287
  expireTime?: string;
1134
1288
  /** Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK */
1135
- industryCategory?: string;
1136
- /** Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
1289
+ industryCategory?:
1290
+ | 'INDUSTRY_CATEGORY_UNSPECIFIED'
1291
+ | 'AUTOMOTIVE'
1292
+ | 'BUSINESS_AND_INDUSTRIAL_MARKETS'
1293
+ | 'FINANCE'
1294
+ | 'HEALTHCARE'
1295
+ | 'TECHNOLOGY'
1296
+ | 'TRAVEL'
1297
+ | 'OTHER'
1298
+ | 'ARTS_AND_ENTERTAINMENT'
1299
+ | 'BEAUTY_AND_FITNESS'
1300
+ | 'BOOKS_AND_LITERATURE'
1301
+ | 'FOOD_AND_DRINK'
1302
+ | 'GAMES'
1303
+ | 'HOBBIES_AND_LEISURE'
1304
+ | 'HOME_AND_GARDEN'
1305
+ | 'INTERNET_AND_TELECOM'
1306
+ | 'LAW_AND_GOVERNMENT'
1307
+ | 'NEWS'
1308
+ | 'ONLINE_COMMUNITIES'
1309
+ | 'PEOPLE_AND_SOCIETY'
1310
+ | 'PETS_AND_ANIMALS'
1311
+ | 'REAL_ESTATE'
1312
+ | 'REFERENCE'
1313
+ | 'SCIENCE'
1314
+ | 'SPORTS'
1315
+ | 'JOBS_AND_EDUCATION'
1316
+ | 'SHOPPING';
1317
+ /** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
1137
1318
  name?: string;
1138
1319
  /** Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/101" */
1139
1320
  parent?: string;
1140
1321
  /** Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied. */
1141
- propertyType?: string;
1322
+ propertyType?:
1323
+ | 'PROPERTY_TYPE_UNSPECIFIED'
1324
+ | 'PROPERTY_TYPE_ORDINARY'
1325
+ | 'PROPERTY_TYPE_SUBPROPERTY'
1326
+ | 'PROPERTY_TYPE_ROLLUP';
1142
1327
  /** Output only. The Google Analytics service level that applies to this property. */
1143
- serviceLevel?: string;
1328
+ serviceLevel?:
1329
+ | 'SERVICE_LEVEL_UNSPECIFIED'
1330
+ | 'GOOGLE_ANALYTICS_STANDARD'
1331
+ | 'GOOGLE_ANALYTICS_360';
1144
1332
  /** Required. Reporting Time Zone, used as the day boundary for reports, regardless of where the data originates. If the time zone honors DST, Analytics will automatically adjust for the changes. NOTE: Changing the time zone only affects data going forward, and is not applied retroactively. Format: https://www.iana.org/time-zones Example: "America/Los_Angeles" */
1145
1333
  timeZone?: string;
1146
1334
  /** Output only. Time when entity payload fields were last updated. */
@@ -1154,7 +1342,11 @@ declare namespace gapi.client {
1154
1342
  /** Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000" */
1155
1343
  property?: string;
1156
1344
  /** The property's property type. */
1157
- propertyType?: string;
1345
+ propertyType?:
1346
+ | 'PROPERTY_TYPE_UNSPECIFIED'
1347
+ | 'PROPERTY_TYPE_ORDINARY'
1348
+ | 'PROPERTY_TYPE_SUBPROPERTY'
1349
+ | 'PROPERTY_TYPE_ROLLUP';
1158
1350
  }
1159
1351
  interface GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest {
1160
1352
  /** The account to create. */
@@ -1168,7 +1360,10 @@ declare namespace gapi.client {
1168
1360
  }
1169
1361
  interface GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest {
1170
1362
  /** Optional. The subproperty feature synchronization mode for Custom Dimensions and Metrics */
1171
- customDimensionAndMetricSynchronizationMode?: string;
1363
+ customDimensionAndMetricSynchronizationMode?:
1364
+ | 'SYNCHRONIZATION_MODE_UNSPECIFIED'
1365
+ | 'NONE'
1366
+ | 'ALL';
1172
1367
  /** Required. The subproperty to create. */
1173
1368
  subproperty?: GoogleAnalyticsAdminV1alphaProperty;
1174
1369
  /** Optional. The subproperty event filter to create on an ordinary property. */
@@ -1190,7 +1385,15 @@ declare namespace gapi.client {
1190
1385
  /** If set, the Reporting Data Annotation is for a range of dates represented by this field. */
1191
1386
  annotationDateRange?: GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange;
1192
1387
  /** Required. The color used for display of this Reporting Data Annotation. */
1193
- color?: string;
1388
+ color?:
1389
+ | 'COLOR_UNSPECIFIED'
1390
+ | 'PURPLE'
1391
+ | 'BROWN'
1392
+ | 'BLUE'
1393
+ | 'GREEN'
1394
+ | 'RED'
1395
+ | 'CYAN'
1396
+ | 'ORANGE';
1194
1397
  /** Optional. Description for this Reporting Data Annotation. */
1195
1398
  description?: string;
1196
1399
  /** Required. Identifier. Resource name of this Reporting Data Annotation. Format: 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format: 'properties/123/reportingDataAnnotations/456' */
@@ -1210,7 +1413,11 @@ declare namespace gapi.client {
1210
1413
  /** Output only. Identifier. Resource name for this reporting identity settings singleton resource. Format: properties/{property_id}/reportingIdentitySettings Example: "properties/1234/reportingIdentitySettings" */
1211
1414
  name?: string;
1212
1415
  /** The strategy used for identifying user identities in reports. */
1213
- reportingIdentity?: string;
1416
+ reportingIdentity?:
1417
+ | 'IDENTITY_BLENDING_STRATEGY_UNSPECIFIED'
1418
+ | 'BLENDED'
1419
+ | 'OBSERVED'
1420
+ | 'DEVICE_BASED';
1214
1421
  }
1215
1422
  interface GoogleAnalyticsAdminV1alphaRollupPropertySourceLink {
1216
1423
  /** Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format: 'properties/123/rollupPropertySourceLinks/456' */
@@ -1267,14 +1474,14 @@ declare namespace gapi.client {
1267
1474
  campaignDataSharingEnabled?: boolean;
1268
1475
  /** Immutable. Enables the import of cost data from Search Ads 360 to the Google Analytics property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true. */
1269
1476
  costDataSharingEnabled?: boolean;
1270
- /** Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID */
1477
+ /** Identifier. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID */
1271
1478
  name?: string;
1272
1479
  /** Enables export of site stats with this integration. If this field is not set on create, it will be defaulted to true. */
1273
1480
  siteStatsSharingEnabled?: boolean;
1274
1481
  }
1275
1482
  interface GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest {
1276
1483
  /** Optional. If set, only return changes that match one or more of these types of actions. */
1277
- action?: string[];
1484
+ action?: 'ACTION_TYPE_UNSPECIFIED' | 'CREATED' | 'UPDATED' | 'DELETED'[];
1278
1485
  /** Optional. If set, only return changes if they are made by a user in this list. */
1279
1486
  actorEmail?: string[];
1280
1487
  /** Optional. If set, only return changes made after this time (inclusive). */
@@ -1288,7 +1495,38 @@ declare namespace gapi.client {
1288
1495
  /** Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId} Example: `properties/100` */
1289
1496
  property?: string;
1290
1497
  /** Optional. If set, only return changes if they are for a resource that matches at least one of these types. */
1291
- resourceType?: string[];
1498
+ resourceType?:
1499
+ | 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED'
1500
+ | 'ACCOUNT'
1501
+ | 'PROPERTY'
1502
+ | 'FIREBASE_LINK'
1503
+ | 'GOOGLE_ADS_LINK'
1504
+ | 'GOOGLE_SIGNALS_SETTINGS'
1505
+ | 'CONVERSION_EVENT'
1506
+ | 'MEASUREMENT_PROTOCOL_SECRET'
1507
+ | 'CUSTOM_DIMENSION'
1508
+ | 'CUSTOM_METRIC'
1509
+ | 'DATA_RETENTION_SETTINGS'
1510
+ | 'DISPLAY_VIDEO_360_ADVERTISER_LINK'
1511
+ | 'DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL'
1512
+ | 'SEARCH_ADS_360_LINK'
1513
+ | 'DATA_STREAM'
1514
+ | 'ATTRIBUTION_SETTINGS'
1515
+ | 'EXPANDED_DATA_SET'
1516
+ | 'CHANNEL_GROUP'
1517
+ | 'BIGQUERY_LINK'
1518
+ | 'ENHANCED_MEASUREMENT_SETTINGS'
1519
+ | 'DATA_REDACTION_SETTINGS'
1520
+ | 'SKADNETWORK_CONVERSION_VALUE_SCHEMA'
1521
+ | 'ADSENSE_LINK'
1522
+ | 'AUDIENCE'
1523
+ | 'EVENT_CREATE_RULE'
1524
+ | 'KEY_EVENT'
1525
+ | 'CALCULATED_METRIC'
1526
+ | 'REPORTING_DATA_ANNOTATION'
1527
+ | 'SUBPROPERTY_SYNC_CONFIG'
1528
+ | 'REPORTING_IDENTITY_SETTINGS'
1529
+ | 'USER_PROVIDED_DATA_SETTINGS'[];
1292
1530
  }
1293
1531
  interface GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse {
1294
1532
  /** Results that were accessible to the caller. */
@@ -1299,7 +1537,7 @@ declare namespace gapi.client {
1299
1537
  interface GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema {
1300
1538
  /** If enabled, the GA SDK will set conversion values using this schema definition, and schema will be exported to any Google Ads accounts linked to this property. If disabled, the GA SDK will not automatically set conversion values, and also the schema will not be exported to Ads. */
1301
1539
  applyConversionValues?: boolean;
1302
- /** Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema */
1540
+ /** Identifier. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema */
1303
1541
  name?: string;
1304
1542
  /** Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value). Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled. */
1305
1543
  postbackWindowOne?: GoogleAnalyticsAdminV1alphaPostbackWindow;
@@ -1332,7 +1570,10 @@ declare namespace gapi.client {
1332
1570
  }
1333
1571
  interface GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause {
1334
1572
  /** Required. The type for the filter clause. */
1335
- filterClauseType?: string;
1573
+ filterClauseType?:
1574
+ | 'FILTER_CLAUSE_TYPE_UNSPECIFIED'
1575
+ | 'INCLUDE'
1576
+ | 'EXCLUDE';
1336
1577
  /** Required. The logical expression for what events are sent to the subproperty. */
1337
1578
  filterExpression?: GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression;
1338
1579
  }
@@ -1348,7 +1589,14 @@ declare namespace gapi.client {
1348
1589
  /** Optional. If true, the string value is case sensitive. If false, the match is case-insensitive. */
1349
1590
  caseSensitive?: boolean;
1350
1591
  /** Required. The match type for the string filter. */
1351
- matchType?: string;
1592
+ matchType?:
1593
+ | 'MATCH_TYPE_UNSPECIFIED'
1594
+ | 'EXACT'
1595
+ | 'BEGINS_WITH'
1596
+ | 'ENDS_WITH'
1597
+ | 'CONTAINS'
1598
+ | 'FULL_REGEXP'
1599
+ | 'PARTIAL_REGEXP';
1352
1600
  /** Required. The string value used for the matching. */
1353
1601
  value?: string;
1354
1602
  }
@@ -1368,7 +1616,10 @@ declare namespace gapi.client {
1368
1616
  /** Output only. Immutable. Resource name of the subproperty that these settings apply to. */
1369
1617
  applyToProperty?: string;
1370
1618
  /** Required. Specifies the Custom Dimension / Metric synchronization mode for the subproperty. If set to ALL, Custom Dimension / Metric synchronization will be immediately enabled. Local configuration of Custom Dimensions / Metrics will not be allowed on the subproperty so long as the synchronization mode is set to ALL. If set to NONE, Custom Dimensions / Metric synchronization is disabled. Custom Dimensions / Metrics must be configured explicitly on the Subproperty. */
1371
- customDimensionAndMetricSyncMode?: string;
1619
+ customDimensionAndMetricSyncMode?:
1620
+ | 'SYNCHRONIZATION_MODE_UNSPECIFIED'
1621
+ | 'NONE'
1622
+ | 'ALL';
1372
1623
  /** Output only. Identifier. Format: properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} Example: properties/1234/subpropertySyncConfigs/5678 */
1373
1624
  name?: string;
1374
1625
  }
@@ -1376,6 +1627,14 @@ declare namespace gapi.client {
1376
1627
  /** Required. The access binding to update. */
1377
1628
  accessBinding?: GoogleAnalyticsAdminV1alphaAccessBinding;
1378
1629
  }
1630
+ interface GoogleAnalyticsAdminV1alphaUserProvidedDataSettings {
1631
+ /** Optional. Whether this property allows a Google Tag to automatically collect user-provided data from your website. This setting only takes effect if `user_provided_data_collection_enabled` is also true. */
1632
+ automaticallyDetectedDataCollectionEnabled?: boolean;
1633
+ /** Identifier. Resource name of this setting. Format: properties/{property}/userProvidedDataSettings Example: "properties/1000/userProvidedDataSettings" */
1634
+ name?: string;
1635
+ /** Optional. Whether this property accepts user-provided data sent to it. */
1636
+ userProvidedDataCollectionEnabled?: boolean;
1637
+ }
1379
1638
  interface GoogleProtobufEmpty {}
1380
1639
  interface GoogleTypeDate {
1381
1640
  /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
@@ -1389,11 +1648,11 @@ declare namespace gapi.client {
1389
1648
  /** Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created. */
1390
1649
  batchCreate(request: {
1391
1650
  /** V1 error format. */
1392
- '$.xgafv'?: string;
1651
+ '$.xgafv'?: '1' | '2';
1393
1652
  /** OAuth access token. */
1394
1653
  access_token?: string;
1395
1654
  /** Data format for response. */
1396
- alt?: string;
1655
+ alt?: 'json' | 'media' | 'proto';
1397
1656
  /** JSONP */
1398
1657
  callback?: string;
1399
1658
  /** Selector specifying which fields to include in a partial response. */
@@ -1418,11 +1677,11 @@ declare namespace gapi.client {
1418
1677
  batchCreate(
1419
1678
  request: {
1420
1679
  /** V1 error format. */
1421
- '$.xgafv'?: string;
1680
+ '$.xgafv'?: '1' | '2';
1422
1681
  /** OAuth access token. */
1423
1682
  access_token?: string;
1424
1683
  /** Data format for response. */
1425
- alt?: string;
1684
+ alt?: 'json' | 'media' | 'proto';
1426
1685
  /** JSONP */
1427
1686
  callback?: string;
1428
1687
  /** Selector specifying which fields to include in a partial response. */
@@ -1447,11 +1706,11 @@ declare namespace gapi.client {
1447
1706
  /** Deletes information about multiple users' links to an account or property. */
1448
1707
  batchDelete(request: {
1449
1708
  /** V1 error format. */
1450
- '$.xgafv'?: string;
1709
+ '$.xgafv'?: '1' | '2';
1451
1710
  /** OAuth access token. */
1452
1711
  access_token?: string;
1453
1712
  /** Data format for response. */
1454
- alt?: string;
1713
+ alt?: 'json' | 'media' | 'proto';
1455
1714
  /** JSONP */
1456
1715
  callback?: string;
1457
1716
  /** Selector specifying which fields to include in a partial response. */
@@ -1476,11 +1735,11 @@ declare namespace gapi.client {
1476
1735
  batchDelete(
1477
1736
  request: {
1478
1737
  /** V1 error format. */
1479
- '$.xgafv'?: string;
1738
+ '$.xgafv'?: '1' | '2';
1480
1739
  /** OAuth access token. */
1481
1740
  access_token?: string;
1482
1741
  /** Data format for response. */
1483
- alt?: string;
1742
+ alt?: 'json' | 'media' | 'proto';
1484
1743
  /** JSONP */
1485
1744
  callback?: string;
1486
1745
  /** Selector specifying which fields to include in a partial response. */
@@ -1505,11 +1764,11 @@ declare namespace gapi.client {
1505
1764
  /** Gets information about multiple access bindings to an account or property. */
1506
1765
  batchGet(request?: {
1507
1766
  /** V1 error format. */
1508
- '$.xgafv'?: string;
1767
+ '$.xgafv'?: '1' | '2';
1509
1768
  /** OAuth access token. */
1510
1769
  access_token?: string;
1511
1770
  /** Data format for response. */
1512
- alt?: string;
1771
+ alt?: 'json' | 'media' | 'proto';
1513
1772
  /** JSONP */
1514
1773
  callback?: string;
1515
1774
  /** Selector specifying which fields to include in a partial response. */
@@ -1534,11 +1793,11 @@ declare namespace gapi.client {
1534
1793
  /** Updates information about multiple access bindings to an account or property. */
1535
1794
  batchUpdate(request: {
1536
1795
  /** V1 error format. */
1537
- '$.xgafv'?: string;
1796
+ '$.xgafv'?: '1' | '2';
1538
1797
  /** OAuth access token. */
1539
1798
  access_token?: string;
1540
1799
  /** Data format for response. */
1541
- alt?: string;
1800
+ alt?: 'json' | 'media' | 'proto';
1542
1801
  /** JSONP */
1543
1802
  callback?: string;
1544
1803
  /** Selector specifying which fields to include in a partial response. */
@@ -1563,11 +1822,11 @@ declare namespace gapi.client {
1563
1822
  batchUpdate(
1564
1823
  request: {
1565
1824
  /** V1 error format. */
1566
- '$.xgafv'?: string;
1825
+ '$.xgafv'?: '1' | '2';
1567
1826
  /** OAuth access token. */
1568
1827
  access_token?: string;
1569
1828
  /** Data format for response. */
1570
- alt?: string;
1829
+ alt?: 'json' | 'media' | 'proto';
1571
1830
  /** JSONP */
1572
1831
  callback?: string;
1573
1832
  /** Selector specifying which fields to include in a partial response. */
@@ -1592,11 +1851,11 @@ declare namespace gapi.client {
1592
1851
  /** Creates an access binding on an account or property. */
1593
1852
  create(request: {
1594
1853
  /** V1 error format. */
1595
- '$.xgafv'?: string;
1854
+ '$.xgafv'?: '1' | '2';
1596
1855
  /** OAuth access token. */
1597
1856
  access_token?: string;
1598
1857
  /** Data format for response. */
1599
- alt?: string;
1858
+ alt?: 'json' | 'media' | 'proto';
1600
1859
  /** JSONP */
1601
1860
  callback?: string;
1602
1861
  /** Selector specifying which fields to include in a partial response. */
@@ -1621,11 +1880,11 @@ declare namespace gapi.client {
1621
1880
  create(
1622
1881
  request: {
1623
1882
  /** V1 error format. */
1624
- '$.xgafv'?: string;
1883
+ '$.xgafv'?: '1' | '2';
1625
1884
  /** OAuth access token. */
1626
1885
  access_token?: string;
1627
1886
  /** Data format for response. */
1628
- alt?: string;
1887
+ alt?: 'json' | 'media' | 'proto';
1629
1888
  /** JSONP */
1630
1889
  callback?: string;
1631
1890
  /** Selector specifying which fields to include in a partial response. */
@@ -1650,11 +1909,11 @@ declare namespace gapi.client {
1650
1909
  /** Deletes an access binding on an account or property. */
1651
1910
  delete(request?: {
1652
1911
  /** V1 error format. */
1653
- '$.xgafv'?: string;
1912
+ '$.xgafv'?: '1' | '2';
1654
1913
  /** OAuth access token. */
1655
1914
  access_token?: string;
1656
1915
  /** Data format for response. */
1657
- alt?: string;
1916
+ alt?: 'json' | 'media' | 'proto';
1658
1917
  /** JSONP */
1659
1918
  callback?: string;
1660
1919
  /** Selector specifying which fields to include in a partial response. */
@@ -1677,11 +1936,11 @@ declare namespace gapi.client {
1677
1936
  /** Gets information about an access binding. */
1678
1937
  get(request?: {
1679
1938
  /** V1 error format. */
1680
- '$.xgafv'?: string;
1939
+ '$.xgafv'?: '1' | '2';
1681
1940
  /** OAuth access token. */
1682
1941
  access_token?: string;
1683
1942
  /** Data format for response. */
1684
- alt?: string;
1943
+ alt?: 'json' | 'media' | 'proto';
1685
1944
  /** JSONP */
1686
1945
  callback?: string;
1687
1946
  /** Selector specifying which fields to include in a partial response. */
@@ -1704,11 +1963,11 @@ declare namespace gapi.client {
1704
1963
  /** Lists all access bindings on an account or property. */
1705
1964
  list(request?: {
1706
1965
  /** V1 error format. */
1707
- '$.xgafv'?: string;
1966
+ '$.xgafv'?: '1' | '2';
1708
1967
  /** OAuth access token. */
1709
1968
  access_token?: string;
1710
1969
  /** Data format for response. */
1711
- alt?: string;
1970
+ alt?: 'json' | 'media' | 'proto';
1712
1971
  /** JSONP */
1713
1972
  callback?: string;
1714
1973
  /** Selector specifying which fields to include in a partial response. */
@@ -1735,11 +1994,11 @@ declare namespace gapi.client {
1735
1994
  /** Updates an access binding on an account or property. */
1736
1995
  patch(request: {
1737
1996
  /** V1 error format. */
1738
- '$.xgafv'?: string;
1997
+ '$.xgafv'?: '1' | '2';
1739
1998
  /** OAuth access token. */
1740
1999
  access_token?: string;
1741
2000
  /** Data format for response. */
1742
- alt?: string;
2001
+ alt?: 'json' | 'media' | 'proto';
1743
2002
  /** JSONP */
1744
2003
  callback?: string;
1745
2004
  /** Selector specifying which fields to include in a partial response. */
@@ -1764,11 +2023,11 @@ declare namespace gapi.client {
1764
2023
  patch(
1765
2024
  request: {
1766
2025
  /** V1 error format. */
1767
- '$.xgafv'?: string;
2026
+ '$.xgafv'?: '1' | '2';
1768
2027
  /** OAuth access token. */
1769
2028
  access_token?: string;
1770
2029
  /** Data format for response. */
1771
- alt?: string;
2030
+ alt?: 'json' | 'media' | 'proto';
1772
2031
  /** JSONP */
1773
2032
  callback?: string;
1774
2033
  /** Selector specifying which fields to include in a partial response. */
@@ -1795,11 +2054,11 @@ declare namespace gapi.client {
1795
2054
  /** Marks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found. */
1796
2055
  delete(request?: {
1797
2056
  /** V1 error format. */
1798
- '$.xgafv'?: string;
2057
+ '$.xgafv'?: '1' | '2';
1799
2058
  /** OAuth access token. */
1800
2059
  access_token?: string;
1801
2060
  /** Data format for response. */
1802
- alt?: string;
2061
+ alt?: 'json' | 'media' | 'proto';
1803
2062
  /** JSONP */
1804
2063
  callback?: string;
1805
2064
  /** Selector specifying which fields to include in a partial response. */
@@ -1822,11 +2081,11 @@ declare namespace gapi.client {
1822
2081
  /** Lookup for a single Account. */
1823
2082
  get(request?: {
1824
2083
  /** V1 error format. */
1825
- '$.xgafv'?: string;
2084
+ '$.xgafv'?: '1' | '2';
1826
2085
  /** OAuth access token. */
1827
2086
  access_token?: string;
1828
2087
  /** Data format for response. */
1829
- alt?: string;
2088
+ alt?: 'json' | 'media' | 'proto';
1830
2089
  /** JSONP */
1831
2090
  callback?: string;
1832
2091
  /** Selector specifying which fields to include in a partial response. */
@@ -1849,11 +2108,11 @@ declare namespace gapi.client {
1849
2108
  /** Get data sharing settings on an account. Data sharing settings are singletons. */
1850
2109
  getDataSharingSettings(request?: {
1851
2110
  /** V1 error format. */
1852
- '$.xgafv'?: string;
2111
+ '$.xgafv'?: '1' | '2';
1853
2112
  /** OAuth access token. */
1854
2113
  access_token?: string;
1855
2114
  /** Data format for response. */
1856
- alt?: string;
2115
+ alt?: 'json' | 'media' | 'proto';
1857
2116
  /** JSONP */
1858
2117
  callback?: string;
1859
2118
  /** Selector specifying which fields to include in a partial response. */
@@ -1876,11 +2135,11 @@ declare namespace gapi.client {
1876
2135
  /** Returns all accounts accessible by the caller. Note that these accounts might not currently have GA properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found. */
1877
2136
  list(request?: {
1878
2137
  /** V1 error format. */
1879
- '$.xgafv'?: string;
2138
+ '$.xgafv'?: '1' | '2';
1880
2139
  /** OAuth access token. */
1881
2140
  access_token?: string;
1882
2141
  /** Data format for response. */
1883
- alt?: string;
2142
+ alt?: 'json' | 'media' | 'proto';
1884
2143
  /** JSONP */
1885
2144
  callback?: string;
1886
2145
  /** Selector specifying which fields to include in a partial response. */
@@ -1889,9 +2148,9 @@ declare namespace gapi.client {
1889
2148
  key?: string;
1890
2149
  /** OAuth 2.0 token for the current user. */
1891
2150
  oauth_token?: string;
1892
- /** The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
2151
+ /** Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
1893
2152
  pageSize?: number;
1894
- /** A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token. */
2153
+ /** Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token. */
1895
2154
  pageToken?: string;
1896
2155
  /** Returns response with indentations and line breaks. */
1897
2156
  prettyPrint?: boolean;
@@ -1907,18 +2166,18 @@ declare namespace gapi.client {
1907
2166
  /** Updates an account. */
1908
2167
  patch(request: {
1909
2168
  /** V1 error format. */
1910
- '$.xgafv'?: string;
2169
+ '$.xgafv'?: '1' | '2';
1911
2170
  /** OAuth access token. */
1912
2171
  access_token?: string;
1913
2172
  /** Data format for response. */
1914
- alt?: string;
2173
+ alt?: 'json' | 'media' | 'proto';
1915
2174
  /** JSONP */
1916
2175
  callback?: string;
1917
2176
  /** Selector specifying which fields to include in a partial response. */
1918
2177
  fields?: string;
1919
2178
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1920
2179
  key?: string;
1921
- /** Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
2180
+ /** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
1922
2181
  name: string;
1923
2182
  /** OAuth 2.0 token for the current user. */
1924
2183
  oauth_token?: string;
@@ -1938,18 +2197,18 @@ declare namespace gapi.client {
1938
2197
  patch(
1939
2198
  request: {
1940
2199
  /** V1 error format. */
1941
- '$.xgafv'?: string;
2200
+ '$.xgafv'?: '1' | '2';
1942
2201
  /** OAuth access token. */
1943
2202
  access_token?: string;
1944
2203
  /** Data format for response. */
1945
- alt?: string;
2204
+ alt?: 'json' | 'media' | 'proto';
1946
2205
  /** JSONP */
1947
2206
  callback?: string;
1948
2207
  /** Selector specifying which fields to include in a partial response. */
1949
2208
  fields?: string;
1950
2209
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1951
2210
  key?: string;
1952
- /** Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
2211
+ /** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
1953
2212
  name: string;
1954
2213
  /** OAuth 2.0 token for the current user. */
1955
2214
  oauth_token?: string;
@@ -1969,11 +2228,11 @@ declare namespace gapi.client {
1969
2228
  /** Requests a ticket for creating an account. */
1970
2229
  provisionAccountTicket(request: {
1971
2230
  /** V1 error format. */
1972
- '$.xgafv'?: string;
2231
+ '$.xgafv'?: '1' | '2';
1973
2232
  /** OAuth access token. */
1974
2233
  access_token?: string;
1975
2234
  /** Data format for response. */
1976
- alt?: string;
2235
+ alt?: 'json' | 'media' | 'proto';
1977
2236
  /** JSONP */
1978
2237
  callback?: string;
1979
2238
  /** Selector specifying which fields to include in a partial response. */
@@ -1996,11 +2255,11 @@ declare namespace gapi.client {
1996
2255
  provisionAccountTicket(
1997
2256
  request: {
1998
2257
  /** V1 error format. */
1999
- '$.xgafv'?: string;
2258
+ '$.xgafv'?: '1' | '2';
2000
2259
  /** OAuth access token. */
2001
2260
  access_token?: string;
2002
2261
  /** Data format for response. */
2003
- alt?: string;
2262
+ alt?: 'json' | 'media' | 'proto';
2004
2263
  /** JSONP */
2005
2264
  callback?: string;
2006
2265
  /** Selector specifying which fields to include in a partial response. */
@@ -2023,11 +2282,11 @@ declare namespace gapi.client {
2023
2282
  /** Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). To give your feedback on this API, complete the [Google Analytics Access Reports feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form. */
2024
2283
  runAccessReport(request: {
2025
2284
  /** V1 error format. */
2026
- '$.xgafv'?: string;
2285
+ '$.xgafv'?: '1' | '2';
2027
2286
  /** OAuth access token. */
2028
2287
  access_token?: string;
2029
2288
  /** Data format for response. */
2030
- alt?: string;
2289
+ alt?: 'json' | 'media' | 'proto';
2031
2290
  /** JSONP */
2032
2291
  callback?: string;
2033
2292
  /** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID. */
@@ -2052,11 +2311,11 @@ declare namespace gapi.client {
2052
2311
  runAccessReport(
2053
2312
  request: {
2054
2313
  /** V1 error format. */
2055
- '$.xgafv'?: string;
2314
+ '$.xgafv'?: '1' | '2';
2056
2315
  /** OAuth access token. */
2057
2316
  access_token?: string;
2058
2317
  /** Data format for response. */
2059
- alt?: string;
2318
+ alt?: 'json' | 'media' | 'proto';
2060
2319
  /** JSONP */
2061
2320
  callback?: string;
2062
2321
  /** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID. */
@@ -2081,13 +2340,13 @@ declare namespace gapi.client {
2081
2340
  /** Searches through all changes to an account or its children given the specified set of filters. Only returns the subset of changes supported by the API. The UI may return additional changes. */
2082
2341
  searchChangeHistoryEvents(request: {
2083
2342
  /** V1 error format. */
2084
- '$.xgafv'?: string;
2343
+ '$.xgafv'?: '1' | '2';
2085
2344
  /** OAuth access token. */
2086
2345
  access_token?: string;
2087
2346
  /** Required. The account resource for which to return change history resources. Format: accounts/{account} Example: `accounts/100` */
2088
2347
  account: string;
2089
2348
  /** Data format for response. */
2090
- alt?: string;
2349
+ alt?: 'json' | 'media' | 'proto';
2091
2350
  /** JSONP */
2092
2351
  callback?: string;
2093
2352
  /** Selector specifying which fields to include in a partial response. */
@@ -2110,13 +2369,13 @@ declare namespace gapi.client {
2110
2369
  searchChangeHistoryEvents(
2111
2370
  request: {
2112
2371
  /** V1 error format. */
2113
- '$.xgafv'?: string;
2372
+ '$.xgafv'?: '1' | '2';
2114
2373
  /** OAuth access token. */
2115
2374
  access_token?: string;
2116
2375
  /** Required. The account resource for which to return change history resources. Format: accounts/{account} Example: `accounts/100` */
2117
2376
  account: string;
2118
2377
  /** Data format for response. */
2119
- alt?: string;
2378
+ alt?: 'json' | 'media' | 'proto';
2120
2379
  /** JSONP */
2121
2380
  callback?: string;
2122
2381
  /** Selector specifying which fields to include in a partial response. */
@@ -2142,11 +2401,11 @@ declare namespace gapi.client {
2142
2401
  /** Returns summaries of all accounts accessible by the caller. */
2143
2402
  list(request?: {
2144
2403
  /** V1 error format. */
2145
- '$.xgafv'?: string;
2404
+ '$.xgafv'?: '1' | '2';
2146
2405
  /** OAuth access token. */
2147
2406
  access_token?: string;
2148
2407
  /** Data format for response. */
2149
- alt?: string;
2408
+ alt?: 'json' | 'media' | 'proto';
2150
2409
  /** JSONP */
2151
2410
  callback?: string;
2152
2411
  /** Selector specifying which fields to include in a partial response. */
@@ -2155,9 +2414,9 @@ declare namespace gapi.client {
2155
2414
  key?: string;
2156
2415
  /** OAuth 2.0 token for the current user. */
2157
2416
  oauth_token?: string;
2158
- /** The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
2417
+ /** Optional. The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
2159
2418
  pageSize?: number;
2160
- /** A page token, received from a previous `ListAccountSummaries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountSummaries` must match the call that provided the page token. */
2419
+ /** Optional. A page token, received from a previous `ListAccountSummaries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountSummaries` must match the call that provided the page token. */
2161
2420
  pageToken?: string;
2162
2421
  /** Returns response with indentations and line breaks. */
2163
2422
  prettyPrint?: boolean;
@@ -2173,11 +2432,11 @@ declare namespace gapi.client {
2173
2432
  /** Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created. */
2174
2433
  batchCreate(request: {
2175
2434
  /** V1 error format. */
2176
- '$.xgafv'?: string;
2435
+ '$.xgafv'?: '1' | '2';
2177
2436
  /** OAuth access token. */
2178
2437
  access_token?: string;
2179
2438
  /** Data format for response. */
2180
- alt?: string;
2439
+ alt?: 'json' | 'media' | 'proto';
2181
2440
  /** JSONP */
2182
2441
  callback?: string;
2183
2442
  /** Selector specifying which fields to include in a partial response. */
@@ -2202,11 +2461,11 @@ declare namespace gapi.client {
2202
2461
  batchCreate(
2203
2462
  request: {
2204
2463
  /** V1 error format. */
2205
- '$.xgafv'?: string;
2464
+ '$.xgafv'?: '1' | '2';
2206
2465
  /** OAuth access token. */
2207
2466
  access_token?: string;
2208
2467
  /** Data format for response. */
2209
- alt?: string;
2468
+ alt?: 'json' | 'media' | 'proto';
2210
2469
  /** JSONP */
2211
2470
  callback?: string;
2212
2471
  /** Selector specifying which fields to include in a partial response. */
@@ -2231,11 +2490,11 @@ declare namespace gapi.client {
2231
2490
  /** Deletes information about multiple users' links to an account or property. */
2232
2491
  batchDelete(request: {
2233
2492
  /** V1 error format. */
2234
- '$.xgafv'?: string;
2493
+ '$.xgafv'?: '1' | '2';
2235
2494
  /** OAuth access token. */
2236
2495
  access_token?: string;
2237
2496
  /** Data format for response. */
2238
- alt?: string;
2497
+ alt?: 'json' | 'media' | 'proto';
2239
2498
  /** JSONP */
2240
2499
  callback?: string;
2241
2500
  /** Selector specifying which fields to include in a partial response. */
@@ -2260,11 +2519,11 @@ declare namespace gapi.client {
2260
2519
  batchDelete(
2261
2520
  request: {
2262
2521
  /** V1 error format. */
2263
- '$.xgafv'?: string;
2522
+ '$.xgafv'?: '1' | '2';
2264
2523
  /** OAuth access token. */
2265
2524
  access_token?: string;
2266
2525
  /** Data format for response. */
2267
- alt?: string;
2526
+ alt?: 'json' | 'media' | 'proto';
2268
2527
  /** JSONP */
2269
2528
  callback?: string;
2270
2529
  /** Selector specifying which fields to include in a partial response. */
@@ -2289,11 +2548,11 @@ declare namespace gapi.client {
2289
2548
  /** Gets information about multiple access bindings to an account or property. */
2290
2549
  batchGet(request?: {
2291
2550
  /** V1 error format. */
2292
- '$.xgafv'?: string;
2551
+ '$.xgafv'?: '1' | '2';
2293
2552
  /** OAuth access token. */
2294
2553
  access_token?: string;
2295
2554
  /** Data format for response. */
2296
- alt?: string;
2555
+ alt?: 'json' | 'media' | 'proto';
2297
2556
  /** JSONP */
2298
2557
  callback?: string;
2299
2558
  /** Selector specifying which fields to include in a partial response. */
@@ -2318,11 +2577,11 @@ declare namespace gapi.client {
2318
2577
  /** Updates information about multiple access bindings to an account or property. */
2319
2578
  batchUpdate(request: {
2320
2579
  /** V1 error format. */
2321
- '$.xgafv'?: string;
2580
+ '$.xgafv'?: '1' | '2';
2322
2581
  /** OAuth access token. */
2323
2582
  access_token?: string;
2324
2583
  /** Data format for response. */
2325
- alt?: string;
2584
+ alt?: 'json' | 'media' | 'proto';
2326
2585
  /** JSONP */
2327
2586
  callback?: string;
2328
2587
  /** Selector specifying which fields to include in a partial response. */
@@ -2347,11 +2606,11 @@ declare namespace gapi.client {
2347
2606
  batchUpdate(
2348
2607
  request: {
2349
2608
  /** V1 error format. */
2350
- '$.xgafv'?: string;
2609
+ '$.xgafv'?: '1' | '2';
2351
2610
  /** OAuth access token. */
2352
2611
  access_token?: string;
2353
2612
  /** Data format for response. */
2354
- alt?: string;
2613
+ alt?: 'json' | 'media' | 'proto';
2355
2614
  /** JSONP */
2356
2615
  callback?: string;
2357
2616
  /** Selector specifying which fields to include in a partial response. */
@@ -2376,11 +2635,11 @@ declare namespace gapi.client {
2376
2635
  /** Creates an access binding on an account or property. */
2377
2636
  create(request: {
2378
2637
  /** V1 error format. */
2379
- '$.xgafv'?: string;
2638
+ '$.xgafv'?: '1' | '2';
2380
2639
  /** OAuth access token. */
2381
2640
  access_token?: string;
2382
2641
  /** Data format for response. */
2383
- alt?: string;
2642
+ alt?: 'json' | 'media' | 'proto';
2384
2643
  /** JSONP */
2385
2644
  callback?: string;
2386
2645
  /** Selector specifying which fields to include in a partial response. */
@@ -2405,11 +2664,11 @@ declare namespace gapi.client {
2405
2664
  create(
2406
2665
  request: {
2407
2666
  /** V1 error format. */
2408
- '$.xgafv'?: string;
2667
+ '$.xgafv'?: '1' | '2';
2409
2668
  /** OAuth access token. */
2410
2669
  access_token?: string;
2411
2670
  /** Data format for response. */
2412
- alt?: string;
2671
+ alt?: 'json' | 'media' | 'proto';
2413
2672
  /** JSONP */
2414
2673
  callback?: string;
2415
2674
  /** Selector specifying which fields to include in a partial response. */
@@ -2434,11 +2693,11 @@ declare namespace gapi.client {
2434
2693
  /** Deletes an access binding on an account or property. */
2435
2694
  delete(request?: {
2436
2695
  /** V1 error format. */
2437
- '$.xgafv'?: string;
2696
+ '$.xgafv'?: '1' | '2';
2438
2697
  /** OAuth access token. */
2439
2698
  access_token?: string;
2440
2699
  /** Data format for response. */
2441
- alt?: string;
2700
+ alt?: 'json' | 'media' | 'proto';
2442
2701
  /** JSONP */
2443
2702
  callback?: string;
2444
2703
  /** Selector specifying which fields to include in a partial response. */
@@ -2461,11 +2720,11 @@ declare namespace gapi.client {
2461
2720
  /** Gets information about an access binding. */
2462
2721
  get(request?: {
2463
2722
  /** V1 error format. */
2464
- '$.xgafv'?: string;
2723
+ '$.xgafv'?: '1' | '2';
2465
2724
  /** OAuth access token. */
2466
2725
  access_token?: string;
2467
2726
  /** Data format for response. */
2468
- alt?: string;
2727
+ alt?: 'json' | 'media' | 'proto';
2469
2728
  /** JSONP */
2470
2729
  callback?: string;
2471
2730
  /** Selector specifying which fields to include in a partial response. */
@@ -2488,11 +2747,11 @@ declare namespace gapi.client {
2488
2747
  /** Lists all access bindings on an account or property. */
2489
2748
  list(request?: {
2490
2749
  /** V1 error format. */
2491
- '$.xgafv'?: string;
2750
+ '$.xgafv'?: '1' | '2';
2492
2751
  /** OAuth access token. */
2493
2752
  access_token?: string;
2494
2753
  /** Data format for response. */
2495
- alt?: string;
2754
+ alt?: 'json' | 'media' | 'proto';
2496
2755
  /** JSONP */
2497
2756
  callback?: string;
2498
2757
  /** Selector specifying which fields to include in a partial response. */
@@ -2519,11 +2778,11 @@ declare namespace gapi.client {
2519
2778
  /** Updates an access binding on an account or property. */
2520
2779
  patch(request: {
2521
2780
  /** V1 error format. */
2522
- '$.xgafv'?: string;
2781
+ '$.xgafv'?: '1' | '2';
2523
2782
  /** OAuth access token. */
2524
2783
  access_token?: string;
2525
2784
  /** Data format for response. */
2526
- alt?: string;
2785
+ alt?: 'json' | 'media' | 'proto';
2527
2786
  /** JSONP */
2528
2787
  callback?: string;
2529
2788
  /** Selector specifying which fields to include in a partial response. */
@@ -2548,11 +2807,11 @@ declare namespace gapi.client {
2548
2807
  patch(
2549
2808
  request: {
2550
2809
  /** V1 error format. */
2551
- '$.xgafv'?: string;
2810
+ '$.xgafv'?: '1' | '2';
2552
2811
  /** OAuth access token. */
2553
2812
  access_token?: string;
2554
2813
  /** Data format for response. */
2555
- alt?: string;
2814
+ alt?: 'json' | 'media' | 'proto';
2556
2815
  /** JSONP */
2557
2816
  callback?: string;
2558
2817
  /** Selector specifying which fields to include in a partial response. */
@@ -2579,11 +2838,11 @@ declare namespace gapi.client {
2579
2838
  /** Creates an AdSenseLink. */
2580
2839
  create(request: {
2581
2840
  /** V1 error format. */
2582
- '$.xgafv'?: string;
2841
+ '$.xgafv'?: '1' | '2';
2583
2842
  /** OAuth access token. */
2584
2843
  access_token?: string;
2585
2844
  /** Data format for response. */
2586
- alt?: string;
2845
+ alt?: 'json' | 'media' | 'proto';
2587
2846
  /** JSONP */
2588
2847
  callback?: string;
2589
2848
  /** Selector specifying which fields to include in a partial response. */
@@ -2608,11 +2867,11 @@ declare namespace gapi.client {
2608
2867
  create(
2609
2868
  request: {
2610
2869
  /** V1 error format. */
2611
- '$.xgafv'?: string;
2870
+ '$.xgafv'?: '1' | '2';
2612
2871
  /** OAuth access token. */
2613
2872
  access_token?: string;
2614
2873
  /** Data format for response. */
2615
- alt?: string;
2874
+ alt?: 'json' | 'media' | 'proto';
2616
2875
  /** JSONP */
2617
2876
  callback?: string;
2618
2877
  /** Selector specifying which fields to include in a partial response. */
@@ -2637,11 +2896,11 @@ declare namespace gapi.client {
2637
2896
  /** Deletes an AdSenseLink. */
2638
2897
  delete(request?: {
2639
2898
  /** V1 error format. */
2640
- '$.xgafv'?: string;
2899
+ '$.xgafv'?: '1' | '2';
2641
2900
  /** OAuth access token. */
2642
2901
  access_token?: string;
2643
2902
  /** Data format for response. */
2644
- alt?: string;
2903
+ alt?: 'json' | 'media' | 'proto';
2645
2904
  /** JSONP */
2646
2905
  callback?: string;
2647
2906
  /** Selector specifying which fields to include in a partial response. */
@@ -2664,11 +2923,11 @@ declare namespace gapi.client {
2664
2923
  /** Looks up a single AdSenseLink. */
2665
2924
  get(request?: {
2666
2925
  /** V1 error format. */
2667
- '$.xgafv'?: string;
2926
+ '$.xgafv'?: '1' | '2';
2668
2927
  /** OAuth access token. */
2669
2928
  access_token?: string;
2670
2929
  /** Data format for response. */
2671
- alt?: string;
2930
+ alt?: 'json' | 'media' | 'proto';
2672
2931
  /** JSONP */
2673
2932
  callback?: string;
2674
2933
  /** Selector specifying which fields to include in a partial response. */
@@ -2691,11 +2950,11 @@ declare namespace gapi.client {
2691
2950
  /** Lists AdSenseLinks on a property. */
2692
2951
  list(request?: {
2693
2952
  /** V1 error format. */
2694
- '$.xgafv'?: string;
2953
+ '$.xgafv'?: '1' | '2';
2695
2954
  /** OAuth access token. */
2696
2955
  access_token?: string;
2697
2956
  /** Data format for response. */
2698
- alt?: string;
2957
+ alt?: 'json' | 'media' | 'proto';
2699
2958
  /** JSONP */
2700
2959
  callback?: string;
2701
2960
  /** Selector specifying which fields to include in a partial response. */
@@ -2724,11 +2983,11 @@ declare namespace gapi.client {
2724
2983
  /** Archives an Audience on a property. */
2725
2984
  archive(request: {
2726
2985
  /** V1 error format. */
2727
- '$.xgafv'?: string;
2986
+ '$.xgafv'?: '1' | '2';
2728
2987
  /** OAuth access token. */
2729
2988
  access_token?: string;
2730
2989
  /** Data format for response. */
2731
- alt?: string;
2990
+ alt?: 'json' | 'media' | 'proto';
2732
2991
  /** JSONP */
2733
2992
  callback?: string;
2734
2993
  /** Selector specifying which fields to include in a partial response. */
@@ -2753,11 +3012,11 @@ declare namespace gapi.client {
2753
3012
  archive(
2754
3013
  request: {
2755
3014
  /** V1 error format. */
2756
- '$.xgafv'?: string;
3015
+ '$.xgafv'?: '1' | '2';
2757
3016
  /** OAuth access token. */
2758
3017
  access_token?: string;
2759
3018
  /** Data format for response. */
2760
- alt?: string;
3019
+ alt?: 'json' | 'media' | 'proto';
2761
3020
  /** JSONP */
2762
3021
  callback?: string;
2763
3022
  /** Selector specifying which fields to include in a partial response. */
@@ -2782,11 +3041,11 @@ declare namespace gapi.client {
2782
3041
  /** Creates an Audience. */
2783
3042
  create(request: {
2784
3043
  /** V1 error format. */
2785
- '$.xgafv'?: string;
3044
+ '$.xgafv'?: '1' | '2';
2786
3045
  /** OAuth access token. */
2787
3046
  access_token?: string;
2788
3047
  /** Data format for response. */
2789
- alt?: string;
3048
+ alt?: 'json' | 'media' | 'proto';
2790
3049
  /** JSONP */
2791
3050
  callback?: string;
2792
3051
  /** Selector specifying which fields to include in a partial response. */
@@ -2811,11 +3070,11 @@ declare namespace gapi.client {
2811
3070
  create(
2812
3071
  request: {
2813
3072
  /** V1 error format. */
2814
- '$.xgafv'?: string;
3073
+ '$.xgafv'?: '1' | '2';
2815
3074
  /** OAuth access token. */
2816
3075
  access_token?: string;
2817
3076
  /** Data format for response. */
2818
- alt?: string;
3077
+ alt?: 'json' | 'media' | 'proto';
2819
3078
  /** JSONP */
2820
3079
  callback?: string;
2821
3080
  /** Selector specifying which fields to include in a partial response. */
@@ -2840,11 +3099,11 @@ declare namespace gapi.client {
2840
3099
  /** Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions. */
2841
3100
  get(request?: {
2842
3101
  /** V1 error format. */
2843
- '$.xgafv'?: string;
3102
+ '$.xgafv'?: '1' | '2';
2844
3103
  /** OAuth access token. */
2845
3104
  access_token?: string;
2846
3105
  /** Data format for response. */
2847
- alt?: string;
3106
+ alt?: 'json' | 'media' | 'proto';
2848
3107
  /** JSONP */
2849
3108
  callback?: string;
2850
3109
  /** Selector specifying which fields to include in a partial response. */
@@ -2867,11 +3126,11 @@ declare namespace gapi.client {
2867
3126
  /** Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions. */
2868
3127
  list(request?: {
2869
3128
  /** V1 error format. */
2870
- '$.xgafv'?: string;
3129
+ '$.xgafv'?: '1' | '2';
2871
3130
  /** OAuth access token. */
2872
3131
  access_token?: string;
2873
3132
  /** Data format for response. */
2874
- alt?: string;
3133
+ alt?: 'json' | 'media' | 'proto';
2875
3134
  /** JSONP */
2876
3135
  callback?: string;
2877
3136
  /** Selector specifying which fields to include in a partial response. */
@@ -2898,11 +3157,11 @@ declare namespace gapi.client {
2898
3157
  /** Updates an Audience on a property. */
2899
3158
  patch(request: {
2900
3159
  /** V1 error format. */
2901
- '$.xgafv'?: string;
3160
+ '$.xgafv'?: '1' | '2';
2902
3161
  /** OAuth access token. */
2903
3162
  access_token?: string;
2904
3163
  /** Data format for response. */
2905
- alt?: string;
3164
+ alt?: 'json' | 'media' | 'proto';
2906
3165
  /** JSONP */
2907
3166
  callback?: string;
2908
3167
  /** Selector specifying which fields to include in a partial response. */
@@ -2929,11 +3188,11 @@ declare namespace gapi.client {
2929
3188
  patch(
2930
3189
  request: {
2931
3190
  /** V1 error format. */
2932
- '$.xgafv'?: string;
3191
+ '$.xgafv'?: '1' | '2';
2933
3192
  /** OAuth access token. */
2934
3193
  access_token?: string;
2935
3194
  /** Data format for response. */
2936
- alt?: string;
3195
+ alt?: 'json' | 'media' | 'proto';
2937
3196
  /** JSONP */
2938
3197
  callback?: string;
2939
3198
  /** Selector specifying which fields to include in a partial response. */
@@ -2962,11 +3221,11 @@ declare namespace gapi.client {
2962
3221
  /** Creates a BigQueryLink. */
2963
3222
  create(request: {
2964
3223
  /** V1 error format. */
2965
- '$.xgafv'?: string;
3224
+ '$.xgafv'?: '1' | '2';
2966
3225
  /** OAuth access token. */
2967
3226
  access_token?: string;
2968
3227
  /** Data format for response. */
2969
- alt?: string;
3228
+ alt?: 'json' | 'media' | 'proto';
2970
3229
  /** JSONP */
2971
3230
  callback?: string;
2972
3231
  /** Selector specifying which fields to include in a partial response. */
@@ -2991,11 +3250,11 @@ declare namespace gapi.client {
2991
3250
  create(
2992
3251
  request: {
2993
3252
  /** V1 error format. */
2994
- '$.xgafv'?: string;
3253
+ '$.xgafv'?: '1' | '2';
2995
3254
  /** OAuth access token. */
2996
3255
  access_token?: string;
2997
3256
  /** Data format for response. */
2998
- alt?: string;
3257
+ alt?: 'json' | 'media' | 'proto';
2999
3258
  /** JSONP */
3000
3259
  callback?: string;
3001
3260
  /** Selector specifying which fields to include in a partial response. */
@@ -3020,11 +3279,11 @@ declare namespace gapi.client {
3020
3279
  /** Deletes a BigQueryLink on a property. */
3021
3280
  delete(request?: {
3022
3281
  /** V1 error format. */
3023
- '$.xgafv'?: string;
3282
+ '$.xgafv'?: '1' | '2';
3024
3283
  /** OAuth access token. */
3025
3284
  access_token?: string;
3026
3285
  /** Data format for response. */
3027
- alt?: string;
3286
+ alt?: 'json' | 'media' | 'proto';
3028
3287
  /** JSONP */
3029
3288
  callback?: string;
3030
3289
  /** Selector specifying which fields to include in a partial response. */
@@ -3047,11 +3306,11 @@ declare namespace gapi.client {
3047
3306
  /** Lookup for a single BigQuery Link. */
3048
3307
  get(request?: {
3049
3308
  /** V1 error format. */
3050
- '$.xgafv'?: string;
3309
+ '$.xgafv'?: '1' | '2';
3051
3310
  /** OAuth access token. */
3052
3311
  access_token?: string;
3053
3312
  /** Data format for response. */
3054
- alt?: string;
3313
+ alt?: 'json' | 'media' | 'proto';
3055
3314
  /** JSONP */
3056
3315
  callback?: string;
3057
3316
  /** Selector specifying which fields to include in a partial response. */
@@ -3074,11 +3333,11 @@ declare namespace gapi.client {
3074
3333
  /** Lists BigQuery Links on a property. */
3075
3334
  list(request?: {
3076
3335
  /** V1 error format. */
3077
- '$.xgafv'?: string;
3336
+ '$.xgafv'?: '1' | '2';
3078
3337
  /** OAuth access token. */
3079
3338
  access_token?: string;
3080
3339
  /** Data format for response. */
3081
- alt?: string;
3340
+ alt?: 'json' | 'media' | 'proto';
3082
3341
  /** JSONP */
3083
3342
  callback?: string;
3084
3343
  /** Selector specifying which fields to include in a partial response. */
@@ -3105,11 +3364,11 @@ declare namespace gapi.client {
3105
3364
  /** Updates a BigQueryLink. */
3106
3365
  patch(request: {
3107
3366
  /** V1 error format. */
3108
- '$.xgafv'?: string;
3367
+ '$.xgafv'?: '1' | '2';
3109
3368
  /** OAuth access token. */
3110
3369
  access_token?: string;
3111
3370
  /** Data format for response. */
3112
- alt?: string;
3371
+ alt?: 'json' | 'media' | 'proto';
3113
3372
  /** JSONP */
3114
3373
  callback?: string;
3115
3374
  /** Selector specifying which fields to include in a partial response. */
@@ -3136,11 +3395,11 @@ declare namespace gapi.client {
3136
3395
  patch(
3137
3396
  request: {
3138
3397
  /** V1 error format. */
3139
- '$.xgafv'?: string;
3398
+ '$.xgafv'?: '1' | '2';
3140
3399
  /** OAuth access token. */
3141
3400
  access_token?: string;
3142
3401
  /** Data format for response. */
3143
- alt?: string;
3402
+ alt?: 'json' | 'media' | 'proto';
3144
3403
  /** JSONP */
3145
3404
  callback?: string;
3146
3405
  /** Selector specifying which fields to include in a partial response. */
@@ -3169,11 +3428,11 @@ declare namespace gapi.client {
3169
3428
  /** Creates a CalculatedMetric. */
3170
3429
  create(request: {
3171
3430
  /** V1 error format. */
3172
- '$.xgafv'?: string;
3431
+ '$.xgafv'?: '1' | '2';
3173
3432
  /** OAuth access token. */
3174
3433
  access_token?: string;
3175
3434
  /** Data format for response. */
3176
- alt?: string;
3435
+ alt?: 'json' | 'media' | 'proto';
3177
3436
  /** Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}". */
3178
3437
  calculatedMetricId?: string;
3179
3438
  /** JSONP */
@@ -3200,11 +3459,11 @@ declare namespace gapi.client {
3200
3459
  create(
3201
3460
  request: {
3202
3461
  /** V1 error format. */
3203
- '$.xgafv'?: string;
3462
+ '$.xgafv'?: '1' | '2';
3204
3463
  /** OAuth access token. */
3205
3464
  access_token?: string;
3206
3465
  /** Data format for response. */
3207
- alt?: string;
3466
+ alt?: 'json' | 'media' | 'proto';
3208
3467
  /** Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}". */
3209
3468
  calculatedMetricId?: string;
3210
3469
  /** JSONP */
@@ -3231,11 +3490,11 @@ declare namespace gapi.client {
3231
3490
  /** Deletes a CalculatedMetric on a property. */
3232
3491
  delete(request?: {
3233
3492
  /** V1 error format. */
3234
- '$.xgafv'?: string;
3493
+ '$.xgafv'?: '1' | '2';
3235
3494
  /** OAuth access token. */
3236
3495
  access_token?: string;
3237
3496
  /** Data format for response. */
3238
- alt?: string;
3497
+ alt?: 'json' | 'media' | 'proto';
3239
3498
  /** JSONP */
3240
3499
  callback?: string;
3241
3500
  /** Selector specifying which fields to include in a partial response. */
@@ -3258,11 +3517,11 @@ declare namespace gapi.client {
3258
3517
  /** Lookup for a single CalculatedMetric. */
3259
3518
  get(request?: {
3260
3519
  /** V1 error format. */
3261
- '$.xgafv'?: string;
3520
+ '$.xgafv'?: '1' | '2';
3262
3521
  /** OAuth access token. */
3263
3522
  access_token?: string;
3264
3523
  /** Data format for response. */
3265
- alt?: string;
3524
+ alt?: 'json' | 'media' | 'proto';
3266
3525
  /** JSONP */
3267
3526
  callback?: string;
3268
3527
  /** Selector specifying which fields to include in a partial response. */
@@ -3285,11 +3544,11 @@ declare namespace gapi.client {
3285
3544
  /** Lists CalculatedMetrics on a property. */
3286
3545
  list(request?: {
3287
3546
  /** V1 error format. */
3288
- '$.xgafv'?: string;
3547
+ '$.xgafv'?: '1' | '2';
3289
3548
  /** OAuth access token. */
3290
3549
  access_token?: string;
3291
3550
  /** Data format for response. */
3292
- alt?: string;
3551
+ alt?: 'json' | 'media' | 'proto';
3293
3552
  /** JSONP */
3294
3553
  callback?: string;
3295
3554
  /** Selector specifying which fields to include in a partial response. */
@@ -3316,18 +3575,18 @@ declare namespace gapi.client {
3316
3575
  /** Updates a CalculatedMetric on a property. */
3317
3576
  patch(request: {
3318
3577
  /** V1 error format. */
3319
- '$.xgafv'?: string;
3578
+ '$.xgafv'?: '1' | '2';
3320
3579
  /** OAuth access token. */
3321
3580
  access_token?: string;
3322
3581
  /** Data format for response. */
3323
- alt?: string;
3582
+ alt?: 'json' | 'media' | 'proto';
3324
3583
  /** JSONP */
3325
3584
  callback?: string;
3326
3585
  /** Selector specifying which fields to include in a partial response. */
3327
3586
  fields?: string;
3328
3587
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3329
3588
  key?: string;
3330
- /** Output only. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' */
3589
+ /** Identifier. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' */
3331
3590
  name: string;
3332
3591
  /** OAuth 2.0 token for the current user. */
3333
3592
  oauth_token?: string;
@@ -3347,18 +3606,18 @@ declare namespace gapi.client {
3347
3606
  patch(
3348
3607
  request: {
3349
3608
  /** V1 error format. */
3350
- '$.xgafv'?: string;
3609
+ '$.xgafv'?: '1' | '2';
3351
3610
  /** OAuth access token. */
3352
3611
  access_token?: string;
3353
3612
  /** Data format for response. */
3354
- alt?: string;
3613
+ alt?: 'json' | 'media' | 'proto';
3355
3614
  /** JSONP */
3356
3615
  callback?: string;
3357
3616
  /** Selector specifying which fields to include in a partial response. */
3358
3617
  fields?: string;
3359
3618
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3360
3619
  key?: string;
3361
- /** Output only. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' */
3620
+ /** Identifier. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' */
3362
3621
  name: string;
3363
3622
  /** OAuth 2.0 token for the current user. */
3364
3623
  oauth_token?: string;
@@ -3380,11 +3639,11 @@ declare namespace gapi.client {
3380
3639
  /** Creates a ChannelGroup. */
3381
3640
  create(request: {
3382
3641
  /** V1 error format. */
3383
- '$.xgafv'?: string;
3642
+ '$.xgafv'?: '1' | '2';
3384
3643
  /** OAuth access token. */
3385
3644
  access_token?: string;
3386
3645
  /** Data format for response. */
3387
- alt?: string;
3646
+ alt?: 'json' | 'media' | 'proto';
3388
3647
  /** JSONP */
3389
3648
  callback?: string;
3390
3649
  /** Selector specifying which fields to include in a partial response. */
@@ -3409,11 +3668,11 @@ declare namespace gapi.client {
3409
3668
  create(
3410
3669
  request: {
3411
3670
  /** V1 error format. */
3412
- '$.xgafv'?: string;
3671
+ '$.xgafv'?: '1' | '2';
3413
3672
  /** OAuth access token. */
3414
3673
  access_token?: string;
3415
3674
  /** Data format for response. */
3416
- alt?: string;
3675
+ alt?: 'json' | 'media' | 'proto';
3417
3676
  /** JSONP */
3418
3677
  callback?: string;
3419
3678
  /** Selector specifying which fields to include in a partial response. */
@@ -3438,11 +3697,11 @@ declare namespace gapi.client {
3438
3697
  /** Deletes a ChannelGroup on a property. */
3439
3698
  delete(request?: {
3440
3699
  /** V1 error format. */
3441
- '$.xgafv'?: string;
3700
+ '$.xgafv'?: '1' | '2';
3442
3701
  /** OAuth access token. */
3443
3702
  access_token?: string;
3444
3703
  /** Data format for response. */
3445
- alt?: string;
3704
+ alt?: 'json' | 'media' | 'proto';
3446
3705
  /** JSONP */
3447
3706
  callback?: string;
3448
3707
  /** Selector specifying which fields to include in a partial response. */
@@ -3465,11 +3724,11 @@ declare namespace gapi.client {
3465
3724
  /** Lookup for a single ChannelGroup. */
3466
3725
  get(request?: {
3467
3726
  /** V1 error format. */
3468
- '$.xgafv'?: string;
3727
+ '$.xgafv'?: '1' | '2';
3469
3728
  /** OAuth access token. */
3470
3729
  access_token?: string;
3471
3730
  /** Data format for response. */
3472
- alt?: string;
3731
+ alt?: 'json' | 'media' | 'proto';
3473
3732
  /** JSONP */
3474
3733
  callback?: string;
3475
3734
  /** Selector specifying which fields to include in a partial response. */
@@ -3492,11 +3751,11 @@ declare namespace gapi.client {
3492
3751
  /** Lists ChannelGroups on a property. */
3493
3752
  list(request?: {
3494
3753
  /** V1 error format. */
3495
- '$.xgafv'?: string;
3754
+ '$.xgafv'?: '1' | '2';
3496
3755
  /** OAuth access token. */
3497
3756
  access_token?: string;
3498
3757
  /** Data format for response. */
3499
- alt?: string;
3758
+ alt?: 'json' | 'media' | 'proto';
3500
3759
  /** JSONP */
3501
3760
  callback?: string;
3502
3761
  /** Selector specifying which fields to include in a partial response. */
@@ -3523,11 +3782,11 @@ declare namespace gapi.client {
3523
3782
  /** Updates a ChannelGroup. */
3524
3783
  patch(request: {
3525
3784
  /** V1 error format. */
3526
- '$.xgafv'?: string;
3785
+ '$.xgafv'?: '1' | '2';
3527
3786
  /** OAuth access token. */
3528
3787
  access_token?: string;
3529
3788
  /** Data format for response. */
3530
- alt?: string;
3789
+ alt?: 'json' | 'media' | 'proto';
3531
3790
  /** JSONP */
3532
3791
  callback?: string;
3533
3792
  /** Selector specifying which fields to include in a partial response. */
@@ -3554,11 +3813,11 @@ declare namespace gapi.client {
3554
3813
  patch(
3555
3814
  request: {
3556
3815
  /** V1 error format. */
3557
- '$.xgafv'?: string;
3816
+ '$.xgafv'?: '1' | '2';
3558
3817
  /** OAuth access token. */
3559
3818
  access_token?: string;
3560
3819
  /** Data format for response. */
3561
- alt?: string;
3820
+ alt?: 'json' | 'media' | 'proto';
3562
3821
  /** JSONP */
3563
3822
  callback?: string;
3564
3823
  /** Selector specifying which fields to include in a partial response. */
@@ -3587,11 +3846,11 @@ declare namespace gapi.client {
3587
3846
  /** Deprecated: Use `CreateKeyEvent` instead. Creates a conversion event with the specified attributes. */
3588
3847
  create(request: {
3589
3848
  /** V1 error format. */
3590
- '$.xgafv'?: string;
3849
+ '$.xgafv'?: '1' | '2';
3591
3850
  /** OAuth access token. */
3592
3851
  access_token?: string;
3593
3852
  /** Data format for response. */
3594
- alt?: string;
3853
+ alt?: 'json' | 'media' | 'proto';
3595
3854
  /** JSONP */
3596
3855
  callback?: string;
3597
3856
  /** Selector specifying which fields to include in a partial response. */
@@ -3616,11 +3875,11 @@ declare namespace gapi.client {
3616
3875
  create(
3617
3876
  request: {
3618
3877
  /** V1 error format. */
3619
- '$.xgafv'?: string;
3878
+ '$.xgafv'?: '1' | '2';
3620
3879
  /** OAuth access token. */
3621
3880
  access_token?: string;
3622
3881
  /** Data format for response. */
3623
- alt?: string;
3882
+ alt?: 'json' | 'media' | 'proto';
3624
3883
  /** JSONP */
3625
3884
  callback?: string;
3626
3885
  /** Selector specifying which fields to include in a partial response. */
@@ -3645,11 +3904,11 @@ declare namespace gapi.client {
3645
3904
  /** Deprecated: Use `DeleteKeyEvent` instead. Deletes a conversion event in a property. */
3646
3905
  delete(request?: {
3647
3906
  /** V1 error format. */
3648
- '$.xgafv'?: string;
3907
+ '$.xgafv'?: '1' | '2';
3649
3908
  /** OAuth access token. */
3650
3909
  access_token?: string;
3651
3910
  /** Data format for response. */
3652
- alt?: string;
3911
+ alt?: 'json' | 'media' | 'proto';
3653
3912
  /** JSONP */
3654
3913
  callback?: string;
3655
3914
  /** Selector specifying which fields to include in a partial response. */
@@ -3672,11 +3931,11 @@ declare namespace gapi.client {
3672
3931
  /** Deprecated: Use `GetKeyEvent` instead. Retrieve a single conversion event. */
3673
3932
  get(request?: {
3674
3933
  /** V1 error format. */
3675
- '$.xgafv'?: string;
3934
+ '$.xgafv'?: '1' | '2';
3676
3935
  /** OAuth access token. */
3677
3936
  access_token?: string;
3678
3937
  /** Data format for response. */
3679
- alt?: string;
3938
+ alt?: 'json' | 'media' | 'proto';
3680
3939
  /** JSONP */
3681
3940
  callback?: string;
3682
3941
  /** Selector specifying which fields to include in a partial response. */
@@ -3699,11 +3958,11 @@ declare namespace gapi.client {
3699
3958
  /** Deprecated: Use `ListKeyEvents` instead. Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found. */
3700
3959
  list(request?: {
3701
3960
  /** V1 error format. */
3702
- '$.xgafv'?: string;
3961
+ '$.xgafv'?: '1' | '2';
3703
3962
  /** OAuth access token. */
3704
3963
  access_token?: string;
3705
3964
  /** Data format for response. */
3706
- alt?: string;
3965
+ alt?: 'json' | 'media' | 'proto';
3707
3966
  /** JSONP */
3708
3967
  callback?: string;
3709
3968
  /** Selector specifying which fields to include in a partial response. */
@@ -3712,9 +3971,9 @@ declare namespace gapi.client {
3712
3971
  key?: string;
3713
3972
  /** OAuth 2.0 token for the current user. */
3714
3973
  oauth_token?: string;
3715
- /** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
3974
+ /** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
3716
3975
  pageSize?: number;
3717
- /** A page token, received from a previous `ListConversionEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConversionEvents` must match the call that provided the page token. */
3976
+ /** Optional. A page token, received from a previous `ListConversionEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConversionEvents` must match the call that provided the page token. */
3718
3977
  pageToken?: string;
3719
3978
  /** Required. The resource name of the parent property. Example: 'properties/123' */
3720
3979
  parent: string;
@@ -3730,18 +3989,18 @@ declare namespace gapi.client {
3730
3989
  /** Deprecated: Use `UpdateKeyEvent` instead. Updates a conversion event with the specified attributes. */
3731
3990
  patch(request: {
3732
3991
  /** V1 error format. */
3733
- '$.xgafv'?: string;
3992
+ '$.xgafv'?: '1' | '2';
3734
3993
  /** OAuth access token. */
3735
3994
  access_token?: string;
3736
3995
  /** Data format for response. */
3737
- alt?: string;
3996
+ alt?: 'json' | 'media' | 'proto';
3738
3997
  /** JSONP */
3739
3998
  callback?: string;
3740
3999
  /** Selector specifying which fields to include in a partial response. */
3741
4000
  fields?: string;
3742
4001
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3743
4002
  key?: string;
3744
- /** Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
4003
+ /** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
3745
4004
  name: string;
3746
4005
  /** OAuth 2.0 token for the current user. */
3747
4006
  oauth_token?: string;
@@ -3761,18 +4020,18 @@ declare namespace gapi.client {
3761
4020
  patch(
3762
4021
  request: {
3763
4022
  /** V1 error format. */
3764
- '$.xgafv'?: string;
4023
+ '$.xgafv'?: '1' | '2';
3765
4024
  /** OAuth access token. */
3766
4025
  access_token?: string;
3767
4026
  /** Data format for response. */
3768
- alt?: string;
4027
+ alt?: 'json' | 'media' | 'proto';
3769
4028
  /** JSONP */
3770
4029
  callback?: string;
3771
4030
  /** Selector specifying which fields to include in a partial response. */
3772
4031
  fields?: string;
3773
4032
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3774
4033
  key?: string;
3775
- /** Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
4034
+ /** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
3776
4035
  name: string;
3777
4036
  /** OAuth 2.0 token for the current user. */
3778
4037
  oauth_token?: string;
@@ -3794,11 +4053,11 @@ declare namespace gapi.client {
3794
4053
  /** Archives a CustomDimension on a property. */
3795
4054
  archive(request: {
3796
4055
  /** V1 error format. */
3797
- '$.xgafv'?: string;
4056
+ '$.xgafv'?: '1' | '2';
3798
4057
  /** OAuth access token. */
3799
4058
  access_token?: string;
3800
4059
  /** Data format for response. */
3801
- alt?: string;
4060
+ alt?: 'json' | 'media' | 'proto';
3802
4061
  /** JSONP */
3803
4062
  callback?: string;
3804
4063
  /** Selector specifying which fields to include in a partial response. */
@@ -3823,11 +4082,11 @@ declare namespace gapi.client {
3823
4082
  archive(
3824
4083
  request: {
3825
4084
  /** V1 error format. */
3826
- '$.xgafv'?: string;
4085
+ '$.xgafv'?: '1' | '2';
3827
4086
  /** OAuth access token. */
3828
4087
  access_token?: string;
3829
4088
  /** Data format for response. */
3830
- alt?: string;
4089
+ alt?: 'json' | 'media' | 'proto';
3831
4090
  /** JSONP */
3832
4091
  callback?: string;
3833
4092
  /** Selector specifying which fields to include in a partial response. */
@@ -3852,11 +4111,11 @@ declare namespace gapi.client {
3852
4111
  /** Creates a CustomDimension. */
3853
4112
  create(request: {
3854
4113
  /** V1 error format. */
3855
- '$.xgafv'?: string;
4114
+ '$.xgafv'?: '1' | '2';
3856
4115
  /** OAuth access token. */
3857
4116
  access_token?: string;
3858
4117
  /** Data format for response. */
3859
- alt?: string;
4118
+ alt?: 'json' | 'media' | 'proto';
3860
4119
  /** JSONP */
3861
4120
  callback?: string;
3862
4121
  /** Selector specifying which fields to include in a partial response. */
@@ -3881,11 +4140,11 @@ declare namespace gapi.client {
3881
4140
  create(
3882
4141
  request: {
3883
4142
  /** V1 error format. */
3884
- '$.xgafv'?: string;
4143
+ '$.xgafv'?: '1' | '2';
3885
4144
  /** OAuth access token. */
3886
4145
  access_token?: string;
3887
4146
  /** Data format for response. */
3888
- alt?: string;
4147
+ alt?: 'json' | 'media' | 'proto';
3889
4148
  /** JSONP */
3890
4149
  callback?: string;
3891
4150
  /** Selector specifying which fields to include in a partial response. */
@@ -3910,11 +4169,11 @@ declare namespace gapi.client {
3910
4169
  /** Lookup for a single CustomDimension. */
3911
4170
  get(request?: {
3912
4171
  /** V1 error format. */
3913
- '$.xgafv'?: string;
4172
+ '$.xgafv'?: '1' | '2';
3914
4173
  /** OAuth access token. */
3915
4174
  access_token?: string;
3916
4175
  /** Data format for response. */
3917
- alt?: string;
4176
+ alt?: 'json' | 'media' | 'proto';
3918
4177
  /** JSONP */
3919
4178
  callback?: string;
3920
4179
  /** Selector specifying which fields to include in a partial response. */
@@ -3937,11 +4196,11 @@ declare namespace gapi.client {
3937
4196
  /** Lists CustomDimensions on a property. */
3938
4197
  list(request?: {
3939
4198
  /** V1 error format. */
3940
- '$.xgafv'?: string;
4199
+ '$.xgafv'?: '1' | '2';
3941
4200
  /** OAuth access token. */
3942
4201
  access_token?: string;
3943
4202
  /** Data format for response. */
3944
- alt?: string;
4203
+ alt?: 'json' | 'media' | 'proto';
3945
4204
  /** JSONP */
3946
4205
  callback?: string;
3947
4206
  /** Selector specifying which fields to include in a partial response. */
@@ -3950,9 +4209,9 @@ declare namespace gapi.client {
3950
4209
  key?: string;
3951
4210
  /** OAuth 2.0 token for the current user. */
3952
4211
  oauth_token?: string;
3953
- /** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
4212
+ /** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
3954
4213
  pageSize?: number;
3955
- /** A page token, received from a previous `ListCustomDimensions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomDimensions` must match the call that provided the page token. */
4214
+ /** Optional. A page token, received from a previous `ListCustomDimensions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomDimensions` must match the call that provided the page token. */
3956
4215
  pageToken?: string;
3957
4216
  /** Required. Example format: properties/1234 */
3958
4217
  parent: string;
@@ -3968,18 +4227,18 @@ declare namespace gapi.client {
3968
4227
  /** Updates a CustomDimension on a property. */
3969
4228
  patch(request: {
3970
4229
  /** V1 error format. */
3971
- '$.xgafv'?: string;
4230
+ '$.xgafv'?: '1' | '2';
3972
4231
  /** OAuth access token. */
3973
4232
  access_token?: string;
3974
4233
  /** Data format for response. */
3975
- alt?: string;
4234
+ alt?: 'json' | 'media' | 'proto';
3976
4235
  /** JSONP */
3977
4236
  callback?: string;
3978
4237
  /** Selector specifying which fields to include in a partial response. */
3979
4238
  fields?: string;
3980
4239
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3981
4240
  key?: string;
3982
- /** Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
4241
+ /** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
3983
4242
  name: string;
3984
4243
  /** OAuth 2.0 token for the current user. */
3985
4244
  oauth_token?: string;
@@ -3999,18 +4258,18 @@ declare namespace gapi.client {
3999
4258
  patch(
4000
4259
  request: {
4001
4260
  /** V1 error format. */
4002
- '$.xgafv'?: string;
4261
+ '$.xgafv'?: '1' | '2';
4003
4262
  /** OAuth access token. */
4004
4263
  access_token?: string;
4005
4264
  /** Data format for response. */
4006
- alt?: string;
4265
+ alt?: 'json' | 'media' | 'proto';
4007
4266
  /** JSONP */
4008
4267
  callback?: string;
4009
4268
  /** Selector specifying which fields to include in a partial response. */
4010
4269
  fields?: string;
4011
4270
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4012
4271
  key?: string;
4013
- /** Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
4272
+ /** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
4014
4273
  name: string;
4015
4274
  /** OAuth 2.0 token for the current user. */
4016
4275
  oauth_token?: string;
@@ -4032,11 +4291,11 @@ declare namespace gapi.client {
4032
4291
  /** Archives a CustomMetric on a property. */
4033
4292
  archive(request: {
4034
4293
  /** V1 error format. */
4035
- '$.xgafv'?: string;
4294
+ '$.xgafv'?: '1' | '2';
4036
4295
  /** OAuth access token. */
4037
4296
  access_token?: string;
4038
4297
  /** Data format for response. */
4039
- alt?: string;
4298
+ alt?: 'json' | 'media' | 'proto';
4040
4299
  /** JSONP */
4041
4300
  callback?: string;
4042
4301
  /** Selector specifying which fields to include in a partial response. */
@@ -4061,11 +4320,11 @@ declare namespace gapi.client {
4061
4320
  archive(
4062
4321
  request: {
4063
4322
  /** V1 error format. */
4064
- '$.xgafv'?: string;
4323
+ '$.xgafv'?: '1' | '2';
4065
4324
  /** OAuth access token. */
4066
4325
  access_token?: string;
4067
4326
  /** Data format for response. */
4068
- alt?: string;
4327
+ alt?: 'json' | 'media' | 'proto';
4069
4328
  /** JSONP */
4070
4329
  callback?: string;
4071
4330
  /** Selector specifying which fields to include in a partial response. */
@@ -4090,11 +4349,11 @@ declare namespace gapi.client {
4090
4349
  /** Creates a CustomMetric. */
4091
4350
  create(request: {
4092
4351
  /** V1 error format. */
4093
- '$.xgafv'?: string;
4352
+ '$.xgafv'?: '1' | '2';
4094
4353
  /** OAuth access token. */
4095
4354
  access_token?: string;
4096
4355
  /** Data format for response. */
4097
- alt?: string;
4356
+ alt?: 'json' | 'media' | 'proto';
4098
4357
  /** JSONP */
4099
4358
  callback?: string;
4100
4359
  /** Selector specifying which fields to include in a partial response. */
@@ -4119,11 +4378,11 @@ declare namespace gapi.client {
4119
4378
  create(
4120
4379
  request: {
4121
4380
  /** V1 error format. */
4122
- '$.xgafv'?: string;
4381
+ '$.xgafv'?: '1' | '2';
4123
4382
  /** OAuth access token. */
4124
4383
  access_token?: string;
4125
4384
  /** Data format for response. */
4126
- alt?: string;
4385
+ alt?: 'json' | 'media' | 'proto';
4127
4386
  /** JSONP */
4128
4387
  callback?: string;
4129
4388
  /** Selector specifying which fields to include in a partial response. */
@@ -4148,11 +4407,11 @@ declare namespace gapi.client {
4148
4407
  /** Lookup for a single CustomMetric. */
4149
4408
  get(request?: {
4150
4409
  /** V1 error format. */
4151
- '$.xgafv'?: string;
4410
+ '$.xgafv'?: '1' | '2';
4152
4411
  /** OAuth access token. */
4153
4412
  access_token?: string;
4154
4413
  /** Data format for response. */
4155
- alt?: string;
4414
+ alt?: 'json' | 'media' | 'proto';
4156
4415
  /** JSONP */
4157
4416
  callback?: string;
4158
4417
  /** Selector specifying which fields to include in a partial response. */
@@ -4175,11 +4434,11 @@ declare namespace gapi.client {
4175
4434
  /** Lists CustomMetrics on a property. */
4176
4435
  list(request?: {
4177
4436
  /** V1 error format. */
4178
- '$.xgafv'?: string;
4437
+ '$.xgafv'?: '1' | '2';
4179
4438
  /** OAuth access token. */
4180
4439
  access_token?: string;
4181
4440
  /** Data format for response. */
4182
- alt?: string;
4441
+ alt?: 'json' | 'media' | 'proto';
4183
4442
  /** JSONP */
4184
4443
  callback?: string;
4185
4444
  /** Selector specifying which fields to include in a partial response. */
@@ -4206,18 +4465,18 @@ declare namespace gapi.client {
4206
4465
  /** Updates a CustomMetric on a property. */
4207
4466
  patch(request: {
4208
4467
  /** V1 error format. */
4209
- '$.xgafv'?: string;
4468
+ '$.xgafv'?: '1' | '2';
4210
4469
  /** OAuth access token. */
4211
4470
  access_token?: string;
4212
4471
  /** Data format for response. */
4213
- alt?: string;
4472
+ alt?: 'json' | 'media' | 'proto';
4214
4473
  /** JSONP */
4215
4474
  callback?: string;
4216
4475
  /** Selector specifying which fields to include in a partial response. */
4217
4476
  fields?: string;
4218
4477
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4219
4478
  key?: string;
4220
- /** Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
4479
+ /** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
4221
4480
  name: string;
4222
4481
  /** OAuth 2.0 token for the current user. */
4223
4482
  oauth_token?: string;
@@ -4237,18 +4496,18 @@ declare namespace gapi.client {
4237
4496
  patch(
4238
4497
  request: {
4239
4498
  /** V1 error format. */
4240
- '$.xgafv'?: string;
4499
+ '$.xgafv'?: '1' | '2';
4241
4500
  /** OAuth access token. */
4242
4501
  access_token?: string;
4243
4502
  /** Data format for response. */
4244
- alt?: string;
4503
+ alt?: 'json' | 'media' | 'proto';
4245
4504
  /** JSONP */
4246
4505
  callback?: string;
4247
4506
  /** Selector specifying which fields to include in a partial response. */
4248
4507
  fields?: string;
4249
4508
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4250
4509
  key?: string;
4251
- /** Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
4510
+ /** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
4252
4511
  name: string;
4253
4512
  /** OAuth 2.0 token for the current user. */
4254
4513
  oauth_token?: string;
@@ -4270,11 +4529,11 @@ declare namespace gapi.client {
4270
4529
  /** Creates an EventCreateRule. */
4271
4530
  create(request: {
4272
4531
  /** V1 error format. */
4273
- '$.xgafv'?: string;
4532
+ '$.xgafv'?: '1' | '2';
4274
4533
  /** OAuth access token. */
4275
4534
  access_token?: string;
4276
4535
  /** Data format for response. */
4277
- alt?: string;
4536
+ alt?: 'json' | 'media' | 'proto';
4278
4537
  /** JSONP */
4279
4538
  callback?: string;
4280
4539
  /** Selector specifying which fields to include in a partial response. */
@@ -4299,11 +4558,11 @@ declare namespace gapi.client {
4299
4558
  create(
4300
4559
  request: {
4301
4560
  /** V1 error format. */
4302
- '$.xgafv'?: string;
4561
+ '$.xgafv'?: '1' | '2';
4303
4562
  /** OAuth access token. */
4304
4563
  access_token?: string;
4305
4564
  /** Data format for response. */
4306
- alt?: string;
4565
+ alt?: 'json' | 'media' | 'proto';
4307
4566
  /** JSONP */
4308
4567
  callback?: string;
4309
4568
  /** Selector specifying which fields to include in a partial response. */
@@ -4328,11 +4587,11 @@ declare namespace gapi.client {
4328
4587
  /** Deletes an EventCreateRule. */
4329
4588
  delete(request?: {
4330
4589
  /** V1 error format. */
4331
- '$.xgafv'?: string;
4590
+ '$.xgafv'?: '1' | '2';
4332
4591
  /** OAuth access token. */
4333
4592
  access_token?: string;
4334
4593
  /** Data format for response. */
4335
- alt?: string;
4594
+ alt?: 'json' | 'media' | 'proto';
4336
4595
  /** JSONP */
4337
4596
  callback?: string;
4338
4597
  /** Selector specifying which fields to include in a partial response. */
@@ -4355,11 +4614,11 @@ declare namespace gapi.client {
4355
4614
  /** Lookup for a single EventCreateRule. */
4356
4615
  get(request?: {
4357
4616
  /** V1 error format. */
4358
- '$.xgafv'?: string;
4617
+ '$.xgafv'?: '1' | '2';
4359
4618
  /** OAuth access token. */
4360
4619
  access_token?: string;
4361
4620
  /** Data format for response. */
4362
- alt?: string;
4621
+ alt?: 'json' | 'media' | 'proto';
4363
4622
  /** JSONP */
4364
4623
  callback?: string;
4365
4624
  /** Selector specifying which fields to include in a partial response. */
@@ -4382,11 +4641,11 @@ declare namespace gapi.client {
4382
4641
  /** Lists EventCreateRules on a web data stream. */
4383
4642
  list(request?: {
4384
4643
  /** V1 error format. */
4385
- '$.xgafv'?: string;
4644
+ '$.xgafv'?: '1' | '2';
4386
4645
  /** OAuth access token. */
4387
4646
  access_token?: string;
4388
4647
  /** Data format for response. */
4389
- alt?: string;
4648
+ alt?: 'json' | 'media' | 'proto';
4390
4649
  /** JSONP */
4391
4650
  callback?: string;
4392
4651
  /** Selector specifying which fields to include in a partial response. */
@@ -4413,11 +4672,11 @@ declare namespace gapi.client {
4413
4672
  /** Updates an EventCreateRule. */
4414
4673
  patch(request: {
4415
4674
  /** V1 error format. */
4416
- '$.xgafv'?: string;
4675
+ '$.xgafv'?: '1' | '2';
4417
4676
  /** OAuth access token. */
4418
4677
  access_token?: string;
4419
4678
  /** Data format for response. */
4420
- alt?: string;
4679
+ alt?: 'json' | 'media' | 'proto';
4421
4680
  /** JSONP */
4422
4681
  callback?: string;
4423
4682
  /** Selector specifying which fields to include in a partial response. */
@@ -4444,11 +4703,11 @@ declare namespace gapi.client {
4444
4703
  patch(
4445
4704
  request: {
4446
4705
  /** V1 error format. */
4447
- '$.xgafv'?: string;
4706
+ '$.xgafv'?: '1' | '2';
4448
4707
  /** OAuth access token. */
4449
4708
  access_token?: string;
4450
4709
  /** Data format for response. */
4451
- alt?: string;
4710
+ alt?: 'json' | 'media' | 'proto';
4452
4711
  /** JSONP */
4453
4712
  callback?: string;
4454
4713
  /** Selector specifying which fields to include in a partial response. */
@@ -4477,11 +4736,11 @@ declare namespace gapi.client {
4477
4736
  /** Creates an EventEditRule. */
4478
4737
  create(request: {
4479
4738
  /** V1 error format. */
4480
- '$.xgafv'?: string;
4739
+ '$.xgafv'?: '1' | '2';
4481
4740
  /** OAuth access token. */
4482
4741
  access_token?: string;
4483
4742
  /** Data format for response. */
4484
- alt?: string;
4743
+ alt?: 'json' | 'media' | 'proto';
4485
4744
  /** JSONP */
4486
4745
  callback?: string;
4487
4746
  /** Selector specifying which fields to include in a partial response. */
@@ -4506,11 +4765,11 @@ declare namespace gapi.client {
4506
4765
  create(
4507
4766
  request: {
4508
4767
  /** V1 error format. */
4509
- '$.xgafv'?: string;
4768
+ '$.xgafv'?: '1' | '2';
4510
4769
  /** OAuth access token. */
4511
4770
  access_token?: string;
4512
4771
  /** Data format for response. */
4513
- alt?: string;
4772
+ alt?: 'json' | 'media' | 'proto';
4514
4773
  /** JSONP */
4515
4774
  callback?: string;
4516
4775
  /** Selector specifying which fields to include in a partial response. */
@@ -4535,11 +4794,11 @@ declare namespace gapi.client {
4535
4794
  /** Deletes an EventEditRule. */
4536
4795
  delete(request?: {
4537
4796
  /** V1 error format. */
4538
- '$.xgafv'?: string;
4797
+ '$.xgafv'?: '1' | '2';
4539
4798
  /** OAuth access token. */
4540
4799
  access_token?: string;
4541
4800
  /** Data format for response. */
4542
- alt?: string;
4801
+ alt?: 'json' | 'media' | 'proto';
4543
4802
  /** JSONP */
4544
4803
  callback?: string;
4545
4804
  /** Selector specifying which fields to include in a partial response. */
@@ -4562,11 +4821,11 @@ declare namespace gapi.client {
4562
4821
  /** Lookup for a single EventEditRule. */
4563
4822
  get(request?: {
4564
4823
  /** V1 error format. */
4565
- '$.xgafv'?: string;
4824
+ '$.xgafv'?: '1' | '2';
4566
4825
  /** OAuth access token. */
4567
4826
  access_token?: string;
4568
4827
  /** Data format for response. */
4569
- alt?: string;
4828
+ alt?: 'json' | 'media' | 'proto';
4570
4829
  /** JSONP */
4571
4830
  callback?: string;
4572
4831
  /** Selector specifying which fields to include in a partial response. */
@@ -4589,11 +4848,11 @@ declare namespace gapi.client {
4589
4848
  /** Lists EventEditRules on a web data stream. */
4590
4849
  list(request?: {
4591
4850
  /** V1 error format. */
4592
- '$.xgafv'?: string;
4851
+ '$.xgafv'?: '1' | '2';
4593
4852
  /** OAuth access token. */
4594
4853
  access_token?: string;
4595
4854
  /** Data format for response. */
4596
- alt?: string;
4855
+ alt?: 'json' | 'media' | 'proto';
4597
4856
  /** JSONP */
4598
4857
  callback?: string;
4599
4858
  /** Selector specifying which fields to include in a partial response. */
@@ -4620,11 +4879,11 @@ declare namespace gapi.client {
4620
4879
  /** Updates an EventEditRule. */
4621
4880
  patch(request: {
4622
4881
  /** V1 error format. */
4623
- '$.xgafv'?: string;
4882
+ '$.xgafv'?: '1' | '2';
4624
4883
  /** OAuth access token. */
4625
4884
  access_token?: string;
4626
4885
  /** Data format for response. */
4627
- alt?: string;
4886
+ alt?: 'json' | 'media' | 'proto';
4628
4887
  /** JSONP */
4629
4888
  callback?: string;
4630
4889
  /** Selector specifying which fields to include in a partial response. */
@@ -4651,11 +4910,11 @@ declare namespace gapi.client {
4651
4910
  patch(
4652
4911
  request: {
4653
4912
  /** V1 error format. */
4654
- '$.xgafv'?: string;
4913
+ '$.xgafv'?: '1' | '2';
4655
4914
  /** OAuth access token. */
4656
4915
  access_token?: string;
4657
4916
  /** Data format for response. */
4658
- alt?: string;
4917
+ alt?: 'json' | 'media' | 'proto';
4659
4918
  /** JSONP */
4660
4919
  callback?: string;
4661
4920
  /** Selector specifying which fields to include in a partial response. */
@@ -4682,11 +4941,11 @@ declare namespace gapi.client {
4682
4941
  /** Changes the processing order of event edit rules on the specified stream. */
4683
4942
  reorder(request: {
4684
4943
  /** V1 error format. */
4685
- '$.xgafv'?: string;
4944
+ '$.xgafv'?: '1' | '2';
4686
4945
  /** OAuth access token. */
4687
4946
  access_token?: string;
4688
4947
  /** Data format for response. */
4689
- alt?: string;
4948
+ alt?: 'json' | 'media' | 'proto';
4690
4949
  /** JSONP */
4691
4950
  callback?: string;
4692
4951
  /** Selector specifying which fields to include in a partial response. */
@@ -4711,11 +4970,11 @@ declare namespace gapi.client {
4711
4970
  reorder(
4712
4971
  request: {
4713
4972
  /** V1 error format. */
4714
- '$.xgafv'?: string;
4973
+ '$.xgafv'?: '1' | '2';
4715
4974
  /** OAuth access token. */
4716
4975
  access_token?: string;
4717
4976
  /** Data format for response. */
4718
- alt?: string;
4977
+ alt?: 'json' | 'media' | 'proto';
4719
4978
  /** JSONP */
4720
4979
  callback?: string;
4721
4980
  /** Selector specifying which fields to include in a partial response. */
@@ -4742,11 +5001,11 @@ declare namespace gapi.client {
4742
5001
  /** Creates a measurement protocol secret. */
4743
5002
  create(request: {
4744
5003
  /** V1 error format. */
4745
- '$.xgafv'?: string;
5004
+ '$.xgafv'?: '1' | '2';
4746
5005
  /** OAuth access token. */
4747
5006
  access_token?: string;
4748
5007
  /** Data format for response. */
4749
- alt?: string;
5008
+ alt?: 'json' | 'media' | 'proto';
4750
5009
  /** JSONP */
4751
5010
  callback?: string;
4752
5011
  /** Selector specifying which fields to include in a partial response. */
@@ -4771,11 +5030,11 @@ declare namespace gapi.client {
4771
5030
  create(
4772
5031
  request: {
4773
5032
  /** V1 error format. */
4774
- '$.xgafv'?: string;
5033
+ '$.xgafv'?: '1' | '2';
4775
5034
  /** OAuth access token. */
4776
5035
  access_token?: string;
4777
5036
  /** Data format for response. */
4778
- alt?: string;
5037
+ alt?: 'json' | 'media' | 'proto';
4779
5038
  /** JSONP */
4780
5039
  callback?: string;
4781
5040
  /** Selector specifying which fields to include in a partial response. */
@@ -4800,11 +5059,11 @@ declare namespace gapi.client {
4800
5059
  /** Deletes target MeasurementProtocolSecret. */
4801
5060
  delete(request?: {
4802
5061
  /** V1 error format. */
4803
- '$.xgafv'?: string;
5062
+ '$.xgafv'?: '1' | '2';
4804
5063
  /** OAuth access token. */
4805
5064
  access_token?: string;
4806
5065
  /** Data format for response. */
4807
- alt?: string;
5066
+ alt?: 'json' | 'media' | 'proto';
4808
5067
  /** JSONP */
4809
5068
  callback?: string;
4810
5069
  /** Selector specifying which fields to include in a partial response. */
@@ -4827,11 +5086,11 @@ declare namespace gapi.client {
4827
5086
  /** Lookup for a single MeasurementProtocolSecret. */
4828
5087
  get(request?: {
4829
5088
  /** V1 error format. */
4830
- '$.xgafv'?: string;
5089
+ '$.xgafv'?: '1' | '2';
4831
5090
  /** OAuth access token. */
4832
5091
  access_token?: string;
4833
5092
  /** Data format for response. */
4834
- alt?: string;
5093
+ alt?: 'json' | 'media' | 'proto';
4835
5094
  /** JSONP */
4836
5095
  callback?: string;
4837
5096
  /** Selector specifying which fields to include in a partial response. */
@@ -4854,11 +5113,11 @@ declare namespace gapi.client {
4854
5113
  /** Returns child MeasurementProtocolSecrets under the specified parent Property. */
4855
5114
  list(request?: {
4856
5115
  /** V1 error format. */
4857
- '$.xgafv'?: string;
5116
+ '$.xgafv'?: '1' | '2';
4858
5117
  /** OAuth access token. */
4859
5118
  access_token?: string;
4860
5119
  /** Data format for response. */
4861
- alt?: string;
5120
+ alt?: 'json' | 'media' | 'proto';
4862
5121
  /** JSONP */
4863
5122
  callback?: string;
4864
5123
  /** Selector specifying which fields to include in a partial response. */
@@ -4867,9 +5126,9 @@ declare namespace gapi.client {
4867
5126
  key?: string;
4868
5127
  /** OAuth 2.0 token for the current user. */
4869
5128
  oauth_token?: string;
4870
- /** The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum. */
5129
+ /** Optional. The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum. */
4871
5130
  pageSize?: number;
4872
- /** A page token, received from a previous `ListMeasurementProtocolSecrets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMeasurementProtocolSecrets` must match the call that provided the page token. */
5131
+ /** Optional. A page token, received from a previous `ListMeasurementProtocolSecrets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMeasurementProtocolSecrets` must match the call that provided the page token. */
4873
5132
  pageToken?: string;
4874
5133
  /** Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets */
4875
5134
  parent: string;
@@ -4885,18 +5144,18 @@ declare namespace gapi.client {
4885
5144
  /** Updates a measurement protocol secret. */
4886
5145
  patch(request: {
4887
5146
  /** V1 error format. */
4888
- '$.xgafv'?: string;
5147
+ '$.xgafv'?: '1' | '2';
4889
5148
  /** OAuth access token. */
4890
5149
  access_token?: string;
4891
5150
  /** Data format for response. */
4892
- alt?: string;
5151
+ alt?: 'json' | 'media' | 'proto';
4893
5152
  /** JSONP */
4894
5153
  callback?: string;
4895
5154
  /** Selector specifying which fields to include in a partial response. */
4896
5155
  fields?: string;
4897
5156
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4898
5157
  key?: string;
4899
- /** Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
5158
+ /** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
4900
5159
  name: string;
4901
5160
  /** OAuth 2.0 token for the current user. */
4902
5161
  oauth_token?: string;
@@ -4916,18 +5175,18 @@ declare namespace gapi.client {
4916
5175
  patch(
4917
5176
  request: {
4918
5177
  /** V1 error format. */
4919
- '$.xgafv'?: string;
5178
+ '$.xgafv'?: '1' | '2';
4920
5179
  /** OAuth access token. */
4921
5180
  access_token?: string;
4922
5181
  /** Data format for response. */
4923
- alt?: string;
5182
+ alt?: 'json' | 'media' | 'proto';
4924
5183
  /** JSONP */
4925
5184
  callback?: string;
4926
5185
  /** Selector specifying which fields to include in a partial response. */
4927
5186
  fields?: string;
4928
5187
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4929
5188
  key?: string;
4930
- /** Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
5189
+ /** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
4931
5190
  name: string;
4932
5191
  /** OAuth 2.0 token for the current user. */
4933
5192
  oauth_token?: string;
@@ -4949,11 +5208,11 @@ declare namespace gapi.client {
4949
5208
  /** Creates a SKAdNetworkConversionValueSchema. */
4950
5209
  create(request: {
4951
5210
  /** V1 error format. */
4952
- '$.xgafv'?: string;
5211
+ '$.xgafv'?: '1' | '2';
4953
5212
  /** OAuth access token. */
4954
5213
  access_token?: string;
4955
5214
  /** Data format for response. */
4956
- alt?: string;
5215
+ alt?: 'json' | 'media' | 'proto';
4957
5216
  /** JSONP */
4958
5217
  callback?: string;
4959
5218
  /** Selector specifying which fields to include in a partial response. */
@@ -4978,11 +5237,11 @@ declare namespace gapi.client {
4978
5237
  create(
4979
5238
  request: {
4980
5239
  /** V1 error format. */
4981
- '$.xgafv'?: string;
5240
+ '$.xgafv'?: '1' | '2';
4982
5241
  /** OAuth access token. */
4983
5242
  access_token?: string;
4984
5243
  /** Data format for response. */
4985
- alt?: string;
5244
+ alt?: 'json' | 'media' | 'proto';
4986
5245
  /** JSONP */
4987
5246
  callback?: string;
4988
5247
  /** Selector specifying which fields to include in a partial response. */
@@ -5007,11 +5266,11 @@ declare namespace gapi.client {
5007
5266
  /** Deletes target SKAdNetworkConversionValueSchema. */
5008
5267
  delete(request?: {
5009
5268
  /** V1 error format. */
5010
- '$.xgafv'?: string;
5269
+ '$.xgafv'?: '1' | '2';
5011
5270
  /** OAuth access token. */
5012
5271
  access_token?: string;
5013
5272
  /** Data format for response. */
5014
- alt?: string;
5273
+ alt?: 'json' | 'media' | 'proto';
5015
5274
  /** JSONP */
5016
5275
  callback?: string;
5017
5276
  /** Selector specifying which fields to include in a partial response. */
@@ -5034,11 +5293,11 @@ declare namespace gapi.client {
5034
5293
  /** Looks up a single SKAdNetworkConversionValueSchema. */
5035
5294
  get(request?: {
5036
5295
  /** V1 error format. */
5037
- '$.xgafv'?: string;
5296
+ '$.xgafv'?: '1' | '2';
5038
5297
  /** OAuth access token. */
5039
5298
  access_token?: string;
5040
5299
  /** Data format for response. */
5041
- alt?: string;
5300
+ alt?: 'json' | 'media' | 'proto';
5042
5301
  /** JSONP */
5043
5302
  callback?: string;
5044
5303
  /** Selector specifying which fields to include in a partial response. */
@@ -5061,11 +5320,11 @@ declare namespace gapi.client {
5061
5320
  /** Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema. */
5062
5321
  list(request?: {
5063
5322
  /** V1 error format. */
5064
- '$.xgafv'?: string;
5323
+ '$.xgafv'?: '1' | '2';
5065
5324
  /** OAuth access token. */
5066
5325
  access_token?: string;
5067
5326
  /** Data format for response. */
5068
- alt?: string;
5327
+ alt?: 'json' | 'media' | 'proto';
5069
5328
  /** JSONP */
5070
5329
  callback?: string;
5071
5330
  /** Selector specifying which fields to include in a partial response. */
@@ -5074,9 +5333,9 @@ declare namespace gapi.client {
5074
5333
  key?: string;
5075
5334
  /** OAuth 2.0 token for the current user. */
5076
5335
  oauth_token?: string;
5077
- /** The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
5336
+ /** Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
5078
5337
  pageSize?: number;
5079
- /** A page token, received from a previous `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSKAdNetworkConversionValueSchema` must match the call that provided the page token. */
5338
+ /** Optional. A page token, received from a previous `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSKAdNetworkConversionValueSchema` must match the call that provided the page token. */
5080
5339
  pageToken?: string;
5081
5340
  /** Required. The DataStream resource to list schemas for. Format: properties/{property_id}/dataStreams/{dataStream} Example: properties/1234/dataStreams/5678 */
5082
5341
  parent: string;
@@ -5092,18 +5351,18 @@ declare namespace gapi.client {
5092
5351
  /** Updates a SKAdNetworkConversionValueSchema. */
5093
5352
  patch(request: {
5094
5353
  /** V1 error format. */
5095
- '$.xgafv'?: string;
5354
+ '$.xgafv'?: '1' | '2';
5096
5355
  /** OAuth access token. */
5097
5356
  access_token?: string;
5098
5357
  /** Data format for response. */
5099
- alt?: string;
5358
+ alt?: 'json' | 'media' | 'proto';
5100
5359
  /** JSONP */
5101
5360
  callback?: string;
5102
5361
  /** Selector specifying which fields to include in a partial response. */
5103
5362
  fields?: string;
5104
5363
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5105
5364
  key?: string;
5106
- /** Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema */
5365
+ /** Identifier. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema */
5107
5366
  name: string;
5108
5367
  /** OAuth 2.0 token for the current user. */
5109
5368
  oauth_token?: string;
@@ -5123,18 +5382,18 @@ declare namespace gapi.client {
5123
5382
  patch(
5124
5383
  request: {
5125
5384
  /** V1 error format. */
5126
- '$.xgafv'?: string;
5385
+ '$.xgafv'?: '1' | '2';
5127
5386
  /** OAuth access token. */
5128
5387
  access_token?: string;
5129
5388
  /** Data format for response. */
5130
- alt?: string;
5389
+ alt?: 'json' | 'media' | 'proto';
5131
5390
  /** JSONP */
5132
5391
  callback?: string;
5133
5392
  /** Selector specifying which fields to include in a partial response. */
5134
5393
  fields?: string;
5135
5394
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5136
5395
  key?: string;
5137
- /** Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema */
5396
+ /** Identifier. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema */
5138
5397
  name: string;
5139
5398
  /** OAuth 2.0 token for the current user. */
5140
5399
  oauth_token?: string;
@@ -5156,11 +5415,11 @@ declare namespace gapi.client {
5156
5415
  /** Creates a DataStream. */
5157
5416
  create(request: {
5158
5417
  /** V1 error format. */
5159
- '$.xgafv'?: string;
5418
+ '$.xgafv'?: '1' | '2';
5160
5419
  /** OAuth access token. */
5161
5420
  access_token?: string;
5162
5421
  /** Data format for response. */
5163
- alt?: string;
5422
+ alt?: 'json' | 'media' | 'proto';
5164
5423
  /** JSONP */
5165
5424
  callback?: string;
5166
5425
  /** Selector specifying which fields to include in a partial response. */
@@ -5185,11 +5444,11 @@ declare namespace gapi.client {
5185
5444
  create(
5186
5445
  request: {
5187
5446
  /** V1 error format. */
5188
- '$.xgafv'?: string;
5447
+ '$.xgafv'?: '1' | '2';
5189
5448
  /** OAuth access token. */
5190
5449
  access_token?: string;
5191
5450
  /** Data format for response. */
5192
- alt?: string;
5451
+ alt?: 'json' | 'media' | 'proto';
5193
5452
  /** JSONP */
5194
5453
  callback?: string;
5195
5454
  /** Selector specifying which fields to include in a partial response. */
@@ -5214,11 +5473,11 @@ declare namespace gapi.client {
5214
5473
  /** Deletes a DataStream on a property. */
5215
5474
  delete(request?: {
5216
5475
  /** V1 error format. */
5217
- '$.xgafv'?: string;
5476
+ '$.xgafv'?: '1' | '2';
5218
5477
  /** OAuth access token. */
5219
5478
  access_token?: string;
5220
5479
  /** Data format for response. */
5221
- alt?: string;
5480
+ alt?: 'json' | 'media' | 'proto';
5222
5481
  /** JSONP */
5223
5482
  callback?: string;
5224
5483
  /** Selector specifying which fields to include in a partial response. */
@@ -5241,11 +5500,11 @@ declare namespace gapi.client {
5241
5500
  /** Lookup for a single DataStream. */
5242
5501
  get(request?: {
5243
5502
  /** V1 error format. */
5244
- '$.xgafv'?: string;
5503
+ '$.xgafv'?: '1' | '2';
5245
5504
  /** OAuth access token. */
5246
5505
  access_token?: string;
5247
5506
  /** Data format for response. */
5248
- alt?: string;
5507
+ alt?: 'json' | 'media' | 'proto';
5249
5508
  /** JSONP */
5250
5509
  callback?: string;
5251
5510
  /** Selector specifying which fields to include in a partial response. */
@@ -5268,11 +5527,11 @@ declare namespace gapi.client {
5268
5527
  /** Lookup for a single DataRedactionSettings. */
5269
5528
  getDataRedactionSettings(request?: {
5270
5529
  /** V1 error format. */
5271
- '$.xgafv'?: string;
5530
+ '$.xgafv'?: '1' | '2';
5272
5531
  /** OAuth access token. */
5273
5532
  access_token?: string;
5274
5533
  /** Data format for response. */
5275
- alt?: string;
5534
+ alt?: 'json' | 'media' | 'proto';
5276
5535
  /** JSONP */
5277
5536
  callback?: string;
5278
5537
  /** Selector specifying which fields to include in a partial response. */
@@ -5295,11 +5554,11 @@ declare namespace gapi.client {
5295
5554
  /** Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect. */
5296
5555
  getEnhancedMeasurementSettings(request?: {
5297
5556
  /** V1 error format. */
5298
- '$.xgafv'?: string;
5557
+ '$.xgafv'?: '1' | '2';
5299
5558
  /** OAuth access token. */
5300
5559
  access_token?: string;
5301
5560
  /** Data format for response. */
5302
- alt?: string;
5561
+ alt?: 'json' | 'media' | 'proto';
5303
5562
  /** JSONP */
5304
5563
  callback?: string;
5305
5564
  /** Selector specifying which fields to include in a partial response. */
@@ -5322,11 +5581,11 @@ declare namespace gapi.client {
5322
5581
  /** Returns the Site Tag for the specified web stream. Site Tags are immutable singletons. */
5323
5582
  getGlobalSiteTag(request?: {
5324
5583
  /** V1 error format. */
5325
- '$.xgafv'?: string;
5584
+ '$.xgafv'?: '1' | '2';
5326
5585
  /** OAuth access token. */
5327
5586
  access_token?: string;
5328
5587
  /** Data format for response. */
5329
- alt?: string;
5588
+ alt?: 'json' | 'media' | 'proto';
5330
5589
  /** JSONP */
5331
5590
  callback?: string;
5332
5591
  /** Selector specifying which fields to include in a partial response. */
@@ -5349,11 +5608,11 @@ declare namespace gapi.client {
5349
5608
  /** Lists DataStreams on a property. */
5350
5609
  list(request?: {
5351
5610
  /** V1 error format. */
5352
- '$.xgafv'?: string;
5611
+ '$.xgafv'?: '1' | '2';
5353
5612
  /** OAuth access token. */
5354
5613
  access_token?: string;
5355
5614
  /** Data format for response. */
5356
- alt?: string;
5615
+ alt?: 'json' | 'media' | 'proto';
5357
5616
  /** JSONP */
5358
5617
  callback?: string;
5359
5618
  /** Selector specifying which fields to include in a partial response. */
@@ -5380,18 +5639,18 @@ declare namespace gapi.client {
5380
5639
  /** Updates a DataStream on a property. */
5381
5640
  patch(request: {
5382
5641
  /** V1 error format. */
5383
- '$.xgafv'?: string;
5642
+ '$.xgafv'?: '1' | '2';
5384
5643
  /** OAuth access token. */
5385
5644
  access_token?: string;
5386
5645
  /** Data format for response. */
5387
- alt?: string;
5646
+ alt?: 'json' | 'media' | 'proto';
5388
5647
  /** JSONP */
5389
5648
  callback?: string;
5390
5649
  /** Selector specifying which fields to include in a partial response. */
5391
5650
  fields?: string;
5392
5651
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5393
5652
  key?: string;
5394
- /** Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
5653
+ /** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
5395
5654
  name: string;
5396
5655
  /** OAuth 2.0 token for the current user. */
5397
5656
  oauth_token?: string;
@@ -5411,18 +5670,18 @@ declare namespace gapi.client {
5411
5670
  patch(
5412
5671
  request: {
5413
5672
  /** V1 error format. */
5414
- '$.xgafv'?: string;
5673
+ '$.xgafv'?: '1' | '2';
5415
5674
  /** OAuth access token. */
5416
5675
  access_token?: string;
5417
5676
  /** Data format for response. */
5418
- alt?: string;
5677
+ alt?: 'json' | 'media' | 'proto';
5419
5678
  /** JSONP */
5420
5679
  callback?: string;
5421
5680
  /** Selector specifying which fields to include in a partial response. */
5422
5681
  fields?: string;
5423
5682
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5424
5683
  key?: string;
5425
- /** Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
5684
+ /** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
5426
5685
  name: string;
5427
5686
  /** OAuth 2.0 token for the current user. */
5428
5687
  oauth_token?: string;
@@ -5442,11 +5701,11 @@ declare namespace gapi.client {
5442
5701
  /** Updates a DataRedactionSettings on a property. */
5443
5702
  updateDataRedactionSettings(request: {
5444
5703
  /** V1 error format. */
5445
- '$.xgafv'?: string;
5704
+ '$.xgafv'?: '1' | '2';
5446
5705
  /** OAuth access token. */
5447
5706
  access_token?: string;
5448
5707
  /** Data format for response. */
5449
- alt?: string;
5708
+ alt?: 'json' | 'media' | 'proto';
5450
5709
  /** JSONP */
5451
5710
  callback?: string;
5452
5711
  /** Selector specifying which fields to include in a partial response. */
@@ -5473,11 +5732,11 @@ declare namespace gapi.client {
5473
5732
  updateDataRedactionSettings(
5474
5733
  request: {
5475
5734
  /** V1 error format. */
5476
- '$.xgafv'?: string;
5735
+ '$.xgafv'?: '1' | '2';
5477
5736
  /** OAuth access token. */
5478
5737
  access_token?: string;
5479
5738
  /** Data format for response. */
5480
- alt?: string;
5739
+ alt?: 'json' | 'media' | 'proto';
5481
5740
  /** JSONP */
5482
5741
  callback?: string;
5483
5742
  /** Selector specifying which fields to include in a partial response. */
@@ -5504,11 +5763,11 @@ declare namespace gapi.client {
5504
5763
  /** Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect. */
5505
5764
  updateEnhancedMeasurementSettings(request: {
5506
5765
  /** V1 error format. */
5507
- '$.xgafv'?: string;
5766
+ '$.xgafv'?: '1' | '2';
5508
5767
  /** OAuth access token. */
5509
5768
  access_token?: string;
5510
5769
  /** Data format for response. */
5511
- alt?: string;
5770
+ alt?: 'json' | 'media' | 'proto';
5512
5771
  /** JSONP */
5513
5772
  callback?: string;
5514
5773
  /** Selector specifying which fields to include in a partial response. */
@@ -5535,11 +5794,11 @@ declare namespace gapi.client {
5535
5794
  updateEnhancedMeasurementSettings(
5536
5795
  request: {
5537
5796
  /** V1 error format. */
5538
- '$.xgafv'?: string;
5797
+ '$.xgafv'?: '1' | '2';
5539
5798
  /** OAuth access token. */
5540
5799
  access_token?: string;
5541
5800
  /** Data format for response. */
5542
- alt?: string;
5801
+ alt?: 'json' | 'media' | 'proto';
5543
5802
  /** JSONP */
5544
5803
  callback?: string;
5545
5804
  /** Selector specifying which fields to include in a partial response. */
@@ -5572,11 +5831,11 @@ declare namespace gapi.client {
5572
5831
  /** Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created. */
5573
5832
  approve(request: {
5574
5833
  /** V1 error format. */
5575
- '$.xgafv'?: string;
5834
+ '$.xgafv'?: '1' | '2';
5576
5835
  /** OAuth access token. */
5577
5836
  access_token?: string;
5578
5837
  /** Data format for response. */
5579
- alt?: string;
5838
+ alt?: 'json' | 'media' | 'proto';
5580
5839
  /** JSONP */
5581
5840
  callback?: string;
5582
5841
  /** Selector specifying which fields to include in a partial response. */
@@ -5601,11 +5860,11 @@ declare namespace gapi.client {
5601
5860
  approve(
5602
5861
  request: {
5603
5862
  /** V1 error format. */
5604
- '$.xgafv'?: string;
5863
+ '$.xgafv'?: '1' | '2';
5605
5864
  /** OAuth access token. */
5606
5865
  access_token?: string;
5607
5866
  /** Data format for response. */
5608
- alt?: string;
5867
+ alt?: 'json' | 'media' | 'proto';
5609
5868
  /** JSONP */
5610
5869
  callback?: string;
5611
5870
  /** Selector specifying which fields to include in a partial response. */
@@ -5630,11 +5889,11 @@ declare namespace gapi.client {
5630
5889
  /** Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: - Declining a proposal initiated from Display & Video 360 - Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically. */
5631
5890
  cancel(request: {
5632
5891
  /** V1 error format. */
5633
- '$.xgafv'?: string;
5892
+ '$.xgafv'?: '1' | '2';
5634
5893
  /** OAuth access token. */
5635
5894
  access_token?: string;
5636
5895
  /** Data format for response. */
5637
- alt?: string;
5896
+ alt?: 'json' | 'media' | 'proto';
5638
5897
  /** JSONP */
5639
5898
  callback?: string;
5640
5899
  /** Selector specifying which fields to include in a partial response. */
@@ -5659,11 +5918,11 @@ declare namespace gapi.client {
5659
5918
  cancel(
5660
5919
  request: {
5661
5920
  /** V1 error format. */
5662
- '$.xgafv'?: string;
5921
+ '$.xgafv'?: '1' | '2';
5663
5922
  /** OAuth access token. */
5664
5923
  access_token?: string;
5665
5924
  /** Data format for response. */
5666
- alt?: string;
5925
+ alt?: 'json' | 'media' | 'proto';
5667
5926
  /** JSONP */
5668
5927
  callback?: string;
5669
5928
  /** Selector specifying which fields to include in a partial response. */
@@ -5688,11 +5947,11 @@ declare namespace gapi.client {
5688
5947
  /** Creates a DisplayVideo360AdvertiserLinkProposal. */
5689
5948
  create(request: {
5690
5949
  /** V1 error format. */
5691
- '$.xgafv'?: string;
5950
+ '$.xgafv'?: '1' | '2';
5692
5951
  /** OAuth access token. */
5693
5952
  access_token?: string;
5694
5953
  /** Data format for response. */
5695
- alt?: string;
5954
+ alt?: 'json' | 'media' | 'proto';
5696
5955
  /** JSONP */
5697
5956
  callback?: string;
5698
5957
  /** Selector specifying which fields to include in a partial response. */
@@ -5717,11 +5976,11 @@ declare namespace gapi.client {
5717
5976
  create(
5718
5977
  request: {
5719
5978
  /** V1 error format. */
5720
- '$.xgafv'?: string;
5979
+ '$.xgafv'?: '1' | '2';
5721
5980
  /** OAuth access token. */
5722
5981
  access_token?: string;
5723
5982
  /** Data format for response. */
5724
- alt?: string;
5983
+ alt?: 'json' | 'media' | 'proto';
5725
5984
  /** JSONP */
5726
5985
  callback?: string;
5727
5986
  /** Selector specifying which fields to include in a partial response. */
@@ -5746,11 +6005,11 @@ declare namespace gapi.client {
5746
6005
  /** Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals. */
5747
6006
  delete(request?: {
5748
6007
  /** V1 error format. */
5749
- '$.xgafv'?: string;
6008
+ '$.xgafv'?: '1' | '2';
5750
6009
  /** OAuth access token. */
5751
6010
  access_token?: string;
5752
6011
  /** Data format for response. */
5753
- alt?: string;
6012
+ alt?: 'json' | 'media' | 'proto';
5754
6013
  /** JSONP */
5755
6014
  callback?: string;
5756
6015
  /** Selector specifying which fields to include in a partial response. */
@@ -5773,11 +6032,11 @@ declare namespace gapi.client {
5773
6032
  /** Lookup for a single DisplayVideo360AdvertiserLinkProposal. */
5774
6033
  get(request?: {
5775
6034
  /** V1 error format. */
5776
- '$.xgafv'?: string;
6035
+ '$.xgafv'?: '1' | '2';
5777
6036
  /** OAuth access token. */
5778
6037
  access_token?: string;
5779
6038
  /** Data format for response. */
5780
- alt?: string;
6039
+ alt?: 'json' | 'media' | 'proto';
5781
6040
  /** JSONP */
5782
6041
  callback?: string;
5783
6042
  /** Selector specifying which fields to include in a partial response. */
@@ -5800,11 +6059,11 @@ declare namespace gapi.client {
5800
6059
  /** Lists DisplayVideo360AdvertiserLinkProposals on a property. */
5801
6060
  list(request?: {
5802
6061
  /** V1 error format. */
5803
- '$.xgafv'?: string;
6062
+ '$.xgafv'?: '1' | '2';
5804
6063
  /** OAuth access token. */
5805
6064
  access_token?: string;
5806
6065
  /** Data format for response. */
5807
- alt?: string;
6066
+ alt?: 'json' | 'media' | 'proto';
5808
6067
  /** JSONP */
5809
6068
  callback?: string;
5810
6069
  /** Selector specifying which fields to include in a partial response. */
@@ -5833,11 +6092,11 @@ declare namespace gapi.client {
5833
6092
  /** Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal. */
5834
6093
  create(request: {
5835
6094
  /** V1 error format. */
5836
- '$.xgafv'?: string;
6095
+ '$.xgafv'?: '1' | '2';
5837
6096
  /** OAuth access token. */
5838
6097
  access_token?: string;
5839
6098
  /** Data format for response. */
5840
- alt?: string;
6099
+ alt?: 'json' | 'media' | 'proto';
5841
6100
  /** JSONP */
5842
6101
  callback?: string;
5843
6102
  /** Selector specifying which fields to include in a partial response. */
@@ -5862,11 +6121,11 @@ declare namespace gapi.client {
5862
6121
  create(
5863
6122
  request: {
5864
6123
  /** V1 error format. */
5865
- '$.xgafv'?: string;
6124
+ '$.xgafv'?: '1' | '2';
5866
6125
  /** OAuth access token. */
5867
6126
  access_token?: string;
5868
6127
  /** Data format for response. */
5869
- alt?: string;
6128
+ alt?: 'json' | 'media' | 'proto';
5870
6129
  /** JSONP */
5871
6130
  callback?: string;
5872
6131
  /** Selector specifying which fields to include in a partial response. */
@@ -5891,11 +6150,11 @@ declare namespace gapi.client {
5891
6150
  /** Deletes a DisplayVideo360AdvertiserLink on a property. */
5892
6151
  delete(request?: {
5893
6152
  /** V1 error format. */
5894
- '$.xgafv'?: string;
6153
+ '$.xgafv'?: '1' | '2';
5895
6154
  /** OAuth access token. */
5896
6155
  access_token?: string;
5897
6156
  /** Data format for response. */
5898
- alt?: string;
6157
+ alt?: 'json' | 'media' | 'proto';
5899
6158
  /** JSONP */
5900
6159
  callback?: string;
5901
6160
  /** Selector specifying which fields to include in a partial response. */
@@ -5918,11 +6177,11 @@ declare namespace gapi.client {
5918
6177
  /** Look up a single DisplayVideo360AdvertiserLink */
5919
6178
  get(request?: {
5920
6179
  /** V1 error format. */
5921
- '$.xgafv'?: string;
6180
+ '$.xgafv'?: '1' | '2';
5922
6181
  /** OAuth access token. */
5923
6182
  access_token?: string;
5924
6183
  /** Data format for response. */
5925
- alt?: string;
6184
+ alt?: 'json' | 'media' | 'proto';
5926
6185
  /** JSONP */
5927
6186
  callback?: string;
5928
6187
  /** Selector specifying which fields to include in a partial response. */
@@ -5945,11 +6204,11 @@ declare namespace gapi.client {
5945
6204
  /** Lists all DisplayVideo360AdvertiserLinks on a property. */
5946
6205
  list(request?: {
5947
6206
  /** V1 error format. */
5948
- '$.xgafv'?: string;
6207
+ '$.xgafv'?: '1' | '2';
5949
6208
  /** OAuth access token. */
5950
6209
  access_token?: string;
5951
6210
  /** Data format for response. */
5952
- alt?: string;
6211
+ alt?: 'json' | 'media' | 'proto';
5953
6212
  /** JSONP */
5954
6213
  callback?: string;
5955
6214
  /** Selector specifying which fields to include in a partial response. */
@@ -5976,18 +6235,18 @@ declare namespace gapi.client {
5976
6235
  /** Updates a DisplayVideo360AdvertiserLink on a property. */
5977
6236
  patch(request: {
5978
6237
  /** V1 error format. */
5979
- '$.xgafv'?: string;
6238
+ '$.xgafv'?: '1' | '2';
5980
6239
  /** OAuth access token. */
5981
6240
  access_token?: string;
5982
6241
  /** Data format for response. */
5983
- alt?: string;
6242
+ alt?: 'json' | 'media' | 'proto';
5984
6243
  /** JSONP */
5985
6244
  callback?: string;
5986
6245
  /** Selector specifying which fields to include in a partial response. */
5987
6246
  fields?: string;
5988
6247
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5989
6248
  key?: string;
5990
- /** Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID */
6249
+ /** Identifier. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID */
5991
6250
  name: string;
5992
6251
  /** OAuth 2.0 token for the current user. */
5993
6252
  oauth_token?: string;
@@ -6007,18 +6266,18 @@ declare namespace gapi.client {
6007
6266
  patch(
6008
6267
  request: {
6009
6268
  /** V1 error format. */
6010
- '$.xgafv'?: string;
6269
+ '$.xgafv'?: '1' | '2';
6011
6270
  /** OAuth access token. */
6012
6271
  access_token?: string;
6013
6272
  /** Data format for response. */
6014
- alt?: string;
6273
+ alt?: 'json' | 'media' | 'proto';
6015
6274
  /** JSONP */
6016
6275
  callback?: string;
6017
6276
  /** Selector specifying which fields to include in a partial response. */
6018
6277
  fields?: string;
6019
6278
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
6020
6279
  key?: string;
6021
- /** Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID */
6280
+ /** Identifier. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID */
6022
6281
  name: string;
6023
6282
  /** OAuth 2.0 token for the current user. */
6024
6283
  oauth_token?: string;
@@ -6040,11 +6299,11 @@ declare namespace gapi.client {
6040
6299
  /** Creates a ExpandedDataSet. */
6041
6300
  create(request: {
6042
6301
  /** V1 error format. */
6043
- '$.xgafv'?: string;
6302
+ '$.xgafv'?: '1' | '2';
6044
6303
  /** OAuth access token. */
6045
6304
  access_token?: string;
6046
6305
  /** Data format for response. */
6047
- alt?: string;
6306
+ alt?: 'json' | 'media' | 'proto';
6048
6307
  /** JSONP */
6049
6308
  callback?: string;
6050
6309
  /** Selector specifying which fields to include in a partial response. */
@@ -6069,11 +6328,11 @@ declare namespace gapi.client {
6069
6328
  create(
6070
6329
  request: {
6071
6330
  /** V1 error format. */
6072
- '$.xgafv'?: string;
6331
+ '$.xgafv'?: '1' | '2';
6073
6332
  /** OAuth access token. */
6074
6333
  access_token?: string;
6075
6334
  /** Data format for response. */
6076
- alt?: string;
6335
+ alt?: 'json' | 'media' | 'proto';
6077
6336
  /** JSONP */
6078
6337
  callback?: string;
6079
6338
  /** Selector specifying which fields to include in a partial response. */
@@ -6098,11 +6357,11 @@ declare namespace gapi.client {
6098
6357
  /** Deletes a ExpandedDataSet on a property. */
6099
6358
  delete(request?: {
6100
6359
  /** V1 error format. */
6101
- '$.xgafv'?: string;
6360
+ '$.xgafv'?: '1' | '2';
6102
6361
  /** OAuth access token. */
6103
6362
  access_token?: string;
6104
6363
  /** Data format for response. */
6105
- alt?: string;
6364
+ alt?: 'json' | 'media' | 'proto';
6106
6365
  /** JSONP */
6107
6366
  callback?: string;
6108
6367
  /** Selector specifying which fields to include in a partial response. */
@@ -6125,11 +6384,11 @@ declare namespace gapi.client {
6125
6384
  /** Lookup for a single ExpandedDataSet. */
6126
6385
  get(request?: {
6127
6386
  /** V1 error format. */
6128
- '$.xgafv'?: string;
6387
+ '$.xgafv'?: '1' | '2';
6129
6388
  /** OAuth access token. */
6130
6389
  access_token?: string;
6131
6390
  /** Data format for response. */
6132
- alt?: string;
6391
+ alt?: 'json' | 'media' | 'proto';
6133
6392
  /** JSONP */
6134
6393
  callback?: string;
6135
6394
  /** Selector specifying which fields to include in a partial response. */
@@ -6152,11 +6411,11 @@ declare namespace gapi.client {
6152
6411
  /** Lists ExpandedDataSets on a property. */
6153
6412
  list(request?: {
6154
6413
  /** V1 error format. */
6155
- '$.xgafv'?: string;
6414
+ '$.xgafv'?: '1' | '2';
6156
6415
  /** OAuth access token. */
6157
6416
  access_token?: string;
6158
6417
  /** Data format for response. */
6159
- alt?: string;
6418
+ alt?: 'json' | 'media' | 'proto';
6160
6419
  /** JSONP */
6161
6420
  callback?: string;
6162
6421
  /** Selector specifying which fields to include in a partial response. */
@@ -6183,11 +6442,11 @@ declare namespace gapi.client {
6183
6442
  /** Updates a ExpandedDataSet on a property. */
6184
6443
  patch(request: {
6185
6444
  /** V1 error format. */
6186
- '$.xgafv'?: string;
6445
+ '$.xgafv'?: '1' | '2';
6187
6446
  /** OAuth access token. */
6188
6447
  access_token?: string;
6189
6448
  /** Data format for response. */
6190
- alt?: string;
6449
+ alt?: 'json' | 'media' | 'proto';
6191
6450
  /** JSONP */
6192
6451
  callback?: string;
6193
6452
  /** Selector specifying which fields to include in a partial response. */
@@ -6214,11 +6473,11 @@ declare namespace gapi.client {
6214
6473
  patch(
6215
6474
  request: {
6216
6475
  /** V1 error format. */
6217
- '$.xgafv'?: string;
6476
+ '$.xgafv'?: '1' | '2';
6218
6477
  /** OAuth access token. */
6219
6478
  access_token?: string;
6220
6479
  /** Data format for response. */
6221
- alt?: string;
6480
+ alt?: 'json' | 'media' | 'proto';
6222
6481
  /** JSONP */
6223
6482
  callback?: string;
6224
6483
  /** Selector specifying which fields to include in a partial response. */
@@ -6247,11 +6506,11 @@ declare namespace gapi.client {
6247
6506
  /** Creates a FirebaseLink. Properties can have at most one FirebaseLink. */
6248
6507
  create(request: {
6249
6508
  /** V1 error format. */
6250
- '$.xgafv'?: string;
6509
+ '$.xgafv'?: '1' | '2';
6251
6510
  /** OAuth access token. */
6252
6511
  access_token?: string;
6253
6512
  /** Data format for response. */
6254
- alt?: string;
6513
+ alt?: 'json' | 'media' | 'proto';
6255
6514
  /** JSONP */
6256
6515
  callback?: string;
6257
6516
  /** Selector specifying which fields to include in a partial response. */
@@ -6276,11 +6535,11 @@ declare namespace gapi.client {
6276
6535
  create(
6277
6536
  request: {
6278
6537
  /** V1 error format. */
6279
- '$.xgafv'?: string;
6538
+ '$.xgafv'?: '1' | '2';
6280
6539
  /** OAuth access token. */
6281
6540
  access_token?: string;
6282
6541
  /** Data format for response. */
6283
- alt?: string;
6542
+ alt?: 'json' | 'media' | 'proto';
6284
6543
  /** JSONP */
6285
6544
  callback?: string;
6286
6545
  /** Selector specifying which fields to include in a partial response. */
@@ -6305,11 +6564,11 @@ declare namespace gapi.client {
6305
6564
  /** Deletes a FirebaseLink on a property */
6306
6565
  delete(request?: {
6307
6566
  /** V1 error format. */
6308
- '$.xgafv'?: string;
6567
+ '$.xgafv'?: '1' | '2';
6309
6568
  /** OAuth access token. */
6310
6569
  access_token?: string;
6311
6570
  /** Data format for response. */
6312
- alt?: string;
6571
+ alt?: 'json' | 'media' | 'proto';
6313
6572
  /** JSONP */
6314
6573
  callback?: string;
6315
6574
  /** Selector specifying which fields to include in a partial response. */
@@ -6332,11 +6591,11 @@ declare namespace gapi.client {
6332
6591
  /** Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink. */
6333
6592
  list(request?: {
6334
6593
  /** V1 error format. */
6335
- '$.xgafv'?: string;
6594
+ '$.xgafv'?: '1' | '2';
6336
6595
  /** OAuth access token. */
6337
6596
  access_token?: string;
6338
6597
  /** Data format for response. */
6339
- alt?: string;
6598
+ alt?: 'json' | 'media' | 'proto';
6340
6599
  /** JSONP */
6341
6600
  callback?: string;
6342
6601
  /** Selector specifying which fields to include in a partial response. */
@@ -6345,9 +6604,9 @@ declare namespace gapi.client {
6345
6604
  key?: string;
6346
6605
  /** OAuth 2.0 token for the current user. */
6347
6606
  oauth_token?: string;
6348
- /** The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
6607
+ /** Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
6349
6608
  pageSize?: number;
6350
- /** A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFirebaseLinks` must match the call that provided the page token. */
6609
+ /** Optional. A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFirebaseLinks` must match the call that provided the page token. */
6351
6610
  pageToken?: string;
6352
6611
  /** Required. Format: properties/{property_id} Example: `properties/1234` */
6353
6612
  parent: string;
@@ -6365,11 +6624,11 @@ declare namespace gapi.client {
6365
6624
  /** Creates a GoogleAdsLink. */
6366
6625
  create(request: {
6367
6626
  /** V1 error format. */
6368
- '$.xgafv'?: string;
6627
+ '$.xgafv'?: '1' | '2';
6369
6628
  /** OAuth access token. */
6370
6629
  access_token?: string;
6371
6630
  /** Data format for response. */
6372
- alt?: string;
6631
+ alt?: 'json' | 'media' | 'proto';
6373
6632
  /** JSONP */
6374
6633
  callback?: string;
6375
6634
  /** Selector specifying which fields to include in a partial response. */
@@ -6394,11 +6653,11 @@ declare namespace gapi.client {
6394
6653
  create(
6395
6654
  request: {
6396
6655
  /** V1 error format. */
6397
- '$.xgafv'?: string;
6656
+ '$.xgafv'?: '1' | '2';
6398
6657
  /** OAuth access token. */
6399
6658
  access_token?: string;
6400
6659
  /** Data format for response. */
6401
- alt?: string;
6660
+ alt?: 'json' | 'media' | 'proto';
6402
6661
  /** JSONP */
6403
6662
  callback?: string;
6404
6663
  /** Selector specifying which fields to include in a partial response. */
@@ -6423,11 +6682,11 @@ declare namespace gapi.client {
6423
6682
  /** Deletes a GoogleAdsLink on a property */
6424
6683
  delete(request?: {
6425
6684
  /** V1 error format. */
6426
- '$.xgafv'?: string;
6685
+ '$.xgafv'?: '1' | '2';
6427
6686
  /** OAuth access token. */
6428
6687
  access_token?: string;
6429
6688
  /** Data format for response. */
6430
- alt?: string;
6689
+ alt?: 'json' | 'media' | 'proto';
6431
6690
  /** JSONP */
6432
6691
  callback?: string;
6433
6692
  /** Selector specifying which fields to include in a partial response. */
@@ -6450,11 +6709,11 @@ declare namespace gapi.client {
6450
6709
  /** Lists GoogleAdsLinks on a property. */
6451
6710
  list(request?: {
6452
6711
  /** V1 error format. */
6453
- '$.xgafv'?: string;
6712
+ '$.xgafv'?: '1' | '2';
6454
6713
  /** OAuth access token. */
6455
6714
  access_token?: string;
6456
6715
  /** Data format for response. */
6457
- alt?: string;
6716
+ alt?: 'json' | 'media' | 'proto';
6458
6717
  /** JSONP */
6459
6718
  callback?: string;
6460
6719
  /** Selector specifying which fields to include in a partial response. */
@@ -6463,9 +6722,9 @@ declare namespace gapi.client {
6463
6722
  key?: string;
6464
6723
  /** OAuth 2.0 token for the current user. */
6465
6724
  oauth_token?: string;
6466
- /** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
6725
+ /** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
6467
6726
  pageSize?: number;
6468
- /** A page token, received from a previous `ListGoogleAdsLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoogleAdsLinks` must match the call that provided the page token. */
6727
+ /** Optional. A page token, received from a previous `ListGoogleAdsLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoogleAdsLinks` must match the call that provided the page token. */
6469
6728
  pageToken?: string;
6470
6729
  /** Required. Example format: properties/1234 */
6471
6730
  parent: string;
@@ -6481,18 +6740,18 @@ declare namespace gapi.client {
6481
6740
  /** Updates a GoogleAdsLink on a property */
6482
6741
  patch(request: {
6483
6742
  /** V1 error format. */
6484
- '$.xgafv'?: string;
6743
+ '$.xgafv'?: '1' | '2';
6485
6744
  /** OAuth access token. */
6486
6745
  access_token?: string;
6487
6746
  /** Data format for response. */
6488
- alt?: string;
6747
+ alt?: 'json' | 'media' | 'proto';
6489
6748
  /** JSONP */
6490
6749
  callback?: string;
6491
6750
  /** Selector specifying which fields to include in a partial response. */
6492
6751
  fields?: string;
6493
6752
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
6494
6753
  key?: string;
6495
- /** Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
6754
+ /** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
6496
6755
  name: string;
6497
6756
  /** OAuth 2.0 token for the current user. */
6498
6757
  oauth_token?: string;
@@ -6512,18 +6771,18 @@ declare namespace gapi.client {
6512
6771
  patch(
6513
6772
  request: {
6514
6773
  /** V1 error format. */
6515
- '$.xgafv'?: string;
6774
+ '$.xgafv'?: '1' | '2';
6516
6775
  /** OAuth access token. */
6517
6776
  access_token?: string;
6518
6777
  /** Data format for response. */
6519
- alt?: string;
6778
+ alt?: 'json' | 'media' | 'proto';
6520
6779
  /** JSONP */
6521
6780
  callback?: string;
6522
6781
  /** Selector specifying which fields to include in a partial response. */
6523
6782
  fields?: string;
6524
6783
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
6525
6784
  key?: string;
6526
- /** Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
6785
+ /** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
6527
6786
  name: string;
6528
6787
  /** OAuth 2.0 token for the current user. */
6529
6788
  oauth_token?: string;
@@ -6545,11 +6804,11 @@ declare namespace gapi.client {
6545
6804
  /** Creates a Key Event. */
6546
6805
  create(request: {
6547
6806
  /** V1 error format. */
6548
- '$.xgafv'?: string;
6807
+ '$.xgafv'?: '1' | '2';
6549
6808
  /** OAuth access token. */
6550
6809
  access_token?: string;
6551
6810
  /** Data format for response. */
6552
- alt?: string;
6811
+ alt?: 'json' | 'media' | 'proto';
6553
6812
  /** JSONP */
6554
6813
  callback?: string;
6555
6814
  /** Selector specifying which fields to include in a partial response. */
@@ -6574,11 +6833,11 @@ declare namespace gapi.client {
6574
6833
  create(
6575
6834
  request: {
6576
6835
  /** V1 error format. */
6577
- '$.xgafv'?: string;
6836
+ '$.xgafv'?: '1' | '2';
6578
6837
  /** OAuth access token. */
6579
6838
  access_token?: string;
6580
6839
  /** Data format for response. */
6581
- alt?: string;
6840
+ alt?: 'json' | 'media' | 'proto';
6582
6841
  /** JSONP */
6583
6842
  callback?: string;
6584
6843
  /** Selector specifying which fields to include in a partial response. */
@@ -6603,11 +6862,11 @@ declare namespace gapi.client {
6603
6862
  /** Deletes a Key Event. */
6604
6863
  delete(request?: {
6605
6864
  /** V1 error format. */
6606
- '$.xgafv'?: string;
6865
+ '$.xgafv'?: '1' | '2';
6607
6866
  /** OAuth access token. */
6608
6867
  access_token?: string;
6609
6868
  /** Data format for response. */
6610
- alt?: string;
6869
+ alt?: 'json' | 'media' | 'proto';
6611
6870
  /** JSONP */
6612
6871
  callback?: string;
6613
6872
  /** Selector specifying which fields to include in a partial response. */
@@ -6630,11 +6889,11 @@ declare namespace gapi.client {
6630
6889
  /** Retrieve a single Key Event. */
6631
6890
  get(request?: {
6632
6891
  /** V1 error format. */
6633
- '$.xgafv'?: string;
6892
+ '$.xgafv'?: '1' | '2';
6634
6893
  /** OAuth access token. */
6635
6894
  access_token?: string;
6636
6895
  /** Data format for response. */
6637
- alt?: string;
6896
+ alt?: 'json' | 'media' | 'proto';
6638
6897
  /** JSONP */
6639
6898
  callback?: string;
6640
6899
  /** Selector specifying which fields to include in a partial response. */
@@ -6657,11 +6916,11 @@ declare namespace gapi.client {
6657
6916
  /** Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found. */
6658
6917
  list(request?: {
6659
6918
  /** V1 error format. */
6660
- '$.xgafv'?: string;
6919
+ '$.xgafv'?: '1' | '2';
6661
6920
  /** OAuth access token. */
6662
6921
  access_token?: string;
6663
6922
  /** Data format for response. */
6664
- alt?: string;
6923
+ alt?: 'json' | 'media' | 'proto';
6665
6924
  /** JSONP */
6666
6925
  callback?: string;
6667
6926
  /** Selector specifying which fields to include in a partial response. */
@@ -6670,9 +6929,9 @@ declare namespace gapi.client {
6670
6929
  key?: string;
6671
6930
  /** OAuth 2.0 token for the current user. */
6672
6931
  oauth_token?: string;
6673
- /** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
6932
+ /** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
6674
6933
  pageSize?: number;
6675
- /** A page token, received from a previous `ListKeyEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListKeyEvents` must match the call that provided the page token. */
6934
+ /** Optional. A page token, received from a previous `ListKeyEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListKeyEvents` must match the call that provided the page token. */
6676
6935
  pageToken?: string;
6677
6936
  /** Required. The resource name of the parent property. Example: 'properties/123' */
6678
6937
  parent: string;
@@ -6688,11 +6947,11 @@ declare namespace gapi.client {
6688
6947
  /** Updates a Key Event. */
6689
6948
  patch(request: {
6690
6949
  /** V1 error format. */
6691
- '$.xgafv'?: string;
6950
+ '$.xgafv'?: '1' | '2';
6692
6951
  /** OAuth access token. */
6693
6952
  access_token?: string;
6694
6953
  /** Data format for response. */
6695
- alt?: string;
6954
+ alt?: 'json' | 'media' | 'proto';
6696
6955
  /** JSONP */
6697
6956
  callback?: string;
6698
6957
  /** Selector specifying which fields to include in a partial response. */
@@ -6719,11 +6978,11 @@ declare namespace gapi.client {
6719
6978
  patch(
6720
6979
  request: {
6721
6980
  /** V1 error format. */
6722
- '$.xgafv'?: string;
6981
+ '$.xgafv'?: '1' | '2';
6723
6982
  /** OAuth access token. */
6724
6983
  access_token?: string;
6725
6984
  /** Data format for response. */
6726
- alt?: string;
6985
+ alt?: 'json' | 'media' | 'proto';
6727
6986
  /** JSONP */
6728
6987
  callback?: string;
6729
6988
  /** Selector specifying which fields to include in a partial response. */
@@ -6752,11 +7011,11 @@ declare namespace gapi.client {
6752
7011
  /** Creates a Reporting Data Annotation. */
6753
7012
  create(request: {
6754
7013
  /** V1 error format. */
6755
- '$.xgafv'?: string;
7014
+ '$.xgafv'?: '1' | '2';
6756
7015
  /** OAuth access token. */
6757
7016
  access_token?: string;
6758
7017
  /** Data format for response. */
6759
- alt?: string;
7018
+ alt?: 'json' | 'media' | 'proto';
6760
7019
  /** JSONP */
6761
7020
  callback?: string;
6762
7021
  /** Selector specifying which fields to include in a partial response. */
@@ -6781,11 +7040,11 @@ declare namespace gapi.client {
6781
7040
  create(
6782
7041
  request: {
6783
7042
  /** V1 error format. */
6784
- '$.xgafv'?: string;
7043
+ '$.xgafv'?: '1' | '2';
6785
7044
  /** OAuth access token. */
6786
7045
  access_token?: string;
6787
7046
  /** Data format for response. */
6788
- alt?: string;
7047
+ alt?: 'json' | 'media' | 'proto';
6789
7048
  /** JSONP */
6790
7049
  callback?: string;
6791
7050
  /** Selector specifying which fields to include in a partial response. */
@@ -6810,11 +7069,11 @@ declare namespace gapi.client {
6810
7069
  /** Deletes a Reporting Data Annotation. */
6811
7070
  delete(request?: {
6812
7071
  /** V1 error format. */
6813
- '$.xgafv'?: string;
7072
+ '$.xgafv'?: '1' | '2';
6814
7073
  /** OAuth access token. */
6815
7074
  access_token?: string;
6816
7075
  /** Data format for response. */
6817
- alt?: string;
7076
+ alt?: 'json' | 'media' | 'proto';
6818
7077
  /** JSONP */
6819
7078
  callback?: string;
6820
7079
  /** Selector specifying which fields to include in a partial response. */
@@ -6837,11 +7096,11 @@ declare namespace gapi.client {
6837
7096
  /** Lookup a single Reporting Data Annotation. */
6838
7097
  get(request?: {
6839
7098
  /** V1 error format. */
6840
- '$.xgafv'?: string;
7099
+ '$.xgafv'?: '1' | '2';
6841
7100
  /** OAuth access token. */
6842
7101
  access_token?: string;
6843
7102
  /** Data format for response. */
6844
- alt?: string;
7103
+ alt?: 'json' | 'media' | 'proto';
6845
7104
  /** JSONP */
6846
7105
  callback?: string;
6847
7106
  /** Selector specifying which fields to include in a partial response. */
@@ -6864,11 +7123,11 @@ declare namespace gapi.client {
6864
7123
  /** List all Reporting Data Annotations on a property. */
6865
7124
  list(request?: {
6866
7125
  /** V1 error format. */
6867
- '$.xgafv'?: string;
7126
+ '$.xgafv'?: '1' | '2';
6868
7127
  /** OAuth access token. */
6869
7128
  access_token?: string;
6870
7129
  /** Data format for response. */
6871
- alt?: string;
7130
+ alt?: 'json' | 'media' | 'proto';
6872
7131
  /** JSONP */
6873
7132
  callback?: string;
6874
7133
  /** Selector specifying which fields to include in a partial response. */
@@ -6897,11 +7156,11 @@ declare namespace gapi.client {
6897
7156
  /** Updates a Reporting Data Annotation. */
6898
7157
  patch(request: {
6899
7158
  /** V1 error format. */
6900
- '$.xgafv'?: string;
7159
+ '$.xgafv'?: '1' | '2';
6901
7160
  /** OAuth access token. */
6902
7161
  access_token?: string;
6903
7162
  /** Data format for response. */
6904
- alt?: string;
7163
+ alt?: 'json' | 'media' | 'proto';
6905
7164
  /** JSONP */
6906
7165
  callback?: string;
6907
7166
  /** Selector specifying which fields to include in a partial response. */
@@ -6928,11 +7187,11 @@ declare namespace gapi.client {
6928
7187
  patch(
6929
7188
  request: {
6930
7189
  /** V1 error format. */
6931
- '$.xgafv'?: string;
7190
+ '$.xgafv'?: '1' | '2';
6932
7191
  /** OAuth access token. */
6933
7192
  access_token?: string;
6934
7193
  /** Data format for response. */
6935
- alt?: string;
7194
+ alt?: 'json' | 'media' | 'proto';
6936
7195
  /** JSONP */
6937
7196
  callback?: string;
6938
7197
  /** Selector specifying which fields to include in a partial response. */
@@ -6961,11 +7220,11 @@ declare namespace gapi.client {
6961
7220
  /** Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
6962
7221
  create(request: {
6963
7222
  /** V1 error format. */
6964
- '$.xgafv'?: string;
7223
+ '$.xgafv'?: '1' | '2';
6965
7224
  /** OAuth access token. */
6966
7225
  access_token?: string;
6967
7226
  /** Data format for response. */
6968
- alt?: string;
7227
+ alt?: 'json' | 'media' | 'proto';
6969
7228
  /** JSONP */
6970
7229
  callback?: string;
6971
7230
  /** Selector specifying which fields to include in a partial response. */
@@ -6990,11 +7249,11 @@ declare namespace gapi.client {
6990
7249
  create(
6991
7250
  request: {
6992
7251
  /** V1 error format. */
6993
- '$.xgafv'?: string;
7252
+ '$.xgafv'?: '1' | '2';
6994
7253
  /** OAuth access token. */
6995
7254
  access_token?: string;
6996
7255
  /** Data format for response. */
6997
- alt?: string;
7256
+ alt?: 'json' | 'media' | 'proto';
6998
7257
  /** JSONP */
6999
7258
  callback?: string;
7000
7259
  /** Selector specifying which fields to include in a partial response. */
@@ -7019,11 +7278,11 @@ declare namespace gapi.client {
7019
7278
  /** Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
7020
7279
  delete(request?: {
7021
7280
  /** V1 error format. */
7022
- '$.xgafv'?: string;
7281
+ '$.xgafv'?: '1' | '2';
7023
7282
  /** OAuth access token. */
7024
7283
  access_token?: string;
7025
7284
  /** Data format for response. */
7026
- alt?: string;
7285
+ alt?: 'json' | 'media' | 'proto';
7027
7286
  /** JSONP */
7028
7287
  callback?: string;
7029
7288
  /** Selector specifying which fields to include in a partial response. */
@@ -7046,11 +7305,11 @@ declare namespace gapi.client {
7046
7305
  /** Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
7047
7306
  get(request?: {
7048
7307
  /** V1 error format. */
7049
- '$.xgafv'?: string;
7308
+ '$.xgafv'?: '1' | '2';
7050
7309
  /** OAuth access token. */
7051
7310
  access_token?: string;
7052
7311
  /** Data format for response. */
7053
- alt?: string;
7312
+ alt?: 'json' | 'media' | 'proto';
7054
7313
  /** JSONP */
7055
7314
  callback?: string;
7056
7315
  /** Selector specifying which fields to include in a partial response. */
@@ -7073,11 +7332,11 @@ declare namespace gapi.client {
7073
7332
  /** Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
7074
7333
  list(request?: {
7075
7334
  /** V1 error format. */
7076
- '$.xgafv'?: string;
7335
+ '$.xgafv'?: '1' | '2';
7077
7336
  /** OAuth access token. */
7078
7337
  access_token?: string;
7079
7338
  /** Data format for response. */
7080
- alt?: string;
7339
+ alt?: 'json' | 'media' | 'proto';
7081
7340
  /** JSONP */
7082
7341
  callback?: string;
7083
7342
  /** Selector specifying which fields to include in a partial response. */
@@ -7106,11 +7365,11 @@ declare namespace gapi.client {
7106
7365
  /** Creates a SearchAds360Link. */
7107
7366
  create(request: {
7108
7367
  /** V1 error format. */
7109
- '$.xgafv'?: string;
7368
+ '$.xgafv'?: '1' | '2';
7110
7369
  /** OAuth access token. */
7111
7370
  access_token?: string;
7112
7371
  /** Data format for response. */
7113
- alt?: string;
7372
+ alt?: 'json' | 'media' | 'proto';
7114
7373
  /** JSONP */
7115
7374
  callback?: string;
7116
7375
  /** Selector specifying which fields to include in a partial response. */
@@ -7135,11 +7394,11 @@ declare namespace gapi.client {
7135
7394
  create(
7136
7395
  request: {
7137
7396
  /** V1 error format. */
7138
- '$.xgafv'?: string;
7397
+ '$.xgafv'?: '1' | '2';
7139
7398
  /** OAuth access token. */
7140
7399
  access_token?: string;
7141
7400
  /** Data format for response. */
7142
- alt?: string;
7401
+ alt?: 'json' | 'media' | 'proto';
7143
7402
  /** JSONP */
7144
7403
  callback?: string;
7145
7404
  /** Selector specifying which fields to include in a partial response. */
@@ -7164,11 +7423,11 @@ declare namespace gapi.client {
7164
7423
  /** Deletes a SearchAds360Link on a property. */
7165
7424
  delete(request?: {
7166
7425
  /** V1 error format. */
7167
- '$.xgafv'?: string;
7426
+ '$.xgafv'?: '1' | '2';
7168
7427
  /** OAuth access token. */
7169
7428
  access_token?: string;
7170
7429
  /** Data format for response. */
7171
- alt?: string;
7430
+ alt?: 'json' | 'media' | 'proto';
7172
7431
  /** JSONP */
7173
7432
  callback?: string;
7174
7433
  /** Selector specifying which fields to include in a partial response. */
@@ -7191,11 +7450,11 @@ declare namespace gapi.client {
7191
7450
  /** Look up a single SearchAds360Link */
7192
7451
  get(request?: {
7193
7452
  /** V1 error format. */
7194
- '$.xgafv'?: string;
7453
+ '$.xgafv'?: '1' | '2';
7195
7454
  /** OAuth access token. */
7196
7455
  access_token?: string;
7197
7456
  /** Data format for response. */
7198
- alt?: string;
7457
+ alt?: 'json' | 'media' | 'proto';
7199
7458
  /** JSONP */
7200
7459
  callback?: string;
7201
7460
  /** Selector specifying which fields to include in a partial response. */
@@ -7218,11 +7477,11 @@ declare namespace gapi.client {
7218
7477
  /** Lists all SearchAds360Links on a property. */
7219
7478
  list(request?: {
7220
7479
  /** V1 error format. */
7221
- '$.xgafv'?: string;
7480
+ '$.xgafv'?: '1' | '2';
7222
7481
  /** OAuth access token. */
7223
7482
  access_token?: string;
7224
7483
  /** Data format for response. */
7225
- alt?: string;
7484
+ alt?: 'json' | 'media' | 'proto';
7226
7485
  /** JSONP */
7227
7486
  callback?: string;
7228
7487
  /** Selector specifying which fields to include in a partial response. */
@@ -7249,18 +7508,18 @@ declare namespace gapi.client {
7249
7508
  /** Updates a SearchAds360Link on a property. */
7250
7509
  patch(request: {
7251
7510
  /** V1 error format. */
7252
- '$.xgafv'?: string;
7511
+ '$.xgafv'?: '1' | '2';
7253
7512
  /** OAuth access token. */
7254
7513
  access_token?: string;
7255
7514
  /** Data format for response. */
7256
- alt?: string;
7515
+ alt?: 'json' | 'media' | 'proto';
7257
7516
  /** JSONP */
7258
7517
  callback?: string;
7259
7518
  /** Selector specifying which fields to include in a partial response. */
7260
7519
  fields?: string;
7261
7520
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7262
7521
  key?: string;
7263
- /** Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID */
7522
+ /** Identifier. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID */
7264
7523
  name: string;
7265
7524
  /** OAuth 2.0 token for the current user. */
7266
7525
  oauth_token?: string;
@@ -7280,18 +7539,18 @@ declare namespace gapi.client {
7280
7539
  patch(
7281
7540
  request: {
7282
7541
  /** V1 error format. */
7283
- '$.xgafv'?: string;
7542
+ '$.xgafv'?: '1' | '2';
7284
7543
  /** OAuth access token. */
7285
7544
  access_token?: string;
7286
7545
  /** Data format for response. */
7287
- alt?: string;
7546
+ alt?: 'json' | 'media' | 'proto';
7288
7547
  /** JSONP */
7289
7548
  callback?: string;
7290
7549
  /** Selector specifying which fields to include in a partial response. */
7291
7550
  fields?: string;
7292
7551
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7293
7552
  key?: string;
7294
- /** Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID */
7553
+ /** Identifier. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID */
7295
7554
  name: string;
7296
7555
  /** OAuth 2.0 token for the current user. */
7297
7556
  oauth_token?: string;
@@ -7313,11 +7572,11 @@ declare namespace gapi.client {
7313
7572
  /** Creates a subproperty Event Filter. */
7314
7573
  create(request: {
7315
7574
  /** V1 error format. */
7316
- '$.xgafv'?: string;
7575
+ '$.xgafv'?: '1' | '2';
7317
7576
  /** OAuth access token. */
7318
7577
  access_token?: string;
7319
7578
  /** Data format for response. */
7320
- alt?: string;
7579
+ alt?: 'json' | 'media' | 'proto';
7321
7580
  /** JSONP */
7322
7581
  callback?: string;
7323
7582
  /** Selector specifying which fields to include in a partial response. */
@@ -7342,11 +7601,11 @@ declare namespace gapi.client {
7342
7601
  create(
7343
7602
  request: {
7344
7603
  /** V1 error format. */
7345
- '$.xgafv'?: string;
7604
+ '$.xgafv'?: '1' | '2';
7346
7605
  /** OAuth access token. */
7347
7606
  access_token?: string;
7348
7607
  /** Data format for response. */
7349
- alt?: string;
7608
+ alt?: 'json' | 'media' | 'proto';
7350
7609
  /** JSONP */
7351
7610
  callback?: string;
7352
7611
  /** Selector specifying which fields to include in a partial response. */
@@ -7371,11 +7630,11 @@ declare namespace gapi.client {
7371
7630
  /** Deletes a subproperty event filter. */
7372
7631
  delete(request?: {
7373
7632
  /** V1 error format. */
7374
- '$.xgafv'?: string;
7633
+ '$.xgafv'?: '1' | '2';
7375
7634
  /** OAuth access token. */
7376
7635
  access_token?: string;
7377
7636
  /** Data format for response. */
7378
- alt?: string;
7637
+ alt?: 'json' | 'media' | 'proto';
7379
7638
  /** JSONP */
7380
7639
  callback?: string;
7381
7640
  /** Selector specifying which fields to include in a partial response. */
@@ -7398,11 +7657,11 @@ declare namespace gapi.client {
7398
7657
  /** Lookup for a single subproperty Event Filter. */
7399
7658
  get(request?: {
7400
7659
  /** V1 error format. */
7401
- '$.xgafv'?: string;
7660
+ '$.xgafv'?: '1' | '2';
7402
7661
  /** OAuth access token. */
7403
7662
  access_token?: string;
7404
7663
  /** Data format for response. */
7405
- alt?: string;
7664
+ alt?: 'json' | 'media' | 'proto';
7406
7665
  /** JSONP */
7407
7666
  callback?: string;
7408
7667
  /** Selector specifying which fields to include in a partial response. */
@@ -7425,11 +7684,11 @@ declare namespace gapi.client {
7425
7684
  /** List all subproperty Event Filters on a property. */
7426
7685
  list(request?: {
7427
7686
  /** V1 error format. */
7428
- '$.xgafv'?: string;
7687
+ '$.xgafv'?: '1' | '2';
7429
7688
  /** OAuth access token. */
7430
7689
  access_token?: string;
7431
7690
  /** Data format for response. */
7432
- alt?: string;
7691
+ alt?: 'json' | 'media' | 'proto';
7433
7692
  /** JSONP */
7434
7693
  callback?: string;
7435
7694
  /** Selector specifying which fields to include in a partial response. */
@@ -7456,11 +7715,11 @@ declare namespace gapi.client {
7456
7715
  /** Updates a subproperty Event Filter. */
7457
7716
  patch(request: {
7458
7717
  /** V1 error format. */
7459
- '$.xgafv'?: string;
7718
+ '$.xgafv'?: '1' | '2';
7460
7719
  /** OAuth access token. */
7461
7720
  access_token?: string;
7462
7721
  /** Data format for response. */
7463
- alt?: string;
7722
+ alt?: 'json' | 'media' | 'proto';
7464
7723
  /** JSONP */
7465
7724
  callback?: string;
7466
7725
  /** Selector specifying which fields to include in a partial response. */
@@ -7487,11 +7746,11 @@ declare namespace gapi.client {
7487
7746
  patch(
7488
7747
  request: {
7489
7748
  /** V1 error format. */
7490
- '$.xgafv'?: string;
7749
+ '$.xgafv'?: '1' | '2';
7491
7750
  /** OAuth access token. */
7492
7751
  access_token?: string;
7493
7752
  /** Data format for response. */
7494
- alt?: string;
7753
+ alt?: 'json' | 'media' | 'proto';
7495
7754
  /** JSONP */
7496
7755
  callback?: string;
7497
7756
  /** Selector specifying which fields to include in a partial response. */
@@ -7520,11 +7779,11 @@ declare namespace gapi.client {
7520
7779
  /** Lookup for a single `SubpropertySyncConfig`. */
7521
7780
  get(request?: {
7522
7781
  /** V1 error format. */
7523
- '$.xgafv'?: string;
7782
+ '$.xgafv'?: '1' | '2';
7524
7783
  /** OAuth access token. */
7525
7784
  access_token?: string;
7526
7785
  /** Data format for response. */
7527
- alt?: string;
7786
+ alt?: 'json' | 'media' | 'proto';
7528
7787
  /** JSONP */
7529
7788
  callback?: string;
7530
7789
  /** Selector specifying which fields to include in a partial response. */
@@ -7547,11 +7806,11 @@ declare namespace gapi.client {
7547
7806
  /** List all `SubpropertySyncConfig` resources for a property. */
7548
7807
  list(request?: {
7549
7808
  /** V1 error format. */
7550
- '$.xgafv'?: string;
7809
+ '$.xgafv'?: '1' | '2';
7551
7810
  /** OAuth access token. */
7552
7811
  access_token?: string;
7553
7812
  /** Data format for response. */
7554
- alt?: string;
7813
+ alt?: 'json' | 'media' | 'proto';
7555
7814
  /** JSONP */
7556
7815
  callback?: string;
7557
7816
  /** Selector specifying which fields to include in a partial response. */
@@ -7578,11 +7837,11 @@ declare namespace gapi.client {
7578
7837
  /** Updates a `SubpropertySyncConfig`. */
7579
7838
  patch(request: {
7580
7839
  /** V1 error format. */
7581
- '$.xgafv'?: string;
7840
+ '$.xgafv'?: '1' | '2';
7582
7841
  /** OAuth access token. */
7583
7842
  access_token?: string;
7584
7843
  /** Data format for response. */
7585
- alt?: string;
7844
+ alt?: 'json' | 'media' | 'proto';
7586
7845
  /** JSONP */
7587
7846
  callback?: string;
7588
7847
  /** Selector specifying which fields to include in a partial response. */
@@ -7609,11 +7868,11 @@ declare namespace gapi.client {
7609
7868
  patch(
7610
7869
  request: {
7611
7870
  /** V1 error format. */
7612
- '$.xgafv'?: string;
7871
+ '$.xgafv'?: '1' | '2';
7613
7872
  /** OAuth access token. */
7614
7873
  access_token?: string;
7615
7874
  /** Data format for response. */
7616
- alt?: string;
7875
+ alt?: 'json' | 'media' | 'proto';
7617
7876
  /** JSONP */
7618
7877
  callback?: string;
7619
7878
  /** Selector specifying which fields to include in a partial response. */
@@ -7642,11 +7901,11 @@ declare namespace gapi.client {
7642
7901
  /** Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created. */
7643
7902
  acknowledgeUserDataCollection(request: {
7644
7903
  /** V1 error format. */
7645
- '$.xgafv'?: string;
7904
+ '$.xgafv'?: '1' | '2';
7646
7905
  /** OAuth access token. */
7647
7906
  access_token?: string;
7648
7907
  /** Data format for response. */
7649
- alt?: string;
7908
+ alt?: 'json' | 'media' | 'proto';
7650
7909
  /** JSONP */
7651
7910
  callback?: string;
7652
7911
  /** Selector specifying which fields to include in a partial response. */
@@ -7671,11 +7930,11 @@ declare namespace gapi.client {
7671
7930
  acknowledgeUserDataCollection(
7672
7931
  request: {
7673
7932
  /** V1 error format. */
7674
- '$.xgafv'?: string;
7933
+ '$.xgafv'?: '1' | '2';
7675
7934
  /** OAuth access token. */
7676
7935
  access_token?: string;
7677
7936
  /** Data format for response. */
7678
- alt?: string;
7937
+ alt?: 'json' | 'media' | 'proto';
7679
7938
  /** JSONP */
7680
7939
  callback?: string;
7681
7940
  /** Selector specifying which fields to include in a partial response. */
@@ -7700,11 +7959,11 @@ declare namespace gapi.client {
7700
7959
  /** Creates a Google Analytics property with the specified location and attributes. */
7701
7960
  create(request: {
7702
7961
  /** V1 error format. */
7703
- '$.xgafv'?: string;
7962
+ '$.xgafv'?: '1' | '2';
7704
7963
  /** OAuth access token. */
7705
7964
  access_token?: string;
7706
7965
  /** Data format for response. */
7707
- alt?: string;
7966
+ alt?: 'json' | 'media' | 'proto';
7708
7967
  /** JSONP */
7709
7968
  callback?: string;
7710
7969
  /** Selector specifying which fields to include in a partial response. */
@@ -7727,11 +7986,11 @@ declare namespace gapi.client {
7727
7986
  create(
7728
7987
  request: {
7729
7988
  /** V1 error format. */
7730
- '$.xgafv'?: string;
7989
+ '$.xgafv'?: '1' | '2';
7731
7990
  /** OAuth access token. */
7732
7991
  access_token?: string;
7733
7992
  /** Data format for response. */
7734
- alt?: string;
7993
+ alt?: 'json' | 'media' | 'proto';
7735
7994
  /** JSONP */
7736
7995
  callback?: string;
7737
7996
  /** Selector specifying which fields to include in a partial response. */
@@ -7754,11 +8013,11 @@ declare namespace gapi.client {
7754
8013
  /** Create a roll-up property and all roll-up property source links. */
7755
8014
  createRollupProperty(request: {
7756
8015
  /** V1 error format. */
7757
- '$.xgafv'?: string;
8016
+ '$.xgafv'?: '1' | '2';
7758
8017
  /** OAuth access token. */
7759
8018
  access_token?: string;
7760
8019
  /** Data format for response. */
7761
- alt?: string;
8020
+ alt?: 'json' | 'media' | 'proto';
7762
8021
  /** JSONP */
7763
8022
  callback?: string;
7764
8023
  /** Selector specifying which fields to include in a partial response. */
@@ -7781,11 +8040,11 @@ declare namespace gapi.client {
7781
8040
  createRollupProperty(
7782
8041
  request: {
7783
8042
  /** V1 error format. */
7784
- '$.xgafv'?: string;
8043
+ '$.xgafv'?: '1' | '2';
7785
8044
  /** OAuth access token. */
7786
8045
  access_token?: string;
7787
8046
  /** Data format for response. */
7788
- alt?: string;
8047
+ alt?: 'json' | 'media' | 'proto';
7789
8048
  /** JSONP */
7790
8049
  callback?: string;
7791
8050
  /** Selector specifying which fields to include in a partial response. */
@@ -7808,11 +8067,11 @@ declare namespace gapi.client {
7808
8067
  /** Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found. */
7809
8068
  delete(request?: {
7810
8069
  /** V1 error format. */
7811
- '$.xgafv'?: string;
8070
+ '$.xgafv'?: '1' | '2';
7812
8071
  /** OAuth access token. */
7813
8072
  access_token?: string;
7814
8073
  /** Data format for response. */
7815
- alt?: string;
8074
+ alt?: 'json' | 'media' | 'proto';
7816
8075
  /** JSONP */
7817
8076
  callback?: string;
7818
8077
  /** Selector specifying which fields to include in a partial response. */
@@ -7835,11 +8094,11 @@ declare namespace gapi.client {
7835
8094
  /** Lookup for a single GA Property. */
7836
8095
  get(request?: {
7837
8096
  /** V1 error format. */
7838
- '$.xgafv'?: string;
8097
+ '$.xgafv'?: '1' | '2';
7839
8098
  /** OAuth access token. */
7840
8099
  access_token?: string;
7841
8100
  /** Data format for response. */
7842
- alt?: string;
8101
+ alt?: 'json' | 'media' | 'proto';
7843
8102
  /** JSONP */
7844
8103
  callback?: string;
7845
8104
  /** Selector specifying which fields to include in a partial response. */
@@ -7862,11 +8121,11 @@ declare namespace gapi.client {
7862
8121
  /** Lookup for a AttributionSettings singleton. */
7863
8122
  getAttributionSettings(request?: {
7864
8123
  /** V1 error format. */
7865
- '$.xgafv'?: string;
8124
+ '$.xgafv'?: '1' | '2';
7866
8125
  /** OAuth access token. */
7867
8126
  access_token?: string;
7868
8127
  /** Data format for response. */
7869
- alt?: string;
8128
+ alt?: 'json' | 'media' | 'proto';
7870
8129
  /** JSONP */
7871
8130
  callback?: string;
7872
8131
  /** Selector specifying which fields to include in a partial response. */
@@ -7889,11 +8148,11 @@ declare namespace gapi.client {
7889
8148
  /** Returns the singleton data retention settings for this property. */
7890
8149
  getDataRetentionSettings(request?: {
7891
8150
  /** V1 error format. */
7892
- '$.xgafv'?: string;
8151
+ '$.xgafv'?: '1' | '2';
7893
8152
  /** OAuth access token. */
7894
8153
  access_token?: string;
7895
8154
  /** Data format for response. */
7896
- alt?: string;
8155
+ alt?: 'json' | 'media' | 'proto';
7897
8156
  /** JSONP */
7898
8157
  callback?: string;
7899
8158
  /** Selector specifying which fields to include in a partial response. */
@@ -7916,11 +8175,11 @@ declare namespace gapi.client {
7916
8175
  /** Lookup for Google Signals settings for a property. */
7917
8176
  getGoogleSignalsSettings(request?: {
7918
8177
  /** V1 error format. */
7919
- '$.xgafv'?: string;
8178
+ '$.xgafv'?: '1' | '2';
7920
8179
  /** OAuth access token. */
7921
8180
  access_token?: string;
7922
8181
  /** Data format for response. */
7923
- alt?: string;
8182
+ alt?: 'json' | 'media' | 'proto';
7924
8183
  /** JSONP */
7925
8184
  callback?: string;
7926
8185
  /** Selector specifying which fields to include in a partial response. */
@@ -7943,11 +8202,11 @@ declare namespace gapi.client {
7943
8202
  /** Returns the reporting identity settings for this property. */
7944
8203
  getReportingIdentitySettings(request?: {
7945
8204
  /** V1 error format. */
7946
- '$.xgafv'?: string;
8205
+ '$.xgafv'?: '1' | '2';
7947
8206
  /** OAuth access token. */
7948
8207
  access_token?: string;
7949
8208
  /** Data format for response. */
7950
- alt?: string;
8209
+ alt?: 'json' | 'media' | 'proto';
7951
8210
  /** JSONP */
7952
8211
  callback?: string;
7953
8212
  /** Selector specifying which fields to include in a partial response. */
@@ -7967,14 +8226,41 @@ declare namespace gapi.client {
7967
8226
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7968
8227
  uploadType?: string;
7969
8228
  }): Request<GoogleAnalyticsAdminV1alphaReportingIdentitySettings>;
8229
+ /** Looks up settings related to user-provided data for a property. */
8230
+ getUserProvidedDataSettings(request?: {
8231
+ /** V1 error format. */
8232
+ '$.xgafv'?: '1' | '2';
8233
+ /** OAuth access token. */
8234
+ access_token?: string;
8235
+ /** Data format for response. */
8236
+ alt?: 'json' | 'media' | 'proto';
8237
+ /** JSONP */
8238
+ callback?: string;
8239
+ /** Selector specifying which fields to include in a partial response. */
8240
+ fields?: string;
8241
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8242
+ key?: string;
8243
+ /** Required. The name of the user provided data settings to retrieve. Format: properties/{property}/userProvidedDataSettings */
8244
+ name: string;
8245
+ /** OAuth 2.0 token for the current user. */
8246
+ oauth_token?: string;
8247
+ /** Returns response with indentations and line breaks. */
8248
+ prettyPrint?: boolean;
8249
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
8250
+ quotaUser?: string;
8251
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8252
+ upload_protocol?: string;
8253
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8254
+ uploadType?: string;
8255
+ }): Request<GoogleAnalyticsAdminV1alphaUserProvidedDataSettings>;
7970
8256
  /** Returns child Properties under the specified parent Account. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found. */
7971
8257
  list(request?: {
7972
8258
  /** V1 error format. */
7973
- '$.xgafv'?: string;
8259
+ '$.xgafv'?: '1' | '2';
7974
8260
  /** OAuth access token. */
7975
8261
  access_token?: string;
7976
8262
  /** Data format for response. */
7977
- alt?: string;
8263
+ alt?: 'json' | 'media' | 'proto';
7978
8264
  /** JSONP */
7979
8265
  callback?: string;
7980
8266
  /** Selector specifying which fields to include in a partial response. */
@@ -7985,9 +8271,9 @@ declare namespace gapi.client {
7985
8271
  key?: string;
7986
8272
  /** OAuth 2.0 token for the current user. */
7987
8273
  oauth_token?: string;
7988
- /** The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
8274
+ /** Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
7989
8275
  pageSize?: number;
7990
- /** A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token. */
8276
+ /** Optional. A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token. */
7991
8277
  pageToken?: string;
7992
8278
  /** Returns response with indentations and line breaks. */
7993
8279
  prettyPrint?: boolean;
@@ -8003,18 +8289,18 @@ declare namespace gapi.client {
8003
8289
  /** Updates a property. */
8004
8290
  patch(request: {
8005
8291
  /** V1 error format. */
8006
- '$.xgafv'?: string;
8292
+ '$.xgafv'?: '1' | '2';
8007
8293
  /** OAuth access token. */
8008
8294
  access_token?: string;
8009
8295
  /** Data format for response. */
8010
- alt?: string;
8296
+ alt?: 'json' | 'media' | 'proto';
8011
8297
  /** JSONP */
8012
8298
  callback?: string;
8013
8299
  /** Selector specifying which fields to include in a partial response. */
8014
8300
  fields?: string;
8015
8301
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8016
8302
  key?: string;
8017
- /** Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
8303
+ /** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
8018
8304
  name: string;
8019
8305
  /** OAuth 2.0 token for the current user. */
8020
8306
  oauth_token?: string;
@@ -8034,18 +8320,18 @@ declare namespace gapi.client {
8034
8320
  patch(
8035
8321
  request: {
8036
8322
  /** V1 error format. */
8037
- '$.xgafv'?: string;
8323
+ '$.xgafv'?: '1' | '2';
8038
8324
  /** OAuth access token. */
8039
8325
  access_token?: string;
8040
8326
  /** Data format for response. */
8041
- alt?: string;
8327
+ alt?: 'json' | 'media' | 'proto';
8042
8328
  /** JSONP */
8043
8329
  callback?: string;
8044
8330
  /** Selector specifying which fields to include in a partial response. */
8045
8331
  fields?: string;
8046
8332
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8047
8333
  key?: string;
8048
- /** Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
8334
+ /** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
8049
8335
  name: string;
8050
8336
  /** OAuth 2.0 token for the current user. */
8051
8337
  oauth_token?: string;
@@ -8065,11 +8351,11 @@ declare namespace gapi.client {
8065
8351
  /** Create a subproperty and a subproperty event filter that applies to the created subproperty. */
8066
8352
  provisionSubproperty(request: {
8067
8353
  /** V1 error format. */
8068
- '$.xgafv'?: string;
8354
+ '$.xgafv'?: '1' | '2';
8069
8355
  /** OAuth access token. */
8070
8356
  access_token?: string;
8071
8357
  /** Data format for response. */
8072
- alt?: string;
8358
+ alt?: 'json' | 'media' | 'proto';
8073
8359
  /** JSONP */
8074
8360
  callback?: string;
8075
8361
  /** Selector specifying which fields to include in a partial response. */
@@ -8092,11 +8378,11 @@ declare namespace gapi.client {
8092
8378
  provisionSubproperty(
8093
8379
  request: {
8094
8380
  /** V1 error format. */
8095
- '$.xgafv'?: string;
8381
+ '$.xgafv'?: '1' | '2';
8096
8382
  /** OAuth access token. */
8097
8383
  access_token?: string;
8098
8384
  /** Data format for response. */
8099
- alt?: string;
8385
+ alt?: 'json' | 'media' | 'proto';
8100
8386
  /** JSONP */
8101
8387
  callback?: string;
8102
8388
  /** Selector specifying which fields to include in a partial response. */
@@ -8119,11 +8405,11 @@ declare namespace gapi.client {
8119
8405
  /** Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). To give your feedback on this API, complete the [Google Analytics Access Reports feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form. */
8120
8406
  runAccessReport(request: {
8121
8407
  /** V1 error format. */
8122
- '$.xgafv'?: string;
8408
+ '$.xgafv'?: '1' | '2';
8123
8409
  /** OAuth access token. */
8124
8410
  access_token?: string;
8125
8411
  /** Data format for response. */
8126
- alt?: string;
8412
+ alt?: 'json' | 'media' | 'proto';
8127
8413
  /** JSONP */
8128
8414
  callback?: string;
8129
8415
  /** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID. */
@@ -8148,11 +8434,11 @@ declare namespace gapi.client {
8148
8434
  runAccessReport(
8149
8435
  request: {
8150
8436
  /** V1 error format. */
8151
- '$.xgafv'?: string;
8437
+ '$.xgafv'?: '1' | '2';
8152
8438
  /** OAuth access token. */
8153
8439
  access_token?: string;
8154
8440
  /** Data format for response. */
8155
- alt?: string;
8441
+ alt?: 'json' | 'media' | 'proto';
8156
8442
  /** JSONP */
8157
8443
  callback?: string;
8158
8444
  /** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID. */
@@ -8177,11 +8463,11 @@ declare namespace gapi.client {
8177
8463
  /** Submits a request for user deletion for a property. */
8178
8464
  submitUserDeletion(request: {
8179
8465
  /** V1 error format. */
8180
- '$.xgafv'?: string;
8466
+ '$.xgafv'?: '1' | '2';
8181
8467
  /** OAuth access token. */
8182
8468
  access_token?: string;
8183
8469
  /** Data format for response. */
8184
- alt?: string;
8470
+ alt?: 'json' | 'media' | 'proto';
8185
8471
  /** JSONP */
8186
8472
  callback?: string;
8187
8473
  /** Selector specifying which fields to include in a partial response. */
@@ -8206,11 +8492,11 @@ declare namespace gapi.client {
8206
8492
  submitUserDeletion(
8207
8493
  request: {
8208
8494
  /** V1 error format. */
8209
- '$.xgafv'?: string;
8495
+ '$.xgafv'?: '1' | '2';
8210
8496
  /** OAuth access token. */
8211
8497
  access_token?: string;
8212
8498
  /** Data format for response. */
8213
- alt?: string;
8499
+ alt?: 'json' | 'media' | 'proto';
8214
8500
  /** JSONP */
8215
8501
  callback?: string;
8216
8502
  /** Selector specifying which fields to include in a partial response. */
@@ -8235,11 +8521,11 @@ declare namespace gapi.client {
8235
8521
  /** Updates attribution settings on a property. */
8236
8522
  updateAttributionSettings(request: {
8237
8523
  /** V1 error format. */
8238
- '$.xgafv'?: string;
8524
+ '$.xgafv'?: '1' | '2';
8239
8525
  /** OAuth access token. */
8240
8526
  access_token?: string;
8241
8527
  /** Data format for response. */
8242
- alt?: string;
8528
+ alt?: 'json' | 'media' | 'proto';
8243
8529
  /** JSONP */
8244
8530
  callback?: string;
8245
8531
  /** Selector specifying which fields to include in a partial response. */
@@ -8266,11 +8552,11 @@ declare namespace gapi.client {
8266
8552
  updateAttributionSettings(
8267
8553
  request: {
8268
8554
  /** V1 error format. */
8269
- '$.xgafv'?: string;
8555
+ '$.xgafv'?: '1' | '2';
8270
8556
  /** OAuth access token. */
8271
8557
  access_token?: string;
8272
8558
  /** Data format for response. */
8273
- alt?: string;
8559
+ alt?: 'json' | 'media' | 'proto';
8274
8560
  /** JSONP */
8275
8561
  callback?: string;
8276
8562
  /** Selector specifying which fields to include in a partial response. */
@@ -8297,18 +8583,18 @@ declare namespace gapi.client {
8297
8583
  /** Updates the singleton data retention settings for this property. */
8298
8584
  updateDataRetentionSettings(request: {
8299
8585
  /** V1 error format. */
8300
- '$.xgafv'?: string;
8586
+ '$.xgafv'?: '1' | '2';
8301
8587
  /** OAuth access token. */
8302
8588
  access_token?: string;
8303
8589
  /** Data format for response. */
8304
- alt?: string;
8590
+ alt?: 'json' | 'media' | 'proto';
8305
8591
  /** JSONP */
8306
8592
  callback?: string;
8307
8593
  /** Selector specifying which fields to include in a partial response. */
8308
8594
  fields?: string;
8309
8595
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8310
8596
  key?: string;
8311
- /** Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
8597
+ /** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
8312
8598
  name: string;
8313
8599
  /** OAuth 2.0 token for the current user. */
8314
8600
  oauth_token?: string;
@@ -8328,18 +8614,18 @@ declare namespace gapi.client {
8328
8614
  updateDataRetentionSettings(
8329
8615
  request: {
8330
8616
  /** V1 error format. */
8331
- '$.xgafv'?: string;
8617
+ '$.xgafv'?: '1' | '2';
8332
8618
  /** OAuth access token. */
8333
8619
  access_token?: string;
8334
8620
  /** Data format for response. */
8335
- alt?: string;
8621
+ alt?: 'json' | 'media' | 'proto';
8336
8622
  /** JSONP */
8337
8623
  callback?: string;
8338
8624
  /** Selector specifying which fields to include in a partial response. */
8339
8625
  fields?: string;
8340
8626
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8341
8627
  key?: string;
8342
- /** Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
8628
+ /** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
8343
8629
  name: string;
8344
8630
  /** OAuth 2.0 token for the current user. */
8345
8631
  oauth_token?: string;
@@ -8359,11 +8645,11 @@ declare namespace gapi.client {
8359
8645
  /** Updates Google Signals settings for a property. */
8360
8646
  updateGoogleSignalsSettings(request: {
8361
8647
  /** V1 error format. */
8362
- '$.xgafv'?: string;
8648
+ '$.xgafv'?: '1' | '2';
8363
8649
  /** OAuth access token. */
8364
8650
  access_token?: string;
8365
8651
  /** Data format for response. */
8366
- alt?: string;
8652
+ alt?: 'json' | 'media' | 'proto';
8367
8653
  /** JSONP */
8368
8654
  callback?: string;
8369
8655
  /** Selector specifying which fields to include in a partial response. */
@@ -8390,11 +8676,11 @@ declare namespace gapi.client {
8390
8676
  updateGoogleSignalsSettings(
8391
8677
  request: {
8392
8678
  /** V1 error format. */
8393
- '$.xgafv'?: string;
8679
+ '$.xgafv'?: '1' | '2';
8394
8680
  /** OAuth access token. */
8395
8681
  access_token?: string;
8396
8682
  /** Data format for response. */
8397
- alt?: string;
8683
+ alt?: 'json' | 'media' | 'proto';
8398
8684
  /** JSONP */
8399
8685
  callback?: string;
8400
8686
  /** Selector specifying which fields to include in a partial response. */