@maxim_mazurok/gapi.client.analyticsadmin-v1beta 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 +337 -231
  2. package/package.json +1 -1
  3. package/readme.md +17 -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=v1beta
12
- // Revision: 20260316
12
+ // Revision: 20260603
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -98,7 +98,13 @@ declare namespace gapi.client {
98
98
  }
99
99
  interface GoogleAnalyticsAdminV1betaAccessNumericFilter {
100
100
  /** The operation type for this filter. */
101
- operation?: string;
101
+ operation?:
102
+ | 'OPERATION_UNSPECIFIED'
103
+ | 'EQUAL'
104
+ | 'LESS_THAN'
105
+ | 'LESS_THAN_OR_EQUAL'
106
+ | 'GREATER_THAN'
107
+ | 'GREATER_THAN_OR_EQUAL';
102
108
  /** A numeric value or a date value. */
103
109
  value?: GoogleAnalyticsAdminV1betaNumericValue;
104
110
  }
@@ -114,7 +120,11 @@ declare namespace gapi.client {
114
120
  /** A dimension name in the request to order by. */
115
121
  dimensionName?: string;
116
122
  /** Controls the rule for dimension value ordering. */
117
- orderType?: string;
123
+ orderType?:
124
+ | 'ORDER_TYPE_UNSPECIFIED'
125
+ | 'ALPHANUMERIC'
126
+ | 'CASE_INSENSITIVE_ALPHANUMERIC'
127
+ | 'NUMERIC';
118
128
  }
