@maxim_mazurok/gapi.client.cloudidentity-v1beta1 0.1.20260310 → 0.2.20260317

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 (2) hide show
  1. package/index.d.ts +460 -244
  2. package/package.json +1 -1
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://cloudidentity.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20260310
12
+ // Revision: 20260317
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -46,8 +46,12 @@ declare namespace gapi.client {
46
46
  /** Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. */
47
47
  ownerProfileAccount?: boolean;
48
48
  /** Ownership privileges on device. */
49
- ownershipPrivilege?: string;
50
- /** Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. */
49
+ ownershipPrivilege?:
50
+ | 'OWNERSHIP_PRIVILEGE_UNSPECIFIED'
51
+ | 'DEVICE_ADMINISTRATOR'
52
+ | 'PROFILE_OWNER'
53
+ | 'DEVICE_OWNER';
54
+ /** Whether the device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. */
51
55
  supportsWorkProfile?: boolean;
52
56
  /** Whether Android verified boot status is GREEN. */
53
57
  verifiedBoot?: boolean;
@@ -80,7 +84,12 @@ declare namespace gapi.client {
80
84
  }
81
85
  interface BrowserInfo {
82
86
  /** Output only. Browser's management state. */
83
- browserManagementState?: string;
87
+ browserManagementState?:
88
+ | 'UNSPECIFIED'
89
+ | 'UNMANAGED'
90
+ | 'MANAGED_BY_OTHER_DOMAIN'
91
+ | 'PROFILE_MANAGED'
92
+ | 'BROWSER_MANAGED';
84
93
  /** Version of the request initiating browser. E.g. `91.0.4442.4`. */
85
94
  browserVersion?: string;
86
95
  /** Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled). */
@@ -104,11 +113,19 @@ declare namespace gapi.client {
104
113
  /** Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled). */
105
114
  isThirdPartyBlockingEnabled?: boolean;
106
115
  /** Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger). */
107
- passwordProtectionWarningTrigger?: string;
116
+ passwordProtectionWarningTrigger?:
117
+ | 'PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED'
118
+ | 'PROTECTION_OFF'
119
+ | 'PASSWORD_REUSE'
120
+ | 'PHISHING_REUSE';
108
121
  /** Output only. Chrome policies information for the browser as can be seen in chrome://policy. Full possibilities of policies can be consulted in [Chrome Enterprise Policy List](https://chromeenterprise.google/policies/). */
109
122
  policies?: ChromePolicy[];
110
123
  /** Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel). */
111
- safeBrowsingProtectionLevel?: string;
124
+ safeBrowsingProtectionLevel?:
125
+ | 'SAFE_BROWSING_LEVEL_UNSPECIFIED'
126
+ | 'DISABLED'
127
+ | 'STANDARD'
128
+ | 'ENHANCED';
112
129
  }
113
130
  interface CancelUserInvitationRequest {}
114
131
  interface CancelWipeDeviceRequest {
@@ -141,7 +158,10 @@ declare namespace gapi.client {
141
158
  /** The certificate thumbprint. */
142
159
  thumbprint?: string;
143
160
  /** Validation state of this certificate. */
144
- validationState?: string;
161
+ validationState?:
162
+ | 'CERTIFICATE_VALIDATION_STATE_UNSPECIFIED'
163
+ | 'VALIDATION_SUCCESSFUL'
164
+ | 'VALIDATION_FAILED';
145
165
  /** Certificate not valid at or after this timestamp. */
146
166
  validityExpirationTime?: string;
147
167
  /** Certificate not valid before this timestamp. */
@@ -165,9 +185,20 @@ declare namespace gapi.client {
165
185
  /** Output only. The unique name of the Chrome policy. These names correspond to the policy names listed in [Chrome Enterprise Policy List](https://chromeenterprise.google/policies/) */
166
186
  name?: string;
167
187
  /** Output only. The scope at which the *applied* policy value is set (USER or MACHINE). */
168
- scope?: string;
188
+ scope?: 'SCOPE_UNKNOWN' | 'USER' | 'MACHINE';
169
189
  /** Output only. The source from which the *applied* policy value originated. */
170
- source?: string;
190
+ source?:
191
+ | 'SOURCE_UNKNOWN'
192
+ | 'ENTERPRISE_DEFAULT'
193
+ | 'CLOUD'
194
+ | 'ACTIVE_DIRECTORY'
195
+ | 'DEVICE_LOCAL_ACCOUNT_OVERRIDE_DEPRECATED'
196
+ | 'PLATFORM'
197
+ | 'PRIORITY_CLOUD_DEPRECATED'
198
+ | 'MERGED'
199
+ | 'COMMAND_LINE'
200
+ | 'CLOUD_FROM_ASH'
201
+ | 'RESTRICTED_MANAGED_GUEST_SESSION_OVERRIDE';
171
202
  /** Output only. The currently applied value of the policy. The format depends on the policy type (e.g., boolean, string, JSON array/object). */
172
203
  value?: string;
173
204
  }
@@ -175,7 +206,10 @@ declare namespace gapi.client {
175
206
  /** The caller can specify asset tags for this resource */
176
207
  assetTags?: string[];
177
208
  /** The compliance state of the resource as specified by the API client. */
178
- complianceState?: string;
209
+ complianceState?:
210
+ | 'COMPLIANCE_STATE_UNSPECIFIED'
211
+ | 'COMPLIANT'
212
+ | 'NON_COMPLIANT';
179
213
  /** Output only. The time the client state data was created. */
180
214
  createTime?: string;
181
215
  /** This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field. */
@@ -183,17 +217,26 @@ declare namespace gapi.client {
183
217
  /** The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest */
184
218
  etag?: string;
185
219
  /** The Health score of the resource */
186
- healthScore?: string;
220
+ healthScore?:
221
+ | 'HEALTH_SCORE_UNSPECIFIED'
222
+ | 'VERY_POOR'
223
+ | 'POOR'
224
+ | 'NEUTRAL'
225
+ | 'GOOD'
226
+ | 'VERY_GOOD';
187
227
  /** The map of key-value attributes stored by callers specific to a device. The total serialized length of this map may not exceed 10KB. No limit is placed on the number of attributes in a map. */
188
228
  keyValuePairs?: {[P in string]: CustomAttributeValue};
189
229
  /** Output only. The time the client state data was last updated. */
190
230
  lastUpdateTime?: string;
191
231
  /** The management state of the resource as specified by the API client. */
192
- managed?: string;
232
+ managed?: 'MANAGED_STATE_UNSPECIFIED' | 'MANAGED' | 'UNMANAGED';
193
233
  /** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device_id}/deviceUsers/{device_user_id}/clientState/{partner_id}`, where partner_id corresponds to the partner storing the data. */
194
234
  name?: string;
195
235
  /** Output only. The owner of the ClientState */
196
- ownerType?: string;
236
+ ownerType?:
237
+ | 'OWNER_TYPE_UNSPECIFIED'
238
+ | 'OWNER_TYPE_CUSTOMER'
239
+ | 'OWNER_TYPE_PARTNER';
197
240
  /** A descriptive cause of the health score. */
198
241
  scoreReason?: string;
199
242
  }
@@ -240,21 +283,42 @@ declare namespace gapi.client {
240
283
  /** Output only. Build number of the device. */
241
284
  buildNumber?: string;
242
285
  /** List of the clients the device is reporting to. */
243
- clientTypes?: string[];
286
+ clientTypes?:
287
+ | 'CLIENT_TYPE_UNSPECIFIED'
288
+ | 'DRIVE_FS'
289
+ | 'FUNDAMENTAL'
290
+ | 'ENDPOINT_VERIFICATION'
291
+ | 'WINDOWS_ADVANCED'
292
+ | 'GOOGLE_CREDENTIALS_PROVIDER_FOR_WINDOWS'[];
244
293
  /** Output only. Represents whether the Device is compromised. */
245
- compromisedState?: string;
294
+ compromisedState?:
295
+ | 'COMPROMISED_STATE_UNSPECIFIED'
296
+ | 'COMPROMISED'
297
+ | 'UNCOMPROMISED';
246
298
  /** Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. */
247
299
  createTime?: string;
248
300
  /** Unique identifier for the device. */
249
301
  deviceId?: string;
250
302
  /** Output only. Type of device. */
251
- deviceType?: string;
303
+ deviceType?:
304
+ | 'DEVICE_TYPE_UNSPECIFIED'
305
+ | 'ANDROID'
306
+ | 'IOS'
307
+ | 'GOOGLE_SYNC'
308
+ | 'WINDOWS'
309
+ | 'MAC_OS'
310
+ | 'LINUX'
311
+ | 'CHROME_OS';
252
312
  /** Output only. Whether developer options is enabled on device. */
253
313
  enabledDeveloperOptions?: boolean;
254
314
  /** Output only. Whether USB debugging is enabled on device. */
255
315
  enabledUsbDebugging?: boolean;
256
316
  /** Output only. Device encryption state. */
257
- encryptionState?: string;
317
+ encryptionState?:
318
+ | 'ENCRYPTION_STATE_UNSPECIFIED'
319
+ | 'UNSUPPORTED_BY_DEVICE'
320
+ | 'ENCRYPTED'
321
+ | 'NOT_ENCRYPTED';
258
322
  /** Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices. */
259
323
  endpointVerificationSpecificAttributes?: EndpointVerificationSpecificAttributes;
260
324
  /** Host name of the device. */
@@ -266,7 +330,14 @@ declare namespace gapi.client {
266
330
  /** Most recent time when device synced with this service. */
267
331
  lastSyncTime?: string;
268
332
  /** Output only. Management state of the device */
269
- managementState?: string;
333
+ managementState?:
334
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
335
+ | 'APPROVED'
336
+ | 'BLOCKED'
337
+ | 'PENDING'
338
+ | 'UNPROVISIONED'
339
+ | 'WIPING'
340
+ | 'WIPED';
270
341
  /** Output only. Device manufacturer. Example: Motorola. */
271
342
  manufacturer?: string;
272
343
  /** Output only. MEID number of device if CDMA device; empty otherwise. */
@@ -282,7 +353,7 @@ declare namespace gapi.client {
282
353
  /** Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com". */
283
354
  otherAccounts?: string[];
284
355
  /** Output only. Whether the device is owned by the company or an individual */
285
- ownerType?: string;
356
+ ownerType?: 'DEVICE_OWNERSHIP_UNSPECIFIED' | 'COMPANY' | 'BYOD';
286
357
  /** Output only. OS release version. Example: 6.0. */
287
358
  releaseVersion?: string;
288
359
  /** Output only. OS security patch update time on device. */
@@ -296,7 +367,10 @@ declare namespace gapi.client {
296
367
  }
297
368
  interface DeviceUser {
298
369
  /** Compromised State of the DeviceUser object */
299
- compromisedState?: string;
370
+ compromisedState?:
371
+ | 'COMPROMISED_STATE_UNSPECIFIED'
372
+ | 'COMPROMISED'
373
+ | 'NOT_COMPROMISED';
300
374
  /** When the user first signed in to the device */
301
375
  createTime?: string;
302
376
  /** Output only. Most recent time when user registered with this service. */
@@ -306,11 +380,21 @@ declare namespace gapi.client {
306
380
  /** Output only. Last time when user synced with policies. */
307
381
  lastSyncTime?: string;
308
382
  /** Output only. Management state of the user on the device. */
309
- managementState?: string;
383
+ managementState?:
384
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
385
+ | 'WIPING'
386
+ | 'WIPED'
387
+ | 'APPROVED'
388
+ | 'BLOCKED'
389
+ | 'PENDING_APPROVAL'
390
+ | 'UNENROLLED';
310
391
  /** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the DeviceUser in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where `device_user_id` uniquely identifies a user's use of a device. */
311
392
  name?: string;
312
393
  /** Password state of the DeviceUser object */
313
- passwordState?: string;
394
+ passwordState?:
395
+ | 'PASSWORD_STATE_UNSPECIFIED'
396
+ | 'PASSWORD_SET'
397
+ | 'PASSWORD_NOT_SET';
314
398
  /** Output only. User agent on the device for this specific user */
315
399
  userAgent?: string;
316
400
  /** Email address of the user registered on the device. */
@@ -329,11 +413,15 @@ declare namespace gapi.client {
329
413
  interface DynamicGroupQuery {
330
414
  /** Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department=='engineering')` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users with any variation of the name John Doe (case-insensitive queries add `equalsIgnoreCase()` to the value being queried). `user.name.value.equalsIgnoreCase('jOhn DoE')` */
331
415
  query?: string;
332
- resourceType?: string;
416
+ resourceType?: 'RESOURCE_TYPE_UNSPECIFIED' | 'USER';
333
417
  }
334
418
  interface DynamicGroupStatus {
335
419
  /** Status of the dynamic group. */
336
- status?: string;
420
+ status?:
421
+ | 'STATUS_UNSPECIFIED'
422
+ | 'UP_TO_DATE'
423
+ | 'UPDATING_MEMBERSHIPS'
424
+ | 'INVALID_QUERY';
337
425
  /** The latest time at which the dynamic group is guaranteed to be in the given status. If status is `UP_TO_DATE`, the latest time at which the dynamic group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time at which dynamic group was created. */
338
426
  statusTime?: string;
339
427
  }
@@ -371,7 +459,11 @@ declare namespace gapi.client {
371
459
  /** Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. */
372
460
  ownerProfileAccount?: boolean;
373
461
  /** Ownership privileges on device. */
374
- ownershipPrivilege?: string;
462
+ ownershipPrivilege?:
463
+ | 'OWNERSHIP_PRIVILEGE_UNSPECIFIED'
464
+ | 'DEVICE_ADMINISTRATOR'
465
+ | 'PROFILE_OWNER'
466
+ | 'DEVICE_OWNER';
375
467
  /** Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. */
376
468
  supportsWorkProfile?: boolean;
377
469
  /** Whether Android verified boot status is GREEN. */
@@ -399,7 +491,12 @@ declare namespace gapi.client {
399
491
  }
400
492
  interface GoogleAppsCloudidentityDevicesV1BrowserInfo {
401
493
  /** Output only. Browser's management state. */
402
- browserManagementState?: string;
494
+ browserManagementState?:
495
+ | 'UNSPECIFIED'
496
+ | 'UNMANAGED'
497
+ | 'MANAGED_BY_OTHER_DOMAIN'
498
+ | 'PROFILE_MANAGED'
499
+ | 'BROWSER_MANAGED';
403
500
  /** Version of the request initiating browser. E.g. `91.0.4442.4`. */
404
501
  browserVersion?: string;
405
502
  /** Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled). */
@@ -423,9 +520,17 @@ declare namespace gapi.client {
423
520
  /** Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled). */
424
521
  isThirdPartyBlockingEnabled?: boolean;
425
522
  /** Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger). */
426
- passwordProtectionWarningTrigger?: string;
523
+ passwordProtectionWarningTrigger?:
524
+ | 'PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED'
525
+ | 'PROTECTION_OFF'
526
+ | 'PASSWORD_REUSE'
527
+ | 'PHISHING_REUSE';
427
528
  /** Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel). */
428
- safeBrowsingProtectionLevel?: string;
529
+ safeBrowsingProtectionLevel?:
530
+ | 'SAFE_BROWSING_LEVEL_UNSPECIFIED'
531
+ | 'DISABLED'
532
+ | 'STANDARD'
533
+ | 'ENHANCED';
429
534
  }
430
535
  interface GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata {}
431
536
  interface GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse {
@@ -451,7 +556,10 @@ declare namespace gapi.client {
451
556
  /** The certificate thumbprint. */
452
557
  thumbprint?: string;
453
558
  /** Output only. Validation state of this certificate. */
454
- validationState?: string;
559
+ validationState?:
560
+ | 'CERTIFICATE_VALIDATION_STATE_UNSPECIFIED'
561
+ | 'VALIDATION_SUCCESSFUL'
562
+ | 'VALIDATION_FAILED';
455
563
  /** Certificate not valid at or after this timestamp. */
456
564
  validityExpirationTime?: string;
457
565
  /** Certificate not valid before this timestamp. */
@@ -469,7 +577,10 @@ declare namespace gapi.client {
469
577
  /** The caller can specify asset tags for this resource */
470
578
  assetTags?: string[];
471
579
  /** The compliance state of the resource as specified by the API client. */
472
- complianceState?: string;
580
+ complianceState?:
581
+ | 'COMPLIANCE_STATE_UNSPECIFIED'
582
+ | 'COMPLIANT'
583
+ | 'NON_COMPLIANT';
473
584
  /** Output only. The time the client state data was created. */
474
585
  createTime?: string;
475
586
  /** This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field. */
@@ -477,7 +588,13 @@ declare namespace gapi.client {
477
588
  /** The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest */
478
589
  etag?: string;
479
590
  /** The Health score of the resource. The Health score is the callers specification of the condition of the device from a usability point of view. For example, a third-party device management provider may specify a health score based on its compliance with organizational policies. */
480
- healthScore?: string;
591
+ healthScore?:
592
+ | 'HEALTH_SCORE_UNSPECIFIED'
593
+ | 'VERY_POOR'
594
+ | 'POOR'
595
+ | 'NEUTRAL'
596
+ | 'GOOD'
597
+ | 'VERY_GOOD';
481
598
  /** The map of key-value attributes stored by callers specific to a device. The total serialized length of this map may not exceed 10KB. No limit is placed on the number of attributes in a map. */
482
599
  keyValuePairs?: {
483
600
  [P in string]: GoogleAppsCloudidentityDevicesV1CustomAttributeValue;
@@ -485,11 +602,14 @@ declare namespace gapi.client {
485
602
  /** Output only. The time the client state data was last updated. */
486
603
  lastUpdateTime?: string;
487
604
  /** The management state of the resource as specified by the API client. */
488
- managed?: string;
605
+ managed?: 'MANAGED_STATE_UNSPECIFIED' | 'MANAGED' | 'UNMANAGED';
489
606
  /** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corresponds to the partner storing the data. For partners belonging to the "BeyondCorp Alliance", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C') */
490
607
  name?: string;
491
608
  /** Output only. The owner of the ClientState */
492
- ownerType?: string;
609
+ ownerType?:
610
+ | 'OWNER_TYPE_UNSPECIFIED'
611
+ | 'OWNER_TYPE_CUSTOMER'
612
+ | 'OWNER_TYPE_PARTNER';
493
613
  /** A descriptive cause of the health score. */
494
614
  scoreReason?: string;
495
615
  }
@@ -518,19 +638,34 @@ declare namespace gapi.client {
518
638
  /** Output only. Build number of the device. */
519
639
  buildNumber?: string;
520
640
  /** Output only. Represents whether the Device is compromised. */
521
- compromisedState?: string;
641
+ compromisedState?:
642
+ | 'COMPROMISED_STATE_UNSPECIFIED'
643
+ | 'COMPROMISED'
644
+ | 'UNCOMPROMISED';
522
645
  /** Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. */
523
646
  createTime?: string;
524
647
  /** Unique identifier for the device. */
525
648
  deviceId?: string;
526
649
  /** Output only. Type of device. */
527
- deviceType?: string;
650
+ deviceType?:
651
+ | 'DEVICE_TYPE_UNSPECIFIED'
652
+ | 'ANDROID'
653
+ | 'IOS'
654
+ | 'GOOGLE_SYNC'
655
+ | 'WINDOWS'
656
+ | 'MAC_OS'
657
+ | 'LINUX'
658
+ | 'CHROME_OS';
528
659
  /** Output only. Whether developer options is enabled on device. */
529
660
  enabledDeveloperOptions?: boolean;
530
661
  /** Output only. Whether USB debugging is enabled on device. */
531
662
  enabledUsbDebugging?: boolean;
532
663
  /** Output only. Device encryption state. */
533
- encryptionState?: string;
664
+ encryptionState?:
665
+ | 'ENCRYPTION_STATE_UNSPECIFIED'
666
+ | 'UNSUPPORTED_BY_DEVICE'
667
+ | 'ENCRYPTED'
668
+ | 'NOT_ENCRYPTED';
534
669
  /** Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices. */
535
670
  endpointVerificationSpecificAttributes?: GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes;
536
671
  /** Host name of the device. */
@@ -542,7 +677,14 @@ declare namespace gapi.client {
542
677
  /** Most recent time when device synced with this service. */
543
678
  lastSyncTime?: string;
544
679
  /** Output only. Management state of the device */
545
- managementState?: string;
680
+ managementState?:
681
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
682
+ | 'APPROVED'
683
+ | 'BLOCKED'
684
+ | 'PENDING'
685
+ | 'UNPROVISIONED'
686
+ | 'WIPING'
687
+ | 'WIPED';
546
688
  /** Output only. Device manufacturer. Example: Motorola. */
547
689
  manufacturer?: string;
548
690
  /** Output only. MEID number of device if CDMA device; empty otherwise. */
@@ -558,7 +700,7 @@ declare namespace gapi.client {
558
700
  /** Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com". */
559
701
  otherAccounts?: string[];
560
702
  /** Output only. Whether the device is owned by the company or an individual */
561
- ownerType?: string;
703
+ ownerType?: 'DEVICE_OWNERSHIP_UNSPECIFIED' | 'COMPANY' | 'BYOD';
562
704
  /** Output only. OS release version. Example: 6.0. */
563
705
  releaseVersion?: string;
564
706
  /** Output only. OS security patch update time on device. */
@@ -572,7 +714,10 @@ declare namespace gapi.client {
572
714
  }
573
715
  interface GoogleAppsCloudidentityDevicesV1DeviceUser {
574
716
  /** Compromised State of the DeviceUser object */
575
- compromisedState?: string;
717
+ compromisedState?:
718
+ | 'COMPROMISED_STATE_UNSPECIFIED'
719
+ | 'COMPROMISED'
720
+ | 'NOT_COMPROMISED';
576
721
  /** When the user first signed in to the device */
577
722
  createTime?: string;
578
723
  /** Output only. Most recent time when user registered with this service. */
@@ -582,11 +727,21 @@ declare namespace gapi.client {
582
727
  /** Output only. Last time when user synced with policies. */
583
728
  lastSyncTime?: string;
584
729
  /** Output only. Management state of the user on the device. */
585
- managementState?: string;
730
+ managementState?:
731
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
732
+ | 'WIPING'
733
+ | 'WIPED'
734
+ | 'APPROVED'
735
+ | 'BLOCKED'
736
+ | 'PENDING_APPROVAL'
737
+ | 'UNENROLLED';
586
738
  /** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, where `device_user` uniquely identifies a user's use of a device. */
587
739
  name?: string;
588
740
  /** Password state of the DeviceUser object */
589
- passwordState?: string;
741
+ passwordState?:
742
+ | 'PASSWORD_STATE_UNSPECIFIED'
743
+ | 'PASSWORD_SET'
744
+ | 'PASSWORD_NOT_SET';
590
745
  /** Output only. User agent on the device for this specific user */
591
746
  userAgent?: string;
592
747
  /** Email address of the user registered on the device. */
@@ -648,7 +803,11 @@ declare namespace gapi.client {
648
803
  /** Labels for Group resource. */
649
804
  labels?: {[P in string]: string};
650
805
  /** The relation between the member and the transitive group. */
651
- relationType?: string;
806
+ relationType?:
807
+ | 'RELATION_TYPE_UNSPECIFIED'
808
+ | 'DIRECT'
809
+ | 'INDIRECT'
810
+ | 'DIRECT_AND_INDIRECT';
652
811
  /** Membership roles of the member for the group. */
653
812
  roles?: TransitiveMembershipRole[];
654
813
  }
@@ -700,7 +859,12 @@ declare namespace gapi.client {
700
859
  /** Assertions about users assigned to an IdP will always be accepted from that IdP. This controls whether/when Google should redirect a user to the IdP. Unset (defaults) is the recommended configuration. */
701
860
  signInBehavior?: SignInBehavior;
702
861
  /** Inbound SSO behavior. */
703
- ssoMode?: string;
862
+ ssoMode?:
863
+ | 'SSO_MODE_UNSPECIFIED'
864
+ | 'SSO_OFF'
865
+ | 'SAML_SSO'
866
+ | 'OIDC_SSO'
867
+ | 'DOMAIN_WIDE_SAML_IF_ENABLED';
704
868
  /** Immutable. Must be of the form `groups/{group}`. */
705
869
  targetGroup?: string;
706
870
  /** Immutable. Must be of the form `orgUnits/{org_unit}`. */
@@ -804,7 +968,11 @@ declare namespace gapi.client {
804
968
  /** Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace. */
805
969
  preferredMemberKey?: EntityKey[];
806
970
  /** The relation between the group and the transitive membership. */
807
- relationType?: string;
971
+ relationType?:
972
+ | 'RELATION_TYPE_UNSPECIFIED'
973
+ | 'DIRECT'
974
+ | 'INDIRECT'
975
+ | 'DIRECT_AND_INDIRECT';
808
976
  /** The membership role details (i.e name of role and expiry time). */
809
977
  roles?: TransitiveMembershipRole[];
810
978
  }
@@ -818,7 +986,13 @@ declare namespace gapi.client {
818
986
  /** Output only. The time when the `Membership` was created. */
819
987
  createTime?: string;
820
988
  /** Output only. Delivery setting associated with the membership. */
821
- deliverySetting?: string;
989
+ deliverySetting?:
990
+ | 'DELIVERY_SETTING_UNSPECIFIED'
991
+ | 'ALL_MAIL'
992
+ | 'DIGEST'
993
+ | 'DAILY'
994
+ | 'NONE'
995
+ | 'DISABLED';
822
996
  /** Immutable. The `EntityKey` of the member. Either `member_key` or `preferred_member_key` must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. */
823
997
  memberKey?: EntityKey;
824
998
  /** Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group_id}/memberships/{membership_id}`. */
@@ -828,7 +1002,14 @@ declare namespace gapi.client {
828
1002
  /** The `MembershipRole`s that apply to the `Membership`. If unspecified, defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain duplicate `MembershipRole`s with the same `name`. */
829
1003
  roles?: MembershipRole[];
830
1004
  /** Output only. The type of the membership. */
831
- type?: string;
1005
+ type?:
1006
+ | 'TYPE_UNSPECIFIED'
1007
+ | 'USER'
1008
+ | 'SERVICE_ACCOUNT'
1009
+ | 'GROUP'
1010
+ | 'SHARED_DRIVE'
1011
+ | 'CBCM_BROWSER'
1012
+ | 'OTHER';
832
1013
  /** Output only. The time when the `Membership` was last updated. */
833
1014
  updateTime?: string;
834
1015
  }
@@ -864,7 +1045,12 @@ declare namespace gapi.client {
864
1045
  }
865
1046
  interface MembershipRoleRestrictionEvaluation {
866
1047
  /** Output only. The current state of the restriction */
867
- state?: string;
1048
+ state?:
1049
+ | 'STATE_UNSPECIFIED'
1050
+ | 'COMPLIANT'
1051
+ | 'FORWARD_COMPLIANT'
1052
+ | 'NON_COMPLIANT'
1053
+ | 'EVALUATING';
868
1054
  }
869
1055
  interface ModifyMembershipRolesRequest {
870
1056
  /** The `MembershipRole`s to be added. Adding or removing roles in the same request as updating roles is not supported. Must not be set if `update_roles_params` is set. */
@@ -922,7 +1108,7 @@ declare namespace gapi.client {
922
1108
  /** Required. Immutable. The [resource name](https://cloud.google.com/apis/design/resource_names) of the OrgMembership. Format: orgUnits/{$orgUnitId}/memberships/{$membership} The `$orgUnitId` is the `orgUnitId` from the [Admin SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/orgunits). The `$membership` shall be of the form `{$entityType};{$memberId}`, where `$entityType` is the enum value of [OrgMembership.EntityType], and `memberId` is the `id` from [Drive API (V3) `Drive` resource](https://developers.google.com/drive/api/v3/reference/drives#resource) for OrgMembership.EntityType.SHARED_DRIVE. */
923
1109
  name?: string;
924
1110
  /** Immutable. Entity type for the org member. */
925
- type?: string;
1111
+ type?: 'ENTITY_TYPE_UNSPECIFIED' | 'SHARED_DRIVE';
926
1112
  }
927
1113
  interface Policy {
928
1114
  /** Immutable. Customer that the Policy belongs to. The value is in the format 'customers/{customerId}'. The `customerId` must begin with "C" To find your customer ID in Admin Console see https://support.google.com/a/answer/10070793. */
@@ -934,13 +1120,24 @@ declare namespace gapi.client {
934
1120
  /** Required. The Setting configured by this Policy. */
935
1121
  setting?: Setting;
936
1122
  /** Output only. The type of the policy. */
937
- type?: string;
1123
+ type?: 'POLICY_TYPE_UNSPECIFIED' | 'SYSTEM' | 'ADMIN';
938
1124
  }
939
1125
  interface PolicyConflict {
940
1126
  /** Output only. The scope at which this lower-priority policy is set (USER or MACHINE). */
941
- scope?: string;
1127
+ scope?: 'SCOPE_UNKNOWN' | 'USER' | 'MACHINE';
942
1128
  /** Output only. The source from which this lower-priority policy value originated. */
943
- source?: string;
1129
+ source?:
1130
+ | 'SOURCE_UNKNOWN'
1131
+ | 'ENTERPRISE_DEFAULT'
1132
+ | 'CLOUD'
1133
+ | 'ACTIVE_DIRECTORY'
1134
+ | 'DEVICE_LOCAL_ACCOUNT_OVERRIDE_DEPRECATED'
1135
+ | 'PLATFORM'
1136
+ | 'PRIORITY_CLOUD_DEPRECATED'
1137
+ | 'MERGED'
1138
+ | 'COMMAND_LINE'
1139
+ | 'CLOUD_FROM_ASH'
1140
+ | 'RESTRICTED_MANAGED_GUEST_SESSION_OVERRIDE';
944
1141
  /** Output only. The policy value from this lower-priority source. */
945
1142
  value?: string;
946
1143
  }
@@ -964,7 +1161,12 @@ declare namespace gapi.client {
964
1161
  }
965
1162
  interface RestrictionEvaluation {
966
1163
  /** Output only. The current state of the restriction */
967
- state?: string;
1164
+ state?:
1165
+ | 'STATE_UNSPECIFIED'
1166
+ | 'EVALUATING'
1167
+ | 'COMPLIANT'
1168
+ | 'FORWARD_COMPLIANT'
1169
+ | 'NON_COMPLIANT';
968
1170
  }
969
1171
  interface RestrictionEvaluations {
970
1172
  /** Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. */
@@ -1033,7 +1235,7 @@ declare namespace gapi.client {
1033
1235
  }
1034
1236
  interface SignInBehavior {
1035
1237
  /** When to redirect sign-ins to the IdP. */
1036
- redirectCondition?: string;
1238
+ redirectCondition?: 'REDIRECT_CONDITION_UNSPECIFIED' | 'NEVER';
1037
1239
  }
1038
1240
  interface Status {
1039
1241
  /** The status code, which should be an enum value of google.rpc.Code. */
@@ -1068,7 +1270,12 @@ declare namespace gapi.client {
1068
1270
  /** Shall be of the form `customers/{customer}/userinvitations/{user_email_address}`. */
1069
1271
  name?: string;
1070
1272
  /** State of the `UserInvitation`. */
1071
- state?: string;
1273
+ state?:
1274
+ | 'STATE_UNSPECIFIED'
1275
+ | 'NOT_YET_SENT'
1276
+ | 'INVITED'
1277
+ | 'ACCEPTED'
1278
+ | 'DECLINED';
1072
1279
  /** Time when the `UserInvitation` was last updated. */
1073
1280
  updateTime?: string;
1074
1281
  }
@@ -1094,11 +1301,11 @@ declare namespace gapi.client {
1094
1301
  /** Cancels a UserInvitation that was already sent. */
1095
1302
  cancel(request: {
1096
1303
  /** V1 error format. */
1097
- '$.xgafv'?: string;
1304
+ '$.xgafv'?: '1' | '2';
1098
1305
  /** OAuth access token. */
1099
1306
  access_token?: string;
1100
1307
  /** Data format for response. */
1101
- alt?: string;
1308
+ alt?: 'json' | 'media' | 'proto';
1102
1309
  /** JSONP */
1103
1310
  callback?: string;
1104
1311
  /** Selector specifying which fields to include in a partial response. */
@@ -1123,11 +1330,11 @@ declare namespace gapi.client {
1123
1330
  cancel(
1124
1331
  request: {
1125
1332
  /** V1 error format. */
1126
- '$.xgafv'?: string;
1333
+ '$.xgafv'?: '1' | '2';
1127
1334
  /** OAuth access token. */
1128
1335
  access_token?: string;
1129
1336
  /** Data format for response. */
1130
- alt?: string;
1337
+ alt?: 'json' | 'media' | 'proto';
1131
1338
  /** JSONP */
1132
1339
  callback?: string;
1133
1340
  /** Selector specifying which fields to include in a partial response. */
@@ -1152,11 +1359,11 @@ declare namespace gapi.client {
1152
1359
  /** Retrieves a UserInvitation resource. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains. */
1153
1360
  get(request?: {
1154
1361
  /** V1 error format. */
1155
- '$.xgafv'?: string;
1362
+ '$.xgafv'?: '1' | '2';
1156
1363
  /** OAuth access token. */
1157
1364
  access_token?: string;
1158
1365
  /** Data format for response. */
1159
- alt?: string;
1366
+ alt?: 'json' | 'media' | 'proto';
1160
1367
  /** JSONP */
1161
1368
  callback?: string;
1162
1369
  /** Selector specifying which fields to include in a partial response. */
@@ -1179,11 +1386,11 @@ declare namespace gapi.client {
1179
1386
  /** Verifies whether a user account is eligible to receive a UserInvitation (is an unmanaged account). Eligibility is based on the following criteria: * the email address is a consumer account and it's the primary email address of the account, and * the domain of the email address matches an existing verified Google Workspace or Cloud Identity domain If both conditions are met, the user is eligible. **Note:** This method is not supported for Workspace Essentials customers. */
1180
1387
  isInvitableUser(request?: {
1181
1388
  /** V1 error format. */
1182
- '$.xgafv'?: string;
1389
+ '$.xgafv'?: '1' | '2';
1183
1390
  /** OAuth access token. */
1184
1391
  access_token?: string;
1185
1392
  /** Data format for response. */
1186
- alt?: string;
1393
+ alt?: 'json' | 'media' | 'proto';
1187
1394
  /** JSONP */
1188
1395
  callback?: string;
1189
1396
  /** Selector specifying which fields to include in a partial response. */
@@ -1206,11 +1413,11 @@ declare namespace gapi.client {
1206
1413
  /** Retrieves a list of UserInvitation resources. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains. */
1207
1414
  list(request?: {
1208
1415
  /** V1 error format. */
1209
- '$.xgafv'?: string;
1416
+ '$.xgafv'?: '1' | '2';
1210
1417
  /** OAuth access token. */
1211
1418
  access_token?: string;
1212
1419
  /** Data format for response. */
1213
- alt?: string;
1420
+ alt?: 'json' | 'media' | 'proto';
1214
1421
  /** JSONP */
1215
1422
  callback?: string;
1216
1423
  /** Selector specifying which fields to include in a partial response. */
@@ -1241,11 +1448,11 @@ declare namespace gapi.client {
1241
1448
  /** Sends a UserInvitation to email. If the `UserInvitation` does not exist for this request and it is a valid request, the request creates a `UserInvitation`. **Note:** The `get` and `list` methods have a 48-hour delay where newly-created consumer accounts will not appear in the results. You can still send a `UserInvitation` to those accounts if you know the unmanaged email address and IsInvitableUser==True. */
1242
1449
  send(request: {
1243
1450
  /** V1 error format. */
1244
- '$.xgafv'?: string;
1451
+ '$.xgafv'?: '1' | '2';
1245
1452
  /** OAuth access token. */
1246
1453
  access_token?: string;
1247
1454
  /** Data format for response. */
1248
- alt?: string;
1455
+ alt?: 'json' | 'media' | 'proto';
1249
1456
  /** JSONP */
1250
1457
  callback?: string;
1251
1458
  /** Selector specifying which fields to include in a partial response. */
@@ -1270,11 +1477,11 @@ declare namespace gapi.client {
1270
1477
  send(
1271
1478
  request: {
1272
1479
  /** V1 error format. */
1273
- '$.xgafv'?: string;
1480
+ '$.xgafv'?: '1' | '2';
1274
1481
  /** OAuth access token. */
1275
1482
  access_token?: string;
1276
1483
  /** Data format for response. */
1277
- alt?: string;
1484
+ alt?: 'json' | 'media' | 'proto';
1278
1485
  /** JSONP */
1279
1486
  callback?: string;
1280
1487
  /** Selector specifying which fields to include in a partial response. */
@@ -1304,11 +1511,11 @@ declare namespace gapi.client {
1304
1511
  /** Gets the client state for the device user */
1305
1512
  get(request?: {
1306
1513
  /** V1 error format. */
1307
- '$.xgafv'?: string;
1514
+ '$.xgafv'?: '1' | '2';
1308
1515
  /** OAuth access token. */
1309
1516
  access_token?: string;
1310
1517
  /** Data format for response. */
1311
- alt?: string;
1518
+ alt?: 'json' | 'media' | 'proto';
1312
1519
  /** JSONP */
1313
1520
  callback?: string;
1314
1521
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
@@ -1333,11 +1540,11 @@ declare namespace gapi.client {
1333
1540
  /** Updates the client state for the device user **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium */
1334
1541
  patch(request: {
1335
1542
  /** V1 error format. */
1336
- '$.xgafv'?: string;
1543
+ '$.xgafv'?: '1' | '2';
1337
1544
  /** OAuth access token. */
1338
1545
  access_token?: string;
1339
1546
  /** Data format for response. */
1340
- alt?: string;
1547
+ alt?: 'json' | 'media' | 'proto';
1341
1548
  /** JSONP */
1342
1549
  callback?: string;
1343
1550
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
@@ -1366,11 +1573,11 @@ declare namespace gapi.client {
1366
1573
  patch(
1367
1574
  request: {
1368
1575
  /** V1 error format. */
1369
- '$.xgafv'?: string;
1576
+ '$.xgafv'?: '1' | '2';
1370
1577
  /** OAuth access token. */
1371
1578
  access_token?: string;
1372
1579
  /** Data format for response. */
1373
- alt?: string;
1580
+ alt?: 'json' | 'media' | 'proto';
1374
1581
  /** JSONP */
1375
1582
  callback?: string;
1376
1583
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
@@ -1401,11 +1608,11 @@ declare namespace gapi.client {
1401
1608
  /** Approves device to access user data. */
1402
1609
  approve(request: {
1403
1610
  /** V1 error format. */
1404
- '$.xgafv'?: string;
1611
+ '$.xgafv'?: '1' | '2';
1405
1612
  /** OAuth access token. */
1406
1613
  access_token?: string;
1407
1614
  /** Data format for response. */
1408
- alt?: string;
1615
+ alt?: 'json' | 'media' | 'proto';
1409
1616
  /** JSONP */
1410
1617
  callback?: string;
1411
1618
  /** Selector specifying which fields to include in a partial response. */
@@ -1430,11 +1637,11 @@ declare namespace gapi.client {
1430
1637
  approve(
1431
1638
  request: {
1432
1639
  /** V1 error format. */
1433
- '$.xgafv'?: string;
1640
+ '$.xgafv'?: '1' | '2';
1434
1641
  /** OAuth access token. */
1435
1642
  access_token?: string;
1436
1643
  /** Data format for response. */
1437
- alt?: string;
1644
+ alt?: 'json' | 'media' | 'proto';
1438
1645
  /** JSONP */
1439
1646
  callback?: string;
1440
1647
  /** Selector specifying which fields to include in a partial response. */
@@ -1459,11 +1666,11 @@ declare namespace gapi.client {
1459
1666
  /** Blocks device from accessing user data */
1460
1667
  block(request: {
1461
1668
  /** V1 error format. */
1462
- '$.xgafv'?: string;
1669
+ '$.xgafv'?: '1' | '2';
1463
1670
  /** OAuth access token. */
1464
1671
  access_token?: string;
1465
1672
  /** Data format for response. */
1466
- alt?: string;
1673
+ alt?: 'json' | 'media' | 'proto';
1467
1674
  /** JSONP */
1468
1675
  callback?: string;
1469
1676
  /** Selector specifying which fields to include in a partial response. */
@@ -1488,11 +1695,11 @@ declare namespace gapi.client {
1488
1695
  block(
1489
1696
  request: {
1490
1697
  /** V1 error format. */
1491
- '$.xgafv'?: string;
1698
+ '$.xgafv'?: '1' | '2';
1492
1699
  /** OAuth access token. */
1493
1700
  access_token?: string;
1494
1701
  /** Data format for response. */
1495
- alt?: string;
1702
+ alt?: 'json' | 'media' | 'proto';
1496
1703
  /** JSONP */
1497
1704
  callback?: string;
1498
1705
  /** Selector specifying which fields to include in a partial response. */
@@ -1517,11 +1724,11 @@ declare namespace gapi.client {
1517
1724
  /** Cancels an unfinished user account wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. */
1518
1725
  cancelWipe(request: {
1519
1726
  /** V1 error format. */
1520
- '$.xgafv'?: string;
1727
+ '$.xgafv'?: '1' | '2';
1521
1728
  /** OAuth access token. */
1522
1729
  access_token?: string;
1523
1730
  /** Data format for response. */
1524
- alt?: string;
1731
+ alt?: 'json' | 'media' | 'proto';
1525
1732
  /** JSONP */
1526
1733
  callback?: string;
1527
1734
  /** Selector specifying which fields to include in a partial response. */
@@ -1546,11 +1753,11 @@ declare namespace gapi.client {
1546
1753
  cancelWipe(
1547
1754
  request: {
1548
1755
  /** V1 error format. */
1549
- '$.xgafv'?: string;
1756
+ '$.xgafv'?: '1' | '2';
1550
1757
  /** OAuth access token. */
1551
1758
  access_token?: string;
1552
1759
  /** Data format for response. */
1553
- alt?: string;
1760
+ alt?: 'json' | 'media' | 'proto';
1554
1761
  /** JSONP */
1555
1762
  callback?: string;
1556
1763
  /** Selector specifying which fields to include in a partial response. */
@@ -1575,11 +1782,11 @@ declare namespace gapi.client {
1575
1782
  /** Deletes the specified DeviceUser. This also revokes the user's access to device data. */
1576
1783
  delete(request?: {
1577
1784
  /** V1 error format. */
1578
- '$.xgafv'?: string;
1785
+ '$.xgafv'?: '1' | '2';
1579
1786
  /** OAuth access token. */
1580
1787
  access_token?: string;
1581
1788
  /** Data format for response. */
1582
- alt?: string;
1789
+ alt?: 'json' | 'media' | 'proto';
1583
1790
  /** JSONP */
1584
1791
  callback?: string;
1585
1792
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
@@ -1604,11 +1811,11 @@ declare namespace gapi.client {
1604
1811
  /** Retrieves the specified DeviceUser */
1605
1812
  get(request?: {
1606
1813
  /** V1 error format. */
1607
- '$.xgafv'?: string;
1814
+ '$.xgafv'?: '1' | '2';
1608
1815
  /** OAuth access token. */
1609
1816
  access_token?: string;
1610
1817
  /** Data format for response. */
1611
- alt?: string;
1818
+ alt?: 'json' | 'media' | 'proto';
1612
1819
  /** JSONP */
1613
1820
  callback?: string;
1614
1821
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
@@ -1633,11 +1840,11 @@ declare namespace gapi.client {
1633
1840
  /** Lists/Searches DeviceUsers. */
1634
1841
  list(request?: {
1635
1842
  /** V1 error format. */
1636
- '$.xgafv'?: string;
1843
+ '$.xgafv'?: '1' | '2';
1637
1844
  /** OAuth access token. */
1638
1845
  access_token?: string;
1639
1846
  /** Data format for response. */
1640
- alt?: string;
1847
+ alt?: 'json' | 'media' | 'proto';
1641
1848
  /** JSONP */
1642
1849
  callback?: string;
1643
1850
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
@@ -1670,11 +1877,11 @@ declare namespace gapi.client {
1670
1877
  /** Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as the properties provided in the request. This method must be called with end-user credentials with the scope: https://www.googleapis.com/auth/cloud-identity.devices.lookup If multiple properties are provided, only DeviceUsers having all of these properties are considered as matches - i.e. the query behaves like an AND. Different platforms require different amounts of information from the caller to ensure that the DeviceUser is uniquely identified. - iOS: If either the `partner` or `ios_device_id` field is provided, then both fields are required. - Android: Specifying the `android_id` field is required. - Desktop: Specifying the `raw_resource_id` field is required. */
1671
1878
  lookup(request?: {
1672
1879
  /** V1 error format. */
1673
- '$.xgafv'?: string;
1880
+ '$.xgafv'?: '1' | '2';
1674
1881
  /** OAuth access token. */
1675
1882
  access_token?: string;
1676
1883
  /** Data format for response. */
1677
- alt?: string;
1884
+ alt?: 'json' | 'media' | 'proto';
1678
1885
  /** Android Id returned by [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID). */
1679
1886
  androidId?: string;
1680
1887
  /** JSONP */
@@ -1711,11 +1918,11 @@ declare namespace gapi.client {
1711
1918
  /** Wipes the user's account on a device. */
1712
1919
  wipe(request: {
1713
1920
  /** V1 error format. */
1714
- '$.xgafv'?: string;
1921
+ '$.xgafv'?: '1' | '2';
1715
1922
  /** OAuth access token. */
1716
1923
  access_token?: string;
1717
1924
  /** Data format for response. */
1718
- alt?: string;
1925
+ alt?: 'json' | 'media' | 'proto';
1719
1926
  /** JSONP */
1720
1927
  callback?: string;
1721
1928
  /** Selector specifying which fields to include in a partial response. */
@@ -1740,11 +1947,11 @@ declare namespace gapi.client {
1740
1947
  wipe(
1741
1948
  request: {
1742
1949
  /** V1 error format. */
1743
- '$.xgafv'?: string;
1950
+ '$.xgafv'?: '1' | '2';
1744
1951
  /** OAuth access token. */
1745
1952
  access_token?: string;
1746
1953
  /** Data format for response. */
1747
- alt?: string;
1954
+ alt?: 'json' | 'media' | 'proto';
1748
1955
  /** JSONP */
1749
1956
  callback?: string;
1750
1957
  /** Selector specifying which fields to include in a partial response. */
@@ -1772,11 +1979,11 @@ declare namespace gapi.client {
1772
1979
  /** Cancels an unfinished device wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. */
1773
1980
  cancelWipe(request: {
1774
1981
  /** V1 error format. */
1775
- '$.xgafv'?: string;
1982
+ '$.xgafv'?: '1' | '2';
1776
1983
  /** OAuth access token. */
1777
1984
  access_token?: string;
1778
1985
  /** Data format for response. */
1779
- alt?: string;
1986
+ alt?: 'json' | 'media' | 'proto';
1780
1987
  /** JSONP */
1781
1988
  callback?: string;
1782
1989
  /** Selector specifying which fields to include in a partial response. */
@@ -1801,11 +2008,11 @@ declare namespace gapi.client {
1801
2008
  cancelWipe(
1802
2009
  request: {
1803
2010
  /** V1 error format. */
1804
- '$.xgafv'?: string;
2011
+ '$.xgafv'?: '1' | '2';
1805
2012
  /** OAuth access token. */
1806
2013
  access_token?: string;
1807
2014
  /** Data format for response. */
1808
- alt?: string;
2015
+ alt?: 'json' | 'media' | 'proto';
1809
2016
  /** JSONP */
1810
2017
  callback?: string;
1811
2018
  /** Selector specifying which fields to include in a partial response. */
@@ -1830,11 +2037,11 @@ declare namespace gapi.client {
1830
2037
  /** Creates a device. Only company-owned device may be created. **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium */
1831
2038
  create(request: {
1832
2039
  /** V1 error format. */
1833
- '$.xgafv'?: string;
2040
+ '$.xgafv'?: '1' | '2';
1834
2041
  /** OAuth access token. */
1835
2042
  access_token?: string;
1836
2043
  /** Data format for response. */
1837
- alt?: string;
2044
+ alt?: 'json' | 'media' | 'proto';
1838
2045
  /** JSONP */
1839
2046
  callback?: string;
1840
2047
  /** Selector specifying which fields to include in a partial response. */
@@ -1857,11 +2064,11 @@ declare namespace gapi.client {
1857
2064
  create(
1858
2065
  request: {
1859
2066
  /** V1 error format. */
1860
- '$.xgafv'?: string;
2067
+ '$.xgafv'?: '1' | '2';
1861
2068
  /** OAuth access token. */
1862
2069
  access_token?: string;
1863
2070
  /** Data format for response. */
1864
- alt?: string;
2071
+ alt?: 'json' | 'media' | 'proto';
1865
2072
  /** JSONP */
1866
2073
  callback?: string;
1867
2074
  /** Selector specifying which fields to include in a partial response. */
@@ -1884,11 +2091,11 @@ declare namespace gapi.client {
1884
2091
  /** Deletes the specified device. */
1885
2092
  delete(request?: {
1886
2093
  /** V1 error format. */
1887
- '$.xgafv'?: string;
2094
+ '$.xgafv'?: '1' | '2';
1888
2095
  /** OAuth access token. */
1889
2096
  access_token?: string;
1890
2097
  /** Data format for response. */
1891
- alt?: string;
2098
+ alt?: 'json' | 'media' | 'proto';
1892
2099
  /** JSONP */
1893
2100
  callback?: string;
1894
2101
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
@@ -1913,11 +2120,11 @@ declare namespace gapi.client {
1913
2120
  /** Retrieves the specified device. */
1914
2121
  get(request?: {
1915
2122
  /** V1 error format. */
1916
- '$.xgafv'?: string;
2123
+ '$.xgafv'?: '1' | '2';
1917
2124
  /** OAuth access token. */
1918
2125
  access_token?: string;
1919
2126
  /** Data format for response. */
1920
- alt?: string;
2127
+ alt?: 'json' | 'media' | 'proto';
1921
2128
  /** JSONP */
1922
2129
  callback?: string;
1923
2130
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Customer in format: `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
@@ -1942,11 +2149,11 @@ declare namespace gapi.client {
1942
2149
  /** Lists/Searches devices. */
1943
2150
  list(request?: {
1944
2151
  /** V1 error format. */
1945
- '$.xgafv'?: string;
2152
+ '$.xgafv'?: '1' | '2';
1946
2153
  /** OAuth access token. */
1947
2154
  access_token?: string;
1948
2155
  /** Data format for response. */
1949
- alt?: string;
2156
+ alt?: 'json' | 'media' | 'proto';
1950
2157
  /** JSONP */
1951
2158
  callback?: string;
1952
2159
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. */
@@ -1974,16 +2181,19 @@ declare namespace gapi.client {
1974
2181
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1975
2182
  uploadType?: string;
1976
2183
  /** Optional. The view to use for the List request. */
1977
- view?: string;
2184
+ view?:
2185
+ | 'VIEW_UNSPECIFIED'
2186
+ | 'COMPANY_INVENTORY'
2187
+ | 'USER_ASSIGNED_DEVICES';
1978
2188
  }): Request<ListDevicesResponse>;
1979
2189
  /** Wipes all data on the specified device. */
1980
2190
  wipe(request: {
1981
2191
  /** V1 error format. */
1982
- '$.xgafv'?: string;
2192
+ '$.xgafv'?: '1' | '2';
1983
2193
  /** OAuth access token. */
1984
2194
  access_token?: string;
1985
2195
  /** Data format for response. */
1986
- alt?: string;
2196
+ alt?: 'json' | 'media' | 'proto';
1987
2197
  /** JSONP */
1988
2198
  callback?: string;
1989
2199
  /** Selector specifying which fields to include in a partial response. */
@@ -2008,11 +2218,11 @@ declare namespace gapi.client {
2008
2218
  wipe(
2009
2219
  request: {
2010
2220
  /** V1 error format. */
2011
- '$.xgafv'?: string;
2221
+ '$.xgafv'?: '1' | '2';
2012
2222
  /** OAuth access token. */
2013
2223
  access_token?: string;
2014
2224
  /** Data format for response. */
2015
- alt?: string;
2225
+ alt?: 'json' | 'media' | 'proto';
2016
2226
  /** JSONP */
2017
2227
  callback?: string;
2018
2228
  /** Selector specifying which fields to include in a partial response. */
@@ -2040,11 +2250,11 @@ declare namespace gapi.client {
2040
2250
  /** Check a potential member for membership in a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. A member has membership to a group as long as there is a single viewable transitive membership between the group and the member. The actor must have view permissions to at least one transitive membership between the member and group. */
2041
2251
  checkTransitiveMembership(request?: {
2042
2252
  /** V1 error format. */
2043
- '$.xgafv'?: string;
2253
+ '$.xgafv'?: '1' | '2';
2044
2254
  /** OAuth access token. */
2045
2255
  access_token?: string;
2046
2256
  /** Data format for response. */
2047
- alt?: string;
2257
+ alt?: 'json' | 'media' | 'proto';
2048
2258
  /** JSONP */
2049
2259
  callback?: string;
2050
2260
  /** Selector specifying which fields to include in a partial response. */
@@ -2069,11 +2279,11 @@ declare namespace gapi.client {
2069
2279
  /** Creates a `Membership`. */
2070
2280
  create(request: {
2071
2281
  /** V1 error format. */
2072
- '$.xgafv'?: string;
2282
+ '$.xgafv'?: '1' | '2';
2073
2283
  /** OAuth access token. */
2074
2284
  access_token?: string;
2075
2285
  /** Data format for response. */
2076
- alt?: string;
2286
+ alt?: 'json' | 'media' | 'proto';
2077
2287
  /** JSONP */
2078
2288
  callback?: string;
2079
2289
  /** Selector specifying which fields to include in a partial response. */
@@ -2098,11 +2308,11 @@ declare namespace gapi.client {
2098
2308
  create(
2099
2309
  request: {
2100
2310
  /** V1 error format. */
2101
- '$.xgafv'?: string;
2311
+ '$.xgafv'?: '1' | '2';
2102
2312
  /** OAuth access token. */
2103
2313
  access_token?: string;
2104
2314
  /** Data format for response. */
2105
- alt?: string;
2315
+ alt?: 'json' | 'media' | 'proto';
2106
2316
  /** JSONP */
2107
2317
  callback?: string;
2108
2318
  /** Selector specifying which fields to include in a partial response. */
@@ -2127,11 +2337,11 @@ declare namespace gapi.client {
2127
2337
  /** Deletes a `Membership`. */
2128
2338
  delete(request?: {
2129
2339
  /** V1 error format. */
2130
- '$.xgafv'?: string;
2340
+ '$.xgafv'?: '1' | '2';
2131
2341
  /** OAuth access token. */
2132
2342
  access_token?: string;
2133
2343
  /** Data format for response. */
2134
- alt?: string;
2344
+ alt?: 'json' | 'media' | 'proto';
2135
2345
  /** JSONP */
2136
2346
  callback?: string;
2137
2347
  /** Selector specifying which fields to include in a partial response. */
@@ -2154,11 +2364,11 @@ declare namespace gapi.client {
2154
2364
  /** Retrieves a `Membership`. */
2155
2365
  get(request?: {
2156
2366
  /** V1 error format. */
2157
- '$.xgafv'?: string;
2367
+ '$.xgafv'?: '1' | '2';
2158
2368
  /** OAuth access token. */
2159
2369
  access_token?: string;
2160
2370
  /** Data format for response. */
2161
- alt?: string;
2371
+ alt?: 'json' | 'media' | 'proto';
2162
2372
  /** JSONP */
2163
2373
  callback?: string;
2164
2374
  /** Selector specifying which fields to include in a partial response. */
@@ -2181,11 +2391,11 @@ declare namespace gapi.client {
2181
2391
  /** Get a membership graph of just a member or both a member and a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. Given a member, the response will contain all membership paths from the member. Given both a group and a member, the response will contain all membership paths between the group and the member. */
2182
2392
  getMembershipGraph(request?: {
2183
2393
  /** V1 error format. */
2184
- '$.xgafv'?: string;
2394
+ '$.xgafv'?: '1' | '2';
2185
2395
  /** OAuth access token. */
2186
2396
  access_token?: string;
2187
2397
  /** Data format for response. */
2188
- alt?: string;
2398
+ alt?: 'json' | 'media' | 'proto';
2189
2399
  /** JSONP */
2190
2400
  callback?: string;
2191
2401
  /** Selector specifying which fields to include in a partial response. */
@@ -2210,11 +2420,11 @@ declare namespace gapi.client {
2210
2420
  /** Lists the `Membership`s within a `Group`. */
2211
2421
  list(request?: {
2212
2422
  /** V1 error format. */
2213
- '$.xgafv'?: string;
2423
+ '$.xgafv'?: '1' | '2';
2214
2424
  /** OAuth access token. */
2215
2425
  access_token?: string;
2216
2426
  /** Data format for response. */
2217
- alt?: string;
2427
+ alt?: 'json' | 'media' | 'proto';
2218
2428
  /** JSONP */
2219
2429
  callback?: string;
2220
2430
  /** Selector specifying which fields to include in a partial response. */
@@ -2238,16 +2448,16 @@ declare namespace gapi.client {
2238
2448
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2239
2449
  uploadType?: string;
2240
2450
  /** The level of detail to be returned. If unspecified, defaults to `MembershipView.BASIC`. */
2241
- view?: string;
2451
+ view?: 'BASIC' | 'FULL';
2242
2452
  }): Request<ListMembershipsResponse>;
2243
2453
  /** Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Membership` by its `EntityKey`. */
2244
2454
  lookup(request?: {
2245
2455
  /** V1 error format. */
2246
- '$.xgafv'?: string;
2456
+ '$.xgafv'?: '1' | '2';
2247
2457
  /** OAuth access token. */
2248
2458
  access_token?: string;
2249
2459
  /** Data format for response. */
2250
- alt?: string;
2460
+ alt?: 'json' | 'media' | 'proto';
2251
2461
  /** JSONP */
2252
2462
  callback?: string;
2253
2463
  /** Selector specifying which fields to include in a partial response. */
@@ -2274,11 +2484,11 @@ declare namespace gapi.client {
2274
2484
  /** Modifies the `MembershipRole`s of a `Membership`. */
2275
2485
  modifyMembershipRoles(request: {
2276
2486
  /** V1 error format. */
2277
- '$.xgafv'?: string;
2487
+ '$.xgafv'?: '1' | '2';
2278
2488
  /** OAuth access token. */
2279
2489
  access_token?: string;
2280
2490
  /** Data format for response. */
2281
- alt?: string;
2491
+ alt?: 'json' | 'media' | 'proto';
2282
2492
  /** JSONP */
2283
2493
  callback?: string;
2284
2494
  /** Selector specifying which fields to include in a partial response. */
@@ -2303,11 +2513,11 @@ declare namespace gapi.client {
2303
2513
  modifyMembershipRoles(
2304
2514
  request: {
2305
2515
  /** V1 error format. */
2306
- '$.xgafv'?: string;
2516
+ '$.xgafv'?: '1' | '2';
2307
2517
  /** OAuth access token. */
2308
2518
  access_token?: string;
2309
2519
  /** Data format for response. */
2310
- alt?: string;
2520
+ alt?: 'json' | 'media' | 'proto';
2311
2521
  /** JSONP */
2312
2522
  callback?: string;
2313
2523
  /** Selector specifying which fields to include in a partial response. */
@@ -2332,11 +2542,11 @@ declare namespace gapi.client {
2332
2542
  /** Searches direct groups of a member. */
2333
2543
  searchDirectGroups(request?: {
2334
2544
  /** V1 error format. */
2335
- '$.xgafv'?: string;
2545
+ '$.xgafv'?: '1' | '2';
2336
2546
  /** OAuth access token. */
2337
2547
  access_token?: string;
2338
2548
  /** Data format for response. */
2339
- alt?: string;
2549
+ alt?: 'json' | 'media' | 'proto';
2340
2550
  /** JSONP */
2341
2551
  callback?: string;
2342
2552
  /** Selector specifying which fields to include in a partial response. */
@@ -2367,11 +2577,11 @@ declare namespace gapi.client {
2367
2577
  /** Search transitive groups of a member. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. A transitive group is any group that has a direct or indirect membership to the member. Actor must have view permissions all transitive groups. */
2368
2578
  searchTransitiveGroups(request?: {
2369
2579
  /** V1 error format. */
2370
- '$.xgafv'?: string;
2580
+ '$.xgafv'?: '1' | '2';
2371
2581
  /** OAuth access token. */
2372
2582
  access_token?: string;
2373
2583
  /** Data format for response. */
2374
- alt?: string;
2584
+ alt?: 'json' | 'media' | 'proto';
2375
2585
  /** JSONP */
2376
2586
  callback?: string;
2377
2587
  /** Selector specifying which fields to include in a partial response. */
@@ -2400,11 +2610,11 @@ declare namespace gapi.client {
2400
2610
  /** Search transitive memberships of a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. A transitive membership is any direct or indirect membership of a group. Actor must have view permissions to all transitive memberships. */
2401
2611
  searchTransitiveMemberships(request?: {
2402
2612
  /** V1 error format. */
2403
- '$.xgafv'?: string;
2613
+ '$.xgafv'?: '1' | '2';
2404
2614
  /** OAuth access token. */
2405
2615
  access_token?: string;
2406
2616
  /** Data format for response. */
2407
- alt?: string;
2617
+ alt?: 'json' | 'media' | 'proto';
2408
2618
  /** JSONP */
2409
2619
  callback?: string;
2410
2620
  /** Selector specifying which fields to include in a partial response. */
@@ -2433,17 +2643,20 @@ declare namespace gapi.client {
2433
2643
  /** Creates a `Group`. */
2434
2644
  create(request: {
2435
2645
  /** V1 error format. */
2436
- '$.xgafv'?: string;
2646
+ '$.xgafv'?: '1' | '2';
2437
2647
  /** OAuth access token. */
2438
2648
  access_token?: string;
2439
2649
  /** Data format for response. */
2440
- alt?: string;
2650
+ alt?: 'json' | 'media' | 'proto';
2441
2651
  /** JSONP */
2442
2652
  callback?: string;
2443
2653
  /** Selector specifying which fields to include in a partial response. */
2444
2654
  fields?: string;
2445
2655
  /** Required. The initial configuration option for the `Group`. */
2446
- initialGroupConfig?: string;
2656
+ initialGroupConfig?:
2657
+ | 'INITIAL_GROUP_CONFIG_UNSPECIFIED'
2658
+ | 'WITH_INITIAL_OWNER'
2659
+ | 'EMPTY';
2447
2660
  /** 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. */
2448
2661
  key?: string;
2449
2662
  /** OAuth 2.0 token for the current user. */
@@ -2462,17 +2675,20 @@ declare namespace gapi.client {
2462
2675
  create(
2463
2676
  request: {
2464
2677
  /** V1 error format. */
2465
- '$.xgafv'?: string;
2678
+ '$.xgafv'?: '1' | '2';
2466
2679
  /** OAuth access token. */
2467
2680
  access_token?: string;
2468
2681
  /** Data format for response. */
2469
- alt?: string;
2682
+ alt?: 'json' | 'media' | 'proto';
2470
2683
  /** JSONP */
2471
2684
  callback?: string;
2472
2685
  /** Selector specifying which fields to include in a partial response. */
2473
2686
  fields?: string;
2474
2687
  /** Required. The initial configuration option for the `Group`. */
2475
- initialGroupConfig?: string;
2688
+ initialGroupConfig?:
2689
+ | 'INITIAL_GROUP_CONFIG_UNSPECIFIED'
2690
+ | 'WITH_INITIAL_OWNER'
2691
+ | 'EMPTY';
2476
2692
  /** 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. */
2477
2693
  key?: string;
2478
2694
  /** OAuth 2.0 token for the current user. */
@@ -2491,11 +2707,11 @@ declare namespace gapi.client {
2491
2707
  /** Deletes a `Group`. */
2492
2708
  delete(request?: {
2493
2709
  /** V1 error format. */
2494
- '$.xgafv'?: string;
2710
+ '$.xgafv'?: '1' | '2';
2495
2711
  /** OAuth access token. */
2496
2712
  access_token?: string;
2497
2713
  /** Data format for response. */
2498
- alt?: string;
2714
+ alt?: 'json' | 'media' | 'proto';
2499
2715
  /** JSONP */
2500
2716
  callback?: string;
2501
2717
  /** Selector specifying which fields to include in a partial response. */
@@ -2518,11 +2734,11 @@ declare namespace gapi.client {
2518
2734
  /** Retrieves a `Group`. */
2519
2735
  get(request?: {
2520
2736
  /** V1 error format. */
2521
- '$.xgafv'?: string;
2737
+ '$.xgafv'?: '1' | '2';
2522
2738
  /** OAuth access token. */
2523
2739
  access_token?: string;
2524
2740
  /** Data format for response. */
2525
- alt?: string;
2741
+ alt?: 'json' | 'media' | 'proto';
2526
2742
  /** JSONP */
2527
2743
  callback?: string;
2528
2744
  /** Selector specifying which fields to include in a partial response. */
@@ -2545,11 +2761,11 @@ declare namespace gapi.client {
2545
2761
  /** Get Security Settings */
2546
2762
  getSecuritySettings(request?: {
2547
2763
  /** V1 error format. */
2548
- '$.xgafv'?: string;
2764
+ '$.xgafv'?: '1' | '2';
2549
2765
  /** OAuth access token. */
2550
2766
  access_token?: string;
2551
2767
  /** Data format for response. */
2552
- alt?: string;
2768
+ alt?: 'json' | 'media' | 'proto';
2553
2769
  /** JSONP */
2554
2770
  callback?: string;
2555
2771
  /** Selector specifying which fields to include in a partial response. */
@@ -2574,11 +2790,11 @@ declare namespace gapi.client {
2574
2790
  /** Lists the `Group` resources under a customer or namespace. */
2575
2791
  list(request?: {
2576
2792
  /** V1 error format. */
2577
- '$.xgafv'?: string;
2793
+ '$.xgafv'?: '1' | '2';
2578
2794
  /** OAuth access token. */
2579
2795
  access_token?: string;
2580
2796
  /** Data format for response. */
2581
- alt?: string;
2797
+ alt?: 'json' | 'media' | 'proto';
2582
2798
  /** JSONP */
2583
2799
  callback?: string;
2584
2800
  /** Selector specifying which fields to include in a partial response. */
@@ -2602,16 +2818,16 @@ declare namespace gapi.client {
2602
2818
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2603
2819
  uploadType?: string;
2604
2820
  /** The level of detail to be returned. If unspecified, defaults to `View.BASIC`. */
2605
- view?: string;
2821
+ view?: 'VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
2606
2822
  }): Request<ListGroupsResponse>;
2607
2823
  /** Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Group` by its `EntityKey`. */
2608
2824
  lookup(request?: {
2609
2825
  /** V1 error format. */
2610
- '$.xgafv'?: string;
2826
+ '$.xgafv'?: '1' | '2';
2611
2827
  /** OAuth access token. */
2612
2828
  access_token?: string;
2613
2829
  /** Data format for response. */
2614
- alt?: string;
2830
+ alt?: 'json' | 'media' | 'proto';
2615
2831
  /** JSONP */
2616
2832
  callback?: string;
2617
2833
  /** Selector specifying which fields to include in a partial response. */
@@ -2636,11 +2852,11 @@ declare namespace gapi.client {
2636
2852
  /** Updates a `Group`. */
2637
2853
  patch(request: {
2638
2854
  /** V1 error format. */
2639
- '$.xgafv'?: string;
2855
+ '$.xgafv'?: '1' | '2';
2640
2856
  /** OAuth access token. */
2641
2857
  access_token?: string;
2642
2858
  /** Data format for response. */
2643
- alt?: string;
2859
+ alt?: 'json' | 'media' | 'proto';
2644
2860
  /** JSONP */
2645
2861
  callback?: string;
2646
2862
  /** Selector specifying which fields to include in a partial response. */
@@ -2667,11 +2883,11 @@ declare namespace gapi.client {
2667
2883
  patch(
2668
2884
  request: {
2669
2885
  /** V1 error format. */
2670
- '$.xgafv'?: string;
2886
+ '$.xgafv'?: '1' | '2';
2671
2887
  /** OAuth access token. */
2672
2888
  access_token?: string;
2673
2889
  /** Data format for response. */
2674
- alt?: string;
2890
+ alt?: 'json' | 'media' | 'proto';
2675
2891
  /** JSONP */
2676
2892
  callback?: string;
2677
2893
  /** Selector specifying which fields to include in a partial response. */
@@ -2698,11 +2914,11 @@ declare namespace gapi.client {
2698
2914
  /** Searches for `Group` resources matching a specified query. */
2699
2915
  search(request?: {
2700
2916
  /** V1 error format. */
2701
- '$.xgafv'?: string;
2917
+ '$.xgafv'?: '1' | '2';
2702
2918
  /** OAuth access token. */
2703
2919
  access_token?: string;
2704
2920
  /** Data format for response. */
2705
- alt?: string;
2921
+ alt?: 'json' | 'media' | 'proto';
2706
2922
  /** JSONP */
2707
2923
  callback?: string;
2708
2924
  /** Selector specifying which fields to include in a partial response. */
@@ -2728,16 +2944,16 @@ declare namespace gapi.client {
2728
2944
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2729
2945
  uploadType?: string;
2730
2946
  /** The level of detail to be returned. If unspecified, defaults to `View.BASIC`. */
2731
- view?: string;
2947
+ view?: 'BASIC' | 'FULL';
2732
2948
  }): Request<SearchGroupsResponse>;
2733
2949
  /** Update Security Settings */
2734
2950
  updateSecuritySettings(request: {
2735
2951
  /** V1 error format. */
2736
- '$.xgafv'?: string;
2952
+ '$.xgafv'?: '1' | '2';
2737
2953
  /** OAuth access token. */
2738
2954
  access_token?: string;
2739
2955
  /** Data format for response. */
2740
- alt?: string;
2956
+ alt?: 'json' | 'media' | 'proto';
2741
2957
  /** JSONP */
2742
2958
  callback?: string;
2743
2959
  /** Selector specifying which fields to include in a partial response. */
@@ -2764,11 +2980,11 @@ declare namespace gapi.client {
2764
2980
  updateSecuritySettings(
2765
2981
  request: {
2766
2982
  /** V1 error format. */
2767
- '$.xgafv'?: string;
2983
+ '$.xgafv'?: '1' | '2';
2768
2984
  /** OAuth access token. */
2769
2985
  access_token?: string;
2770
2986
  /** Data format for response. */
2771
- alt?: string;
2987
+ alt?: 'json' | 'media' | 'proto';
2772
2988
  /** JSONP */
2773
2989
  callback?: string;
2774
2990
  /** Selector specifying which fields to include in a partial response. */
@@ -2798,11 +3014,11 @@ declare namespace gapi.client {
2798
3014
  /** Creates an InboundOidcSsoProfile for a customer. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `"done": false`, it will not have a response, and the metadata will have `"state": "awaiting-multi-party-approval"`. */
2799
3015
  create(request: {
2800
3016
  /** V1 error format. */
2801
- '$.xgafv'?: string;
3017
+ '$.xgafv'?: '1' | '2';
2802
3018
  /** OAuth access token. */
2803
3019
  access_token?: string;
2804
3020
  /** Data format for response. */
2805
- alt?: string;
3021
+ alt?: 'json' | 'media' | 'proto';
2806
3022
  /** JSONP */
2807
3023
  callback?: string;
2808
3024
  /** Selector specifying which fields to include in a partial response. */
@@ -2825,11 +3041,11 @@ declare namespace gapi.client {
2825
3041
  create(
2826
3042
  request: {
2827
3043
  /** V1 error format. */
2828
- '$.xgafv'?: string;
3044
+ '$.xgafv'?: '1' | '2';
2829
3045
  /** OAuth access token. */
2830
3046
  access_token?: string;
2831
3047
  /** Data format for response. */
2832
- alt?: string;
3048
+ alt?: 'json' | 'media' | 'proto';
2833
3049
  /** JSONP */
2834
3050
  callback?: string;
2835
3051
  /** Selector specifying which fields to include in a partial response. */
@@ -2852,11 +3068,11 @@ declare namespace gapi.client {
2852
3068
  /** Deletes an InboundOidcSsoProfile. */
2853
3069
  delete(request?: {
2854
3070
  /** V1 error format. */
2855
- '$.xgafv'?: string;
3071
+ '$.xgafv'?: '1' | '2';
2856
3072
  /** OAuth access token. */
2857
3073
  access_token?: string;
2858
3074
  /** Data format for response. */
2859
- alt?: string;
3075
+ alt?: 'json' | 'media' | 'proto';
2860
3076
  /** JSONP */
2861
3077
  callback?: string;
2862
3078
  /** Selector specifying which fields to include in a partial response. */
@@ -2879,11 +3095,11 @@ declare namespace gapi.client {
2879
3095
  /** Gets an InboundOidcSsoProfile. */
2880
3096
  get(request?: {
2881
3097
  /** V1 error format. */
2882
- '$.xgafv'?: string;
3098
+ '$.xgafv'?: '1' | '2';
2883
3099
  /** OAuth access token. */
2884
3100
  access_token?: string;
2885
3101
  /** Data format for response. */
2886
- alt?: string;
3102
+ alt?: 'json' | 'media' | 'proto';
2887
3103
  /** JSONP */
2888
3104
  callback?: string;
2889
3105
  /** Selector specifying which fields to include in a partial response. */
@@ -2906,11 +3122,11 @@ declare namespace gapi.client {
2906
3122
  /** Lists InboundOidcSsoProfile objects for a Google enterprise customer. */
2907
3123
  list(request?: {
2908
3124
  /** V1 error format. */
2909
- '$.xgafv'?: string;
3125
+ '$.xgafv'?: '1' | '2';
2910
3126
  /** OAuth access token. */
2911
3127
  access_token?: string;
2912
3128
  /** Data format for response. */
2913
- alt?: string;
3129
+ alt?: 'json' | 'media' | 'proto';
2914
3130
  /** JSONP */
2915
3131
  callback?: string;
2916
3132
  /** Selector specifying which fields to include in a partial response. */
@@ -2937,11 +3153,11 @@ declare namespace gapi.client {
2937
3153
  /** Updates an InboundOidcSsoProfile. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `"done": false`, it will not have a response, and the metadata will have `"state": "awaiting-multi-party-approval"`. */
2938
3154
  patch(request: {
2939
3155
  /** V1 error format. */
2940
- '$.xgafv'?: string;
3156
+ '$.xgafv'?: '1' | '2';
2941
3157
  /** OAuth access token. */
2942
3158
  access_token?: string;
2943
3159
  /** Data format for response. */
2944
- alt?: string;
3160
+ alt?: 'json' | 'media' | 'proto';
2945
3161
  /** JSONP */
2946
3162
  callback?: string;
2947
3163
  /** Selector specifying which fields to include in a partial response. */
@@ -2968,11 +3184,11 @@ declare namespace gapi.client {
2968
3184
  patch(
2969
3185
  request: {
2970
3186
  /** V1 error format. */
2971
- '$.xgafv'?: string;
3187
+ '$.xgafv'?: '1' | '2';
2972
3188
  /** OAuth access token. */
2973
3189
  access_token?: string;
2974
3190
  /** Data format for response. */
2975
- alt?: string;
3191
+ alt?: 'json' | 'media' | 'proto';
2976
3192
  /** JSONP */
2977
3193
  callback?: string;
2978
3194
  /** Selector specifying which fields to include in a partial response. */
@@ -3001,11 +3217,11 @@ declare namespace gapi.client {
3001
3217
  /** Adds an IdpCredential. Up to 2 credentials are allowed. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `"done": false`, it will not have a response, and the metadata will have `"state": "awaiting-multi-party-approval"`. */
3002
3218
  add(request: {
3003
3219
  /** V1 error format. */
3004
- '$.xgafv'?: string;
3220
+ '$.xgafv'?: '1' | '2';
3005
3221
  /** OAuth access token. */
3006
3222
  access_token?: string;
3007
3223
  /** Data format for response. */
3008
- alt?: string;
3224
+ alt?: 'json' | 'media' | 'proto';
3009
3225
  /** JSONP */
3010
3226
  callback?: string;
3011
3227
  /** Selector specifying which fields to include in a partial response. */
@@ -3030,11 +3246,11 @@ declare namespace gapi.client {
3030
3246
  add(
3031
3247
  request: {
3032
3248
  /** V1 error format. */
3033
- '$.xgafv'?: string;
3249
+ '$.xgafv'?: '1' | '2';
3034
3250
  /** OAuth access token. */
3035
3251
  access_token?: string;
3036
3252
  /** Data format for response. */
3037
- alt?: string;
3253
+ alt?: 'json' | 'media' | 'proto';
3038
3254
  /** JSONP */
3039
3255
  callback?: string;
3040
3256
  /** Selector specifying which fields to include in a partial response. */
@@ -3059,11 +3275,11 @@ declare namespace gapi.client {
3059
3275
  /** Deletes an IdpCredential. */
3060
3276
  delete(request?: {
3061
3277
  /** V1 error format. */
3062
- '$.xgafv'?: string;
3278
+ '$.xgafv'?: '1' | '2';
3063
3279
  /** OAuth access token. */
3064
3280
  access_token?: string;
3065
3281
  /** Data format for response. */
3066
- alt?: string;
3282
+ alt?: 'json' | 'media' | 'proto';
3067
3283
  /** JSONP */
3068
3284
  callback?: string;
3069
3285
  /** Selector specifying which fields to include in a partial response. */
@@ -3086,11 +3302,11 @@ declare namespace gapi.client {
3086
3302
  /** Gets an IdpCredential. */
3087
3303
  get(request?: {
3088
3304
  /** V1 error format. */
3089
- '$.xgafv'?: string;
3305
+ '$.xgafv'?: '1' | '2';
3090
3306
  /** OAuth access token. */
3091
3307
  access_token?: string;
3092
3308
  /** Data format for response. */
3093
- alt?: string;
3309
+ alt?: 'json' | 'media' | 'proto';
3094
3310
  /** JSONP */
3095
3311
  callback?: string;
3096
3312
  /** Selector specifying which fields to include in a partial response. */
@@ -3113,11 +3329,11 @@ declare namespace gapi.client {
3113
3329
  /** Returns a list of IdpCredentials in an InboundSamlSsoProfile. */
3114
3330
  list(request?: {
3115
3331
  /** V1 error format. */
3116
- '$.xgafv'?: string;
3332
+ '$.xgafv'?: '1' | '2';
3117
3333
  /** OAuth access token. */
3118
3334
  access_token?: string;
3119
3335
  /** Data format for response. */
3120
- alt?: string;
3336
+ alt?: 'json' | 'media' | 'proto';
3121
3337
  /** JSONP */
3122
3338
  callback?: string;
3123
3339
  /** Selector specifying which fields to include in a partial response. */
@@ -3146,11 +3362,11 @@ declare namespace gapi.client {
3146
3362
  /** Creates an InboundSamlSsoProfile for a customer. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `"done": false`, it will not have a response, and the metadata will have `"state": "awaiting-multi-party-approval"`. */
3147
3363
  create(request: {
3148
3364
  /** V1 error format. */
3149
- '$.xgafv'?: string;
3365
+ '$.xgafv'?: '1' | '2';
3150
3366
  /** OAuth access token. */
3151
3367
  access_token?: string;
3152
3368
  /** Data format for response. */
3153
- alt?: string;
3369
+ alt?: 'json' | 'media' | 'proto';
3154
3370
  /** JSONP */
3155
3371
  callback?: string;
3156
3372
  /** Selector specifying which fields to include in a partial response. */
@@ -3173,11 +3389,11 @@ declare namespace gapi.client {
3173
3389
  create(
3174
3390
  request: {
3175
3391
  /** V1 error format. */
3176
- '$.xgafv'?: string;
3392
+ '$.xgafv'?: '1' | '2';
3177
3393
  /** OAuth access token. */
3178
3394
  access_token?: string;
3179
3395
  /** Data format for response. */
3180
- alt?: string;
3396
+ alt?: 'json' | 'media' | 'proto';
3181
3397
  /** JSONP */
3182
3398
  callback?: string;
3183
3399
  /** Selector specifying which fields to include in a partial response. */
@@ -3200,11 +3416,11 @@ declare namespace gapi.client {
3200
3416
  /** Deletes an InboundSamlSsoProfile. */
3201
3417
  delete(request?: {
3202
3418
  /** V1 error format. */
3203
- '$.xgafv'?: string;
3419
+ '$.xgafv'?: '1' | '2';
3204
3420
  /** OAuth access token. */
3205
3421
  access_token?: string;
3206
3422
  /** Data format for response. */
3207
- alt?: string;
3423
+ alt?: 'json' | 'media' | 'proto';
3208
3424
  /** JSONP */
3209
3425
  callback?: string;
3210
3426
  /** Selector specifying which fields to include in a partial response. */
@@ -3227,11 +3443,11 @@ declare namespace gapi.client {
3227
3443
  /** Gets an InboundSamlSsoProfile. */
3228
3444
  get(request?: {
3229
3445
  /** V1 error format. */
3230
- '$.xgafv'?: string;
3446
+ '$.xgafv'?: '1' | '2';
3231
3447
  /** OAuth access token. */
3232
3448
  access_token?: string;
3233
3449
  /** Data format for response. */
3234
- alt?: string;
3450
+ alt?: 'json' | 'media' | 'proto';
3235
3451
  /** JSONP */
3236
3452
  callback?: string;
3237
3453
  /** Selector specifying which fields to include in a partial response. */
@@ -3254,11 +3470,11 @@ declare namespace gapi.client {
3254
3470
  /** Lists InboundSamlSsoProfiles for a customer. */
3255
3471
  list(request?: {
3256
3472
  /** V1 error format. */
3257
- '$.xgafv'?: string;
3473
+ '$.xgafv'?: '1' | '2';
3258
3474
  /** OAuth access token. */
3259
3475
  access_token?: string;
3260
3476
  /** Data format for response. */
3261
- alt?: string;
3477
+ alt?: 'json' | 'media' | 'proto';
3262
3478
  /** JSONP */
3263
3479
  callback?: string;
3264
3480
  /** Selector specifying which fields to include in a partial response. */
@@ -3285,11 +3501,11 @@ declare namespace gapi.client {
3285
3501
  /** Updates an InboundSamlSsoProfile. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `"done": false`, it will not have a response, and the metadata will have `"state": "awaiting-multi-party-approval"`. */
3286
3502
  patch(request: {
3287
3503
  /** V1 error format. */
3288
- '$.xgafv'?: string;
3504
+ '$.xgafv'?: '1' | '2';
3289
3505
  /** OAuth access token. */
3290
3506
  access_token?: string;
3291
3507
  /** Data format for response. */
3292
- alt?: string;
3508
+ alt?: 'json' | 'media' | 'proto';
3293
3509
  /** JSONP */
3294
3510
  callback?: string;
3295
3511
  /** Selector specifying which fields to include in a partial response. */
@@ -3316,11 +3532,11 @@ declare namespace gapi.client {
3316
3532
  patch(
3317
3533
  request: {
3318
3534
  /** V1 error format. */
3319
- '$.xgafv'?: string;
3535
+ '$.xgafv'?: '1' | '2';
3320
3536
  /** OAuth access token. */
3321
3537
  access_token?: string;
3322
3538
  /** Data format for response. */
3323
- alt?: string;
3539
+ alt?: 'json' | 'media' | 'proto';
3324
3540
  /** JSONP */
3325
3541
  callback?: string;
3326
3542
  /** Selector specifying which fields to include in a partial response. */
@@ -3350,11 +3566,11 @@ declare namespace gapi.client {
3350
3566
  /** Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`. */
3351
3567
  create(request: {
3352
3568
  /** V1 error format. */
3353
- '$.xgafv'?: string;
3569
+ '$.xgafv'?: '1' | '2';
3354
3570
  /** OAuth access token. */
3355
3571
  access_token?: string;
3356
3572
  /** Data format for response. */
3357
- alt?: string;
3573
+ alt?: 'json' | 'media' | 'proto';
3358
3574
  /** JSONP */
3359
3575
  callback?: string;
3360
3576
  /** Selector specifying which fields to include in a partial response. */
@@ -3377,11 +3593,11 @@ declare namespace gapi.client {
3377
3593
  create(
3378
3594
  request: {
3379
3595
  /** V1 error format. */
3380
- '$.xgafv'?: string;
3596
+ '$.xgafv'?: '1' | '2';
3381
3597
  /** OAuth access token. */
3382
3598
  access_token?: string;
3383
3599
  /** Data format for response. */
3384
- alt?: string;
3600
+ alt?: 'json' | 'media' | 'proto';
3385
3601
  /** JSONP */
3386
3602
  callback?: string;
3387
3603
  /** Selector specifying which fields to include in a partial response. */
@@ -3404,11 +3620,11 @@ declare namespace gapi.client {
3404
3620
  /** Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`. */
3405
3621
  delete(request?: {
3406
3622
  /** V1 error format. */
3407
- '$.xgafv'?: string;
3623
+ '$.xgafv'?: '1' | '2';
3408
3624
  /** OAuth access token. */
3409
3625
  access_token?: string;
3410
3626
  /** Data format for response. */
3411
- alt?: string;
3627
+ alt?: 'json' | 'media' | 'proto';
3412
3628
  /** JSONP */
3413
3629
  callback?: string;
3414
3630
  /** Selector specifying which fields to include in a partial response. */
@@ -3431,11 +3647,11 @@ declare namespace gapi.client {
3431
3647
  /** Gets an InboundSsoAssignment. */
3432
3648
  get(request?: {
3433
3649
  /** V1 error format. */
3434
- '$.xgafv'?: string;
3650
+ '$.xgafv'?: '1' | '2';
3435
3651
  /** OAuth access token. */
3436
3652
  access_token?: string;
3437
3653
  /** Data format for response. */
3438
- alt?: string;
3654
+ alt?: 'json' | 'media' | 'proto';
3439
3655
  /** JSONP */
3440
3656
  callback?: string;
3441
3657
  /** Selector specifying which fields to include in a partial response. */
@@ -3458,11 +3674,11 @@ declare namespace gapi.client {
3458
3674
  /** Lists the InboundSsoAssignments for a `Customer`. */
3459
3675
  list(request?: {
3460
3676
  /** V1 error format. */
3461
- '$.xgafv'?: string;
3677
+ '$.xgafv'?: '1' | '2';
3462
3678
  /** OAuth access token. */
3463
3679
  access_token?: string;
3464
3680
  /** Data format for response. */
3465
- alt?: string;
3681
+ alt?: 'json' | 'media' | 'proto';
3466
3682
  /** JSONP */
3467
3683
  callback?: string;
3468
3684
  /** Selector specifying which fields to include in a partial response. */
@@ -3489,11 +3705,11 @@ declare namespace gapi.client {
3489
3705
  /** Updates an InboundSsoAssignment. The body of this request is the `inbound_sso_assignment` field and the `update_mask` is relative to that. For example: a PATCH to `/v1beta1/inboundSsoAssignments/0abcdefg1234567&update_mask=rank` with a body of `{ "rank": 1 }` moves that (presumably group-targeted) SSO assignment to the highest priority and shifts any other group-targeted assignments down in priority. */
3490
3706
  patch(request: {
3491
3707
  /** V1 error format. */
3492
- '$.xgafv'?: string;
3708
+ '$.xgafv'?: '1' | '2';
3493
3709
  /** OAuth access token. */
3494
3710
  access_token?: string;
3495
3711
  /** Data format for response. */
3496
- alt?: string;
3712
+ alt?: 'json' | 'media' | 'proto';
3497
3713
  /** JSONP */
3498
3714
  callback?: string;
3499
3715
  /** Selector specifying which fields to include in a partial response. */
@@ -3520,11 +3736,11 @@ declare namespace gapi.client {
3520
3736
  patch(
3521
3737
  request: {
3522
3738
  /** V1 error format. */
3523
- '$.xgafv'?: string;
3739
+ '$.xgafv'?: '1' | '2';
3524
3740
  /** OAuth access token. */
3525
3741
  access_token?: string;
3526
3742
  /** Data format for response. */
3527
- alt?: string;
3743
+ alt?: 'json' | 'media' | 'proto';
3528
3744
  /** JSONP */
3529
3745
  callback?: string;
3530
3746
  /** Selector specifying which fields to include in a partial response. */
@@ -3553,11 +3769,11 @@ declare namespace gapi.client {
3553
3769
  /** List OrgMembership resources in an OrgUnit treated as 'parent'. Parent format: orgUnits/{$orgUnitId} where `$orgUnitId` is the `orgUnitId` from the [Admin SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/orgunits) */
3554
3770
  list(request?: {
3555
3771
  /** V1 error format. */
3556
- '$.xgafv'?: string;
3772
+ '$.xgafv'?: '1' | '2';
3557
3773
  /** OAuth access token. */
3558
3774
  access_token?: string;
3559
3775
  /** Data format for response. */
3560
- alt?: string;
3776
+ alt?: 'json' | 'media' | 'proto';
3561
3777
  /** JSONP */
3562
3778
  callback?: string;
3563
3779
  /** Required. Immutable. Customer that this OrgMembership belongs to. All authorization will happen on the role assignments of this customer. Format: customers/{$customerId} where `$customerId` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may also use `customers/my_customer` to specify your own organization. */
@@ -3588,11 +3804,11 @@ declare namespace gapi.client {
3588
3804
  /** Move an OrgMembership to a new OrgUnit. NOTE: This is an atomic copy-and-delete. The resource will have a new copy under the destination OrgUnit and be deleted from the source OrgUnit. The resource can only be searched under the destination OrgUnit afterwards. */
3589
3805
  move(request: {
3590
3806
  /** V1 error format. */
3591
- '$.xgafv'?: string;
3807
+ '$.xgafv'?: '1' | '2';
3592
3808
  /** OAuth access token. */
3593
3809
  access_token?: string;
3594
3810
  /** Data format for response. */
3595
- alt?: string;
3811
+ alt?: 'json' | 'media' | 'proto';
3596
3812
  /** JSONP */
3597
3813
  callback?: string;
3598
3814
  /** Selector specifying which fields to include in a partial response. */
@@ -3617,11 +3833,11 @@ declare namespace gapi.client {
3617
3833
  move(
3618
3834
  request: {
3619
3835
  /** V1 error format. */
3620
- '$.xgafv'?: string;
3836
+ '$.xgafv'?: '1' | '2';
3621
3837
  /** OAuth access token. */
3622
3838
  access_token?: string;
3623
3839
  /** Data format for response. */
3624
- alt?: string;
3840
+ alt?: 'json' | 'media' | 'proto';
3625
3841
  /** JSONP */
3626
3842
  callback?: string;
3627
3843
  /** Selector specifying which fields to include in a partial response. */
@@ -3651,11 +3867,11 @@ declare namespace gapi.client {
3651
3867
  /** Create a policy. */
3652
3868
  create(request: {
3653
3869
  /** V1 error format. */
3654
- '$.xgafv'?: string;
3870
+ '$.xgafv'?: '1' | '2';
3655
3871
  /** OAuth access token. */
3656
3872
  access_token?: string;
3657
3873
  /** Data format for response. */
3658
- alt?: string;
3874
+ alt?: 'json' | 'media' | 'proto';
3659
3875
  /** JSONP */
3660
3876
  callback?: string;
3661
3877
  /** Selector specifying which fields to include in a partial response. */
@@ -3678,11 +3894,11 @@ declare namespace gapi.client {
3678
3894
  create(
3679
3895
  request: {
3680
3896
  /** V1 error format. */
3681
- '$.xgafv'?: string;
3897
+ '$.xgafv'?: '1' | '2';
3682
3898
  /** OAuth access token. */
3683
3899
  access_token?: string;
3684
3900
  /** Data format for response. */
3685
- alt?: string;
3901
+ alt?: 'json' | 'media' | 'proto';
3686
3902
  /** JSONP */
3687
3903
  callback?: string;
3688
3904
  /** Selector specifying which fields to include in a partial response. */
@@ -3705,11 +3921,11 @@ declare namespace gapi.client {
3705
3921
  /** Delete a policy. */
3706
3922
  delete(request?: {
3707
3923
  /** V1 error format. */
3708
- '$.xgafv'?: string;
3924
+ '$.xgafv'?: '1' | '2';
3709
3925
  /** OAuth access token. */
3710
3926
  access_token?: string;
3711
3927
  /** Data format for response. */
3712
- alt?: string;
3928
+ alt?: 'json' | 'media' | 'proto';
3713
3929
  /** JSONP */
3714
3930
  callback?: string;
3715
3931
  /** Selector specifying which fields to include in a partial response. */
@@ -3732,11 +3948,11 @@ declare namespace gapi.client {
3732
3948
  /** Get a policy. */
3733
3949
  get(request?: {
3734
3950
  /** V1 error format. */
3735
- '$.xgafv'?: string;
3951
+ '$.xgafv'?: '1' | '2';
3736
3952
  /** OAuth access token. */
3737
3953
  access_token?: string;
3738
3954
  /** Data format for response. */
3739
- alt?: string;
3955
+ alt?: 'json' | 'media' | 'proto';
3740
3956
  /** JSONP */
3741
3957
  callback?: string;
3742
3958
  /** Selector specifying which fields to include in a partial response. */
@@ -3759,11 +3975,11 @@ declare namespace gapi.client {
3759
3975
  /** List policies. */
3760
3976
  list(request?: {
3761
3977
  /** V1 error format. */
3762
- '$.xgafv'?: string;
3978
+ '$.xgafv'?: '1' | '2';
3763
3979
  /** OAuth access token. */
3764
3980
  access_token?: string;
3765
3981
  /** Data format for response. */
3766
- alt?: string;
3982
+ alt?: 'json' | 'media' | 'proto';
3767
3983
  /** JSONP */
3768
3984
  callback?: string;
3769
3985
  /** Selector specifying which fields to include in a partial response. */
@@ -3790,11 +4006,11 @@ declare namespace gapi.client {
3790
4006
  /** Update a policy. */
3791
4007
  patch(request: {
3792
4008
  /** V1 error format. */
3793
- '$.xgafv'?: string;
4009
+ '$.xgafv'?: '1' | '2';
3794
4010
  /** OAuth access token. */
3795
4011
  access_token?: string;
3796
4012
  /** Data format for response. */
3797
- alt?: string;
4013
+ alt?: 'json' | 'media' | 'proto';
3798
4014
  /** JSONP */
3799
4015
  callback?: string;
3800
4016
  /** Selector specifying which fields to include in a partial response. */
@@ -3819,11 +4035,11 @@ declare namespace gapi.client {
3819
4035
  patch(
3820
4036
  request: {
3821
4037
  /** V1 error format. */
3822
- '$.xgafv'?: string;
4038
+ '$.xgafv'?: '1' | '2';
3823
4039
  /** OAuth access token. */
3824
4040
  access_token?: string;
3825
4041
  /** Data format for response. */
3826
- alt?: string;
4042
+ alt?: 'json' | 'media' | 'proto';
3827
4043
  /** JSONP */
3828
4044
  callback?: string;
3829
4045
  /** Selector specifying which fields to include in a partial response. */