@maxim_mazurok/gapi.client.cloudidentity-v1beta1 0.1.20260317 → 0.2.20260602

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +501 -247
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudidentity.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20260317
12
+ // Revision: 20260602
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -46,7 +46,11 @@ 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;
49
+ ownershipPrivilege?:
50
+ | 'OWNERSHIP_PRIVILEGE_UNSPECIFIED'
51
+ | 'DEVICE_ADMINISTRATOR'
52
+ | 'PROFILE_OWNER'
53
+ | 'DEVICE_OWNER';
50
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. */
@@ -54,6 +58,19 @@ declare namespace gapi.client {
54
58
  /** Whether Google Play Protect Verify Apps is enabled. */
55
59
  verifyAppsEnabled?: boolean;
56
60
  }
61
+ interface AntivirusInfo {
62
+ /** Output only. The display name of the anti-virus software. */
63
+ displayName?: string;
64
+ /** Output only. The GUID of the anti-virus product. */
65
+ productGuid?: string;
66
+ /** Output only. The state of the anti-virus. */
67
+ productState?:
68
+ | 'PRODUCT_STATE_UNSPECIFIED'
69
+ | 'PRODUCT_STATE_ON'
70
+ | 'PRODUCT_STATE_OFF'
71
+ | 'PRODUCT_STATE_SNOOZED'
72
+ | 'PRODUCT_STATE_EXPIRED';
73
+ }
57
74
  interface ApproveDeviceUserRequest {
58
75
  /** 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. */
59
76
  customer?: string;
@@ -80,7 +97,12 @@ declare namespace gapi.client {
80
97
  }
81
98
  interface BrowserInfo {
82
99
  /** Output only. Browser's management state. */
83
- browserManagementState?: string;
100
+ browserManagementState?:
101
+ | 'UNSPECIFIED'
102
+ | 'UNMANAGED'
103
+ | 'MANAGED_BY_OTHER_DOMAIN'
104
+ | 'PROFILE_MANAGED'
105
+ | 'BROWSER_MANAGED';
84
106
  /** Version of the request initiating browser. E.g. `91.0.4442.4`. */
85
107
  browserVersion?: string;
86
108
  /** Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled). */
@@ -104,11 +126,19 @@ declare namespace gapi.client {
104
126
  /** Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled). */
105
127
  isThirdPartyBlockingEnabled?: boolean;
106
128
  /** Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger). */
107
- passwordProtectionWarningTrigger?: string;
129
+ passwordProtectionWarningTrigger?:
130
+ | 'PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED'
131
+ | 'PROTECTION_OFF'
132
+ | 'PASSWORD_REUSE'
133
+ | 'PHISHING_REUSE';
108
134
  /** 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
135
  policies?: ChromePolicy[];
110
136
  /** Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel). */
111
- safeBrowsingProtectionLevel?: string;
137
+ safeBrowsingProtectionLevel?:
138
+ | 'SAFE_BROWSING_LEVEL_UNSPECIFIED'
139
+ | 'DISABLED'
140
+ | 'STANDARD'
141
+ | 'ENHANCED';
112
142
  }
113
143
  interface CancelUserInvitationRequest {}
114
144
  interface CancelWipeDeviceRequest {
@@ -141,7 +171,10 @@ declare namespace gapi.client {
141
171
  /** The certificate thumbprint. */
142
172
  thumbprint?: string;
143
173
  /** Validation state of this certificate. */
144
- validationState?: string;
174
+ validationState?:
175
+ | 'CERTIFICATE_VALIDATION_STATE_UNSPECIFIED'
176
+ | 'VALIDATION_SUCCESSFUL'
177
+ | 'VALIDATION_FAILED';
145
178
  /** Certificate not valid at or after this timestamp. */
146
179
  validityExpirationTime?: string;
147
180
  /** Certificate not valid before this timestamp. */
@@ -165,9 +198,20 @@ declare namespace gapi.client {
165
198
  /** 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
199
  name?: string;
167
200
  /** Output only. The scope at which the *applied* policy value is set (USER or MACHINE). */
168
- scope?: string;
201
+ scope?: 'SCOPE_UNKNOWN' | 'USER' | 'MACHINE';
169
202
  /** Output only. The source from which the *applied* policy value originated. */
170
- source?: string;
203
+ source?:
204
+ | 'SOURCE_UNKNOWN'
205
+ | 'ENTERPRISE_DEFAULT'
206
+ | 'CLOUD'
207
+ | 'ACTIVE_DIRECTORY'
208
+ | 'DEVICE_LOCAL_ACCOUNT_OVERRIDE_DEPRECATED'
209
+ | 'PLATFORM'
210
+ | 'PRIORITY_CLOUD_DEPRECATED'
211
+ | 'MERGED'
212
+ | 'COMMAND_LINE'
213
+ | 'CLOUD_FROM_ASH'
214
+ | 'RESTRICTED_MANAGED_GUEST_SESSION_OVERRIDE';
171
215
  /** Output only. The currently applied value of the policy. The format depends on the policy type (e.g., boolean, string, JSON array/object). */
172
216
  value?: string;
173
217
  }
@@ -175,7 +219,10 @@ declare namespace gapi.client {
175
219
  /** The caller can specify asset tags for this resource */
176
220
  assetTags?: string[];
177
221
  /** The compliance state of the resource as specified by the API client. */
178
- complianceState?: string;
222
+ complianceState?:
223
+ | 'COMPLIANCE_STATE_UNSPECIFIED'
224
+ | 'COMPLIANT'
225
+ | 'NON_COMPLIANT';
179
226
  /** Output only. The time the client state data was created. */
180
227
  createTime?: string;
181
228
  /** This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field. */
@@ -183,17 +230,26 @@ declare namespace gapi.client {
183
230
  /** The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest */
184
231
  etag?: string;
185
232
  /** The Health score of the resource */
186
- healthScore?: string;
233
+ healthScore?:
234
+ | 'HEALTH_SCORE_UNSPECIFIED'
235
+ | 'VERY_POOR'
236
+ | 'POOR'
237
+ | 'NEUTRAL'
238
+ | 'GOOD'
239
+ | 'VERY_GOOD';
187
240
  /** 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
241
  keyValuePairs?: {[P in string]: CustomAttributeValue};
189
242
  /** Output only. The time the client state data was last updated. */
190
243
  lastUpdateTime?: string;
191
244
  /** The management state of the resource as specified by the API client. */
192
- managed?: string;
245
+ managed?: 'MANAGED_STATE_UNSPECIFIED' | 'MANAGED' | 'UNMANAGED';
193
246
  /** 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
247
  name?: string;
195
248
  /** Output only. The owner of the ClientState */
196
- ownerType?: string;
249
+ ownerType?:
250
+ | 'OWNER_TYPE_UNSPECIFIED'
251
+ | 'OWNER_TYPE_CUSTOMER'
252
+ | 'OWNER_TYPE_PARTNER';
197
253
  /** A descriptive cause of the health score. */
198
254
  scoreReason?: string;
199
255
  }
@@ -227,6 +283,8 @@ declare namespace gapi.client {
227
283
  interface Device {
228
284
  /** Output only. Attributes specific to Android devices. */
229
285
  androidSpecificAttributes?: AndroidAttributes;
286
+ /** Output only. Anti-virus information for the device. */
287
+ antivirusInfo?: AntivirusInfo[];
230
288
  /** Asset tag of the device. */
231
289
  assetTag?: string;
232
290
  /** Output only. Baseband version of the device. */
@@ -240,21 +298,42 @@ declare namespace gapi.client {
240
298
  /** Output only. Build number of the device. */
241
299
  buildNumber?: string;
242
300
  /** List of the clients the device is reporting to. */
243
- clientTypes?: string[];
301
+ clientTypes?:
302
+ | 'CLIENT_TYPE_UNSPECIFIED'
303
+ | 'DRIVE_FS'
304
+ | 'FUNDAMENTAL'
305
+ | 'ENDPOINT_VERIFICATION'
306
+ | 'WINDOWS_ADVANCED'
307
+ | 'GOOGLE_CREDENTIALS_PROVIDER_FOR_WINDOWS'[];
244
308
  /** Output only. Represents whether the Device is compromised. */
245
- compromisedState?: string;
309
+ compromisedState?:
310
+ | 'COMPROMISED_STATE_UNSPECIFIED'
311
+ | 'COMPROMISED'
312
+ | 'UNCOMPROMISED';
246
313
  /** Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. */
247
314
  createTime?: string;
248
315
  /** Unique identifier for the device. */
249
316
  deviceId?: string;
250
317
  /** Output only. Type of device. */
251
- deviceType?: string;
318
+ deviceType?:
319
+ | 'DEVICE_TYPE_UNSPECIFIED'
320
+ | 'ANDROID'
321
+ | 'IOS'
322
+ | 'GOOGLE_SYNC'
323
+ | 'WINDOWS'
324
+ | 'MAC_OS'
325
+ | 'LINUX'
326
+ | 'CHROME_OS';
252
327
  /** Output only. Whether developer options is enabled on device. */
253
328
  enabledDeveloperOptions?: boolean;
254
329
  /** Output only. Whether USB debugging is enabled on device. */
255
330
  enabledUsbDebugging?: boolean;
256
331
  /** Output only. Device encryption state. */
257
- encryptionState?: string;
332
+ encryptionState?:
333
+ | 'ENCRYPTION_STATE_UNSPECIFIED'
334
+ | 'UNSUPPORTED_BY_DEVICE'
335
+ | 'ENCRYPTED'
336
+ | 'NOT_ENCRYPTED';
258
337
  /** Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices. */
259
338
  endpointVerificationSpecificAttributes?: EndpointVerificationSpecificAttributes;
260
339
  /** Host name of the device. */
@@ -266,7 +345,14 @@ declare namespace gapi.client {
266
345
  /** Most recent time when device synced with this service. */
267
346
  lastSyncTime?: string;
268
347
  /** Output only. Management state of the device */
269
- managementState?: string;
348
+ managementState?:
349
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
350
+ | 'APPROVED'
351
+ | 'BLOCKED'
352
+ | 'PENDING'
353
+ | 'UNPROVISIONED'
354
+ | 'WIPING'
355
+ | 'WIPED';
270
356
  /** Output only. Device manufacturer. Example: Motorola. */
271
357
  manufacturer?: string;
272
358
  /** Output only. MEID number of device if CDMA device; empty otherwise. */
@@ -277,12 +363,18 @@ declare namespace gapi.client {
277
363
  name?: string;
278
364
  /** Output only. Mobile or network operator of device, if available. */
279
365
  networkOperator?: string;
366
+ /** Output only. OS firewall status of the device. */
367
+ osFirewallStatus?:
368
+ | 'OS_FIREWALL_STATUS_UNSPECIFIED'
369
+ | 'OS_FIREWALL_STATUS_UNKNOWN'
370
+ | 'OS_FIREWALL_STATUS_ENABLED'
371
+ | 'OS_FIREWALL_STATUS_DISABLED';
280
372
  /** Output only. OS version of the device. Example: Android 8.1.0. */
281
373
  osVersion?: string;
282
374
  /** 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
375
  otherAccounts?: string[];
284
376
  /** Output only. Whether the device is owned by the company or an individual */
285
- ownerType?: string;
377
+ ownerType?: 'DEVICE_OWNERSHIP_UNSPECIFIED' | 'COMPANY' | 'BYOD';
286
378
  /** Output only. OS release version. Example: 6.0. */
287
379
  releaseVersion?: string;
288
380
  /** Output only. OS security patch update time on device. */
@@ -293,10 +385,15 @@ declare namespace gapi.client {
293
385
  unifiedDeviceId?: string;
294
386
  /** WiFi MAC addresses of device. */
295
387
  wifiMacAddresses?: string[];
388
+ /** Output only. Attributes specific to Windows devices. */
389
+ windowsSpecificDeviceAttributes?: WindowsSpecificDeviceAttributes;
296
390
  }
297
391
  interface DeviceUser {
298
392
  /** Compromised State of the DeviceUser object */
299
- compromisedState?: string;
393
+ compromisedState?:
394
+ | 'COMPROMISED_STATE_UNSPECIFIED'
395
+ | 'COMPROMISED'
396
+ | 'NOT_COMPROMISED';
300
397
  /** When the user first signed in to the device */
301
398
  createTime?: string;
302
399
  /** Output only. Most recent time when user registered with this service. */
@@ -306,11 +403,21 @@ declare namespace gapi.client {
306
403
  /** Output only. Last time when user synced with policies. */
307
404
  lastSyncTime?: string;
308
405
  /** Output only. Management state of the user on the device. */
309
- managementState?: string;
406
+ managementState?:
407
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
408
+ | 'WIPING'
409
+ | 'WIPED'
410
+ | 'APPROVED'
411
+ | 'BLOCKED'
412
+ | 'PENDING_APPROVAL'
413
+ | 'UNENROLLED';
310
414
  /** 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
415
  name?: string;
312
416
  /** Password state of the DeviceUser object */
313
- passwordState?: string;
417
+ passwordState?:
418
+ | 'PASSWORD_STATE_UNSPECIFIED'
419
+ | 'PASSWORD_SET'
420
+ | 'PASSWORD_NOT_SET';
314
421
  /** Output only. User agent on the device for this specific user */
315
422
  userAgent?: string;
316
423
  /** Email address of the user registered on the device. */
@@ -329,11 +436,15 @@ declare namespace gapi.client {
329
436
  interface DynamicGroupQuery {
330
437
  /** 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
438
  query?: string;
332
- resourceType?: string;
439
+ resourceType?: 'RESOURCE_TYPE_UNSPECIFIED' | 'USER';
333
440
  }
334
441
  interface DynamicGroupStatus {
335
442
  /** Status of the dynamic group. */
336
- status?: string;
443
+ status?:
444
+ | 'STATUS_UNSPECIFIED'
445
+ | 'UP_TO_DATE'
446
+ | 'UPDATING_MEMBERSHIPS'
447
+ | 'INVALID_QUERY';
337
448
  /** 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
449
  statusTime?: string;
339
450
  }
@@ -371,7 +482,11 @@ declare namespace gapi.client {
371
482
  /** 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
483
  ownerProfileAccount?: boolean;
373
484
  /** Ownership privileges on device. */
374
- ownershipPrivilege?: string;
485
+ ownershipPrivilege?:
486
+ | 'OWNERSHIP_PRIVILEGE_UNSPECIFIED'
487
+ | 'DEVICE_ADMINISTRATOR'
488
+ | 'PROFILE_OWNER'
489
+ | 'DEVICE_OWNER';
375
490
  /** 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
491
  supportsWorkProfile?: boolean;
377
492
  /** Whether Android verified boot status is GREEN. */
@@ -399,7 +514,12 @@ declare namespace gapi.client {
399
514
  }
400
515
  interface GoogleAppsCloudidentityDevicesV1BrowserInfo {
401
516
  /** Output only. Browser's management state. */
402
- browserManagementState?: string;
517
+ browserManagementState?:
518
+ | 'UNSPECIFIED'
519
+ | 'UNMANAGED'
520
+ | 'MANAGED_BY_OTHER_DOMAIN'
521
+ | 'PROFILE_MANAGED'
522
+ | 'BROWSER_MANAGED';
403
523
  /** Version of the request initiating browser. E.g. `91.0.4442.4`. */
404
524
  browserVersion?: string;
405
525
  /** Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled). */
@@ -423,9 +543,17 @@ declare namespace gapi.client {
423
543
  /** Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled). */
424
544
  isThirdPartyBlockingEnabled?: boolean;
425
545
  /** Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger). */
426
- passwordProtectionWarningTrigger?: string;
546
+ passwordProtectionWarningTrigger?:
547
+ | 'PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED'
548
+ | 'PROTECTION_OFF'
549
+ | 'PASSWORD_REUSE'
550
+ | 'PHISHING_REUSE';
427
551
  /** Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel). */
428
- safeBrowsingProtectionLevel?: string;
552
+ safeBrowsingProtectionLevel?:
553
+ | 'SAFE_BROWSING_LEVEL_UNSPECIFIED'
554
+ | 'DISABLED'
555
+ | 'STANDARD'
556
+ | 'ENHANCED';
429
557
  }
430
558
  interface GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata {}
431
559
  interface GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse {
@@ -451,7 +579,10 @@ declare namespace gapi.client {
451
579
  /** The certificate thumbprint. */
452
580
  thumbprint?: string;
453
581
  /** Output only. Validation state of this certificate. */
454
- validationState?: string;
582
+ validationState?:
583
+ | 'CERTIFICATE_VALIDATION_STATE_UNSPECIFIED'
584
+ | 'VALIDATION_SUCCESSFUL'
585
+ | 'VALIDATION_FAILED';
455
586
  /** Certificate not valid at or after this timestamp. */
456
587
  validityExpirationTime?: string;
457
588
  /** Certificate not valid before this timestamp. */
@@ -469,7 +600,10 @@ declare namespace gapi.client {
469
600
  /** The caller can specify asset tags for this resource */
470
601
  assetTags?: string[];
471
602
  /** The compliance state of the resource as specified by the API client. */
472
- complianceState?: string;
603
+ complianceState?:
604
+ | 'COMPLIANCE_STATE_UNSPECIFIED'
605
+ | 'COMPLIANT'
606
+ | 'NON_COMPLIANT';
473
607
  /** Output only. The time the client state data was created. */
474
608
  createTime?: string;
475
609
  /** This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field. */
@@ -477,7 +611,13 @@ declare namespace gapi.client {
477
611
  /** The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest */
478
612
  etag?: string;
479
613
  /** 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;
614
+ healthScore?:
615
+ | 'HEALTH_SCORE_UNSPECIFIED'
616
+ | 'VERY_POOR'
617
+ | 'POOR'
618
+ | 'NEUTRAL'
619
+ | 'GOOD'
620
+ | 'VERY_GOOD';
481
621
  /** 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
622
  keyValuePairs?: {
483
623
  [P in string]: GoogleAppsCloudidentityDevicesV1CustomAttributeValue;
@@ -485,11 +625,14 @@ declare namespace gapi.client {
485
625
  /** Output only. The time the client state data was last updated. */
486
626
  lastUpdateTime?: string;
487
627
  /** The management state of the resource as specified by the API client. */
488
- managed?: string;
628
+ managed?: 'MANAGED_STATE_UNSPECIFIED' | 'MANAGED' | 'UNMANAGED';
489
629
  /** 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
630
  name?: string;
491
631
  /** Output only. The owner of the ClientState */
492
- ownerType?: string;
632
+ ownerType?:
633
+ | 'OWNER_TYPE_UNSPECIFIED'
634
+ | 'OWNER_TYPE_CUSTOMER'
635
+ | 'OWNER_TYPE_PARTNER';
493
636
  /** A descriptive cause of the health score. */
494
637
  scoreReason?: string;
495
638
  }
@@ -518,19 +661,34 @@ declare namespace gapi.client {
518
661
  /** Output only. Build number of the device. */
519
662
  buildNumber?: string;
520
663
  /** Output only. Represents whether the Device is compromised. */
521
- compromisedState?: string;
664
+ compromisedState?:
665
+ | 'COMPROMISED_STATE_UNSPECIFIED'
666
+ | 'COMPROMISED'
667
+ | 'UNCOMPROMISED';
522
668
  /** Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. */
523
669
  createTime?: string;
524
670
  /** Unique identifier for the device. */
525
671
  deviceId?: string;
526
672
  /** Output only. Type of device. */
527
- deviceType?: string;
673
+ deviceType?:
674
+ | 'DEVICE_TYPE_UNSPECIFIED'
675
+ | 'ANDROID'
676
+ | 'IOS'
677
+ | 'GOOGLE_SYNC'
678
+ | 'WINDOWS'
679
+ | 'MAC_OS'
680
+ | 'LINUX'
681
+ | 'CHROME_OS';
528
682
  /** Output only. Whether developer options is enabled on device. */
529
683
  enabledDeveloperOptions?: boolean;
530
684
  /** Output only. Whether USB debugging is enabled on device. */
531
685
  enabledUsbDebugging?: boolean;
532
686
  /** Output only. Device encryption state. */
533
- encryptionState?: string;
687
+ encryptionState?:
688
+ | 'ENCRYPTION_STATE_UNSPECIFIED'
689
+ | 'UNSUPPORTED_BY_DEVICE'
690
+ | 'ENCRYPTED'
691
+ | 'NOT_ENCRYPTED';
534
692
  /** Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices. */
535
693
  endpointVerificationSpecificAttributes?: GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes;
536
694
  /** Host name of the device. */
@@ -542,7 +700,14 @@ declare namespace gapi.client {
542
700
  /** Most recent time when device synced with this service. */
543
701
  lastSyncTime?: string;
544
702
  /** Output only. Management state of the device */
545
- managementState?: string;
703
+ managementState?:
704
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
705
+ | 'APPROVED'
706
+ | 'BLOCKED'
707
+ | 'PENDING'
708
+ | 'UNPROVISIONED'
709
+ | 'WIPING'
710
+ | 'WIPED';
546
711
  /** Output only. Device manufacturer. Example: Motorola. */
547
712
  manufacturer?: string;
548
713
  /** Output only. MEID number of device if CDMA device; empty otherwise. */
@@ -558,7 +723,7 @@ declare namespace gapi.client {
558
723
  /** 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
724
  otherAccounts?: string[];
560
725
  /** Output only. Whether the device is owned by the company or an individual */
561
- ownerType?: string;
726
+ ownerType?: 'DEVICE_OWNERSHIP_UNSPECIFIED' | 'COMPANY' | 'BYOD';
562
727
  /** Output only. OS release version. Example: 6.0. */
563
728
  releaseVersion?: string;
564
729
  /** Output only. OS security patch update time on device. */
@@ -572,7 +737,10 @@ declare namespace gapi.client {
572
737
  }
573
738
  interface GoogleAppsCloudidentityDevicesV1DeviceUser {
574
739
  /** Compromised State of the DeviceUser object */
575
- compromisedState?: string;
740
+ compromisedState?:
741
+ | 'COMPROMISED_STATE_UNSPECIFIED'
742
+ | 'COMPROMISED'
743
+ | 'NOT_COMPROMISED';
576
744
  /** When the user first signed in to the device */
577
745
  createTime?: string;
578
746
  /** Output only. Most recent time when user registered with this service. */
@@ -582,11 +750,21 @@ declare namespace gapi.client {
582
750
  /** Output only. Last time when user synced with policies. */
583
751
  lastSyncTime?: string;
584
752
  /** Output only. Management state of the user on the device. */
585
- managementState?: string;
753
+ managementState?:
754
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
755
+ | 'WIPING'
756
+ | 'WIPED'
757
+ | 'APPROVED'
758
+ | 'BLOCKED'
759
+ | 'PENDING_APPROVAL'
760
+ | 'UNENROLLED';
586
761
  /** 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
762
  name?: string;
588
763
  /** Password state of the DeviceUser object */
589
- passwordState?: string;
764
+ passwordState?:
765
+ | 'PASSWORD_STATE_UNSPECIFIED'
766
+ | 'PASSWORD_SET'
767
+ | 'PASSWORD_NOT_SET';
590
768
  /** Output only. User agent on the device for this specific user */
591
769
  userAgent?: string;
592
770
  /** Email address of the user registered on the device. */
@@ -648,7 +826,11 @@ declare namespace gapi.client {
648
826
  /** Labels for Group resource. */
649
827
  labels?: {[P in string]: string};
650
828
  /** The relation between the member and the transitive group. */
651
- relationType?: string;
829
+ relationType?:
830
+ | 'RELATION_TYPE_UNSPECIFIED'
831
+ | 'DIRECT'
832
+ | 'INDIRECT'
833
+ | 'DIRECT_AND_INDIRECT';
652
834
  /** Membership roles of the member for the group. */
653
835
  roles?: TransitiveMembershipRole[];
654
836
  }
@@ -700,7 +882,12 @@ declare namespace gapi.client {
700
882
  /** 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
883
  signInBehavior?: SignInBehavior;
702
884
  /** Inbound SSO behavior. */
703
- ssoMode?: string;
885
+ ssoMode?:
886
+ | 'SSO_MODE_UNSPECIFIED'
887
+ | 'SSO_OFF'
888
+ | 'SAML_SSO'
889
+ | 'OIDC_SSO'
890
+ | 'DOMAIN_WIDE_SAML_IF_ENABLED';
704
891
  /** Immutable. Must be of the form `groups/{group}`. */
705
892
  targetGroup?: string;
706
893
  /** Immutable. Must be of the form `orgUnits/{org_unit}`. */
@@ -804,7 +991,11 @@ declare namespace gapi.client {
804
991
  /** Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace. */
805
992
  preferredMemberKey?: EntityKey[];
806
993
  /** The relation between the group and the transitive membership. */
807
- relationType?: string;
994
+ relationType?:
995
+ | 'RELATION_TYPE_UNSPECIFIED'
996
+ | 'DIRECT'
997
+ | 'INDIRECT'
998
+ | 'DIRECT_AND_INDIRECT';
808
999
  /** The membership role details (i.e name of role and expiry time). */
809
1000
  roles?: TransitiveMembershipRole[];
810
1001
  }
@@ -818,7 +1009,13 @@ declare namespace gapi.client {
818
1009
  /** Output only. The time when the `Membership` was created. */
819
1010
  createTime?: string;
820
1011
  /** Output only. Delivery setting associated with the membership. */
821
- deliverySetting?: string;
1012
+ deliverySetting?:
1013
+ | 'DELIVERY_SETTING_UNSPECIFIED'
1014
+ | 'ALL_MAIL'
1015
+ | 'DIGEST'
1016
+ | 'DAILY'
1017
+ | 'NONE'
1018
+ | 'DISABLED';
822
1019
  /** 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
1020
  memberKey?: EntityKey;
824
1021
  /** 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 +1025,15 @@ declare namespace gapi.client {
828
1025
  /** 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
1026
  roles?: MembershipRole[];
830
1027
  /** Output only. The type of the membership. */
831
- type?: string;
1028
+ type?:
1029
+ | 'TYPE_UNSPECIFIED'
1030
+ | 'USER'
1031
+ | 'SERVICE_ACCOUNT'
1032
+ | 'GROUP'
1033
+ | 'SHARED_DRIVE'
1034
+ | 'CBCM_BROWSER'
1035
+ | 'CHROME_OS_DEVICE'
1036
+ | 'OTHER';
832
1037
  /** Output only. The time when the `Membership` was last updated. */
833
1038
  updateTime?: string;
834
1039
  }
@@ -864,7 +1069,12 @@ declare namespace gapi.client {
864
1069
  }
865
1070
  interface MembershipRoleRestrictionEvaluation {
866
1071
  /** Output only. The current state of the restriction */
867
- state?: string;
1072
+ state?:
1073
+ | 'STATE_UNSPECIFIED'
1074
+ | 'COMPLIANT'
1075
+ | 'FORWARD_COMPLIANT'
1076
+ | 'NON_COMPLIANT'
1077
+ | 'EVALUATING';
868
1078
  }
869
1079
  interface ModifyMembershipRolesRequest {
870
1080
  /** 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 +1132,7 @@ declare namespace gapi.client {
922
1132
  /** 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
1133
  name?: string;
924
1134
  /** Immutable. Entity type for the org member. */
925
- type?: string;
1135
+ type?: 'ENTITY_TYPE_UNSPECIFIED' | 'SHARED_DRIVE';
926
1136
  }
927
1137
  interface Policy {
928
1138
  /** 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 +1144,24 @@ declare namespace gapi.client {
934
1144
  /** Required. The Setting configured by this Policy. */
935
1145
  setting?: Setting;
936
1146
  /** Output only. The type of the policy. */
937
- type?: string;
1147
+ type?: 'POLICY_TYPE_UNSPECIFIED' | 'SYSTEM' | 'ADMIN';
938
1148
  }
939
1149
  interface PolicyConflict {
940
1150
  /** Output only. The scope at which this lower-priority policy is set (USER or MACHINE). */
941
- scope?: string;
1151
+ scope?: 'SCOPE_UNKNOWN' | 'USER' | 'MACHINE';
942
1152
  /** Output only. The source from which this lower-priority policy value originated. */
943
- source?: string;
1153
+ source?:
1154
+ | 'SOURCE_UNKNOWN'
1155
+ | 'ENTERPRISE_DEFAULT'
1156
+ | 'CLOUD'
1157
+ | 'ACTIVE_DIRECTORY'
1158
+ | 'DEVICE_LOCAL_ACCOUNT_OVERRIDE_DEPRECATED'
1159
+ | 'PLATFORM'
1160
+ | 'PRIORITY_CLOUD_DEPRECATED'
1161
+ | 'MERGED'
1162
+ | 'COMMAND_LINE'
1163
+ | 'CLOUD_FROM_ASH'
1164
+ | 'RESTRICTED_MANAGED_GUEST_SESSION_OVERRIDE';
944
1165
  /** Output only. The policy value from this lower-priority source. */
945
1166
  value?: string;
946
1167
  }
@@ -949,7 +1170,7 @@ declare namespace gapi.client {
949
1170
  group?: string;
950
1171
  /** Required. Immutable. Non-empty default. The OrgUnit the query applies to. This field is only set if there is a single value for org_unit that satisfies all clauses of the query. */
951
1172
  orgUnit?: string;
952
- /** Immutable. The CEL query that defines which entities the Policy applies to (ex. a User entity). For details about CEL see https://opensource.google.com/projects/cel. The OrgUnits the Policy applies to are represented by a clause like so: entity.org_units.exists(org_unit, org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy applies to are represented by a clause like so: entity.groups.exists(group, group.group_id == groupId('{groupId}')) The Licenses the Policy applies to are represented by a clause like so: entity.licenses.exists(license, license in ['/product/{productId}/sku/{skuId}']) The above clauses can be present in any combination, and used in conjunction with the &&, || and ! operators. The org_unit and group fields below are helper fields that contain the corresponding value(s) as the query to make the query easier to use. */
1173
+ /** Immutable. The CEL query that defines which entities the Policy applies to (ex. a User entity). For details about CEL see https://opensource.google.com/projects/cel. The OrgUnits the Policy applies to are represented by a clause like so: entity.org_units.exists(org_unit, org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy applies to are represented by a clause like so: entity.groups.exists(group, group.group_id == groupId('{groupId}')) The Licenses the Policy applies to are represented by a clause like so: entity.licenses.exists(license, license in ['/product/{productId}/sku/{skuId}']) **Note:** The licenses clause is not supported in mutate endpoints. The above clauses can be present in any combination, and used in conjunction with the &&, || and ! operators. The org_unit and group fields below are helper fields that contain the corresponding value(s) as the query to make the query easier to use. */
953
1174
  query?: string;
954
1175
  /** Output only. The decimal sort order of this PolicyQuery. The value is relative to all other policies with the same setting type for the customer. (There are no duplicates within this set). */
955
1176
  sortOrder?: number;
@@ -964,7 +1185,12 @@ declare namespace gapi.client {
964
1185
  }
965
1186
  interface RestrictionEvaluation {
966
1187
  /** Output only. The current state of the restriction */
967
- state?: string;
1188
+ state?:
1189
+ | 'STATE_UNSPECIFIED'
1190
+ | 'EVALUATING'
1191
+ | 'COMPLIANT'
1192
+ | 'FORWARD_COMPLIANT'
1193
+ | 'NON_COMPLIANT';
968
1194
  }
969
1195
  interface RestrictionEvaluations {
970
1196
  /** Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. */
@@ -1033,13 +1259,13 @@ declare namespace gapi.client {
1033
1259
  }
1034
1260
  interface SignInBehavior {
1035
1261
  /** When to redirect sign-ins to the IdP. */
1036
- redirectCondition?: string;
1262
+ redirectCondition?: 'REDIRECT_CONDITION_UNSPECIFIED' | 'NEVER';
1037
1263
  }
1038
1264
  interface Status {
1039
1265
  /** The status code, which should be an enum value of google.rpc.Code. */
1040
1266
  code?: number;
1041
1267
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1042
- details?: Array<{[P in string]: any}>;
1268
+ details?: {[P in string]: any}[];
1043
1269
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
1044
1270
  message?: string;
1045
1271
  }
@@ -1068,10 +1294,29 @@ declare namespace gapi.client {
1068
1294
  /** Shall be of the form `customers/{customer}/userinvitations/{user_email_address}`. */
1069
1295
  name?: string;
1070
1296
  /** State of the `UserInvitation`. */
1071
- state?: string;
1297
+ state?:
1298
+ | 'STATE_UNSPECIFIED'
1299
+ | 'NOT_YET_SENT'
1300
+ | 'INVITED'
1301
+ | 'ACCEPTED'
1302
+ | 'DECLINED';
1072
1303
  /** Time when the `UserInvitation` was last updated. */
1073
1304
  updateTime?: string;
1074
1305
  }
1306
+ interface WindowsSpecificDeviceAttributes {
1307
+ /** Output only. The hotfixes installed on the device. */
1308
+ hotfixes?: string[];
1309
+ /** Output only. Secure boot mode of the device. */
1310
+ secureBootMode?:
1311
+ | 'SECURE_BOOT_MODE_UNSPECIFIED'
1312
+ | 'SECURE_BOOT_MODE_UNKNOWN'
1313
+ | 'SECURE_BOOT_MODE_ENABLED'
1314
+ | 'SECURE_BOOT_MODE_DISABLED';
1315
+ /** Output only. The domain of the machine that the user is logged into. This is different from the windows_user_domain as the user could be logged into a domain different from the machine domain. */
1316
+ windowsMachineDomain?: string;
1317
+ /** Output only. The domain of the user account that is logged into the machine. */
1318
+ windowsUserDomain?: string;
1319
+ }
1075
1320
  interface WipeDeviceRequest {
1076
1321
  /** 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. */
1077
1322
  customer?: string;
@@ -1094,11 +1339,11 @@ declare namespace gapi.client {
1094
1339
  /** Cancels a UserInvitation that was already sent. */
1095
1340
  cancel(request: {
1096
1341
  /** V1 error format. */
1097
- '$.xgafv'?: string;
1342
+ '$.xgafv'?: '1' | '2';
1098
1343
  /** OAuth access token. */
1099
1344
  access_token?: string;
1100
1345
  /** Data format for response. */
1101
- alt?: string;
1346
+ alt?: 'json' | 'media' | 'proto';
1102
1347
  /** JSONP */
1103
1348
  callback?: string;
1104
1349
  /** Selector specifying which fields to include in a partial response. */
@@ -1123,11 +1368,11 @@ declare namespace gapi.client {
1123
1368
  cancel(
1124
1369
  request: {
1125
1370
  /** V1 error format. */
1126
- '$.xgafv'?: string;
1371
+ '$.xgafv'?: '1' | '2';
1127
1372
  /** OAuth access token. */
1128
1373
  access_token?: string;
1129
1374
  /** Data format for response. */
1130
- alt?: string;
1375
+ alt?: 'json' | 'media' | 'proto';
1131
1376
  /** JSONP */
1132
1377
  callback?: string;
1133
1378
  /** Selector specifying which fields to include in a partial response. */
@@ -1152,11 +1397,11 @@ declare namespace gapi.client {
1152
1397
  /** 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
1398
  get(request?: {
1154
1399
  /** V1 error format. */
1155
- '$.xgafv'?: string;
1400
+ '$.xgafv'?: '1' | '2';
1156
1401
  /** OAuth access token. */
1157
1402
  access_token?: string;
1158
1403
  /** Data format for response. */
1159
- alt?: string;
1404
+ alt?: 'json' | 'media' | 'proto';
1160
1405
  /** JSONP */
1161
1406
  callback?: string;
1162
1407
  /** Selector specifying which fields to include in a partial response. */
@@ -1179,11 +1424,11 @@ declare namespace gapi.client {
1179
1424
  /** 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
1425
  isInvitableUser(request?: {
1181
1426
  /** V1 error format. */
1182
- '$.xgafv'?: string;
1427
+ '$.xgafv'?: '1' | '2';
1183
1428
  /** OAuth access token. */
1184
1429
  access_token?: string;
1185
1430
  /** Data format for response. */
1186
- alt?: string;
1431
+ alt?: 'json' | 'media' | 'proto';
1187
1432
  /** JSONP */
1188
1433
  callback?: string;
1189
1434
  /** Selector specifying which fields to include in a partial response. */
@@ -1206,11 +1451,11 @@ declare namespace gapi.client {
1206
1451
  /** 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
1452
  list(request?: {
1208
1453
  /** V1 error format. */
1209
- '$.xgafv'?: string;
1454
+ '$.xgafv'?: '1' | '2';
1210
1455
  /** OAuth access token. */
1211
1456
  access_token?: string;
1212
1457
  /** Data format for response. */
1213
- alt?: string;
1458
+ alt?: 'json' | 'media' | 'proto';
1214
1459
  /** JSONP */
1215
1460
  callback?: string;
1216
1461
  /** Selector specifying which fields to include in a partial response. */
@@ -1241,11 +1486,11 @@ declare namespace gapi.client {
1241
1486
  /** 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
1487
  send(request: {
1243
1488
  /** V1 error format. */
1244
- '$.xgafv'?: string;
1489
+ '$.xgafv'?: '1' | '2';
1245
1490
  /** OAuth access token. */
1246
1491
  access_token?: string;
1247
1492
  /** Data format for response. */
1248
- alt?: string;
1493
+ alt?: 'json' | 'media' | 'proto';
1249
1494
  /** JSONP */
1250
1495
  callback?: string;
1251
1496
  /** Selector specifying which fields to include in a partial response. */
@@ -1270,11 +1515,11 @@ declare namespace gapi.client {
1270
1515
  send(
1271
1516
  request: {
1272
1517
  /** V1 error format. */
1273
- '$.xgafv'?: string;
1518
+ '$.xgafv'?: '1' | '2';
1274
1519
  /** OAuth access token. */
1275
1520
  access_token?: string;
1276
1521
  /** Data format for response. */
1277
- alt?: string;
1522
+ alt?: 'json' | 'media' | 'proto';
1278
1523
  /** JSONP */
1279
1524
  callback?: string;
1280
1525
  /** Selector specifying which fields to include in a partial response. */
@@ -1304,11 +1549,11 @@ declare namespace gapi.client {
1304
1549
  /** Gets the client state for the device user */
1305
1550
  get(request?: {
1306
1551
  /** V1 error format. */
1307
- '$.xgafv'?: string;
1552
+ '$.xgafv'?: '1' | '2';
1308
1553
  /** OAuth access token. */
1309
1554
  access_token?: string;
1310
1555
  /** Data format for response. */
1311
- alt?: string;
1556
+ alt?: 'json' | 'media' | 'proto';
1312
1557
  /** JSONP */
1313
1558
  callback?: string;
1314
1559
  /** 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 +1578,11 @@ declare namespace gapi.client {
1333
1578
  /** 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
1579
  patch(request: {
1335
1580
  /** V1 error format. */
1336
- '$.xgafv'?: string;
1581
+ '$.xgafv'?: '1' | '2';
1337
1582
  /** OAuth access token. */
1338
1583
  access_token?: string;
1339
1584
  /** Data format for response. */
1340
- alt?: string;
1585
+ alt?: 'json' | 'media' | 'proto';
1341
1586
  /** JSONP */
1342
1587
  callback?: string;
1343
1588
  /** 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 +1611,11 @@ declare namespace gapi.client {
1366
1611
  patch(
1367
1612
  request: {
1368
1613
  /** V1 error format. */
1369
- '$.xgafv'?: string;
1614
+ '$.xgafv'?: '1' | '2';
1370
1615
  /** OAuth access token. */
1371
1616
  access_token?: string;
1372
1617
  /** Data format for response. */
1373
- alt?: string;
1618
+ alt?: 'json' | 'media' | 'proto';
1374
1619
  /** JSONP */
1375
1620
  callback?: string;
1376
1621
  /** 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 +1646,11 @@ declare namespace gapi.client {
1401
1646
  /** Approves device to access user data. */
1402
1647
  approve(request: {
1403
1648
  /** V1 error format. */
1404
- '$.xgafv'?: string;
1649
+ '$.xgafv'?: '1' | '2';
1405
1650
  /** OAuth access token. */
1406
1651
  access_token?: string;
1407
1652
  /** Data format for response. */
1408
- alt?: string;
1653
+ alt?: 'json' | 'media' | 'proto';
1409
1654
  /** JSONP */
1410
1655
  callback?: string;
1411
1656
  /** Selector specifying which fields to include in a partial response. */
@@ -1430,11 +1675,11 @@ declare namespace gapi.client {
1430
1675
  approve(
1431
1676
  request: {
1432
1677
  /** V1 error format. */
1433
- '$.xgafv'?: string;
1678
+ '$.xgafv'?: '1' | '2';
1434
1679
  /** OAuth access token. */
1435
1680
  access_token?: string;
1436
1681
  /** Data format for response. */
1437
- alt?: string;
1682
+ alt?: 'json' | 'media' | 'proto';
1438
1683
  /** JSONP */
1439
1684
  callback?: string;
1440
1685
  /** Selector specifying which fields to include in a partial response. */
@@ -1459,11 +1704,11 @@ declare namespace gapi.client {
1459
1704
  /** Blocks device from accessing user data */
1460
1705
  block(request: {
1461
1706
  /** V1 error format. */
1462
- '$.xgafv'?: string;
1707
+ '$.xgafv'?: '1' | '2';
1463
1708
  /** OAuth access token. */
1464
1709
  access_token?: string;
1465
1710
  /** Data format for response. */
1466
- alt?: string;
1711
+ alt?: 'json' | 'media' | 'proto';
1467
1712
  /** JSONP */
1468
1713
  callback?: string;
1469
1714
  /** Selector specifying which fields to include in a partial response. */
@@ -1488,11 +1733,11 @@ declare namespace gapi.client {
1488
1733
  block(
1489
1734
  request: {
1490
1735
  /** V1 error format. */
1491
- '$.xgafv'?: string;
1736
+ '$.xgafv'?: '1' | '2';
1492
1737
  /** OAuth access token. */
1493
1738
  access_token?: string;
1494
1739
  /** Data format for response. */
1495
- alt?: string;
1740
+ alt?: 'json' | 'media' | 'proto';
1496
1741
  /** JSONP */
1497
1742
  callback?: string;
1498
1743
  /** Selector specifying which fields to include in a partial response. */
@@ -1517,11 +1762,11 @@ declare namespace gapi.client {
1517
1762
  /** 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
1763
  cancelWipe(request: {
1519
1764
  /** V1 error format. */
1520
- '$.xgafv'?: string;
1765
+ '$.xgafv'?: '1' | '2';
1521
1766
  /** OAuth access token. */
1522
1767
  access_token?: string;
1523
1768
  /** Data format for response. */
1524
- alt?: string;
1769
+ alt?: 'json' | 'media' | 'proto';
1525
1770
  /** JSONP */
1526
1771
  callback?: string;
1527
1772
  /** Selector specifying which fields to include in a partial response. */
@@ -1546,11 +1791,11 @@ declare namespace gapi.client {
1546
1791
  cancelWipe(
1547
1792
  request: {
1548
1793
  /** V1 error format. */
1549
- '$.xgafv'?: string;
1794
+ '$.xgafv'?: '1' | '2';
1550
1795
  /** OAuth access token. */
1551
1796
  access_token?: string;
1552
1797
  /** Data format for response. */
1553
- alt?: string;
1798
+ alt?: 'json' | 'media' | 'proto';
1554
1799
  /** JSONP */
1555
1800
  callback?: string;
1556
1801
  /** Selector specifying which fields to include in a partial response. */
@@ -1575,11 +1820,11 @@ declare namespace gapi.client {
1575
1820
  /** Deletes the specified DeviceUser. This also revokes the user's access to device data. */
1576
1821
  delete(request?: {
1577
1822
  /** V1 error format. */
1578
- '$.xgafv'?: string;
1823
+ '$.xgafv'?: '1' | '2';
1579
1824
  /** OAuth access token. */
1580
1825
  access_token?: string;
1581
1826
  /** Data format for response. */
1582
- alt?: string;
1827
+ alt?: 'json' | 'media' | 'proto';
1583
1828
  /** JSONP */
1584
1829
  callback?: string;
1585
1830
  /** 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 +1849,11 @@ declare namespace gapi.client {
1604
1849
  /** Retrieves the specified DeviceUser */
1605
1850
  get(request?: {
1606
1851
  /** V1 error format. */
1607
- '$.xgafv'?: string;
1852
+ '$.xgafv'?: '1' | '2';
1608
1853
  /** OAuth access token. */
1609
1854
  access_token?: string;
1610
1855
  /** Data format for response. */
1611
- alt?: string;
1856
+ alt?: 'json' | 'media' | 'proto';
1612
1857
  /** JSONP */
1613
1858
  callback?: string;
1614
1859
  /** 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 +1878,11 @@ declare namespace gapi.client {
1633
1878
  /** Lists/Searches DeviceUsers. */
1634
1879
  list(request?: {
1635
1880
  /** V1 error format. */
1636
- '$.xgafv'?: string;
1881
+ '$.xgafv'?: '1' | '2';
1637
1882
  /** OAuth access token. */
1638
1883
  access_token?: string;
1639
1884
  /** Data format for response. */
1640
- alt?: string;
1885
+ alt?: 'json' | 'media' | 'proto';
1641
1886
  /** JSONP */
1642
1887
  callback?: string;
1643
1888
  /** 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 +1915,11 @@ declare namespace gapi.client {
1670
1915
  /** 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
1916
  lookup(request?: {
1672
1917
  /** V1 error format. */
1673
- '$.xgafv'?: string;
1918
+ '$.xgafv'?: '1' | '2';
1674
1919
  /** OAuth access token. */
1675
1920
  access_token?: string;
1676
1921
  /** Data format for response. */
1677
- alt?: string;
1922
+ alt?: 'json' | 'media' | 'proto';
1678
1923
  /** Android Id returned by [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID). */
1679
1924
  androidId?: string;
1680
1925
  /** JSONP */
@@ -1711,11 +1956,11 @@ declare namespace gapi.client {
1711
1956
  /** Wipes the user's account on a device. */
1712
1957
  wipe(request: {
1713
1958
  /** V1 error format. */
1714
- '$.xgafv'?: string;
1959
+ '$.xgafv'?: '1' | '2';
1715
1960
  /** OAuth access token. */
1716
1961
  access_token?: string;
1717
1962
  /** Data format for response. */
1718
- alt?: string;
1963
+ alt?: 'json' | 'media' | 'proto';
1719
1964
  /** JSONP */
1720
1965
  callback?: string;
1721
1966
  /** Selector specifying which fields to include in a partial response. */
@@ -1740,11 +1985,11 @@ declare namespace gapi.client {
1740
1985
  wipe(
1741
1986
  request: {
1742
1987
  /** V1 error format. */
1743
- '$.xgafv'?: string;
1988
+ '$.xgafv'?: '1' | '2';
1744
1989
  /** OAuth access token. */
1745
1990
  access_token?: string;
1746
1991
  /** Data format for response. */
1747
- alt?: string;
1992
+ alt?: 'json' | 'media' | 'proto';
1748
1993
  /** JSONP */
1749
1994
  callback?: string;
1750
1995
  /** Selector specifying which fields to include in a partial response. */
@@ -1772,11 +2017,11 @@ declare namespace gapi.client {
1772
2017
  /** 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
2018
  cancelWipe(request: {
1774
2019
  /** V1 error format. */
1775
- '$.xgafv'?: string;
2020
+ '$.xgafv'?: '1' | '2';
1776
2021
  /** OAuth access token. */
1777
2022
  access_token?: string;
1778
2023
  /** Data format for response. */
1779
- alt?: string;
2024
+ alt?: 'json' | 'media' | 'proto';
1780
2025
  /** JSONP */
1781
2026
  callback?: string;
1782
2027
  /** Selector specifying which fields to include in a partial response. */
@@ -1801,11 +2046,11 @@ declare namespace gapi.client {
1801
2046
  cancelWipe(
1802
2047
  request: {
1803
2048
  /** V1 error format. */
1804
- '$.xgafv'?: string;
2049
+ '$.xgafv'?: '1' | '2';
1805
2050
  /** OAuth access token. */
1806
2051
  access_token?: string;
1807
2052
  /** Data format for response. */
1808
- alt?: string;
2053
+ alt?: 'json' | 'media' | 'proto';
1809
2054
  /** JSONP */
1810
2055
  callback?: string;
1811
2056
  /** Selector specifying which fields to include in a partial response. */
@@ -1830,11 +2075,11 @@ declare namespace gapi.client {
1830
2075
  /** 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
2076
  create(request: {
1832
2077
  /** V1 error format. */
1833
- '$.xgafv'?: string;
2078
+ '$.xgafv'?: '1' | '2';
1834
2079
  /** OAuth access token. */
1835
2080
  access_token?: string;
1836
2081
  /** Data format for response. */
1837
- alt?: string;
2082
+ alt?: 'json' | 'media' | 'proto';
1838
2083
  /** JSONP */
1839
2084
  callback?: string;
1840
2085
  /** Selector specifying which fields to include in a partial response. */
@@ -1857,11 +2102,11 @@ declare namespace gapi.client {
1857
2102
  create(
1858
2103
  request: {
1859
2104
  /** V1 error format. */
1860
- '$.xgafv'?: string;
2105
+ '$.xgafv'?: '1' | '2';
1861
2106
  /** OAuth access token. */
1862
2107
  access_token?: string;
1863
2108
  /** Data format for response. */
1864
- alt?: string;
2109
+ alt?: 'json' | 'media' | 'proto';
1865
2110
  /** JSONP */
1866
2111
  callback?: string;
1867
2112
  /** Selector specifying which fields to include in a partial response. */
@@ -1884,11 +2129,11 @@ declare namespace gapi.client {
1884
2129
  /** Deletes the specified device. */
1885
2130
  delete(request?: {
1886
2131
  /** V1 error format. */
1887
- '$.xgafv'?: string;
2132
+ '$.xgafv'?: '1' | '2';
1888
2133
  /** OAuth access token. */
1889
2134
  access_token?: string;
1890
2135
  /** Data format for response. */
1891
- alt?: string;
2136
+ alt?: 'json' | 'media' | 'proto';
1892
2137
  /** JSONP */
1893
2138
  callback?: string;
1894
2139
  /** 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 +2158,11 @@ declare namespace gapi.client {
1913
2158
  /** Retrieves the specified device. */
1914
2159
  get(request?: {
1915
2160
  /** V1 error format. */
1916
- '$.xgafv'?: string;
2161
+ '$.xgafv'?: '1' | '2';
1917
2162
  /** OAuth access token. */
1918
2163
  access_token?: string;
1919
2164
  /** Data format for response. */
1920
- alt?: string;
2165
+ alt?: 'json' | 'media' | 'proto';
1921
2166
  /** JSONP */
1922
2167
  callback?: string;
1923
2168
  /** 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 +2187,11 @@ declare namespace gapi.client {
1942
2187
  /** Lists/Searches devices. */
1943
2188
  list(request?: {
1944
2189
  /** V1 error format. */
1945
- '$.xgafv'?: string;
2190
+ '$.xgafv'?: '1' | '2';
1946
2191
  /** OAuth access token. */
1947
2192
  access_token?: string;
1948
2193
  /** Data format for response. */
1949
- alt?: string;
2194
+ alt?: 'json' | 'media' | 'proto';
1950
2195
  /** JSONP */
1951
2196
  callback?: string;
1952
2197
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. */
@@ -1974,16 +2219,19 @@ declare namespace gapi.client {
1974
2219
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1975
2220
  uploadType?: string;
1976
2221
  /** Optional. The view to use for the List request. */
1977
- view?: string;
2222
+ view?:
2223
+ | 'VIEW_UNSPECIFIED'
2224
+ | 'COMPANY_INVENTORY'
2225
+ | 'USER_ASSIGNED_DEVICES';
1978
2226
  }): Request<ListDevicesResponse>;
1979
2227
  /** Wipes all data on the specified device. */
1980
2228
  wipe(request: {
1981
2229
  /** V1 error format. */
1982
- '$.xgafv'?: string;
2230
+ '$.xgafv'?: '1' | '2';
1983
2231
  /** OAuth access token. */
1984
2232
  access_token?: string;
1985
2233
  /** Data format for response. */
1986
- alt?: string;
2234
+ alt?: 'json' | 'media' | 'proto';
1987
2235
  /** JSONP */
1988
2236
  callback?: string;
1989
2237
  /** Selector specifying which fields to include in a partial response. */
@@ -2008,11 +2256,11 @@ declare namespace gapi.client {
2008
2256
  wipe(
2009
2257
  request: {
2010
2258
  /** V1 error format. */
2011
- '$.xgafv'?: string;
2259
+ '$.xgafv'?: '1' | '2';
2012
2260
  /** OAuth access token. */
2013
2261
  access_token?: string;
2014
2262
  /** Data format for response. */
2015
- alt?: string;
2263
+ alt?: 'json' | 'media' | 'proto';
2016
2264
  /** JSONP */
2017
2265
  callback?: string;
2018
2266
  /** Selector specifying which fields to include in a partial response. */
@@ -2040,11 +2288,11 @@ declare namespace gapi.client {
2040
2288
  /** 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
2289
  checkTransitiveMembership(request?: {
2042
2290
  /** V1 error format. */
2043
- '$.xgafv'?: string;
2291
+ '$.xgafv'?: '1' | '2';
2044
2292
  /** OAuth access token. */
2045
2293
  access_token?: string;
2046
2294
  /** Data format for response. */
2047
- alt?: string;
2295
+ alt?: 'json' | 'media' | 'proto';
2048
2296
  /** JSONP */
2049
2297
  callback?: string;
2050
2298
  /** Selector specifying which fields to include in a partial response. */
@@ -2069,11 +2317,11 @@ declare namespace gapi.client {
2069
2317
  /** Creates a `Membership`. */
2070
2318
  create(request: {
2071
2319
  /** V1 error format. */
2072
- '$.xgafv'?: string;
2320
+ '$.xgafv'?: '1' | '2';
2073
2321
  /** OAuth access token. */
2074
2322
  access_token?: string;
2075
2323
  /** Data format for response. */
2076
- alt?: string;
2324
+ alt?: 'json' | 'media' | 'proto';
2077
2325
  /** JSONP */
2078
2326
  callback?: string;
2079
2327
  /** Selector specifying which fields to include in a partial response. */
@@ -2098,11 +2346,11 @@ declare namespace gapi.client {
2098
2346
  create(
2099
2347
  request: {
2100
2348
  /** V1 error format. */
2101
- '$.xgafv'?: string;
2349
+ '$.xgafv'?: '1' | '2';
2102
2350
  /** OAuth access token. */
2103
2351
  access_token?: string;
2104
2352
  /** Data format for response. */
2105
- alt?: string;
2353
+ alt?: 'json' | 'media' | 'proto';
2106
2354
  /** JSONP */
2107
2355
  callback?: string;
2108
2356
  /** Selector specifying which fields to include in a partial response. */
@@ -2127,11 +2375,11 @@ declare namespace gapi.client {
2127
2375
  /** Deletes a `Membership`. */
2128
2376
  delete(request?: {
2129
2377
  /** V1 error format. */
2130
- '$.xgafv'?: string;
2378
+ '$.xgafv'?: '1' | '2';
2131
2379
  /** OAuth access token. */
2132
2380
  access_token?: string;
2133
2381
  /** Data format for response. */
2134
- alt?: string;
2382
+ alt?: 'json' | 'media' | 'proto';
2135
2383
  /** JSONP */
2136
2384
  callback?: string;
2137
2385
  /** Selector specifying which fields to include in a partial response. */
@@ -2154,11 +2402,11 @@ declare namespace gapi.client {
2154
2402
  /** Retrieves a `Membership`. */
2155
2403
  get(request?: {
2156
2404
  /** V1 error format. */
2157
- '$.xgafv'?: string;
2405
+ '$.xgafv'?: '1' | '2';
2158
2406
  /** OAuth access token. */
2159
2407
  access_token?: string;
2160
2408
  /** Data format for response. */
2161
- alt?: string;
2409
+ alt?: 'json' | 'media' | 'proto';
2162
2410
  /** JSONP */
2163
2411
  callback?: string;
2164
2412
  /** Selector specifying which fields to include in a partial response. */
@@ -2181,11 +2429,11 @@ declare namespace gapi.client {
2181
2429
  /** 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
2430
  getMembershipGraph(request?: {
2183
2431
  /** V1 error format. */
2184
- '$.xgafv'?: string;
2432
+ '$.xgafv'?: '1' | '2';
2185
2433
  /** OAuth access token. */
2186
2434
  access_token?: string;
2187
2435
  /** Data format for response. */
2188
- alt?: string;
2436
+ alt?: 'json' | 'media' | 'proto';
2189
2437
  /** JSONP */
2190
2438
  callback?: string;
2191
2439
  /** Selector specifying which fields to include in a partial response. */
@@ -2210,11 +2458,11 @@ declare namespace gapi.client {
2210
2458
  /** Lists the `Membership`s within a `Group`. */
2211
2459
  list(request?: {
2212
2460
  /** V1 error format. */
2213
- '$.xgafv'?: string;
2461
+ '$.xgafv'?: '1' | '2';
2214
2462
  /** OAuth access token. */
2215
2463
  access_token?: string;
2216
2464
  /** Data format for response. */
2217
- alt?: string;
2465
+ alt?: 'json' | 'media' | 'proto';
2218
2466
  /** JSONP */
2219
2467
  callback?: string;
2220
2468
  /** Selector specifying which fields to include in a partial response. */
@@ -2238,16 +2486,16 @@ declare namespace gapi.client {
2238
2486
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2239
2487
  uploadType?: string;
2240
2488
  /** The level of detail to be returned. If unspecified, defaults to `MembershipView.BASIC`. */
2241
- view?: string;
2489
+ view?: 'BASIC' | 'FULL';
2242
2490
  }): Request<ListMembershipsResponse>;
2243
2491
  /** Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Membership` by its `EntityKey`. */
2244
2492
  lookup(request?: {
2245
2493
  /** V1 error format. */
2246
- '$.xgafv'?: string;
2494
+ '$.xgafv'?: '1' | '2';
2247
2495
  /** OAuth access token. */
2248
2496
  access_token?: string;
2249
2497
  /** Data format for response. */
2250
- alt?: string;
2498
+ alt?: 'json' | 'media' | 'proto';
2251
2499
  /** JSONP */
2252
2500
  callback?: string;
2253
2501
  /** Selector specifying which fields to include in a partial response. */
@@ -2274,11 +2522,11 @@ declare namespace gapi.client {
2274
2522
  /** Modifies the `MembershipRole`s of a `Membership`. */
2275
2523
  modifyMembershipRoles(request: {
2276
2524
  /** V1 error format. */
2277
- '$.xgafv'?: string;
2525
+ '$.xgafv'?: '1' | '2';
2278
2526
  /** OAuth access token. */
2279
2527
  access_token?: string;
2280
2528
  /** Data format for response. */
2281
- alt?: string;
2529
+ alt?: 'json' | 'media' | 'proto';
2282
2530
  /** JSONP */
2283
2531
  callback?: string;
2284
2532
  /** Selector specifying which fields to include in a partial response. */
@@ -2303,11 +2551,11 @@ declare namespace gapi.client {
2303
2551
  modifyMembershipRoles(
2304
2552
  request: {
2305
2553
  /** V1 error format. */
2306
- '$.xgafv'?: string;
2554
+ '$.xgafv'?: '1' | '2';
2307
2555
  /** OAuth access token. */
2308
2556
  access_token?: string;
2309
2557
  /** Data format for response. */
2310
- alt?: string;
2558
+ alt?: 'json' | 'media' | 'proto';
2311
2559
  /** JSONP */
2312
2560
  callback?: string;
2313
2561
  /** Selector specifying which fields to include in a partial response. */
@@ -2332,11 +2580,11 @@ declare namespace gapi.client {
2332
2580
  /** Searches direct groups of a member. */
2333
2581
  searchDirectGroups(request?: {
2334
2582
  /** V1 error format. */
2335
- '$.xgafv'?: string;
2583
+ '$.xgafv'?: '1' | '2';
2336
2584
  /** OAuth access token. */
2337
2585
  access_token?: string;
2338
2586
  /** Data format for response. */
2339
- alt?: string;
2587
+ alt?: 'json' | 'media' | 'proto';
2340
2588
  /** JSONP */
2341
2589
  callback?: string;
2342
2590
  /** Selector specifying which fields to include in a partial response. */
@@ -2367,11 +2615,11 @@ declare namespace gapi.client {
2367
2615
  /** 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
2616
  searchTransitiveGroups(request?: {
2369
2617
  /** V1 error format. */
2370
- '$.xgafv'?: string;
2618
+ '$.xgafv'?: '1' | '2';
2371
2619
  /** OAuth access token. */
2372
2620
  access_token?: string;
2373
2621
  /** Data format for response. */
2374
- alt?: string;
2622
+ alt?: 'json' | 'media' | 'proto';
2375
2623
  /** JSONP */
2376
2624
  callback?: string;
2377
2625
  /** Selector specifying which fields to include in a partial response. */
@@ -2400,11 +2648,11 @@ declare namespace gapi.client {
2400
2648
  /** 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
2649
  searchTransitiveMemberships(request?: {
2402
2650
  /** V1 error format. */
2403
- '$.xgafv'?: string;
2651
+ '$.xgafv'?: '1' | '2';
2404
2652
  /** OAuth access token. */
2405
2653
  access_token?: string;
2406
2654
  /** Data format for response. */
2407
- alt?: string;
2655
+ alt?: 'json' | 'media' | 'proto';
2408
2656
  /** JSONP */
2409
2657
  callback?: string;
2410
2658
  /** Selector specifying which fields to include in a partial response. */
@@ -2433,17 +2681,20 @@ declare namespace gapi.client {
2433
2681
  /** Creates a `Group`. */
2434
2682
  create(request: {
2435
2683
  /** V1 error format. */
2436
- '$.xgafv'?: string;
2684
+ '$.xgafv'?: '1' | '2';
2437
2685
  /** OAuth access token. */
2438
2686
  access_token?: string;
2439
2687
  /** Data format for response. */
2440
- alt?: string;
2688
+ alt?: 'json' | 'media' | 'proto';
2441
2689
  /** JSONP */
2442
2690
  callback?: string;
2443
2691
  /** Selector specifying which fields to include in a partial response. */
2444
2692
  fields?: string;
2445
2693
  /** Required. The initial configuration option for the `Group`. */
2446
- initialGroupConfig?: string;
2694
+ initialGroupConfig?:
2695
+ | 'INITIAL_GROUP_CONFIG_UNSPECIFIED'
2696
+ | 'WITH_INITIAL_OWNER'
2697
+ | 'EMPTY';
2447
2698
  /** 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
2699
  key?: string;
2449
2700
  /** OAuth 2.0 token for the current user. */
@@ -2462,17 +2713,20 @@ declare namespace gapi.client {
2462
2713
  create(
2463
2714
  request: {
2464
2715
  /** V1 error format. */
2465
- '$.xgafv'?: string;
2716
+ '$.xgafv'?: '1' | '2';
2466
2717
  /** OAuth access token. */
2467
2718
  access_token?: string;
2468
2719
  /** Data format for response. */
2469
- alt?: string;
2720
+ alt?: 'json' | 'media' | 'proto';
2470
2721
  /** JSONP */
2471
2722
  callback?: string;
2472
2723
  /** Selector specifying which fields to include in a partial response. */
2473
2724
  fields?: string;
2474
2725
  /** Required. The initial configuration option for the `Group`. */
2475
- initialGroupConfig?: string;
2726
+ initialGroupConfig?:
2727
+ | 'INITIAL_GROUP_CONFIG_UNSPECIFIED'
2728
+ | 'WITH_INITIAL_OWNER'
2729
+ | 'EMPTY';
2476
2730
  /** 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
2731
  key?: string;
2478
2732
  /** OAuth 2.0 token for the current user. */
@@ -2491,11 +2745,11 @@ declare namespace gapi.client {
2491
2745
  /** Deletes a `Group`. */
2492
2746
  delete(request?: {
2493
2747
  /** V1 error format. */
2494
- '$.xgafv'?: string;
2748
+ '$.xgafv'?: '1' | '2';
2495
2749
  /** OAuth access token. */
2496
2750
  access_token?: string;
2497
2751
  /** Data format for response. */
2498
- alt?: string;
2752
+ alt?: 'json' | 'media' | 'proto';
2499
2753
  /** JSONP */
2500
2754
  callback?: string;
2501
2755
  /** Selector specifying which fields to include in a partial response. */
@@ -2518,11 +2772,11 @@ declare namespace gapi.client {
2518
2772
  /** Retrieves a `Group`. */
2519
2773
  get(request?: {
2520
2774
  /** V1 error format. */
2521
- '$.xgafv'?: string;
2775
+ '$.xgafv'?: '1' | '2';
2522
2776
  /** OAuth access token. */
2523
2777
  access_token?: string;
2524
2778
  /** Data format for response. */
2525
- alt?: string;
2779
+ alt?: 'json' | 'media' | 'proto';
2526
2780
  /** JSONP */
2527
2781
  callback?: string;
2528
2782
  /** Selector specifying which fields to include in a partial response. */
@@ -2545,11 +2799,11 @@ declare namespace gapi.client {
2545
2799
  /** Get Security Settings */
2546
2800
  getSecuritySettings(request?: {
2547
2801
  /** V1 error format. */
2548
- '$.xgafv'?: string;
2802
+ '$.xgafv'?: '1' | '2';
2549
2803
  /** OAuth access token. */
2550
2804
  access_token?: string;
2551
2805
  /** Data format for response. */
2552
- alt?: string;
2806
+ alt?: 'json' | 'media' | 'proto';
2553
2807
  /** JSONP */
2554
2808
  callback?: string;
2555
2809
  /** Selector specifying which fields to include in a partial response. */
@@ -2574,11 +2828,11 @@ declare namespace gapi.client {
2574
2828
  /** Lists the `Group` resources under a customer or namespace. */
2575
2829
  list(request?: {
2576
2830
  /** V1 error format. */
2577
- '$.xgafv'?: string;
2831
+ '$.xgafv'?: '1' | '2';
2578
2832
  /** OAuth access token. */
2579
2833
  access_token?: string;
2580
2834
  /** Data format for response. */
2581
- alt?: string;
2835
+ alt?: 'json' | 'media' | 'proto';
2582
2836
  /** JSONP */
2583
2837
  callback?: string;
2584
2838
  /** Selector specifying which fields to include in a partial response. */
@@ -2602,16 +2856,16 @@ declare namespace gapi.client {
2602
2856
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2603
2857
  uploadType?: string;
2604
2858
  /** The level of detail to be returned. If unspecified, defaults to `View.BASIC`. */
2605
- view?: string;
2859
+ view?: 'VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
2606
2860
  }): Request<ListGroupsResponse>;
2607
2861
  /** Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Group` by its `EntityKey`. */
2608
2862
  lookup(request?: {
2609
2863
  /** V1 error format. */
2610
- '$.xgafv'?: string;
2864
+ '$.xgafv'?: '1' | '2';
2611
2865
  /** OAuth access token. */
2612
2866
  access_token?: string;
2613
2867
  /** Data format for response. */
2614
- alt?: string;
2868
+ alt?: 'json' | 'media' | 'proto';
2615
2869
  /** JSONP */
2616
2870
  callback?: string;
2617
2871
  /** Selector specifying which fields to include in a partial response. */
@@ -2636,11 +2890,11 @@ declare namespace gapi.client {
2636
2890
  /** Updates a `Group`. */
2637
2891
  patch(request: {
2638
2892
  /** V1 error format. */
2639
- '$.xgafv'?: string;
2893
+ '$.xgafv'?: '1' | '2';
2640
2894
  /** OAuth access token. */
2641
2895
  access_token?: string;
2642
2896
  /** Data format for response. */
2643
- alt?: string;
2897
+ alt?: 'json' | 'media' | 'proto';
2644
2898
  /** JSONP */
2645
2899
  callback?: string;
2646
2900
  /** Selector specifying which fields to include in a partial response. */
@@ -2667,11 +2921,11 @@ declare namespace gapi.client {
2667
2921
  patch(
2668
2922
  request: {
2669
2923
  /** V1 error format. */
2670
- '$.xgafv'?: string;
2924
+ '$.xgafv'?: '1' | '2';
2671
2925
  /** OAuth access token. */
2672
2926
  access_token?: string;
2673
2927
  /** Data format for response. */
2674
- alt?: string;
2928
+ alt?: 'json' | 'media' | 'proto';
2675
2929
  /** JSONP */
2676
2930
  callback?: string;
2677
2931
  /** Selector specifying which fields to include in a partial response. */
@@ -2698,11 +2952,11 @@ declare namespace gapi.client {
2698
2952
  /** Searches for `Group` resources matching a specified query. */
2699
2953
  search(request?: {
2700
2954
  /** V1 error format. */
2701
- '$.xgafv'?: string;
2955
+ '$.xgafv'?: '1' | '2';
2702
2956
  /** OAuth access token. */
2703
2957
  access_token?: string;
2704
2958
  /** Data format for response. */
2705
- alt?: string;
2959
+ alt?: 'json' | 'media' | 'proto';
2706
2960
  /** JSONP */
2707
2961
  callback?: string;
2708
2962
  /** Selector specifying which fields to include in a partial response. */
@@ -2728,16 +2982,16 @@ declare namespace gapi.client {
2728
2982
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2729
2983
  uploadType?: string;
2730
2984
  /** The level of detail to be returned. If unspecified, defaults to `View.BASIC`. */
2731
- view?: string;
2985
+ view?: 'BASIC' | 'FULL';
2732
2986
  }): Request<SearchGroupsResponse>;
2733
2987
  /** Update Security Settings */
2734
2988
  updateSecuritySettings(request: {
2735
2989
  /** V1 error format. */
2736
- '$.xgafv'?: string;
2990
+ '$.xgafv'?: '1' | '2';
2737
2991
  /** OAuth access token. */
2738
2992
  access_token?: string;
2739
2993
  /** Data format for response. */
2740
- alt?: string;
2994
+ alt?: 'json' | 'media' | 'proto';
2741
2995
  /** JSONP */
2742
2996
  callback?: string;
2743
2997
  /** Selector specifying which fields to include in a partial response. */
@@ -2764,11 +3018,11 @@ declare namespace gapi.client {
2764
3018
  updateSecuritySettings(
2765
3019
  request: {
2766
3020
  /** V1 error format. */
2767
- '$.xgafv'?: string;
3021
+ '$.xgafv'?: '1' | '2';
2768
3022
  /** OAuth access token. */
2769
3023
  access_token?: string;
2770
3024
  /** Data format for response. */
2771
- alt?: string;
3025
+ alt?: 'json' | 'media' | 'proto';
2772
3026
  /** JSONP */
2773
3027
  callback?: string;
2774
3028
  /** Selector specifying which fields to include in a partial response. */
@@ -2798,11 +3052,11 @@ declare namespace gapi.client {
2798
3052
  /** 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
3053
  create(request: {
2800
3054
  /** V1 error format. */
2801
- '$.xgafv'?: string;
3055
+ '$.xgafv'?: '1' | '2';
2802
3056
  /** OAuth access token. */
2803
3057
  access_token?: string;
2804
3058
  /** Data format for response. */
2805
- alt?: string;
3059
+ alt?: 'json' | 'media' | 'proto';
2806
3060
  /** JSONP */
2807
3061
  callback?: string;
2808
3062
  /** Selector specifying which fields to include in a partial response. */
@@ -2825,11 +3079,11 @@ declare namespace gapi.client {
2825
3079
  create(
2826
3080
  request: {
2827
3081
  /** V1 error format. */
2828
- '$.xgafv'?: string;
3082
+ '$.xgafv'?: '1' | '2';
2829
3083
  /** OAuth access token. */
2830
3084
  access_token?: string;
2831
3085
  /** Data format for response. */
2832
- alt?: string;
3086
+ alt?: 'json' | 'media' | 'proto';
2833
3087
  /** JSONP */
2834
3088
  callback?: string;
2835
3089
  /** Selector specifying which fields to include in a partial response. */
@@ -2852,11 +3106,11 @@ declare namespace gapi.client {
2852
3106
  /** Deletes an InboundOidcSsoProfile. */
2853
3107
  delete(request?: {
2854
3108
  /** V1 error format. */
2855
- '$.xgafv'?: string;
3109
+ '$.xgafv'?: '1' | '2';
2856
3110
  /** OAuth access token. */
2857
3111
  access_token?: string;
2858
3112
  /** Data format for response. */
2859
- alt?: string;
3113
+ alt?: 'json' | 'media' | 'proto';
2860
3114
  /** JSONP */
2861
3115
  callback?: string;
2862
3116
  /** Selector specifying which fields to include in a partial response. */
@@ -2879,11 +3133,11 @@ declare namespace gapi.client {
2879
3133
  /** Gets an InboundOidcSsoProfile. */
2880
3134
  get(request?: {
2881
3135
  /** V1 error format. */
2882
- '$.xgafv'?: string;
3136
+ '$.xgafv'?: '1' | '2';
2883
3137
  /** OAuth access token. */
2884
3138
  access_token?: string;
2885
3139
  /** Data format for response. */
2886
- alt?: string;
3140
+ alt?: 'json' | 'media' | 'proto';
2887
3141
  /** JSONP */
2888
3142
  callback?: string;
2889
3143
  /** Selector specifying which fields to include in a partial response. */
@@ -2906,11 +3160,11 @@ declare namespace gapi.client {
2906
3160
  /** Lists InboundOidcSsoProfile objects for a Google enterprise customer. */
2907
3161
  list(request?: {
2908
3162
  /** V1 error format. */
2909
- '$.xgafv'?: string;
3163
+ '$.xgafv'?: '1' | '2';
2910
3164
  /** OAuth access token. */
2911
3165
  access_token?: string;
2912
3166
  /** Data format for response. */
2913
- alt?: string;
3167
+ alt?: 'json' | 'media' | 'proto';
2914
3168
  /** JSONP */
2915
3169
  callback?: string;
2916
3170
  /** Selector specifying which fields to include in a partial response. */
@@ -2937,11 +3191,11 @@ declare namespace gapi.client {
2937
3191
  /** 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
3192
  patch(request: {
2939
3193
  /** V1 error format. */
2940
- '$.xgafv'?: string;
3194
+ '$.xgafv'?: '1' | '2';
2941
3195
  /** OAuth access token. */
2942
3196
  access_token?: string;
2943
3197
  /** Data format for response. */
2944
- alt?: string;
3198
+ alt?: 'json' | 'media' | 'proto';
2945
3199
  /** JSONP */
2946
3200
  callback?: string;
2947
3201
  /** Selector specifying which fields to include in a partial response. */
@@ -2968,11 +3222,11 @@ declare namespace gapi.client {
2968
3222
  patch(
2969
3223
  request: {
2970
3224
  /** V1 error format. */
2971
- '$.xgafv'?: string;
3225
+ '$.xgafv'?: '1' | '2';
2972
3226
  /** OAuth access token. */
2973
3227
  access_token?: string;
2974
3228
  /** Data format for response. */
2975
- alt?: string;
3229
+ alt?: 'json' | 'media' | 'proto';
2976
3230
  /** JSONP */
2977
3231
  callback?: string;
2978
3232
  /** Selector specifying which fields to include in a partial response. */
@@ -3001,11 +3255,11 @@ declare namespace gapi.client {
3001
3255
  /** 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
3256
  add(request: {
3003
3257
  /** V1 error format. */
3004
- '$.xgafv'?: string;
3258
+ '$.xgafv'?: '1' | '2';
3005
3259
  /** OAuth access token. */
3006
3260
  access_token?: string;
3007
3261
  /** Data format for response. */
3008
- alt?: string;
3262
+ alt?: 'json' | 'media' | 'proto';
3009
3263
  /** JSONP */
3010
3264
  callback?: string;
3011
3265
  /** Selector specifying which fields to include in a partial response. */
@@ -3030,11 +3284,11 @@ declare namespace gapi.client {
3030
3284
  add(
3031
3285
  request: {
3032
3286
  /** V1 error format. */
3033
- '$.xgafv'?: string;
3287
+ '$.xgafv'?: '1' | '2';
3034
3288
  /** OAuth access token. */
3035
3289
  access_token?: string;
3036
3290
  /** Data format for response. */
3037
- alt?: string;
3291
+ alt?: 'json' | 'media' | 'proto';
3038
3292
  /** JSONP */
3039
3293
  callback?: string;
3040
3294
  /** Selector specifying which fields to include in a partial response. */
@@ -3059,11 +3313,11 @@ declare namespace gapi.client {
3059
3313
  /** Deletes an IdpCredential. */
3060
3314
  delete(request?: {
3061
3315
  /** V1 error format. */
3062
- '$.xgafv'?: string;
3316
+ '$.xgafv'?: '1' | '2';
3063
3317
  /** OAuth access token. */
3064
3318
  access_token?: string;
3065
3319
  /** Data format for response. */
3066
- alt?: string;
3320
+ alt?: 'json' | 'media' | 'proto';
3067
3321
  /** JSONP */
3068
3322
  callback?: string;
3069
3323
  /** Selector specifying which fields to include in a partial response. */
@@ -3086,11 +3340,11 @@ declare namespace gapi.client {
3086
3340
  /** Gets an IdpCredential. */
3087
3341
  get(request?: {
3088
3342
  /** V1 error format. */
3089
- '$.xgafv'?: string;
3343
+ '$.xgafv'?: '1' | '2';
3090
3344
  /** OAuth access token. */
3091
3345
  access_token?: string;
3092
3346
  /** Data format for response. */
3093
- alt?: string;
3347
+ alt?: 'json' | 'media' | 'proto';
3094
3348
  /** JSONP */
3095
3349
  callback?: string;
3096
3350
  /** Selector specifying which fields to include in a partial response. */
@@ -3113,11 +3367,11 @@ declare namespace gapi.client {
3113
3367
  /** Returns a list of IdpCredentials in an InboundSamlSsoProfile. */
3114
3368
  list(request?: {
3115
3369
  /** V1 error format. */
3116
- '$.xgafv'?: string;
3370
+ '$.xgafv'?: '1' | '2';
3117
3371
  /** OAuth access token. */
3118
3372
  access_token?: string;
3119
3373
  /** Data format for response. */
3120
- alt?: string;
3374
+ alt?: 'json' | 'media' | 'proto';
3121
3375
  /** JSONP */
3122
3376
  callback?: string;
3123
3377
  /** Selector specifying which fields to include in a partial response. */
@@ -3146,11 +3400,11 @@ declare namespace gapi.client {
3146
3400
  /** 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
3401
  create(request: {
3148
3402
  /** V1 error format. */
3149
- '$.xgafv'?: string;
3403
+ '$.xgafv'?: '1' | '2';
3150
3404
  /** OAuth access token. */
3151
3405
  access_token?: string;
3152
3406
  /** Data format for response. */
3153
- alt?: string;
3407
+ alt?: 'json' | 'media' | 'proto';
3154
3408
  /** JSONP */
3155
3409
  callback?: string;
3156
3410
  /** Selector specifying which fields to include in a partial response. */
@@ -3173,11 +3427,11 @@ declare namespace gapi.client {
3173
3427
  create(
3174
3428
  request: {
3175
3429
  /** V1 error format. */
3176
- '$.xgafv'?: string;
3430
+ '$.xgafv'?: '1' | '2';
3177
3431
  /** OAuth access token. */
3178
3432
  access_token?: string;
3179
3433
  /** Data format for response. */
3180
- alt?: string;
3434
+ alt?: 'json' | 'media' | 'proto';
3181
3435
  /** JSONP */
3182
3436
  callback?: string;
3183
3437
  /** Selector specifying which fields to include in a partial response. */
@@ -3200,11 +3454,11 @@ declare namespace gapi.client {
3200
3454
  /** Deletes an InboundSamlSsoProfile. */
3201
3455
  delete(request?: {
3202
3456
  /** V1 error format. */
3203
- '$.xgafv'?: string;
3457
+ '$.xgafv'?: '1' | '2';
3204
3458
  /** OAuth access token. */
3205
3459
  access_token?: string;
3206
3460
  /** Data format for response. */
3207
- alt?: string;
3461
+ alt?: 'json' | 'media' | 'proto';
3208
3462
  /** JSONP */
3209
3463
  callback?: string;
3210
3464
  /** Selector specifying which fields to include in a partial response. */
@@ -3227,11 +3481,11 @@ declare namespace gapi.client {
3227
3481
  /** Gets an InboundSamlSsoProfile. */
3228
3482
  get(request?: {
3229
3483
  /** V1 error format. */
3230
- '$.xgafv'?: string;
3484
+ '$.xgafv'?: '1' | '2';
3231
3485
  /** OAuth access token. */
3232
3486
  access_token?: string;
3233
3487
  /** Data format for response. */
3234
- alt?: string;
3488
+ alt?: 'json' | 'media' | 'proto';
3235
3489
  /** JSONP */
3236
3490
  callback?: string;
3237
3491
  /** Selector specifying which fields to include in a partial response. */
@@ -3254,11 +3508,11 @@ declare namespace gapi.client {
3254
3508
  /** Lists InboundSamlSsoProfiles for a customer. */
3255
3509
  list(request?: {
3256
3510
  /** V1 error format. */
3257
- '$.xgafv'?: string;
3511
+ '$.xgafv'?: '1' | '2';
3258
3512
  /** OAuth access token. */
3259
3513
  access_token?: string;
3260
3514
  /** Data format for response. */
3261
- alt?: string;
3515
+ alt?: 'json' | 'media' | 'proto';
3262
3516
  /** JSONP */
3263
3517
  callback?: string;
3264
3518
  /** Selector specifying which fields to include in a partial response. */
@@ -3285,11 +3539,11 @@ declare namespace gapi.client {
3285
3539
  /** 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
3540
  patch(request: {
3287
3541
  /** V1 error format. */
3288
- '$.xgafv'?: string;
3542
+ '$.xgafv'?: '1' | '2';
3289
3543
  /** OAuth access token. */
3290
3544
  access_token?: string;
3291
3545
  /** Data format for response. */
3292
- alt?: string;
3546
+ alt?: 'json' | 'media' | 'proto';
3293
3547
  /** JSONP */
3294
3548
  callback?: string;
3295
3549
  /** Selector specifying which fields to include in a partial response. */
@@ -3316,11 +3570,11 @@ declare namespace gapi.client {
3316
3570
  patch(
3317
3571
  request: {
3318
3572
  /** V1 error format. */
3319
- '$.xgafv'?: string;
3573
+ '$.xgafv'?: '1' | '2';
3320
3574
  /** OAuth access token. */
3321
3575
  access_token?: string;
3322
3576
  /** Data format for response. */
3323
- alt?: string;
3577
+ alt?: 'json' | 'media' | 'proto';
3324
3578
  /** JSONP */
3325
3579
  callback?: string;
3326
3580
  /** Selector specifying which fields to include in a partial response. */
@@ -3350,11 +3604,11 @@ declare namespace gapi.client {
3350
3604
  /** Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`. */
3351
3605
  create(request: {
3352
3606
  /** V1 error format. */
3353
- '$.xgafv'?: string;
3607
+ '$.xgafv'?: '1' | '2';
3354
3608
  /** OAuth access token. */
3355
3609
  access_token?: string;
3356
3610
  /** Data format for response. */
3357
- alt?: string;
3611
+ alt?: 'json' | 'media' | 'proto';
3358
3612
  /** JSONP */
3359
3613
  callback?: string;
3360
3614
  /** Selector specifying which fields to include in a partial response. */
@@ -3377,11 +3631,11 @@ declare namespace gapi.client {
3377
3631
  create(
3378
3632
  request: {
3379
3633
  /** V1 error format. */
3380
- '$.xgafv'?: string;
3634
+ '$.xgafv'?: '1' | '2';
3381
3635
  /** OAuth access token. */
3382
3636
  access_token?: string;
3383
3637
  /** Data format for response. */
3384
- alt?: string;
3638
+ alt?: 'json' | 'media' | 'proto';
3385
3639
  /** JSONP */
3386
3640
  callback?: string;
3387
3641
  /** Selector specifying which fields to include in a partial response. */
@@ -3404,11 +3658,11 @@ declare namespace gapi.client {
3404
3658
  /** Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`. */
3405
3659
  delete(request?: {
3406
3660
  /** V1 error format. */
3407
- '$.xgafv'?: string;
3661
+ '$.xgafv'?: '1' | '2';
3408
3662
  /** OAuth access token. */
3409
3663
  access_token?: string;
3410
3664
  /** Data format for response. */
3411
- alt?: string;
3665
+ alt?: 'json' | 'media' | 'proto';
3412
3666
  /** JSONP */
3413
3667
  callback?: string;
3414
3668
  /** Selector specifying which fields to include in a partial response. */
@@ -3431,11 +3685,11 @@ declare namespace gapi.client {
3431
3685
  /** Gets an InboundSsoAssignment. */
3432
3686
  get(request?: {
3433
3687
  /** V1 error format. */
3434
- '$.xgafv'?: string;
3688
+ '$.xgafv'?: '1' | '2';
3435
3689
  /** OAuth access token. */
3436
3690
  access_token?: string;
3437
3691
  /** Data format for response. */
3438
- alt?: string;
3692
+ alt?: 'json' | 'media' | 'proto';
3439
3693
  /** JSONP */
3440
3694
  callback?: string;
3441
3695
  /** Selector specifying which fields to include in a partial response. */
@@ -3458,11 +3712,11 @@ declare namespace gapi.client {
3458
3712
  /** Lists the InboundSsoAssignments for a `Customer`. */
3459
3713
  list(request?: {
3460
3714
  /** V1 error format. */
3461
- '$.xgafv'?: string;
3715
+ '$.xgafv'?: '1' | '2';
3462
3716
  /** OAuth access token. */
3463
3717
  access_token?: string;
3464
3718
  /** Data format for response. */
3465
- alt?: string;
3719
+ alt?: 'json' | 'media' | 'proto';
3466
3720
  /** JSONP */
3467
3721
  callback?: string;
3468
3722
  /** Selector specifying which fields to include in a partial response. */
@@ -3489,11 +3743,11 @@ declare namespace gapi.client {
3489
3743
  /** 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
3744
  patch(request: {
3491
3745
  /** V1 error format. */
3492
- '$.xgafv'?: string;
3746
+ '$.xgafv'?: '1' | '2';
3493
3747
  /** OAuth access token. */
3494
3748
  access_token?: string;
3495
3749
  /** Data format for response. */
3496
- alt?: string;
3750
+ alt?: 'json' | 'media' | 'proto';
3497
3751
  /** JSONP */
3498
3752
  callback?: string;
3499
3753
  /** Selector specifying which fields to include in a partial response. */
@@ -3520,11 +3774,11 @@ declare namespace gapi.client {
3520
3774
  patch(
3521
3775
  request: {
3522
3776
  /** V1 error format. */
3523
- '$.xgafv'?: string;
3777
+ '$.xgafv'?: '1' | '2';
3524
3778
  /** OAuth access token. */
3525
3779
  access_token?: string;
3526
3780
  /** Data format for response. */
3527
- alt?: string;
3781
+ alt?: 'json' | 'media' | 'proto';
3528
3782
  /** JSONP */
3529
3783
  callback?: string;
3530
3784
  /** Selector specifying which fields to include in a partial response. */
@@ -3553,11 +3807,11 @@ declare namespace gapi.client {
3553
3807
  /** 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
3808
  list(request?: {
3555
3809
  /** V1 error format. */
3556
- '$.xgafv'?: string;
3810
+ '$.xgafv'?: '1' | '2';
3557
3811
  /** OAuth access token. */
3558
3812
  access_token?: string;
3559
3813
  /** Data format for response. */
3560
- alt?: string;
3814
+ alt?: 'json' | 'media' | 'proto';
3561
3815
  /** JSONP */
3562
3816
  callback?: string;
3563
3817
  /** 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 +3842,11 @@ declare namespace gapi.client {
3588
3842
  /** 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
3843
  move(request: {
3590
3844
  /** V1 error format. */
3591
- '$.xgafv'?: string;
3845
+ '$.xgafv'?: '1' | '2';
3592
3846
  /** OAuth access token. */
3593
3847
  access_token?: string;
3594
3848
  /** Data format for response. */
3595
- alt?: string;
3849
+ alt?: 'json' | 'media' | 'proto';
3596
3850
  /** JSONP */
3597
3851
  callback?: string;
3598
3852
  /** Selector specifying which fields to include in a partial response. */
@@ -3617,11 +3871,11 @@ declare namespace gapi.client {
3617
3871
  move(
3618
3872
  request: {
3619
3873
  /** V1 error format. */
3620
- '$.xgafv'?: string;
3874
+ '$.xgafv'?: '1' | '2';
3621
3875
  /** OAuth access token. */
3622
3876
  access_token?: string;
3623
3877
  /** Data format for response. */
3624
- alt?: string;
3878
+ alt?: 'json' | 'media' | 'proto';
3625
3879
  /** JSONP */
3626
3880
  callback?: string;
3627
3881
  /** Selector specifying which fields to include in a partial response. */
@@ -3651,11 +3905,11 @@ declare namespace gapi.client {
3651
3905
  /** Create a policy. */
3652
3906
  create(request: {
3653
3907
  /** V1 error format. */
3654
- '$.xgafv'?: string;
3908
+ '$.xgafv'?: '1' | '2';
3655
3909
  /** OAuth access token. */
3656
3910
  access_token?: string;
3657
3911
  /** Data format for response. */
3658
- alt?: string;
3912
+ alt?: 'json' | 'media' | 'proto';
3659
3913
  /** JSONP */
3660
3914
  callback?: string;
3661
3915
  /** Selector specifying which fields to include in a partial response. */
@@ -3678,11 +3932,11 @@ declare namespace gapi.client {
3678
3932
  create(
3679
3933
  request: {
3680
3934
  /** V1 error format. */
3681
- '$.xgafv'?: string;
3935
+ '$.xgafv'?: '1' | '2';
3682
3936
  /** OAuth access token. */
3683
3937
  access_token?: string;
3684
3938
  /** Data format for response. */
3685
- alt?: string;
3939
+ alt?: 'json' | 'media' | 'proto';
3686
3940
  /** JSONP */
3687
3941
  callback?: string;
3688
3942
  /** Selector specifying which fields to include in a partial response. */
@@ -3705,11 +3959,11 @@ declare namespace gapi.client {
3705
3959
  /** Delete a policy. */
3706
3960
  delete(request?: {
3707
3961
  /** V1 error format. */
3708
- '$.xgafv'?: string;
3962
+ '$.xgafv'?: '1' | '2';
3709
3963
  /** OAuth access token. */
3710
3964
  access_token?: string;
3711
3965
  /** Data format for response. */
3712
- alt?: string;
3966
+ alt?: 'json' | 'media' | 'proto';
3713
3967
  /** JSONP */
3714
3968
  callback?: string;
3715
3969
  /** Selector specifying which fields to include in a partial response. */
@@ -3732,11 +3986,11 @@ declare namespace gapi.client {
3732
3986
  /** Get a policy. */
3733
3987
  get(request?: {
3734
3988
  /** V1 error format. */
3735
- '$.xgafv'?: string;
3989
+ '$.xgafv'?: '1' | '2';
3736
3990
  /** OAuth access token. */
3737
3991
  access_token?: string;
3738
3992
  /** Data format for response. */
3739
- alt?: string;
3993
+ alt?: 'json' | 'media' | 'proto';
3740
3994
  /** JSONP */
3741
3995
  callback?: string;
3742
3996
  /** Selector specifying which fields to include in a partial response. */
@@ -3759,22 +4013,22 @@ declare namespace gapi.client {
3759
4013
  /** List policies. */
3760
4014
  list(request?: {
3761
4015
  /** V1 error format. */
3762
- '$.xgafv'?: string;
4016
+ '$.xgafv'?: '1' | '2';
3763
4017
  /** OAuth access token. */
3764
4018
  access_token?: string;
3765
4019
  /** Data format for response. */
3766
- alt?: string;
4020
+ alt?: 'json' | 'media' | 'proto';
3767
4021
  /** JSONP */
3768
4022
  callback?: string;
3769
4023
  /** Selector specifying which fields to include in a partial response. */
3770
4024
  fields?: string;
3771
- /** Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == "customers/{customer}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator. */
4025
+ /** Optional. A CEL expression for filtering the results. Policies can be filtered using the expression in the following ways: - Filter by application: `setting.type.matches('^settings/gmail\\..*$')` - Filter by setting type: `setting.type.matches('^.*\\.service_status$')` - Filter by customer: `customer == "customers/{customer}"` Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no `customer` is mentioned it will be default to `customers/my_customer`. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the `&&` and `||` operators, like in the following example: `customer == "customers/my_customer" && ( setting.type.matches('^settings/gmail\\..*$') || setting.type.matches('^.*\\.service_status$') )`. */
3772
4026
  filter?: string;
3773
4027
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3774
4028
  key?: string;
3775
4029
  /** OAuth 2.0 token for the current user. */
3776
4030
  oauth_token?: string;
3777
- /** Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. `page_size` values greater than 100 default to 100. */
4031
+ /** Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to `0`, the default is `50` results per page. The maximum allowed value is `100`. `page_size` values greater than `100` default to `100`. */
3778
4032
  pageSize?: number;
3779
4033
  /** Optional. The pagination token received from a prior call to PoliciesService.ListPolicies to retrieve the next page of results. When paginating, all other parameters provided to `ListPoliciesRequest` must match the call that provided the page token. */
3780
4034
  pageToken?: string;
@@ -3790,11 +4044,11 @@ declare namespace gapi.client {
3790
4044
  /** Update a policy. */
3791
4045
  patch(request: {
3792
4046
  /** V1 error format. */
3793
- '$.xgafv'?: string;
4047
+ '$.xgafv'?: '1' | '2';
3794
4048
  /** OAuth access token. */
3795
4049
  access_token?: string;
3796
4050
  /** Data format for response. */
3797
- alt?: string;
4051
+ alt?: 'json' | 'media' | 'proto';
3798
4052
  /** JSONP */
3799
4053
  callback?: string;
3800
4054
  /** Selector specifying which fields to include in a partial response. */
@@ -3819,11 +4073,11 @@ declare namespace gapi.client {
3819
4073
  patch(
3820
4074
  request: {
3821
4075
  /** V1 error format. */
3822
- '$.xgafv'?: string;
4076
+ '$.xgafv'?: '1' | '2';
3823
4077
  /** OAuth access token. */
3824
4078
  access_token?: string;
3825
4079
  /** Data format for response. */
3826
- alt?: string;
4080
+ alt?: 'json' | 'media' | 'proto';
3827
4081
  /** JSONP */
3828
4082
  callback?: string;
3829
4083
  /** Selector specifying which fields to include in a partial response. */