119
129
  interface GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy {
120
130
  /** A metric name in the request to order by. */
@@ -148,7 +158,14 @@ declare namespace gapi.client {
148
158
  /** If true, the string value is case sensitive. */
149
159
  caseSensitive?: boolean;
150
160
  /** The match type for this filter. */
151
- matchType?: string;
161
+ matchType?:
162
+ | 'MATCH_TYPE_UNSPECIFIED'
163
+ | 'EXACT'
164
+ | 'BEGINS_WITH'
165
+ | 'ENDS_WITH'
166
+ | 'CONTAINS'
167
+ | 'FULL_REGEXP'
168
+ | 'PARTIAL_REGEXP';
152
169
  /** The string value used for the matching. */
153
170
  value?: string;
154
171
  }
@@ -161,7 +178,7 @@ declare namespace gapi.client {
161
178
  displayName?: string;
162
179
  /** 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} */
163
180
  gmpOrganization?: string;
164
- /** Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
181
+ /** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
165
182
  name?: string;
166
183
  /** Country of business. Must be a Unicode CLDR region code. */
167
184
  regionCode?: string;
@@ -173,7 +190,7 @@ declare namespace gapi.client {
173
190
  account?: string;
174
191
  /** Display name for the account referred to in this account summary. */
175
192
  displayName?: string;
176
- /** Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000" */
193
+ /** Identifier. Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000" */
177
194
  name?: string;
178
195
  /** List of summaries for child accounts of this account. */
179
196
  propertySummaries?: GoogleAnalyticsAdminV1betaPropertySummary[];
@@ -187,7 +204,7 @@ declare namespace gapi.client {
187
204
  interface GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest {}
188
205
  interface GoogleAnalyticsAdminV1betaChangeHistoryChange {
189
206
  /** The type of action that changed this resource. */
190
- action?: string;
207
+ action?: 'ACTION_TYPE_UNSPECIFIED' | 'CREATED' | 'UPDATED' | 'DELETED';
191
208
  /** Resource name of the resource whose changes are described by this entry. */
192
209
  resource?: string;
193
210
  /** Resource contents from after the change was made. If this resource was deleted in this change, this field will be missing. */
@@ -215,7 +232,7 @@ declare namespace gapi.client {
215
232
  }
216
233
  interface GoogleAnalyticsAdminV1betaChangeHistoryEvent {
217
234
  /** The type of actor that made this change. */
218
- actorType?: string;
235
+ actorType?: 'ACTOR_TYPE_UNSPECIFIED' | 'USER' | 'SYSTEM' | 'SUPPORT';
219
236
  /** A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest. */
220
237
  changes?: GoogleAnalyticsAdminV1betaChangeHistoryChange[];
221
238
  /** If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event. */
@@ -229,7 +246,10 @@ declare namespace gapi.client {
229
246
  }
230
247
  interface GoogleAnalyticsAdminV1betaConversionEvent {
231
248
  /** 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`. */
232
- countingMethod?: string;
249
+ countingMethod?:
250
+ | 'CONVERSION_COUNTING_METHOD_UNSPECIFIED'
251
+ | 'ONCE_PER_EVENT'
252
+ | 'ONCE_PER_SESSION';
233
253
  /** Output only. Time when this conversion event was created in the property. */
234
254
  createTime?: string;
235
255
  /** 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. */
@@ -240,7 +260,7 @@ declare namespace gapi.client {
240
260
  deletable?: boolean;
241
261
  /** Immutable. The event name for this conversion event. Examples: 'click', 'purchase' */
242
262
  eventName?: string;
243
- /** Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
263
+ /** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
244
264
  name?: string;
245
265
  }
246
266
  interface GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue {
@@ -256,12 +276,12 @@ declare namespace gapi.client {
256
276
  disallowAdsPersonalization?: boolean;
257
277
  /** 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. */
258
278
  displayName?: string;
259
- /** Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
279
+ /** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
260
280
  name?: string;
261
281
  /** 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. */
262
282
  parameterName?: string;
263
283
  /** Required. Immutable. The scope of this dimension. */
264
- scope?: string;
284
+ scope?: 'DIMENSION_SCOPE_UNSPECIFIED' | 'EVENT' | 'USER' | 'ITEM';
265
285
  }
266
286
  interface GoogleAnalyticsAdminV1betaCustomMetric {
267
287
  /** Optional. Description for this custom dimension. Max length of 150 characters. */
@@ -269,28 +289,54 @@ declare namespace gapi.client {
269
289
  /** 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. */
270
290
  displayName?: string;
271
291
  /** Required. The type for the custom metric's value. */
272
- measurementUnit?: string;
273
- /** Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
292
+ measurementUnit?:
293
+ | 'MEASUREMENT_UNIT_UNSPECIFIED'
294
+ | 'STANDARD'
295
+ | 'CURRENCY'
296
+ | 'FEET'
297
+ | 'METERS'
298
+ | 'KILOMETERS'
299
+ | 'MILES'
300
+ | 'MILLISECONDS'
301
+ | 'SECONDS'
302
+ | 'MINUTES'
303
+ | 'HOURS';
304
+ /** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
274
305
  name?: string;
275
306
  /** 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. */
276
307
  parameterName?: string;
277
308
  /** 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. */
278
- restrictedMetricType?: string[];
309
+ restrictedMetricType?:
310
+ | 'RESTRICTED_METRIC_TYPE_UNSPECIFIED'
311
+ | 'COST_DATA'
312
+ | 'REVENUE_DATA'[];
279
313
  /** Required. Immutable. The scope of this custom metric. */
280
- scope?: string;
314
+ scope?: 'METRIC_SCOPE_UNSPECIFIED' | 'EVENT';
281
315
  }
282
316
  interface GoogleAnalyticsAdminV1betaDataRetentionSettings {
283
317
  /** Required. The length of time that event-level data is retained. */
284
- eventDataRetention?: string;
285
- /** Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
318
+ eventDataRetention?:
319
+ | 'RETENTION_DURATION_UNSPECIFIED'
320
+ | 'TWO_MONTHS'
321
+ | 'FOURTEEN_MONTHS'
322
+ | 'TWENTY_SIX_MONTHS'
323
+ | 'THIRTY_EIGHT_MONTHS'
324
+ | 'FIFTY_MONTHS';
325
+ /** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
286
326
  name?: string;
287
327
  /** If true, reset the retention period for the user identifier with every event from that user. */
288
328
  resetUserDataOnNewActivity?: boolean;
289
329
  /** Required. The length of time that user-level data is retained. */
290
- userDataRetention?: string;
330
+ userDataRetention?:
331
+ | 'RETENTION_DURATION_UNSPECIFIED'
332
+ | 'TWO_MONTHS'
333
+ | 'FOURTEEN_MONTHS'
334
+ | 'TWENTY_SIX_MONTHS'
335
+ | 'THIRTY_EIGHT_MONTHS'
336
+ | 'FIFTY_MONTHS';
291
337
  }
292
338
  interface GoogleAnalyticsAdminV1betaDataSharingSettings {
293
- /** Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" */
339
+ /** Identifier. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" */
294
340
  name?: string;
295
341
  /** Deprecated. This field is no longer used and always returns false. */
296
342
  sharingWithGoogleAnySalesEnabled?: boolean;
@@ -312,10 +358,14 @@ declare namespace gapi.client {
312
358
  displayName?: string;
313
359
  /** Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM. */
314
360
  iosAppStreamData?: GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData;
315
- /** Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
361
+ /** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
316
362
  name?: string;
317
363
  /** Required. Immutable. The type of this DataStream resource. */
318
- type?: string;
364
+ type?:
365
+ | 'DATA_STREAM_TYPE_UNSPECIFIED'
366
+ | 'WEB_DATA_STREAM'
367
+ | 'ANDROID_APP_DATA_STREAM'
368
+ | 'IOS_APP_DATA_STREAM';
319
369
  /** Output only. Time when stream payload fields were last updated. */
320
370
  updateTime?: string;
321
371
  /** Data specific to web streams. Must be populated if type is WEB_DATA_STREAM. */
@@ -344,7 +394,7 @@ declare namespace gapi.client {
344
394
  interface GoogleAnalyticsAdminV1betaFirebaseLink {
345
395
  /** Output only. Time when this FirebaseLink was originally created. */
346
396
  createTime?: string;
347
- /** Output only. Example format: properties/1234/firebaseLinks/5678 */
397
+ /** Identifier. Example format: properties/1234/firebaseLinks/5678 */
348
398
  name?: string;
349
399
  /** 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' */
350
400
  project?: string;
@@ -360,14 +410,17 @@ declare namespace gapi.client {
360
410
  creatorEmailAddress?: string;
361
411
  /** Immutable. Google Ads customer ID. */
362
412
  customerId?: string;
363
- /** Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
413
+ /** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
364
414
  name?: string;
365
415
  /** Output only. Time when this link was last updated. */
366
416
  updateTime?: string;
367
417
  }
368
418
  interface GoogleAnalyticsAdminV1betaKeyEvent {
369
419
  /** Required. The method by which Key Events will be counted across multiple events within a session. */
370
- countingMethod?: string;
420
+ countingMethod?:
421
+ | 'COUNTING_METHOD_UNSPECIFIED'
422
+ | 'ONCE_PER_EVENT'
423
+ | 'ONCE_PER_SESSION';
371
424
  /** Output only. Time when this key event was created in the property. */
372
425
  createTime?: string;
373
426
  /** 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. */
@@ -456,7 +509,7 @@ declare namespace gapi.client {
456
509
  interface GoogleAnalyticsAdminV1betaMeasurementProtocolSecret {
457
510
  /** Required. Human-readable display name for this secret. */
458
511
  displayName?: string;
459
- /** 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} */
512
+ /** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
460
513
  name?: string;
461
514
  /** 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. */
462
515
  secretValue?: string;
@@ -481,15 +534,49 @@ declare namespace gapi.client {
481
534
  /** 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. */
482
535
  expireTime?: string;
483
536
  /** Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK */
484
- industryCategory?: string;
485
- /** Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
537
+ industryCategory?:
538
+ | 'INDUSTRY_CATEGORY_UNSPECIFIED'
539
+ | 'AUTOMOTIVE'
540
+ | 'BUSINESS_AND_INDUSTRIAL_MARKETS'
541
+ | 'FINANCE'
542
+ | 'HEALTHCARE'
543
+ | 'TECHNOLOGY'
544
+ | 'TRAVEL'
545
+ | 'OTHER'
546
+ | 'ARTS_AND_ENTERTAINMENT'
547
+ | 'BEAUTY_AND_FITNESS'
548
+ | 'BOOKS_AND_LITERATURE'
549
+ | 'FOOD_AND_DRINK'
550
+ | 'GAMES'
551
+ | 'HOBBIES_AND_LEISURE'
552
+ | 'HOME_AND_GARDEN'
553
+ | 'INTERNET_AND_TELECOM'
554
+ | 'LAW_AND_GOVERNMENT'
555
+ | 'NEWS'
556
+ | 'ONLINE_COMMUNITIES'
557
+ | 'PEOPLE_AND_SOCIETY'
558
+ | 'PETS_AND_ANIMALS'
559
+ | 'REAL_ESTATE'
560
+ | 'REFERENCE'
561
+ | 'SCIENCE'
562
+ | 'SPORTS'
563
+ | 'JOBS_AND_EDUCATION'
564
+ | 'SHOPPING';
565
+ /** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
486
566
  name?: string;
487
567
  /** 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" */
488
568
  parent?: string;
489
569
  /** 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. */
490
- propertyType?: string;
570
+ propertyType?:
571
+ | 'PROPERTY_TYPE_UNSPECIFIED'
572
+ | 'PROPERTY_TYPE_ORDINARY'
573
+ | 'PROPERTY_TYPE_SUBPROPERTY'
574
+ | 'PROPERTY_TYPE_ROLLUP';
491
575
  /** Output only. The Google Analytics service level that applies to this property. */
492
- serviceLevel?: string;
576
+ serviceLevel?:
577
+ | 'SERVICE_LEVEL_UNSPECIFIED'
578
+ | 'GOOGLE_ANALYTICS_STANDARD'
579
+ | 'GOOGLE_ANALYTICS_360';
493
580
  /** 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" */
494
581
  timeZone?: string;
495
582
  /** Output only. Time when entity payload fields were last updated. */
@@ -503,7 +590,11 @@ declare namespace gapi.client {
503
590
  /** Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000" */
504
591
  property?: string;
505
592
  /** The property's property type. */
506
- propertyType?: string;
593
+ propertyType?:
594
+ | 'PROPERTY_TYPE_UNSPECIFIED'
595
+ | 'PROPERTY_TYPE_ORDINARY'
596
+ | 'PROPERTY_TYPE_SUBPROPERTY'
597
+ | 'PROPERTY_TYPE_ROLLUP';
507
598
  }
508
599
  interface GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest {
509
600
  /** The account to create. */
@@ -555,7 +646,7 @@ declare namespace gapi.client {
555
646
  }
556
647
  interface GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest {
557
648
  /** Optional. If set, only return changes that match one or more of these types of actions. */
558
- action?: string[];
649
+ action?: 'ACTION_TYPE_UNSPECIFIED' | 'CREATED' | 'UPDATED' | 'DELETED'[];
559
650
  /** Optional. If set, only return changes if they are made by a user in this list. */
560
651
  actorEmail?: string[];
561
652
  /** Optional. If set, only return changes made after this time (inclusive). */
@@ -569,7 +660,22 @@ declare namespace gapi.client {
569
660
  /** 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` */
570
661
  property?: string;
571
662
  /** Optional. If set, only return changes if they are for a resource that matches at least one of these types. */
572
- resourceType?: string[];
663
+ resourceType?:
664
+ | 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED'
665
+ | 'ACCOUNT'
666
+ | 'PROPERTY'
667
+ | 'FIREBASE_LINK'
668
+ | 'GOOGLE_ADS_LINK'
669
+ | 'GOOGLE_SIGNALS_SETTINGS'
670
+ | 'CONVERSION_EVENT'
671
+ | 'MEASUREMENT_PROTOCOL_SECRET'
672
+ | 'CUSTOM_DIMENSION'
673
+ | 'CUSTOM_METRIC'
674
+ | 'DATA_RETENTION_SETTINGS'
675
+ | 'DISPLAY_VIDEO_360_ADVERTISER_LINK'
676
+ | 'DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL'
677
+ | 'DATA_STREAM'
678
+ | 'ATTRIBUTION_SETTINGS'[];
573
679
  }
574
680
  interface GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse {
575
681
  /** Results that were accessible to the caller. */
@@ -582,11 +688,11 @@ declare namespace gapi.client {
582
688
  /** 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. */
583
689
  delete(request?: {
584
690
  /** V1 error format. */
585
- '$.xgafv'?: string;
691
+ '$.xgafv'?: '1' | '2';
586
692
  /** OAuth access token. */
587
693
  access_token?: string;
588
694
  /** Data format for response. */
589
- alt?: string;
695
+ alt?: 'json' | 'media' | 'proto';
590
696
  /** JSONP */
591
697
  callback?: string;
592
698
  /** Selector specifying which fields to include in a partial response. */
@@ -609,11 +715,11 @@ declare namespace gapi.client {
609
715
  /** Lookup for a single Account. */
610
716
  get(request?: {
611
717
  /** V1 error format. */
612
- '$.xgafv'?: string;
718
+ '$.xgafv'?: '1' | '2';
613
719
  /** OAuth access token. */
614
720
  access_token?: string;
615
721
  /** Data format for response. */
616
- alt?: string;
722
+ alt?: 'json' | 'media' | 'proto';
617
723
  /** JSONP */
618
724
  callback?: string;
619
725
  /** Selector specifying which fields to include in a partial response. */
@@ -636,11 +742,11 @@ declare namespace gapi.client {
636
742
  /** Get data sharing settings on an account. Data sharing settings are singletons. */
637
743
  getDataSharingSettings(request?: {
638
744
  /** V1 error format. */
639
- '$.xgafv'?: string;
745
+ '$.xgafv'?: '1' | '2';
640
746
  /** OAuth access token. */
641
747
  access_token?: string;
642
748
  /** Data format for response. */
643
- alt?: string;
749
+ alt?: 'json' | 'media' | 'proto';
644
750
  /** JSONP */
645
751
  callback?: string;
646
752
  /** Selector specifying which fields to include in a partial response. */
@@ -663,11 +769,11 @@ declare namespace gapi.client {
663
769
  /** 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. */
664
770
  list(request?: {
665
771
  /** V1 error format. */
666
- '$.xgafv'?: string;
772
+ '$.xgafv'?: '1' | '2';
667
773
  /** OAuth access token. */
668
774
  access_token?: string;
669
775
  /** Data format for response. */
670
- alt?: string;
776
+ alt?: 'json' | 'media' | 'proto';
671
777
  /** JSONP */
672
778
  callback?: string;
673
779
  /** Selector specifying which fields to include in a partial response. */
@@ -676,9 +782,9 @@ declare namespace gapi.client {
676
782
  key?: string;
677
783
  /** OAuth 2.0 token for the current user. */
678
784
  oauth_token?: string;
679
- /** 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) */
785
+ /** 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) */
680
786
  pageSize?: number;
681
- /** 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. */
787
+ /** 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. */
682
788
  pageToken?: string;
683
789
  /** Returns response with indentations and line breaks. */
684
790
  prettyPrint?: boolean;
@@ -694,18 +800,18 @@ declare namespace gapi.client {
694
800
  /** Updates an account. */
695
801
  patch(request: {
696
802
  /** V1 error format. */
697
- '$.xgafv'?: string;
803
+ '$.xgafv'?: '1' | '2';
698
804
  /** OAuth access token. */
699
805
  access_token?: string;
700
806
  /** Data format for response. */
701
- alt?: string;
807
+ alt?: 'json' | 'media' | 'proto';
702
808
  /** JSONP */
703
809
  callback?: string;
704
810
  /** Selector specifying which fields to include in a partial response. */
705
811
  fields?: string;
706
812
  /** 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. */
707
813
  key?: string;
708
- /** Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
814
+ /** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
709
815
  name: string;
710
816
  /** OAuth 2.0 token for the current user. */
711
817
  oauth_token?: string;
@@ -725,18 +831,18 @@ declare namespace gapi.client {
725
831
  patch(
726
832
  request: {
727
833
  /** V1 error format. */
728
- '$.xgafv'?: string;
834
+ '$.xgafv'?: '1' | '2';
729
835
  /** OAuth access token. */
730
836
  access_token?: string;
731
837
  /** Data format for response. */
732
- alt?: string;
838
+ alt?: 'json' | 'media' | 'proto';
733
839
  /** JSONP */
734
840
  callback?: string;
735
841
  /** Selector specifying which fields to include in a partial response. */
736
842
  fields?: string;
737
843
  /** 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. */
738
844
  key?: string;
739
- /** Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
845
+ /** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
740
846
  name: string;
741
847
  /** OAuth 2.0 token for the current user. */
742
848
  oauth_token?: string;
@@ -756,11 +862,11 @@ declare namespace gapi.client {
756
862
  /** Requests a ticket for creating an account. */
757
863
  provisionAccountTicket(request: {
758
864
  /** V1 error format. */
759
- '$.xgafv'?: string;
865
+ '$.xgafv'?: '1' | '2';
760
866
  /** OAuth access token. */
761
867
  access_token?: string;
762
868
  /** Data format for response. */
763
- alt?: string;
869
+ alt?: 'json' | 'media' | 'proto';
764
870
  /** JSONP */
765
871
  callback?: string;
766
872
  /** Selector specifying which fields to include in a partial response. */
@@ -783,11 +889,11 @@ declare namespace gapi.client {
783
889
  provisionAccountTicket(
784
890
  request: {
785
891
  /** V1 error format. */
786
- '$.xgafv'?: string;
892
+ '$.xgafv'?: '1' | '2';
787
893
  /** OAuth access token. */
788
894
  access_token?: string;
789
895
  /** Data format for response. */
790
- alt?: string;
896
+ alt?: 'json' | 'media' | 'proto';
791
897
  /** JSONP */
792
898
  callback?: string;
793
899
  /** Selector specifying which fields to include in a partial response. */
@@ -810,11 +916,11 @@ declare namespace gapi.client {
810
916
  /** 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. */
811
917
  runAccessReport(request: {
812
918
  /** V1 error format. */
813
- '$.xgafv'?: string;
919
+ '$.xgafv'?: '1' | '2';
814
920
  /** OAuth access token. */
815
921
  access_token?: string;
816
922
  /** Data format for response. */
817
- alt?: string;
923
+ alt?: 'json' | 'media' | 'proto';
818
924
  /** JSONP */
819
925
  callback?: string;
820
926
  /** 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. */
@@ -839,11 +945,11 @@ declare namespace gapi.client {
839
945
  runAccessReport(
840
946
  request: {
841
947
  /** V1 error format. */
842
- '$.xgafv'?: string;
948
+ '$.xgafv'?: '1' | '2';
843
949
  /** OAuth access token. */
844
950
  access_token?: string;
845
951
  /** Data format for response. */
846
- alt?: string;
952
+ alt?: 'json' | 'media' | 'proto';
847
953
  /** JSONP */
848
954
  callback?: string;
849
955
  /** 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. */
@@ -868,13 +974,13 @@ declare namespace gapi.client {
868
974
  /** 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. */
869
975
  searchChangeHistoryEvents(request: {
870
976
  /** V1 error format. */
871
- '$.xgafv'?: string;
977
+ '$.xgafv'?: '1' | '2';
872
978
  /** OAuth access token. */
873
979
  access_token?: string;
874
980
  /** Required. The account resource for which to return change history resources. Format: accounts/{account} Example: `accounts/100` */
875
981
  account: string;
876
982
  /** Data format for response. */
877
- alt?: string;
983
+ alt?: 'json' | 'media' | 'proto';
878
984
  /** JSONP */
879
985
  callback?: string;
880
986
  /** Selector specifying which fields to include in a partial response. */
@@ -897,13 +1003,13 @@ declare namespace gapi.client {
897
1003
  searchChangeHistoryEvents(
898
1004
  request: {
899
1005
  /** V1 error format. */
900
- '$.xgafv'?: string;
1006
+ '$.xgafv'?: '1' | '2';
901
1007
  /** OAuth access token. */
902
1008
  access_token?: string;
903
1009
  /** Required. The account resource for which to return change history resources. Format: accounts/{account} Example: `accounts/100` */
904
1010
  account: string;
905
1011
  /** Data format for response. */
906
- alt?: string;
1012
+ alt?: 'json' | 'media' | 'proto';
907
1013
  /** JSONP */
908
1014
  callback?: string;
909
1015
  /** Selector specifying which fields to include in a partial response. */
@@ -928,11 +1034,11 @@ declare namespace gapi.client {
928
1034
  /** Returns summaries of all accounts accessible by the caller. */
929
1035
  list(request?: {
930
1036
  /** V1 error format. */
931
- '$.xgafv'?: string;
1037
+ '$.xgafv'?: '1' | '2';
932
1038
  /** OAuth access token. */
933
1039
  access_token?: string;
934
1040
  /** Data format for response. */
935
- alt?: string;
1041
+ alt?: 'json' | 'media' | 'proto';
936
1042
  /** JSONP */
937
1043
  callback?: string;
938
1044
  /** Selector specifying which fields to include in a partial response. */
@@ -941,9 +1047,9 @@ declare namespace gapi.client {
941
1047
  key?: string;
942
1048
  /** OAuth 2.0 token for the current user. */
943
1049
  oauth_token?: string;
944
- /** 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) */
1050
+ /** 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) */
945
1051
  pageSize?: number;
946
- /** 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. */
1052
+ /** 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. */
947
1053
  pageToken?: string;
948
1054
  /** Returns response with indentations and line breaks. */
949
1055
  prettyPrint?: boolean;
@@ -959,11 +1065,11 @@ declare namespace gapi.client {
959
1065
  /** Deprecated: Use `CreateKeyEvent` instead. Creates a conversion event with the specified attributes. */
960
1066
  create(request: {
961
1067
  /** V1 error format. */
962
- '$.xgafv'?: string;
1068
+ '$.xgafv'?: '1' | '2';
963
1069
  /** OAuth access token. */
964
1070
  access_token?: string;
965
1071
  /** Data format for response. */
966
- alt?: string;
1072
+ alt?: 'json' | 'media' | 'proto';
967
1073
  /** JSONP */
968
1074
  callback?: string;
969
1075
  /** Selector specifying which fields to include in a partial response. */
@@ -988,11 +1094,11 @@ declare namespace gapi.client {
988
1094
  create(
989
1095
  request: {
990
1096
  /** V1 error format. */
991
- '$.xgafv'?: string;
1097
+ '$.xgafv'?: '1' | '2';
992
1098
  /** OAuth access token. */
993
1099
  access_token?: string;
994
1100
  /** Data format for response. */
995
- alt?: string;
1101
+ alt?: 'json' | 'media' | 'proto';
996
1102
  /** JSONP */
997
1103
  callback?: string;
998
1104
  /** Selector specifying which fields to include in a partial response. */
@@ -1017,11 +1123,11 @@ declare namespace gapi.client {
1017
1123
  /** Deprecated: Use `DeleteKeyEvent` instead. Deletes a conversion event in a property. */
1018
1124
  delete(request?: {
1019
1125
  /** V1 error format. */
1020
- '$.xgafv'?: string;
1126
+ '$.xgafv'?: '1' | '2';
1021
1127
  /** OAuth access token. */
1022
1128
  access_token?: string;
1023
1129
  /** Data format for response. */
1024
- alt?: string;
1130
+ alt?: 'json' | 'media' | 'proto';
1025
1131
  /** JSONP */
1026
1132
  callback?: string;
1027
1133
  /** Selector specifying which fields to include in a partial response. */
@@ -1044,11 +1150,11 @@ declare namespace gapi.client {
1044
1150
  /** Deprecated: Use `GetKeyEvent` instead. Retrieve a single conversion event. */
1045
1151
  get(request?: {
1046
1152
  /** V1 error format. */
1047
- '$.xgafv'?: string;
1153
+ '$.xgafv'?: '1' | '2';
1048
1154
  /** OAuth access token. */
1049
1155
  access_token?: string;
1050
1156
  /** Data format for response. */
1051
- alt?: string;
1157
+ alt?: 'json' | 'media' | 'proto';
1052
1158
  /** JSONP */
1053
1159
  callback?: string;
1054
1160
  /** Selector specifying which fields to include in a partial response. */
@@ -1071,11 +1177,11 @@ declare namespace gapi.client {
1071
1177
  /** 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. */
1072
1178
  list(request?: {
1073
1179
  /** V1 error format. */
1074
- '$.xgafv'?: string;
1180
+ '$.xgafv'?: '1' | '2';
1075
1181
  /** OAuth access token. */
1076
1182
  access_token?: string;
1077
1183
  /** Data format for response. */
1078
- alt?: string;
1184
+ alt?: 'json' | 'media' | 'proto';
1079
1185
  /** JSONP */
1080
1186
  callback?: string;
1081
1187
  /** Selector specifying which fields to include in a partial response. */
@@ -1084,9 +1190,9 @@ declare namespace gapi.client {
1084
1190
  key?: string;
1085
1191
  /** OAuth 2.0 token for the current user. */
1086
1192
  oauth_token?: string;
1087
- /** 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) */
1193
+ /** 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) */
1088
1194
  pageSize?: number;
1089
- /** 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. */
1195
+ /** 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. */
1090
1196
  pageToken?: string;
1091
1197
  /** Required. The resource name of the parent property. Example: 'properties/123' */
1092
1198
  parent: string;
@@ -1102,18 +1208,18 @@ declare namespace gapi.client {
1102
1208
  /** Deprecated: Use `UpdateKeyEvent` instead. Updates a conversion event with the specified attributes. */
1103
1209
  patch(request: {
1104
1210
  /** V1 error format. */
1105
- '$.xgafv'?: string;
1211
+ '$.xgafv'?: '1' | '2';
1106
1212
  /** OAuth access token. */
1107
1213
  access_token?: string;
1108
1214
  /** Data format for response. */
1109
- alt?: string;
1215
+ alt?: 'json' | 'media' | 'proto';
1110
1216
  /** JSONP */
1111
1217
  callback?: string;
1112
1218
  /** Selector specifying which fields to include in a partial response. */
1113
1219
  fields?: string;
1114
1220
  /** 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. */
1115
1221
  key?: string;
1116
- /** Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
1222
+ /** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
1117
1223
  name: string;
1118
1224
  /** OAuth 2.0 token for the current user. */
1119
1225
  oauth_token?: string;
@@ -1133,18 +1239,18 @@ declare namespace gapi.client {
1133
1239
  patch(
1134
1240
  request: {
1135
1241
  /** V1 error format. */
1136
- '$.xgafv'?: string;
1242
+ '$.xgafv'?: '1' | '2';
1137
1243
  /** OAuth access token. */
1138
1244
  access_token?: string;
1139
1245
  /** Data format for response. */
1140
- alt?: string;
1246
+ alt?: 'json' | 'media' | 'proto';
1141
1247
  /** JSONP */
1142
1248
  callback?: string;
1143
1249
  /** Selector specifying which fields to include in a partial response. */
1144
1250
  fields?: string;
1145
1251
  /** 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. */
1146
1252
  key?: string;
1147
- /** Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
1253
+ /** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
1148
1254
  name: string;
1149
1255
  /** OAuth 2.0 token for the current user. */
1150
1256
  oauth_token?: string;
@@ -1166,11 +1272,11 @@ declare namespace gapi.client {
1166
1272
  /** Archives a CustomDimension on a property. */
1167
1273
  archive(request: {
1168
1274
  /** V1 error format. */
1169
- '$.xgafv'?: string;
1275
+ '$.xgafv'?: '1' | '2';
1170
1276
  /** OAuth access token. */
1171
1277
  access_token?: string;
1172
1278
  /** Data format for response. */
1173
- alt?: string;
1279
+ alt?: 'json' | 'media' | 'proto';
1174
1280
  /** JSONP */
1175
1281
  callback?: string;
1176
1282
  /** Selector specifying which fields to include in a partial response. */
@@ -1195,11 +1301,11 @@ declare namespace gapi.client {
1195
1301
  archive(
1196
1302
  request: {
1197
1303
  /** V1 error format. */
1198
- '$.xgafv'?: string;
1304
+ '$.xgafv'?: '1' | '2';
1199
1305
  /** OAuth access token. */
1200
1306
  access_token?: string;
1201
1307
  /** Data format for response. */
1202
- alt?: string;
1308
+ alt?: 'json' | 'media' | 'proto';
1203
1309
  /** JSONP */
1204
1310
  callback?: string;
1205
1311
  /** Selector specifying which fields to include in a partial response. */
@@ -1224,11 +1330,11 @@ declare namespace gapi.client {
1224
1330
  /** Creates a CustomDimension. */
1225
1331
  create(request: {
1226
1332
  /** V1 error format. */
1227
- '$.xgafv'?: string;
1333
+ '$.xgafv'?: '1' | '2';
1228
1334
  /** OAuth access token. */
1229
1335
  access_token?: string;
1230
1336
  /** Data format for response. */
1231
- alt?: string;
1337
+ alt?: 'json' | 'media' | 'proto';
1232
1338
  /** JSONP */
1233
1339
  callback?: string;
1234
1340
  /** Selector specifying which fields to include in a partial response. */
@@ -1253,11 +1359,11 @@ declare namespace gapi.client {
1253
1359
  create(
1254
1360
  request: {
1255
1361
  /** V1 error format. */
1256
- '$.xgafv'?: string;
1362
+ '$.xgafv'?: '1' | '2';
1257
1363
  /** OAuth access token. */
1258
1364
  access_token?: string;
1259
1365
  /** Data format for response. */
1260
- alt?: string;
1366
+ alt?: 'json' | 'media' | 'proto';
1261
1367
  /** JSONP */
1262
1368
  callback?: string;
1263
1369
  /** Selector specifying which fields to include in a partial response. */
@@ -1282,11 +1388,11 @@ declare namespace gapi.client {
1282
1388
  /** Lookup for a single CustomDimension. */
1283
1389
  get(request?: {
1284
1390
  /** V1 error format. */
1285
- '$.xgafv'?: string;
1391
+ '$.xgafv'?: '1' | '2';
1286
1392
  /** OAuth access token. */
1287
1393
  access_token?: string;
1288
1394
  /** Data format for response. */
1289
- alt?: string;
1395
+ alt?: 'json' | 'media' | 'proto';
1290
1396
  /** JSONP */
1291
1397
  callback?: string;
1292
1398
  /** Selector specifying which fields to include in a partial response. */
@@ -1309,11 +1415,11 @@ declare namespace gapi.client {
1309
1415
  /** Lists CustomDimensions on a property. */
1310
1416
  list(request?: {
1311
1417
  /** V1 error format. */
1312
- '$.xgafv'?: string;
1418
+ '$.xgafv'?: '1' | '2';
1313
1419
  /** OAuth access token. */
1314
1420
  access_token?: string;
1315
1421
  /** Data format for response. */
1316
- alt?: string;
1422
+ alt?: 'json' | 'media' | 'proto';
1317
1423
  /** JSONP */
1318
1424
  callback?: string;
1319
1425
  /** Selector specifying which fields to include in a partial response. */
@@ -1322,9 +1428,9 @@ declare namespace gapi.client {
1322
1428
  key?: string;
1323
1429
  /** OAuth 2.0 token for the current user. */
1324
1430
  oauth_token?: string;
1325
- /** 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). */
1431
+ /** 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). */
1326
1432
  pageSize?: number;
1327
- /** 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. */
1433
+ /** 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. */
1328
1434
  pageToken?: string;
1329
1435
  /** Required. Example format: properties/1234 */
1330
1436
  parent: string;
@@ -1340,18 +1446,18 @@ declare namespace gapi.client {
1340
1446
  /** Updates a CustomDimension on a property. */
1341
1447
  patch(request: {
1342
1448
  /** V1 error format. */
1343
- '$.xgafv'?: string;
1449
+ '$.xgafv'?: '1' | '2';
1344
1450
  /** OAuth access token. */
1345
1451
  access_token?: string;
1346
1452
  /** Data format for response. */
1347
- alt?: string;
1453
+ alt?: 'json' | 'media' | 'proto';
1348
1454
  /** JSONP */
1349
1455
  callback?: string;
1350
1456
  /** Selector specifying which fields to include in a partial response. */
1351
1457
  fields?: string;
1352
1458
  /** 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. */
1353
1459
  key?: string;
1354
- /** Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
1460
+ /** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
1355
1461
  name: string;
1356
1462
  /** OAuth 2.0 token for the current user. */
1357
1463
  oauth_token?: string;
@@ -1371,18 +1477,18 @@ declare namespace gapi.client {
1371
1477
  patch(
1372
1478
  request: {
1373
1479
  /** V1 error format. */
1374
- '$.xgafv'?: string;
1480
+ '$.xgafv'?: '1' | '2';
1375
1481
  /** OAuth access token. */
1376
1482
  access_token?: string;
1377
1483
  /** Data format for response. */
1378
- alt?: string;
1484
+ alt?: 'json' | 'media' | 'proto';
1379
1485
  /** JSONP */
1380
1486
  callback?: string;
1381
1487
  /** Selector specifying which fields to include in a partial response. */
1382
1488
  fields?: string;
1383
1489
  /** 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. */
1384
1490
  key?: string;
1385
- /** Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
1491
+ /** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
1386
1492
  name: string;
1387
1493
  /** OAuth 2.0 token for the current user. */
1388
1494
  oauth_token?: string;
@@ -1404,11 +1510,11 @@ declare namespace gapi.client {
1404
1510
  /** Archives a CustomMetric on a property. */
1405
1511
  archive(request: {
1406
1512
  /** V1 error format. */
1407
- '$.xgafv'?: string;
1513
+ '$.xgafv'?: '1' | '2';
1408
1514
  /** OAuth access token. */
1409
1515
  access_token?: string;
1410
1516
  /** Data format for response. */
1411
- alt?: string;
1517
+ alt?: 'json' | 'media' | 'proto';
1412
1518
  /** JSONP */
1413
1519
  callback?: string;
1414
1520
  /** Selector specifying which fields to include in a partial response. */
@@ -1433,11 +1539,11 @@ declare namespace gapi.client {
1433
1539
  archive(
1434
1540
  request: {
1435
1541
  /** V1 error format. */
1436
- '$.xgafv'?: string;
1542
+ '$.xgafv'?: '1' | '2';
1437
1543
  /** OAuth access token. */
1438
1544
  access_token?: string;
1439
1545
  /** Data format for response. */
1440
- alt?: string;
1546
+ alt?: 'json' | 'media' | 'proto';
1441
1547
  /** JSONP */
1442
1548
  callback?: string;
1443
1549
  /** Selector specifying which fields to include in a partial response. */
@@ -1462,11 +1568,11 @@ declare namespace gapi.client {
1462
1568
  /** Creates a CustomMetric. */
1463
1569
  create(request: {
1464
1570
  /** V1 error format. */
1465
- '$.xgafv'?: string;
1571
+ '$.xgafv'?: '1' | '2';
1466
1572
  /** OAuth access token. */
1467
1573
  access_token?: string;
1468
1574
  /** Data format for response. */
1469
- alt?: string;
1575
+ alt?: 'json' | 'media' | 'proto';
1470
1576
  /** JSONP */
1471
1577
  callback?: string;
1472
1578
  /** Selector specifying which fields to include in a partial response. */
@@ -1491,11 +1597,11 @@ declare namespace gapi.client {
1491
1597
  create(
1492
1598
  request: {
1493
1599
  /** V1 error format. */
1494
- '$.xgafv'?: string;
1600
+ '$.xgafv'?: '1' | '2';
1495
1601
  /** OAuth access token. */
1496
1602
  access_token?: string;
1497
1603
  /** Data format for response. */
1498
- alt?: string;
1604
+ alt?: 'json' | 'media' | 'proto';
1499
1605
  /** JSONP */
1500
1606
  callback?: string;
1501
1607
  /** Selector specifying which fields to include in a partial response. */
@@ -1520,11 +1626,11 @@ declare namespace gapi.client {
1520
1626
  /** Lookup for a single CustomMetric. */
1521
1627
  get(request?: {
1522
1628
  /** V1 error format. */
1523
- '$.xgafv'?: string;
1629
+ '$.xgafv'?: '1' | '2';
1524
1630
  /** OAuth access token. */
1525
1631
  access_token?: string;
1526
1632
  /** Data format for response. */
1527
- alt?: string;
1633
+ alt?: 'json' | 'media' | 'proto';
1528
1634
  /** JSONP */
1529
1635
  callback?: string;
1530
1636
  /** Selector specifying which fields to include in a partial response. */
@@ -1547,11 +1653,11 @@ declare namespace gapi.client {
1547
1653
  /** Lists CustomMetrics on a property. */
1548
1654
  list(request?: {
1549
1655
  /** V1 error format. */
1550
- '$.xgafv'?: string;
1656
+ '$.xgafv'?: '1' | '2';
1551
1657
  /** OAuth access token. */
1552
1658
  access_token?: string;
1553
1659
  /** Data format for response. */
1554
- alt?: string;
1660
+ alt?: 'json' | 'media' | 'proto';
1555
1661
  /** JSONP */
1556
1662
  callback?: string;
1557
1663
  /** Selector specifying which fields to include in a partial response. */
@@ -1578,18 +1684,18 @@ declare namespace gapi.client {
1578
1684
  /** Updates a CustomMetric on a property. */
1579
1685
  patch(request: {
1580
1686
  /** V1 error format. */
1581
- '$.xgafv'?: string;
1687
+ '$.xgafv'?: '1' | '2';
1582
1688
  /** OAuth access token. */
1583
1689
  access_token?: string;
1584
1690
  /** Data format for response. */
1585
- alt?: string;
1691
+ alt?: 'json' | 'media' | 'proto';
1586
1692
  /** JSONP */
1587
1693
  callback?: string;
1588
1694
  /** Selector specifying which fields to include in a partial response. */
1589
1695
  fields?: string;
1590
1696
  /** 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. */
1591
1697
  key?: string;
1592
- /** Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
1698
+ /** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
1593
1699
  name: string;
1594
1700
  /** OAuth 2.0 token for the current user. */
1595
1701
  oauth_token?: string;
@@ -1609,18 +1715,18 @@ declare namespace gapi.client {
1609
1715
  patch(
1610
1716
  request: {
1611
1717
  /** V1 error format. */
1612
- '$.xgafv'?: string;
1718
+ '$.xgafv'?: '1' | '2';
1613
1719
  /** OAuth access token. */
1614
1720
  access_token?: string;
1615
1721
  /** Data format for response. */
1616
- alt?: string;
1722
+ alt?: 'json' | 'media' | 'proto';
1617
1723
  /** JSONP */
1618
1724
  callback?: string;
1619
1725
  /** Selector specifying which fields to include in a partial response. */
1620
1726
  fields?: string;
1621
1727
  /** 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. */
1622
1728
  key?: string;
1623
- /** Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
1729
+ /** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
1624
1730
  name: string;
1625
1731
  /** OAuth 2.0 token for the current user. */
1626
1732
  oauth_token?: string;
@@ -1642,11 +1748,11 @@ declare namespace gapi.client {
1642
1748
  /** Creates a measurement protocol secret. */
1643
1749
  create(request: {
1644
1750
  /** V1 error format. */
1645
- '$.xgafv'?: string;
1751
+ '$.xgafv'?: '1' | '2';
1646
1752
  /** OAuth access token. */
1647
1753
  access_token?: string;
1648
1754
  /** Data format for response. */
1649
- alt?: string;
1755
+ alt?: 'json' | 'media' | 'proto';
1650
1756
  /** JSONP */
1651
1757
  callback?: string;
1652
1758
  /** Selector specifying which fields to include in a partial response. */
@@ -1671,11 +1777,11 @@ declare namespace gapi.client {
1671
1777
  create(
1672
1778
  request: {
1673
1779
  /** V1 error format. */
1674
- '$.xgafv'?: string;
1780
+ '$.xgafv'?: '1' | '2';
1675
1781
  /** OAuth access token. */
1676
1782
  access_token?: string;
1677
1783
  /** Data format for response. */
1678
- alt?: string;
1784
+ alt?: 'json' | 'media' | 'proto';
1679
1785
  /** JSONP */
1680
1786
  callback?: string;
1681
1787
  /** Selector specifying which fields to include in a partial response. */
@@ -1700,11 +1806,11 @@ declare namespace gapi.client {
1700
1806
  /** Deletes target MeasurementProtocolSecret. */
1701
1807
  delete(request?: {
1702
1808
  /** V1 error format. */
1703
- '$.xgafv'?: string;
1809
+ '$.xgafv'?: '1' | '2';
1704
1810
  /** OAuth access token. */
1705
1811
  access_token?: string;
1706
1812
  /** Data format for response. */
1707
- alt?: string;
1813
+ alt?: 'json' | 'media' | 'proto';
1708
1814
  /** JSONP */
1709
1815
  callback?: string;
1710
1816
  /** Selector specifying which fields to include in a partial response. */
@@ -1727,11 +1833,11 @@ declare namespace gapi.client {
1727
1833
  /** Lookup for a single MeasurementProtocolSecret. */
1728
1834
  get(request?: {
1729
1835
  /** V1 error format. */
1730
- '$.xgafv'?: string;
1836
+ '$.xgafv'?: '1' | '2';
1731
1837
  /** OAuth access token. */
1732
1838
  access_token?: string;
1733
1839
  /** Data format for response. */
1734
- alt?: string;
1840
+ alt?: 'json' | 'media' | 'proto';
1735
1841
  /** JSONP */
1736
1842
  callback?: string;
1737
1843
  /** Selector specifying which fields to include in a partial response. */
@@ -1754,11 +1860,11 @@ declare namespace gapi.client {
1754
1860
  /** Returns child MeasurementProtocolSecrets under the specified parent Property. */
1755
1861
  list(request?: {
1756
1862
  /** V1 error format. */
1757
- '$.xgafv'?: string;
1863
+ '$.xgafv'?: '1' | '2';
1758
1864
  /** OAuth access token. */
1759
1865
  access_token?: string;
1760
1866
  /** Data format for response. */
1761
- alt?: string;
1867
+ alt?: 'json' | 'media' | 'proto';
1762
1868
  /** JSONP */
1763
1869
  callback?: string;
1764
1870
  /** Selector specifying which fields to include in a partial response. */
@@ -1767,9 +1873,9 @@ declare namespace gapi.client {
1767
1873
  key?: string;
1768
1874
  /** OAuth 2.0 token for the current user. */
1769
1875
  oauth_token?: string;
1770
- /** 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. */
1876
+ /** 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. */
1771
1877
  pageSize?: number;
1772
- /** 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. */
1878
+ /** 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. */
1773
1879
  pageToken?: string;
1774
1880
  /** Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets */
1775
1881
  parent: string;
@@ -1785,18 +1891,18 @@ declare namespace gapi.client {
1785
1891
  /** Updates a measurement protocol secret. */
1786
1892
  patch(request: {
1787
1893
  /** V1 error format. */
1788
- '$.xgafv'?: string;
1894
+ '$.xgafv'?: '1' | '2';
1789
1895
  /** OAuth access token. */
1790
1896
  access_token?: string;
1791
1897
  /** Data format for response. */
1792
- alt?: string;
1898
+ alt?: 'json' | 'media' | 'proto';
1793
1899
  /** JSONP */
1794
1900
  callback?: string;
1795
1901
  /** Selector specifying which fields to include in a partial response. */
1796
1902
  fields?: string;
1797
1903
  /** 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. */
1798
1904
  key?: string;
1799
- /** 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} */
1905
+ /** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
1800
1906
  name: string;
1801
1907
  /** OAuth 2.0 token for the current user. */
1802
1908
  oauth_token?: string;
@@ -1816,18 +1922,18 @@ declare namespace gapi.client {
1816
1922
  patch(
1817
1923
  request: {
1818
1924
  /** V1 error format. */
1819
- '$.xgafv'?: string;
1925
+ '$.xgafv'?: '1' | '2';
1820
1926
  /** OAuth access token. */
1821
1927
  access_token?: string;
1822
1928
  /** Data format for response. */
1823
- alt?: string;
1929
+ alt?: 'json' | 'media' | 'proto';
1824
1930
  /** JSONP */
1825
1931
  callback?: string;
1826
1932
  /** Selector specifying which fields to include in a partial response. */
1827
1933
  fields?: string;
1828
1934
  /** 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. */
1829
1935
  key?: string;
1830
- /** 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} */
1936
+ /** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
1831
1937
  name: string;
1832
1938
  /** OAuth 2.0 token for the current user. */
1833
1939
  oauth_token?: string;
@@ -1849,11 +1955,11 @@ declare namespace gapi.client {
1849
1955
  /** Creates a DataStream. */
1850
1956
  create(request: {
1851
1957
  /** V1 error format. */
1852
- '$.xgafv'?: string;
1958
+ '$.xgafv'?: '1' | '2';
1853
1959
  /** OAuth access token. */
1854
1960
  access_token?: string;
1855
1961
  /** Data format for response. */
1856
- alt?: string;
1962
+ alt?: 'json' | 'media' | 'proto';
1857
1963
  /** JSONP */
1858
1964
  callback?: string;
1859
1965
  /** Selector specifying which fields to include in a partial response. */
@@ -1878,11 +1984,11 @@ declare namespace gapi.client {
1878
1984
  create(
1879
1985
  request: {
1880
1986
  /** V1 error format. */
1881
- '$.xgafv'?: string;
1987
+ '$.xgafv'?: '1' | '2';
1882
1988
  /** OAuth access token. */
1883
1989
  access_token?: string;
1884
1990
  /** Data format for response. */
1885
- alt?: string;
1991
+ alt?: 'json' | 'media' | 'proto';
1886
1992
  /** JSONP */
1887
1993
  callback?: string;
1888
1994
  /** Selector specifying which fields to include in a partial response. */
@@ -1907,11 +2013,11 @@ declare namespace gapi.client {
1907
2013
  /** Deletes a DataStream on a property. */
1908
2014
  delete(request?: {
1909
2015
  /** V1 error format. */
1910
- '$.xgafv'?: string;
2016
+ '$.xgafv'?: '1' | '2';
1911
2017
  /** OAuth access token. */
1912
2018
  access_token?: string;
1913
2019
  /** Data format for response. */
1914
- alt?: string;
2020
+ alt?: 'json' | 'media' | 'proto';
1915
2021
  /** JSONP */
1916
2022
  callback?: string;
1917
2023
  /** Selector specifying which fields to include in a partial response. */
@@ -1934,11 +2040,11 @@ declare namespace gapi.client {
1934
2040
  /** Lookup for a single DataStream. */
1935
2041
  get(request?: {
1936
2042
  /** V1 error format. */
1937
- '$.xgafv'?: string;
2043
+ '$.xgafv'?: '1' | '2';
1938
2044
  /** OAuth access token. */
1939
2045
  access_token?: string;
1940
2046
  /** Data format for response. */
1941
- alt?: string;
2047
+ alt?: 'json' | 'media' | 'proto';
1942
2048
  /** JSONP */
1943
2049
  callback?: string;
1944
2050
  /** Selector specifying which fields to include in a partial response. */
@@ -1961,11 +2067,11 @@ declare namespace gapi.client {
1961
2067
  /** Lists DataStreams on a property. */
1962
2068
  list(request?: {
1963
2069
  /** V1 error format. */
1964
- '$.xgafv'?: string;
2070
+ '$.xgafv'?: '1' | '2';
1965
2071
  /** OAuth access token. */
1966
2072
  access_token?: string;
1967
2073
  /** Data format for response. */
1968
- alt?: string;
2074
+ alt?: 'json' | 'media' | 'proto';
1969
2075
  /** JSONP */
1970
2076
  callback?: string;
1971
2077
  /** Selector specifying which fields to include in a partial response. */
@@ -1992,18 +2098,18 @@ declare namespace gapi.client {
1992
2098
  /** Updates a DataStream on a property. */
1993
2099
  patch(request: {
1994
2100
  /** V1 error format. */
1995
- '$.xgafv'?: string;
2101
+ '$.xgafv'?: '1' | '2';
1996
2102
  /** OAuth access token. */
1997
2103
  access_token?: string;
1998
2104
  /** Data format for response. */
1999
- alt?: string;
2105
+ alt?: 'json' | 'media' | 'proto';
2000
2106
  /** JSONP */
2001
2107
  callback?: string;
2002
2108
  /** Selector specifying which fields to include in a partial response. */
2003
2109
  fields?: string;
2004
2110
  /** 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. */
2005
2111
  key?: string;
2006
- /** Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
2112
+ /** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
2007
2113
  name: string;
2008
2114
  /** OAuth 2.0 token for the current user. */
2009
2115
  oauth_token?: string;
@@ -2023,18 +2129,18 @@ declare namespace gapi.client {
2023
2129
  patch(
2024
2130
  request: {
2025
2131
  /** V1 error format. */
2026
- '$.xgafv'?: string;
2132
+ '$.xgafv'?: '1' | '2';
2027
2133
  /** OAuth access token. */
2028
2134
  access_token?: string;
2029
2135
  /** Data format for response. */
2030
- alt?: string;
2136
+ alt?: 'json' | 'media' | 'proto';
2031
2137
  /** JSONP */
2032
2138
  callback?: string;
2033
2139
  /** Selector specifying which fields to include in a partial response. */
2034
2140
  fields?: string;
2035
2141
  /** 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. */
2036
2142
  key?: string;
2037
- /** Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
2143
+ /** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
2038
2144
  name: string;
2039
2145
  /** OAuth 2.0 token for the current user. */
2040
2146
  oauth_token?: string;
@@ -2057,11 +2163,11 @@ declare namespace gapi.client {
2057
2163
  /** Creates a FirebaseLink. Properties can have at most one FirebaseLink. */
2058
2164
  create(request: {
2059
2165
  /** V1 error format. */
2060
- '$.xgafv'?: string;
2166
+ '$.xgafv'?: '1' | '2';
2061
2167
  /** OAuth access token. */
2062
2168
  access_token?: string;
2063
2169
  /** Data format for response. */
2064
- alt?: string;
2170
+ alt?: 'json' | 'media' | 'proto';
2065
2171
  /** JSONP */
2066
2172
  callback?: string;
2067
2173
  /** Selector specifying which fields to include in a partial response. */
@@ -2086,11 +2192,11 @@ declare namespace gapi.client {
2086
2192
  create(
2087
2193
  request: {
2088
2194
  /** V1 error format. */
2089
- '$.xgafv'?: string;
2195
+ '$.xgafv'?: '1' | '2';
2090
2196
  /** OAuth access token. */
2091
2197
  access_token?: string;
2092
2198
  /** Data format for response. */
2093
- alt?: string;
2199
+ alt?: 'json' | 'media' | 'proto';
2094
2200
  /** JSONP */
2095
2201
  callback?: string;
2096
2202
  /** Selector specifying which fields to include in a partial response. */
@@ -2115,11 +2221,11 @@ declare namespace gapi.client {
2115
2221
  /** Deletes a FirebaseLink on a property */
2116
2222
  delete(request?: {
2117
2223
  /** V1 error format. */
2118
- '$.xgafv'?: string;
2224
+ '$.xgafv'?: '1' | '2';
2119
2225
  /** OAuth access token. */
2120
2226
  access_token?: string;
2121
2227
  /** Data format for response. */
2122
- alt?: string;
2228
+ alt?: 'json' | 'media' | 'proto';
2123
2229
  /** JSONP */
2124
2230
  callback?: string;
2125
2231
  /** Selector specifying which fields to include in a partial response. */
@@ -2142,11 +2248,11 @@ declare namespace gapi.client {
2142
2248
  /** Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink. */
2143
2249
  list(request?: {
2144
2250
  /** V1 error format. */
2145
- '$.xgafv'?: string;
2251
+ '$.xgafv'?: '1' | '2';
2146
2252
  /** OAuth access token. */
2147
2253
  access_token?: string;
2148
2254
  /** Data format for response. */
2149
- alt?: string;
2255
+ alt?: 'json' | 'media' | 'proto';
2150
2256
  /** JSONP */
2151
2257
  callback?: string;
2152
2258
  /** Selector specifying which fields to include in a partial response. */
@@ -2155,9 +2261,9 @@ declare namespace gapi.client {
2155
2261
  key?: string;
2156
2262
  /** OAuth 2.0 token for the current user. */
2157
2263
  oauth_token?: string;
2158
- /** 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) */
2264
+ /** 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) */
2159
2265
  pageSize?: number;
2160
- /** 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. */
2266
+ /** 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. */
2161
2267
  pageToken?: string;
2162
2268
  /** Required. Format: properties/{property_id} Example: `properties/1234` */
2163
2269
  parent: string;
@@ -2175,11 +2281,11 @@ declare namespace gapi.client {
2175
2281
  /** Creates a GoogleAdsLink. */
2176
2282
  create(request: {
2177
2283
  /** V1 error format. */
2178
- '$.xgafv'?: string;
2284
+ '$.xgafv'?: '1' | '2';
2179
2285
  /** OAuth access token. */
2180
2286
  access_token?: string;
2181
2287
  /** Data format for response. */
2182
- alt?: string;
2288
+ alt?: 'json' | 'media' | 'proto';
2183
2289
  /** JSONP */
2184
2290
  callback?: string;
2185
2291
  /** Selector specifying which fields to include in a partial response. */
@@ -2204,11 +2310,11 @@ declare namespace gapi.client {
2204
2310
  create(
2205
2311
  request: {
2206
2312
  /** V1 error format. */
2207
- '$.xgafv'?: string;
2313
+ '$.xgafv'?: '1' | '2';
2208
2314
  /** OAuth access token. */
2209
2315
  access_token?: string;
2210
2316
  /** Data format for response. */
2211
- alt?: string;
2317
+ alt?: 'json' | 'media' | 'proto';
2212
2318
  /** JSONP */
2213
2319
  callback?: string;
2214
2320
  /** Selector specifying which fields to include in a partial response. */
@@ -2233,11 +2339,11 @@ declare namespace gapi.client {
2233
2339
  /** Deletes a GoogleAdsLink on a property */
2234
2340
  delete(request?: {
2235
2341
  /** V1 error format. */
2236
- '$.xgafv'?: string;
2342
+ '$.xgafv'?: '1' | '2';
2237
2343
  /** OAuth access token. */
2238
2344
  access_token?: string;
2239
2345
  /** Data format for response. */
2240
- alt?: string;
2346
+ alt?: 'json' | 'media' | 'proto';
2241
2347
  /** JSONP */
2242
2348
  callback?: string;
2243
2349
  /** Selector specifying which fields to include in a partial response. */
@@ -2260,11 +2366,11 @@ declare namespace gapi.client {
2260
2366
  /** Lists GoogleAdsLinks on a property. */
2261
2367
  list(request?: {
2262
2368
  /** V1 error format. */
2263
- '$.xgafv'?: string;
2369
+ '$.xgafv'?: '1' | '2';
2264
2370
  /** OAuth access token. */
2265
2371
  access_token?: string;
2266
2372
  /** Data format for response. */
2267
- alt?: string;
2373
+ alt?: 'json' | 'media' | 'proto';
2268
2374
  /** JSONP */
2269
2375
  callback?: string;
2270
2376
  /** Selector specifying which fields to include in a partial response. */
@@ -2273,9 +2379,9 @@ declare namespace gapi.client {
2273
2379
  key?: string;
2274
2380
  /** OAuth 2.0 token for the current user. */
2275
2381
  oauth_token?: string;
2276
- /** 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). */
2382
+ /** 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). */
2277
2383
  pageSize?: number;
2278
- /** 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. */
2384
+ /** 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. */
2279
2385
  pageToken?: string;
2280
2386
  /** Required. Example format: properties/1234 */
2281
2387
  parent: string;
@@ -2291,18 +2397,18 @@ declare namespace gapi.client {
2291
2397
  /** Updates a GoogleAdsLink on a property */
2292
2398
  patch(request: {
2293
2399
  /** V1 error format. */
2294
- '$.xgafv'?: string;
2400
+ '$.xgafv'?: '1' | '2';
2295
2401
  /** OAuth access token. */
2296
2402
  access_token?: string;
2297
2403
  /** Data format for response. */
2298
- alt?: string;
2404
+ alt?: 'json' | 'media' | 'proto';
2299
2405
  /** JSONP */
2300
2406
  callback?: string;
2301
2407
  /** Selector specifying which fields to include in a partial response. */
2302
2408
  fields?: string;
2303
2409
  /** 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. */
2304
2410
  key?: string;
2305
- /** Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
2411
+ /** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
2306
2412
  name: string;
2307
2413
  /** OAuth 2.0 token for the current user. */
2308
2414
  oauth_token?: string;
@@ -2322,18 +2428,18 @@ declare namespace gapi.client {
2322
2428
  patch(
2323
2429
  request: {
2324
2430
  /** V1 error format. */
2325
- '$.xgafv'?: string;
2431
+ '$.xgafv'?: '1' | '2';
2326
2432
  /** OAuth access token. */
2327
2433
  access_token?: string;
2328
2434
  /** Data format for response. */
2329
- alt?: string;
2435
+ alt?: 'json' | 'media' | 'proto';
2330
2436
  /** JSONP */
2331
2437
  callback?: string;
2332
2438
  /** Selector specifying which fields to include in a partial response. */
2333
2439
  fields?: string;
2334
2440
  /** 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. */
2335
2441
  key?: string;
2336
- /** Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
2442
+ /** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
2337
2443
  name: string;
2338
2444
  /** OAuth 2.0 token for the current user. */
2339
2445
  oauth_token?: string;
@@ -2355,11 +2461,11 @@ declare namespace gapi.client {
2355
2461
  /** Creates a Key Event. */
2356
2462
  create(request: {
2357
2463
  /** V1 error format. */
2358
- '$.xgafv'?: string;
2464
+ '$.xgafv'?: '1' | '2';
2359
2465
  /** OAuth access token. */
2360
2466
  access_token?: string;
2361
2467
  /** Data format for response. */
2362
- alt?: string;
2468
+ alt?: 'json' | 'media' | 'proto';
2363
2469
  /** JSONP */
2364
2470
  callback?: string;
2365
2471
  /** Selector specifying which fields to include in a partial response. */
@@ -2384,11 +2490,11 @@ declare namespace gapi.client {
2384
2490
  create(
2385
2491
  request: {
2386
2492
  /** V1 error format. */
2387
- '$.xgafv'?: string;
2493
+ '$.xgafv'?: '1' | '2';
2388
2494
  /** OAuth access token. */
2389
2495
  access_token?: string;
2390
2496
  /** Data format for response. */
2391
- alt?: string;
2497
+ alt?: 'json' | 'media' | 'proto';
2392
2498
  /** JSONP */
2393
2499
  callback?: string;
2394
2500
  /** Selector specifying which fields to include in a partial response. */
@@ -2413,11 +2519,11 @@ declare namespace gapi.client {
2413
2519
  /** Deletes a Key Event. */
2414
2520
  delete(request?: {
2415
2521
  /** V1 error format. */
2416
- '$.xgafv'?: string;
2522
+ '$.xgafv'?: '1' | '2';
2417
2523
  /** OAuth access token. */
2418
2524
  access_token?: string;
2419
2525
  /** Data format for response. */
2420
- alt?: string;
2526
+ alt?: 'json' | 'media' | 'proto';
2421
2527
  /** JSONP */
2422
2528
  callback?: string;
2423
2529
  /** Selector specifying which fields to include in a partial response. */
@@ -2440,11 +2546,11 @@ declare namespace gapi.client {
2440
2546
  /** Retrieve a single Key Event. */
2441
2547
  get(request?: {
2442
2548
  /** V1 error format. */
2443
- '$.xgafv'?: string;
2549
+ '$.xgafv'?: '1' | '2';
2444
2550
  /** OAuth access token. */
2445
2551
  access_token?: string;
2446
2552
  /** Data format for response. */
2447
- alt?: string;
2553
+ alt?: 'json' | 'media' | 'proto';
2448
2554
  /** JSONP */
2449
2555
  callback?: string;
2450
2556
  /** Selector specifying which fields to include in a partial response. */
@@ -2467,11 +2573,11 @@ declare namespace gapi.client {
2467
2573
  /** Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found. */
2468
2574
  list(request?: {
2469
2575
  /** V1 error format. */
2470
- '$.xgafv'?: string;
2576
+ '$.xgafv'?: '1' | '2';
2471
2577
  /** OAuth access token. */
2472
2578
  access_token?: string;
2473
2579
  /** Data format for response. */
2474
- alt?: string;
2580
+ alt?: 'json' | 'media' | 'proto';
2475
2581
  /** JSONP */
2476
2582
  callback?: string;
2477
2583
  /** Selector specifying which fields to include in a partial response. */
@@ -2480,9 +2586,9 @@ declare namespace gapi.client {
2480
2586
  key?: string;
2481
2587
  /** OAuth 2.0 token for the current user. */
2482
2588
  oauth_token?: string;
2483
- /** 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) */
2589
+ /** 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) */
2484
2590
  pageSize?: number;
2485
- /** 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. */
2591
+ /** 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. */
2486
2592
  pageToken?: string;
2487
2593
  /** Required. The resource name of the parent property. Example: 'properties/123' */
2488
2594
  parent: string;
@@ -2498,11 +2604,11 @@ declare namespace gapi.client {
2498
2604
  /** Updates a Key Event. */
2499
2605
  patch(request: {
2500
2606
  /** V1 error format. */
2501
- '$.xgafv'?: string;
2607
+ '$.xgafv'?: '1' | '2';
2502
2608
  /** OAuth access token. */
2503
2609
  access_token?: string;
2504
2610
  /** Data format for response. */
2505
- alt?: string;
2611
+ alt?: 'json' | 'media' | 'proto';
2506
2612
  /** JSONP */
2507
2613
  callback?: string;
2508
2614
  /** Selector specifying which fields to include in a partial response. */
@@ -2529,11 +2635,11 @@ declare namespace gapi.client {
2529
2635
  patch(
2530
2636
  request: {
2531
2637
  /** V1 error format. */
2532
- '$.xgafv'?: string;
2638
+ '$.xgafv'?: '1' | '2';
2533
2639
  /** OAuth access token. */
2534
2640
  access_token?: string;
2535
2641
  /** Data format for response. */
2536
- alt?: string;
2642
+ alt?: 'json' | 'media' | 'proto';
2537
2643
  /** JSONP */
2538
2644
  callback?: string;
2539
2645
  /** Selector specifying which fields to include in a partial response. */
@@ -2562,11 +2668,11 @@ declare namespace gapi.client {
2562
2668
  /** 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. */
2563
2669
  acknowledgeUserDataCollection(request: {
2564
2670
  /** V1 error format. */
2565
- '$.xgafv'?: string;
2671
+ '$.xgafv'?: '1' | '2';
2566
2672
  /** OAuth access token. */
2567
2673
  access_token?: string;
2568
2674
  /** Data format for response. */
2569
- alt?: string;
2675
+ alt?: 'json' | 'media' | 'proto';
2570
2676
  /** JSONP */
2571
2677
  callback?: string;
2572
2678
  /** Selector specifying which fields to include in a partial response. */
@@ -2591,11 +2697,11 @@ declare namespace gapi.client {
2591
2697
  acknowledgeUserDataCollection(
2592
2698
  request: {
2593
2699
  /** V1 error format. */
2594
- '$.xgafv'?: string;
2700
+ '$.xgafv'?: '1' | '2';
2595
2701
  /** OAuth access token. */
2596
2702
  access_token?: string;
2597
2703
  /** Data format for response. */
2598
- alt?: string;
2704
+ alt?: 'json' | 'media' | 'proto';
2599
2705
  /** JSONP */
2600
2706
  callback?: string;
2601
2707
  /** Selector specifying which fields to include in a partial response. */
@@ -2620,11 +2726,11 @@ declare namespace gapi.client {
2620
2726
  /** Creates a Google Analytics property with the specified location and attributes. */
2621
2727
  create(request: {
2622
2728
  /** V1 error format. */
2623
- '$.xgafv'?: string;
2729
+ '$.xgafv'?: '1' | '2';
2624
2730
  /** OAuth access token. */
2625
2731
  access_token?: string;
2626
2732
  /** Data format for response. */
2627
- alt?: string;
2733
+ alt?: 'json' | 'media' | 'proto';
2628
2734
  /** JSONP */
2629
2735
  callback?: string;
2630
2736
  /** Selector specifying which fields to include in a partial response. */
@@ -2647,11 +2753,11 @@ declare namespace gapi.client {
2647
2753
  create(
2648
2754
  request: {
2649
2755
  /** V1 error format. */
2650
- '$.xgafv'?: string;
2756
+ '$.xgafv'?: '1' | '2';
2651
2757
  /** OAuth access token. */
2652
2758
  access_token?: string;
2653
2759
  /** Data format for response. */
2654
- alt?: string;
2760
+ alt?: 'json' | 'media' | 'proto';
2655
2761
  /** JSONP */
2656
2762
  callback?: string;
2657
2763
  /** Selector specifying which fields to include in a partial response. */
@@ -2674,11 +2780,11 @@ declare namespace gapi.client {
2674
2780
  /** 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. */
2675
2781
  delete(request?: {
2676
2782
  /** V1 error format. */
2677
- '$.xgafv'?: string;
2783
+ '$.xgafv'?: '1' | '2';
2678
2784
  /** OAuth access token. */
2679
2785
  access_token?: string;
2680
2786
  /** Data format for response. */
2681
- alt?: string;
2787
+ alt?: 'json' | 'media' | 'proto';
2682
2788
  /** JSONP */
2683
2789
  callback?: string;
2684
2790
  /** Selector specifying which fields to include in a partial response. */
@@ -2701,11 +2807,11 @@ declare namespace gapi.client {
2701
2807
  /** Lookup for a single GA Property. */
2702
2808
  get(request?: {
2703
2809
  /** V1 error format. */
2704
- '$.xgafv'?: string;
2810
+ '$.xgafv'?: '1' | '2';
2705
2811
  /** OAuth access token. */
2706
2812
  access_token?: string;
2707
2813
  /** Data format for response. */
2708
- alt?: string;
2814
+ alt?: 'json' | 'media' | 'proto';
2709
2815
  /** JSONP */
2710
2816
  callback?: string;
2711
2817
  /** Selector specifying which fields to include in a partial response. */
@@ -2728,11 +2834,11 @@ declare namespace gapi.client {
2728
2834
  /** Returns the singleton data retention settings for this property. */
2729
2835
  getDataRetentionSettings(request?: {
2730
2836
  /** V1 error format. */
2731
- '$.xgafv'?: string;
2837
+ '$.xgafv'?: '1' | '2';
2732
2838
  /** OAuth access token. */
2733
2839
  access_token?: string;
2734
2840
  /** Data format for response. */
2735
- alt?: string;
2841
+ alt?: 'json' | 'media' | 'proto';
2736
2842
  /** JSONP */
2737
2843
  callback?: string;
2738
2844
  /** Selector specifying which fields to include in a partial response. */
@@ -2755,11 +2861,11 @@ declare namespace gapi.client {
2755
2861
  /** 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. */
2756
2862
  list(request?: {
2757
2863
  /** V1 error format. */
2758
- '$.xgafv'?: string;
2864
+ '$.xgafv'?: '1' | '2';
2759
2865
  /** OAuth access token. */
2760
2866
  access_token?: string;
2761
2867
  /** Data format for response. */
2762
- alt?: string;
2868
+ alt?: 'json' | 'media' | 'proto';
2763
2869
  /** JSONP */
2764
2870
  callback?: string;
2765
2871
  /** Selector specifying which fields to include in a partial response. */
@@ -2770,9 +2876,9 @@ declare namespace gapi.client {
2770
2876
  key?: string;
2771
2877
  /** OAuth 2.0 token for the current user. */
2772
2878
  oauth_token?: string;
2773
- /** 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) */
2879
+ /** 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) */
2774
2880
  pageSize?: number;
2775
- /** 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. */
2881
+ /** 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. */
2776
2882
  pageToken?: string;
2777
2883
  /** Returns response with indentations and line breaks. */
2778
2884
  prettyPrint?: boolean;
@@ -2788,18 +2894,18 @@ declare namespace gapi.client {
2788
2894
  /** Updates a property. */
2789
2895
  patch(request: {
2790
2896
  /** V1 error format. */
2791
- '$.xgafv'?: string;
2897
+ '$.xgafv'?: '1' | '2';
2792
2898
  /** OAuth access token. */
2793
2899
  access_token?: string;
2794
2900
  /** Data format for response. */
2795
- alt?: string;
2901
+ alt?: 'json' | 'media' | 'proto';
2796
2902
  /** JSONP */
2797
2903
  callback?: string;
2798
2904
  /** Selector specifying which fields to include in a partial response. */
2799
2905
  fields?: string;
2800
2906
  /** 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. */
2801
2907
  key?: string;
2802
- /** Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
2908
+ /** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
2803
2909
  name: string;
2804
2910
  /** OAuth 2.0 token for the current user. */
2805
2911
  oauth_token?: string;
@@ -2819,18 +2925,18 @@ declare namespace gapi.client {
2819
2925
  patch(
2820
2926
  request: {
2821
2927
  /** V1 error format. */
2822
- '$.xgafv'?: string;
2928
+ '$.xgafv'?: '1' | '2';
2823
2929
  /** OAuth access token. */
2824
2930
  access_token?: string;
2825
2931
  /** Data format for response. */
2826
- alt?: string;
2932
+ alt?: 'json' | 'media' | 'proto';
2827
2933
  /** JSONP */
2828
2934
  callback?: string;
2829
2935
  /** Selector specifying which fields to include in a partial response. */
2830
2936
  fields?: string;
2831
2937
  /** 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. */
2832
2938
  key?: string;
2833
- /** Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
2939
+ /** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
2834
2940
  name: string;
2835
2941
  /** OAuth 2.0 token for the current user. */
2836
2942
  oauth_token?: string;
@@ -2850,11 +2956,11 @@ declare namespace gapi.client {
2850
2956
  /** 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. */
2851
2957
  runAccessReport(request: {
2852
2958
  /** V1 error format. */
2853
- '$.xgafv'?: string;
2959
+ '$.xgafv'?: '1' | '2';
2854
2960
  /** OAuth access token. */
2855
2961
  access_token?: string;
2856
2962
  /** Data format for response. */
2857
- alt?: string;
2963
+ alt?: 'json' | 'media' | 'proto';
2858
2964
  /** JSONP */
2859
2965
  callback?: string;
2860
2966
  /** 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. */
@@ -2879,11 +2985,11 @@ declare namespace gapi.client {
2879
2985
  runAccessReport(
2880
2986
  request: {
2881
2987
  /** V1 error format. */
2882
- '$.xgafv'?: string;
2988
+ '$.xgafv'?: '1' | '2';
2883
2989
  /** OAuth access token. */
2884
2990
  access_token?: string;
2885
2991
  /** Data format for response. */
2886
- alt?: string;
2992
+ alt?: 'json' | 'media' | 'proto';
2887
2993
  /** JSONP */
2888
2994
  callback?: string;
2889
2995
  /** 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. */
@@ -2908,18 +3014,18 @@ declare namespace gapi.client {
2908
3014
  /** Updates the singleton data retention settings for this property. */
2909
3015
  updateDataRetentionSettings(request: {
2910
3016
  /** V1 error format. */
2911
- '$.xgafv'?: string;
3017
+ '$.xgafv'?: '1' | '2';
2912
3018
  /** OAuth access token. */
2913
3019
  access_token?: string;
2914
3020
  /** Data format for response. */
2915
- alt?: string;
3021
+ alt?: 'json' | 'media' | 'proto';
2916
3022
  /** JSONP */
2917
3023
  callback?: string;
2918
3024
  /** Selector specifying which fields to include in a partial response. */
2919
3025
  fields?: string;
2920
3026
  /** 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. */
2921
3027
  key?: string;
2922
- /** Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
3028
+ /** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
2923
3029
  name: string;
2924
3030
  /** OAuth 2.0 token for the current user. */
2925
3031
  oauth_token?: string;
@@ -2939,18 +3045,18 @@ declare namespace gapi.client {
2939
3045
  updateDataRetentionSettings(
2940
3046
  request: {
2941
3047
  /** V1 error format. */
2942
- '$.xgafv'?: string;
3048
+ '$.xgafv'?: '1' | '2';
2943
3049
  /** OAuth access token. */
2944
3050
  access_token?: string;
2945
3051
  /** Data format for response. */
2946
- alt?: string;
3052
+ alt?: 'json' | 'media' | 'proto';
2947
3053
  /** JSONP */
2948
3054
  callback?: string;
2949
3055
  /** Selector specifying which fields to include in a partial response. */
2950
3056
  fields?: string;
2951
3057
  /** 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. */
2952
3058
  key?: string;
2953
- /** Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
3059
+ /** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
2954
3060
  name: string;
2955
3061
  /** OAuth 2.0 token for the current user. */
2956
3062
  oauth_token?: string;