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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +327 -206
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudidentity.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260310
12
+ // Revision: 20260317
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -72,11 +72,15 @@ declare namespace gapi.client {
72
72
  /** 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')` */
73
73
  query?: string;
74
74
  /** Resource type for the Dynamic Group Query */
75
- resourceType?: string;
75
+ resourceType?: 'RESOURCE_TYPE_UNSPECIFIED' | 'USER';
76
76
  }
77
77
  interface DynamicGroupStatus {
78
78
  /** Status of the dynamic group. */
79
- status?: string;
79
+ status?:
80
+ | 'STATUS_UNSPECIFIED'
81
+ | 'UP_TO_DATE'
82
+ | 'UPDATING_MEMBERSHIPS'
83
+ | 'INVALID_QUERY';
80
84
  /** 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. */
81
85
  statusTime?: string;
82
86
  }
@@ -107,7 +111,11 @@ declare namespace gapi.client {
107
111
  /** 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. */
108
112
  ownerProfileAccount?: boolean;
109
113
  /** Ownership privileges on device. */
110
- ownershipPrivilege?: string;
114
+ ownershipPrivilege?:
115
+ | 'OWNERSHIP_PRIVILEGE_UNSPECIFIED'
116
+ | 'DEVICE_ADMINISTRATOR'
117
+ | 'PROFILE_OWNER'
118
+ | 'DEVICE_OWNER';
111
119
  /** 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. */
112
120
  supportsWorkProfile?: boolean;
113
121
  /** Whether Android verified boot status is GREEN. */
@@ -143,7 +151,12 @@ declare namespace gapi.client {
143
151
  }
144
152
  interface GoogleAppsCloudidentityDevicesV1BrowserInfo {
145
153
  /** Output only. Browser's management state. */
146
- browserManagementState?: string;
154
+ browserManagementState?:
155
+ | 'UNSPECIFIED'
156
+ | 'UNMANAGED'
157
+ | 'MANAGED_BY_OTHER_DOMAIN'
158
+ | 'PROFILE_MANAGED'
159
+ | 'BROWSER_MANAGED';
147
160
  /** Version of the request initiating browser. E.g. `91.0.4442.4`. */
148
161
  browserVersion?: string;
149
162
  /** Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled). */
@@ -167,9 +180,17 @@ declare namespace gapi.client {
167
180
  /** Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled). */
168
181
  isThirdPartyBlockingEnabled?: boolean;
169
182
  /** Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger). */
170
- passwordProtectionWarningTrigger?: string;
183
+ passwordProtectionWarningTrigger?:
184
+ | 'PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED'
185
+ | 'PROTECTION_OFF'
186
+ | 'PASSWORD_REUSE'
187
+ | 'PHISHING_REUSE';
171
188
  /** Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel). */
172
- safeBrowsingProtectionLevel?: string;
189
+ safeBrowsingProtectionLevel?:
190
+ | 'SAFE_BROWSING_LEVEL_UNSPECIFIED'
191
+ | 'DISABLED'
192
+ | 'STANDARD'
193
+ | 'ENHANCED';
173
194
  }
174
195
  interface GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata {}
175
196
  interface GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest {
@@ -203,7 +224,10 @@ declare namespace gapi.client {
203
224
  /** The certificate thumbprint. */
204
225
  thumbprint?: string;
205
226
  /** Output only. Validation state of this certificate. */
206
- validationState?: string;
227
+ validationState?:
228
+ | 'CERTIFICATE_VALIDATION_STATE_UNSPECIFIED'
229
+ | 'VALIDATION_SUCCESSFUL'
230
+ | 'VALIDATION_FAILED';
207
231
  /** Certificate not valid at or after this timestamp. */
208
232
  validityExpirationTime?: string;
209
233
  /** Certificate not valid before this timestamp. */
@@ -221,7 +245,10 @@ declare namespace gapi.client {
221
245
  /** The caller can specify asset tags for this resource */
222
246
  assetTags?: string[];
223
247
  /** The compliance state of the resource as specified by the API client. */
224
- complianceState?: string;
248
+ complianceState?:
249
+ | 'COMPLIANCE_STATE_UNSPECIFIED'
250
+ | 'COMPLIANT'
251
+ | 'NON_COMPLIANT';
225
252
  /** Output only. The time the client state data was created. */
226
253
  createTime?: string;
227
254
  /** This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field. */
@@ -229,7 +256,13 @@ declare namespace gapi.client {
229
256
  /** The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest */
230
257
  etag?: string;
231
258
  /** 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. */
232
- healthScore?: string;
259
+ healthScore?:
260
+ | 'HEALTH_SCORE_UNSPECIFIED'
261
+ | 'VERY_POOR'
262
+ | 'POOR'
263
+ | 'NEUTRAL'
264
+ | 'GOOD'
265
+ | 'VERY_GOOD';
233
266
  /** 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. */
234
267
  keyValuePairs?: {
235
268
  [P in string]: GoogleAppsCloudidentityDevicesV1CustomAttributeValue;
@@ -237,11 +270,14 @@ declare namespace gapi.client {
237
270
  /** Output only. The time the client state data was last updated. */
238
271
  lastUpdateTime?: string;
239
272
  /** The management state of the resource as specified by the API client. */
240
- managed?: string;
273
+ managed?: 'MANAGED_STATE_UNSPECIFIED' | 'MANAGED' | 'UNMANAGED';
241
274
  /** 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') */
242
275
  name?: string;
243
276
  /** Output only. The owner of the ClientState */
244
- ownerType?: string;
277
+ ownerType?:
278
+ | 'OWNER_TYPE_UNSPECIFIED'
279
+ | 'OWNER_TYPE_CUSTOMER'
280
+ | 'OWNER_TYPE_PARTNER';
245
281
  /** A descriptive cause of the health score. */
246
282
  scoreReason?: string;
247
283
  }
@@ -270,19 +306,34 @@ declare namespace gapi.client {
270
306
  /** Output only. Build number of the device. */
271
307
  buildNumber?: string;
272
308
  /** Output only. Represents whether the Device is compromised. */
273
- compromisedState?: string;
309
+ compromisedState?:
310
+ | 'COMPROMISED_STATE_UNSPECIFIED'
311
+ | 'COMPROMISED'
312
+ | 'UNCOMPROMISED';
274
313
  /** Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. */
275
314
  createTime?: string;
276
315
  /** Unique identifier for the device. */
277
316
  deviceId?: string;
278
317
  /** Output only. Type of device. */
279
- 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';
280
327
  /** Output only. Whether developer options is enabled on device. */
281
328
  enabledDeveloperOptions?: boolean;
282
329
  /** Output only. Whether USB debugging is enabled on device. */
283
330
  enabledUsbDebugging?: boolean;
284
331
  /** Output only. Device encryption state. */
285
- encryptionState?: string;
332
+ encryptionState?:
333
+ | 'ENCRYPTION_STATE_UNSPECIFIED'
334
+ | 'UNSUPPORTED_BY_DEVICE'
335
+ | 'ENCRYPTED'
336
+ | 'NOT_ENCRYPTED';
286
337
  /** Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices. */
287
338
  endpointVerificationSpecificAttributes?: GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes;
288
339
  /** Host name of the device. */
@@ -294,7 +345,14 @@ declare namespace gapi.client {
294
345
  /** Most recent time when device synced with this service. */
295
346
  lastSyncTime?: string;
296
347
  /** Output only. Management state of the device */
297
- managementState?: string;
348
+ managementState?:
349
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
350
+ | 'APPROVED'
351
+ | 'BLOCKED'
352
+ | 'PENDING'
353
+ | 'UNPROVISIONED'
354
+ | 'WIPING'
355
+ | 'WIPED';
298
356
  /** Output only. Device manufacturer. Example: Motorola. */
299
357
  manufacturer?: string;
300
358
  /** Output only. MEID number of device if CDMA device; empty otherwise. */
@@ -310,7 +368,7 @@ declare namespace gapi.client {
310
368
  /** 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". */
311
369
  otherAccounts?: string[];
312
370
  /** Output only. Whether the device is owned by the company or an individual */
313
- ownerType?: string;
371
+ ownerType?: 'DEVICE_OWNERSHIP_UNSPECIFIED' | 'COMPANY' | 'BYOD';
314
372
  /** Output only. OS release version. Example: 6.0. */
315
373
  releaseVersion?: string;
316
374
  /** Output only. OS security patch update time on device. */
@@ -324,7 +382,10 @@ declare namespace gapi.client {
324
382
  }
325
383
  interface GoogleAppsCloudidentityDevicesV1DeviceUser {
326
384
  /** Compromised State of the DeviceUser object */
327
- compromisedState?: string;
385
+ compromisedState?:
386
+ | 'COMPROMISED_STATE_UNSPECIFIED'
387
+ | 'COMPROMISED'
388
+ | 'NOT_COMPROMISED';
328
389
  /** When the user first signed in to the device */
329
390
  createTime?: string;
330
391
  /** Output only. Most recent time when user registered with this service. */
@@ -334,11 +395,21 @@ declare namespace gapi.client {
334
395
  /** Output only. Last time when user synced with policies. */
335
396
  lastSyncTime?: string;
336
397
  /** Output only. Management state of the user on the device. */
337
- managementState?: string;
398
+ managementState?:
399
+ | 'MANAGEMENT_STATE_UNSPECIFIED'
400
+ | 'WIPING'
401
+ | 'WIPED'
402
+ | 'APPROVED'
403
+ | 'BLOCKED'
404
+ | 'PENDING_APPROVAL'
405
+ | 'UNENROLLED';
338
406
  /** 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. */
339
407
  name?: string;
340
408
  /** Password state of the DeviceUser object */
341
- passwordState?: string;
409
+ passwordState?:
410
+ | 'PASSWORD_STATE_UNSPECIFIED'
411
+ | 'PASSWORD_SET'
412
+ | 'PASSWORD_NOT_SET';
342
413
  /** Output only. User agent on the device for this specific user */
343
414
  userAgent?: string;
344
415
  /** Email address of the user registered on the device. */
@@ -434,7 +505,11 @@ declare namespace gapi.client {
434
505
  /** Labels for Group resource. */
435
506
  labels?: {[P in string]: string};
436
507
  /** The relation between the member and the transitive group. */
437
- relationType?: string;
508
+ relationType?:
509
+ | 'RELATION_TYPE_UNSPECIFIED'
510
+ | 'DIRECT'
511
+ | 'INDIRECT'
512
+ | 'DIRECT_AND_INDIRECT';
438
513
  /** Membership roles of the member for the group. */
439
514
  roles?: TransitiveMembershipRole[];
440
515
  }
@@ -486,7 +561,12 @@ declare namespace gapi.client {
486
561
  /** 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. */
487
562
  signInBehavior?: SignInBehavior;
488
563
  /** Inbound SSO behavior. */
489
- ssoMode?: string;
564
+ ssoMode?:
565
+ | 'SSO_MODE_UNSPECIFIED'
566
+ | 'SSO_OFF'
567
+ | 'SAML_SSO'
568
+ | 'OIDC_SSO'
569
+ | 'DOMAIN_WIDE_SAML_IF_ENABLED';
490
570
  /** Immutable. Must be of the form `groups/{group}`. */
491
571
  targetGroup?: string;
492
572
  /** Immutable. Must be of the form `orgUnits/{org_unit}`. */
@@ -558,7 +638,11 @@ declare namespace gapi.client {
558
638
  /** Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace. */
559
639
  preferredMemberKey?: EntityKey[];
560
640
  /** The relation between the group and the transitive member. */
561
- relationType?: string;
641
+ relationType?:
642
+ | 'RELATION_TYPE_UNSPECIFIED'
643
+ | 'DIRECT'
644
+ | 'INDIRECT'
645
+ | 'DIRECT_AND_INDIRECT';
562
646
  /** The membership role details (i.e name of role and expiry time). */
563
647
  roles?: TransitiveMembershipRole[];
564
648
  }
@@ -572,7 +656,13 @@ declare namespace gapi.client {
572
656
  /** Output only. The time when the `Membership` was created. */
573
657
  createTime?: string;
574
658
  /** Output only. Delivery setting associated with the membership. */
575
- deliverySetting?: string;
659
+ deliverySetting?:
660
+ | 'DELIVERY_SETTING_UNSPECIFIED'
661
+ | 'ALL_MAIL'
662
+ | 'DIGEST'
663
+ | 'DAILY'
664
+ | 'NONE'
665
+ | 'DISABLED';
576
666
  /** Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`. */
577
667
  name?: string;
578
668
  /** Required. Immutable. The `EntityKey` of the member. */
@@ -580,7 +670,14 @@ declare namespace gapi.client {
580
670
  /** 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`. */
581
671
  roles?: MembershipRole[];
582
672
  /** Output only. The type of the membership. */
583
- type?: string;
673
+ type?:
674
+ | 'TYPE_UNSPECIFIED'
675
+ | 'USER'
676
+ | 'SERVICE_ACCOUNT'
677
+ | 'GROUP'
678
+ | 'SHARED_DRIVE'
679
+ | 'CBCM_BROWSER'
680
+ | 'OTHER';
584
681
  /** Output only. The time when the `Membership` was last updated. */
585
682
  updateTime?: string;
586
683
  }
@@ -616,7 +713,12 @@ declare namespace gapi.client {
616
713
  }
617
714
  interface MembershipRoleRestrictionEvaluation {
618
715
  /** Output only. The current state of the restriction */
619
- state?: string;
716
+ state?:
717
+ | 'STATE_UNSPECIFIED'
718
+ | 'COMPLIANT'
719
+ | 'FORWARD_COMPLIANT'
720
+ | 'NON_COMPLIANT'
721
+ | 'EVALUATING';
620
722
  }
621
723
  interface ModifyMembershipRolesRequest {
622
724
  /** 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. */
@@ -670,7 +772,7 @@ declare namespace gapi.client {
670
772
  /** Required. The Setting configured by this Policy. */
671
773
  setting?: Setting;
672
774
  /** Output only. The type of the policy. */
673
- type?: string;
775
+ type?: 'POLICY_TYPE_UNSPECIFIED' | 'SYSTEM' | 'ADMIN';
674
776
  }
675
777
  interface PolicyQuery {
676
778
  /** Immutable. The group that the query applies to. This field is only set if there is a single value for group that satisfies all clauses of the query. If no group applies, this will be the empty string. */
@@ -684,7 +786,12 @@ declare namespace gapi.client {
684
786
  }
685
787
  interface RestrictionEvaluation {
686
788
  /** Output only. The current state of the restriction */
687
- state?: string;
789
+ state?:
790
+ | 'STATE_UNSPECIFIED'
791
+ | 'EVALUATING'
792
+ | 'COMPLIANT'
793
+ | 'FORWARD_COMPLIANT'
794
+ | 'NON_COMPLIANT';
688
795
  }
689
796
  interface RestrictionEvaluations {
690
797
  /** Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. */
@@ -753,7 +860,7 @@ declare namespace gapi.client {
753
860
  }
754
861
  interface SignInBehavior {
755
862
  /** When to redirect sign-ins to the IdP. */
756
- redirectCondition?: string;
863
+ redirectCondition?: 'REDIRECT_CONDITION_UNSPECIFIED' | 'NEVER';
757
864
  }
758
865
  interface Status {
759
866
  /** The status code, which should be an enum value of google.rpc.Code. */
@@ -790,7 +897,12 @@ declare namespace gapi.client {
790
897
  /** Shall be of the form `customers/{customer}/userinvitations/{user_email_address}`. */
791
898
  name?: string;
792
899
  /** State of the `UserInvitation`. */
793
- state?: string;
900
+ state?:
901
+ | 'STATE_UNSPECIFIED'
902
+ | 'NOT_YET_SENT'
903
+ | 'INVITED'
904
+ | 'ACCEPTED'
905
+ | 'DECLINED';
794
906
  /** Time when the `UserInvitation` was last updated. */
795
907
  updateTime?: string;
796
908
  }
@@ -798,11 +910,11 @@ declare namespace gapi.client {
798
910
  /** Cancels a UserInvitation that was already sent. */
799
911
  cancel(request: {
800
912
  /** V1 error format. */
801
- '$.xgafv'?: string;
913
+ '$.xgafv'?: '1' | '2';
802
914
  /** OAuth access token. */
803
915
  access_token?: string;
804
916
  /** Data format for response. */
805
- alt?: string;
917
+ alt?: 'json' | 'media' | 'proto';
806
918
  /** JSONP */
807
919
  callback?: string;
808
920
  /** Selector specifying which fields to include in a partial response. */
@@ -827,11 +939,11 @@ declare namespace gapi.client {
827
939
  cancel(
828
940
  request: {
829
941
  /** V1 error format. */
830
- '$.xgafv'?: string;
942
+ '$.xgafv'?: '1' | '2';
831
943
  /** OAuth access token. */
832
944
  access_token?: string;
833
945
  /** Data format for response. */
834
- alt?: string;
946
+ alt?: 'json' | 'media' | 'proto';
835
947
  /** JSONP */
836
948
  callback?: string;
837
949
  /** Selector specifying which fields to include in a partial response. */
@@ -856,11 +968,11 @@ declare namespace gapi.client {
856
968
  /** 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. */
857
969
  get(request?: {
858
970
  /** V1 error format. */
859
- '$.xgafv'?: string;
971
+ '$.xgafv'?: '1' | '2';
860
972
  /** OAuth access token. */
861
973
  access_token?: string;
862
974
  /** Data format for response. */
863
- alt?: string;
975
+ alt?: 'json' | 'media' | 'proto';
864
976
  /** JSONP */
865
977
  callback?: string;
866
978
  /** Selector specifying which fields to include in a partial response. */
@@ -883,11 +995,11 @@ declare namespace gapi.client {
883
995
  /** 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. */
884
996
  isInvitableUser(request?: {
885
997
  /** V1 error format. */
886
- '$.xgafv'?: string;
998
+ '$.xgafv'?: '1' | '2';
887
999
  /** OAuth access token. */
888
1000
  access_token?: string;
889
1001
  /** Data format for response. */
890
- alt?: string;
1002
+ alt?: 'json' | 'media' | 'proto';
891
1003
  /** JSONP */
892
1004
  callback?: string;
893
1005
  /** Selector specifying which fields to include in a partial response. */
@@ -910,11 +1022,11 @@ declare namespace gapi.client {
910
1022
  /** 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. */
911
1023
  list(request?: {
912
1024
  /** V1 error format. */
913
- '$.xgafv'?: string;
1025
+ '$.xgafv'?: '1' | '2';
914
1026
  /** OAuth access token. */
915
1027
  access_token?: string;
916
1028
  /** Data format for response. */
917
- alt?: string;
1029
+ alt?: 'json' | 'media' | 'proto';
918
1030
  /** JSONP */
919
1031
  callback?: string;
920
1032
  /** Selector specifying which fields to include in a partial response. */
@@ -945,11 +1057,11 @@ declare namespace gapi.client {
945
1057
  /** 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. */
946
1058
  send(request: {
947
1059
  /** V1 error format. */
948
- '$.xgafv'?: string;
1060
+ '$.xgafv'?: '1' | '2';
949
1061
  /** OAuth access token. */
950
1062
  access_token?: string;
951
1063
  /** Data format for response. */
952
- alt?: string;
1064
+ alt?: 'json' | 'media' | 'proto';
953
1065
  /** JSONP */
954
1066
  callback?: string;
955
1067
  /** Selector specifying which fields to include in a partial response. */
@@ -974,11 +1086,11 @@ declare namespace gapi.client {
974
1086
  send(
975
1087
  request: {
976
1088
  /** V1 error format. */
977
- '$.xgafv'?: string;
1089
+ '$.xgafv'?: '1' | '2';
978
1090
  /** OAuth access token. */
979
1091
  access_token?: string;
980
1092
  /** Data format for response. */
981
- alt?: string;
1093
+ alt?: 'json' | 'media' | 'proto';
982
1094
  /** JSONP */
983
1095
  callback?: string;
984
1096
  /** Selector specifying which fields to include in a partial response. */
@@ -1008,11 +1120,11 @@ declare namespace gapi.client {
1008
1120
  /** Gets the client state for the device user */
1009
1121
  get(request?: {
1010
1122
  /** V1 error format. */
1011
- '$.xgafv'?: string;
1123
+ '$.xgafv'?: '1' | '2';
1012
1124
  /** OAuth access token. */
1013
1125
  access_token?: string;
1014
1126
  /** Data format for response. */
1015
- alt?: string;
1127
+ alt?: 'json' | 'media' | 'proto';
1016
1128
  /** JSONP */
1017
1129
  callback?: string;
1018
1130
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1037,11 +1149,11 @@ declare namespace gapi.client {
1037
1149
  /** Lists the client states for the given search query. */
1038
1150
  list(request?: {
1039
1151
  /** V1 error format. */
1040
- '$.xgafv'?: string;
1152
+ '$.xgafv'?: '1' | '2';
1041
1153
  /** OAuth access token. */
1042
1154
  access_token?: string;
1043
1155
  /** Data format for response. */
1044
- alt?: string;
1156
+ alt?: 'json' | 'media' | 'proto';
1045
1157
  /** JSONP */
1046
1158
  callback?: string;
1047
1159
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1072,11 +1184,11 @@ declare namespace gapi.client {
1072
1184
  /** 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 */
1073
1185
  patch(request: {
1074
1186
  /** V1 error format. */
1075
- '$.xgafv'?: string;
1187
+ '$.xgafv'?: '1' | '2';
1076
1188
  /** OAuth access token. */
1077
1189
  access_token?: string;
1078
1190
  /** Data format for response. */
1079
- alt?: string;
1191
+ alt?: 'json' | 'media' | 'proto';
1080
1192
  /** JSONP */
1081
1193
  callback?: string;
1082
1194
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1105,11 +1217,11 @@ declare namespace gapi.client {
1105
1217
  patch(
1106
1218
  request: {
1107
1219
  /** V1 error format. */
1108
- '$.xgafv'?: string;
1220
+ '$.xgafv'?: '1' | '2';
1109
1221
  /** OAuth access token. */
1110
1222
  access_token?: string;
1111
1223
  /** Data format for response. */
1112
- alt?: string;
1224
+ alt?: 'json' | 'media' | 'proto';
1113
1225
  /** JSONP */
1114
1226
  callback?: string;
1115
1227
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1140,11 +1252,11 @@ declare namespace gapi.client {
1140
1252
  /** Approves device to access user data. */
1141
1253
  approve(request: {
1142
1254
  /** V1 error format. */
1143
- '$.xgafv'?: string;
1255
+ '$.xgafv'?: '1' | '2';
1144
1256
  /** OAuth access token. */
1145
1257
  access_token?: string;
1146
1258
  /** Data format for response. */
1147
- alt?: string;
1259
+ alt?: 'json' | 'media' | 'proto';
1148
1260
  /** JSONP */
1149
1261
  callback?: string;
1150
1262
  /** Selector specifying which fields to include in a partial response. */
@@ -1169,11 +1281,11 @@ declare namespace gapi.client {
1169
1281
  approve(
1170
1282
  request: {
1171
1283
  /** V1 error format. */
1172
- '$.xgafv'?: string;
1284
+ '$.xgafv'?: '1' | '2';
1173
1285
  /** OAuth access token. */
1174
1286
  access_token?: string;
1175
1287
  /** Data format for response. */
1176
- alt?: string;
1288
+ alt?: 'json' | 'media' | 'proto';
1177
1289
  /** JSONP */
1178
1290
  callback?: string;
1179
1291
  /** Selector specifying which fields to include in a partial response. */
@@ -1198,11 +1310,11 @@ declare namespace gapi.client {
1198
1310
  /** Blocks device from accessing user data */
1199
1311
  block(request: {
1200
1312
  /** V1 error format. */
1201
- '$.xgafv'?: string;
1313
+ '$.xgafv'?: '1' | '2';
1202
1314
  /** OAuth access token. */
1203
1315
  access_token?: string;
1204
1316
  /** Data format for response. */
1205
- alt?: string;
1317
+ alt?: 'json' | 'media' | 'proto';
1206
1318
  /** JSONP */
1207
1319
  callback?: string;
1208
1320
  /** Selector specifying which fields to include in a partial response. */
@@ -1227,11 +1339,11 @@ declare namespace gapi.client {
1227
1339
  block(
1228
1340
  request: {
1229
1341
  /** V1 error format. */
1230
- '$.xgafv'?: string;
1342
+ '$.xgafv'?: '1' | '2';
1231
1343
  /** OAuth access token. */
1232
1344
  access_token?: string;
1233
1345
  /** Data format for response. */
1234
- alt?: string;
1346
+ alt?: 'json' | 'media' | 'proto';
1235
1347
  /** JSONP */
1236
1348
  callback?: string;
1237
1349
  /** Selector specifying which fields to include in a partial response. */
@@ -1256,11 +1368,11 @@ declare namespace gapi.client {
1256
1368
  /** 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. */
1257
1369
  cancelWipe(request: {
1258
1370
  /** V1 error format. */
1259
- '$.xgafv'?: string;
1371
+ '$.xgafv'?: '1' | '2';
1260
1372
  /** OAuth access token. */
1261
1373
  access_token?: string;
1262
1374
  /** Data format for response. */
1263
- alt?: string;
1375
+ alt?: 'json' | 'media' | 'proto';
1264
1376
  /** JSONP */
1265
1377
  callback?: string;
1266
1378
  /** Selector specifying which fields to include in a partial response. */
@@ -1285,11 +1397,11 @@ declare namespace gapi.client {
1285
1397
  cancelWipe(
1286
1398
  request: {
1287
1399
  /** V1 error format. */
1288
- '$.xgafv'?: string;
1400
+ '$.xgafv'?: '1' | '2';
1289
1401
  /** OAuth access token. */
1290
1402
  access_token?: string;
1291
1403
  /** Data format for response. */
1292
- alt?: string;
1404
+ alt?: 'json' | 'media' | 'proto';
1293
1405
  /** JSONP */
1294
1406
  callback?: string;
1295
1407
  /** Selector specifying which fields to include in a partial response. */
@@ -1314,11 +1426,11 @@ declare namespace gapi.client {
1314
1426
  /** Deletes the specified DeviceUser. This also revokes the user's access to device data. */
1315
1427
  delete(request?: {
1316
1428
  /** V1 error format. */
1317
- '$.xgafv'?: string;
1429
+ '$.xgafv'?: '1' | '2';
1318
1430
  /** OAuth access token. */
1319
1431
  access_token?: string;
1320
1432
  /** Data format for response. */
1321
- alt?: string;
1433
+ alt?: 'json' | 'media' | 'proto';
1322
1434
  /** JSONP */
1323
1435
  callback?: string;
1324
1436
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1343,11 +1455,11 @@ declare namespace gapi.client {
1343
1455
  /** Retrieves the specified DeviceUser */
1344
1456
  get(request?: {
1345
1457
  /** V1 error format. */
1346
- '$.xgafv'?: string;
1458
+ '$.xgafv'?: '1' | '2';
1347
1459
  /** OAuth access token. */
1348
1460
  access_token?: string;
1349
1461
  /** Data format for response. */
1350
- alt?: string;
1462
+ alt?: 'json' | 'media' | 'proto';
1351
1463
  /** JSONP */
1352
1464
  callback?: string;
1353
1465
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1372,11 +1484,11 @@ declare namespace gapi.client {
1372
1484
  /** Lists/Searches DeviceUsers. */
1373
1485
  list(request?: {
1374
1486
  /** V1 error format. */
1375
- '$.xgafv'?: string;
1487
+ '$.xgafv'?: '1' | '2';
1376
1488
  /** OAuth access token. */
1377
1489
  access_token?: string;
1378
1490
  /** Data format for response. */
1379
- alt?: string;
1491
+ alt?: 'json' | 'media' | 'proto';
1380
1492
  /** JSONP */
1381
1493
  callback?: string;
1382
1494
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1409,11 +1521,11 @@ declare namespace gapi.client {
1409
1521
  /** 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. */
1410
1522
  lookup(request?: {
1411
1523
  /** V1 error format. */
1412
- '$.xgafv'?: string;
1524
+ '$.xgafv'?: '1' | '2';
1413
1525
  /** OAuth access token. */
1414
1526
  access_token?: string;
1415
1527
  /** Data format for response. */
1416
- alt?: string;
1528
+ alt?: 'json' | 'media' | 'proto';
1417
1529
  /** Android Id returned by [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID). */
1418
1530
  androidId?: string;
1419
1531
  /** JSONP */
@@ -1450,11 +1562,11 @@ declare namespace gapi.client {
1450
1562
  /** Wipes the user's account on a device. Other data on the device that is not associated with the user's work account is not affected. For example, if a Gmail app is installed on a device that is used for personal and work purposes, and the user is logged in to the Gmail app with their personal account as well as their work account, wiping the "deviceUser" by their work administrator will not affect their personal account within Gmail or other apps such as Photos. */
1451
1563
  wipe(request: {
1452
1564
  /** V1 error format. */
1453
- '$.xgafv'?: string;
1565
+ '$.xgafv'?: '1' | '2';
1454
1566
  /** OAuth access token. */
1455
1567
  access_token?: string;
1456
1568
  /** Data format for response. */
1457
- alt?: string;
1569
+ alt?: 'json' | 'media' | 'proto';
1458
1570
  /** JSONP */
1459
1571
  callback?: string;
1460
1572
  /** Selector specifying which fields to include in a partial response. */
@@ -1479,11 +1591,11 @@ declare namespace gapi.client {
1479
1591
  wipe(
1480
1592
  request: {
1481
1593
  /** V1 error format. */
1482
- '$.xgafv'?: string;
1594
+ '$.xgafv'?: '1' | '2';
1483
1595
  /** OAuth access token. */
1484
1596
  access_token?: string;
1485
1597
  /** Data format for response. */
1486
- alt?: string;
1598
+ alt?: 'json' | 'media' | 'proto';
1487
1599
  /** JSONP */
1488
1600
  callback?: string;
1489
1601
  /** Selector specifying which fields to include in a partial response. */
@@ -1511,11 +1623,11 @@ declare namespace gapi.client {
1511
1623
  /** 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. This operation is possible when the device is in a "pending wipe" state. The device enters the "pending wipe" state when a wipe device command is issued, but has not yet been sent to the device. The cancel wipe will fail if the wipe command has already been issued to the device. */
1512
1624
  cancelWipe(request: {
1513
1625
  /** V1 error format. */
1514
- '$.xgafv'?: string;
1626
+ '$.xgafv'?: '1' | '2';
1515
1627
  /** OAuth access token. */
1516
1628
  access_token?: string;
1517
1629
  /** Data format for response. */
1518
- alt?: string;
1630
+ alt?: 'json' | 'media' | 'proto';
1519
1631
  /** JSONP */
1520
1632
  callback?: string;
1521
1633
  /** Selector specifying which fields to include in a partial response. */
@@ -1540,11 +1652,11 @@ declare namespace gapi.client {
1540
1652
  cancelWipe(
1541
1653
  request: {
1542
1654
  /** V1 error format. */
1543
- '$.xgafv'?: string;
1655
+ '$.xgafv'?: '1' | '2';
1544
1656
  /** OAuth access token. */
1545
1657
  access_token?: string;
1546
1658
  /** Data format for response. */
1547
- alt?: string;
1659
+ alt?: 'json' | 'media' | 'proto';
1548
1660
  /** JSONP */
1549
1661
  callback?: string;
1550
1662
  /** Selector specifying which fields to include in a partial response. */
@@ -1569,11 +1681,11 @@ declare namespace gapi.client {
1569
1681
  /** 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 */
1570
1682
  create(request: {
1571
1683
  /** V1 error format. */
1572
- '$.xgafv'?: string;
1684
+ '$.xgafv'?: '1' | '2';
1573
1685
  /** OAuth access token. */
1574
1686
  access_token?: string;
1575
1687
  /** Data format for response. */
1576
- alt?: string;
1688
+ alt?: 'json' | 'media' | 'proto';
1577
1689
  /** JSONP */
1578
1690
  callback?: string;
1579
1691
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1598,11 +1710,11 @@ declare namespace gapi.client {
1598
1710
  create(
1599
1711
  request: {
1600
1712
  /** V1 error format. */
1601
- '$.xgafv'?: string;
1713
+ '$.xgafv'?: '1' | '2';
1602
1714
  /** OAuth access token. */
1603
1715
  access_token?: string;
1604
1716
  /** Data format for response. */
1605
- alt?: string;
1717
+ alt?: 'json' | 'media' | 'proto';
1606
1718
  /** JSONP */
1607
1719
  callback?: string;
1608
1720
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1627,11 +1739,11 @@ declare namespace gapi.client {
1627
1739
  /** Deletes the specified device. */
1628
1740
  delete(request?: {
1629
1741
  /** V1 error format. */
1630
- '$.xgafv'?: string;
1742
+ '$.xgafv'?: '1' | '2';
1631
1743
  /** OAuth access token. */
1632
1744
  access_token?: string;
1633
1745
  /** Data format for response. */
1634
- alt?: string;
1746
+ alt?: 'json' | 'media' | 'proto';
1635
1747
  /** JSONP */
1636
1748
  callback?: string;
1637
1749
  /** 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}`, where customer is the customer to whom the device belongs. */
@@ -1656,11 +1768,11 @@ declare namespace gapi.client {
1656
1768
  /** Retrieves the specified device. */
1657
1769
  get(request?: {
1658
1770
  /** V1 error format. */
1659
- '$.xgafv'?: string;
1771
+ '$.xgafv'?: '1' | '2';
1660
1772
  /** OAuth access token. */
1661
1773
  access_token?: string;
1662
1774
  /** Data format for response. */
1663
- alt?: string;
1775
+ alt?: 'json' | 'media' | 'proto';
1664
1776
  /** JSONP */
1665
1777
  callback?: string;
1666
1778
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. 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}`, where customer is the customer to whom the device belongs. */
@@ -1685,11 +1797,11 @@ declare namespace gapi.client {
1685
1797
  /** Lists/Searches devices. */
1686
1798
  list(request?: {
1687
1799
  /** V1 error format. */
1688
- '$.xgafv'?: string;
1800
+ '$.xgafv'?: '1' | '2';
1689
1801
  /** OAuth access token. */
1690
1802
  access_token?: string;
1691
1803
  /** Data format for response. */
1692
- alt?: string;
1804
+ alt?: 'json' | 'media' | 'proto';
1693
1805
  /** JSONP */
1694
1806
  callback?: string;
1695
1807
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. 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}`, where customer is the customer to whom the device belongs. */
@@ -1717,16 +1829,19 @@ declare namespace gapi.client {
1717
1829
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1718
1830
  uploadType?: string;
1719
1831
  /** Optional. The view to use for the List request. */
1720
- view?: string;
1832
+ view?:
1833
+ | 'VIEW_UNSPECIFIED'
1834
+ | 'COMPANY_INVENTORY'
1835
+ | 'USER_ASSIGNED_DEVICES';
1721
1836
  }): Request<GoogleAppsCloudidentityDevicesV1ListDevicesResponse>;
1722
1837
  /** Wipes all data on the specified device. */
1723
1838
  wipe(request: {
1724
1839
  /** V1 error format. */
1725
- '$.xgafv'?: string;
1840
+ '$.xgafv'?: '1' | '2';
1726
1841
  /** OAuth access token. */
1727
1842
  access_token?: string;
1728
1843
  /** Data format for response. */
1729
- alt?: string;
1844
+ alt?: 'json' | 'media' | 'proto';
1730
1845
  /** JSONP */
1731
1846
  callback?: string;
1732
1847
  /** Selector specifying which fields to include in a partial response. */
@@ -1751,11 +1866,11 @@ declare namespace gapi.client {
1751
1866
  wipe(
1752
1867
  request: {
1753
1868
  /** V1 error format. */
1754
- '$.xgafv'?: string;
1869
+ '$.xgafv'?: '1' | '2';
1755
1870
  /** OAuth access token. */
1756
1871
  access_token?: string;
1757
1872
  /** Data format for response. */
1758
- alt?: string;
1873
+ alt?: 'json' | 'media' | 'proto';
1759
1874
  /** JSONP */
1760
1875
  callback?: string;
1761
1876
  /** Selector specifying which fields to include in a partial response. */
@@ -1783,11 +1898,11 @@ declare namespace gapi.client {
1783
1898
  /** 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. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. 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. */
1784
1899
  checkTransitiveMembership(request?: {
1785
1900
  /** V1 error format. */
1786
- '$.xgafv'?: string;
1901
+ '$.xgafv'?: '1' | '2';
1787
1902
  /** OAuth access token. */
1788
1903
  access_token?: string;
1789
1904
  /** Data format for response. */
1790
- alt?: string;
1905
+ alt?: 'json' | 'media' | 'proto';
1791
1906
  /** JSONP */
1792
1907
  callback?: string;
1793
1908
  /** Selector specifying which fields to include in a partial response. */
@@ -1812,11 +1927,11 @@ declare namespace gapi.client {
1812
1927
  /** Creates a `Membership`. */
1813
1928
  create(request: {
1814
1929
  /** V1 error format. */
1815
- '$.xgafv'?: string;
1930
+ '$.xgafv'?: '1' | '2';
1816
1931
  /** OAuth access token. */
1817
1932
  access_token?: string;
1818
1933
  /** Data format for response. */
1819
- alt?: string;
1934
+ alt?: 'json' | 'media' | 'proto';
1820
1935
  /** JSONP */
1821
1936
  callback?: string;
1822
1937
  /** Selector specifying which fields to include in a partial response. */
@@ -1841,11 +1956,11 @@ declare namespace gapi.client {
1841
1956
  create(
1842
1957
  request: {
1843
1958
  /** V1 error format. */
1844
- '$.xgafv'?: string;
1959
+ '$.xgafv'?: '1' | '2';
1845
1960
  /** OAuth access token. */
1846
1961
  access_token?: string;
1847
1962
  /** Data format for response. */
1848
- alt?: string;
1963
+ alt?: 'json' | 'media' | 'proto';
1849
1964
  /** JSONP */
1850
1965
  callback?: string;
1851
1966
  /** Selector specifying which fields to include in a partial response. */
@@ -1870,11 +1985,11 @@ declare namespace gapi.client {
1870
1985
  /** Deletes a `Membership`. */
1871
1986
  delete(request?: {
1872
1987
  /** V1 error format. */
1873
- '$.xgafv'?: string;
1988
+ '$.xgafv'?: '1' | '2';
1874
1989
  /** OAuth access token. */
1875
1990
  access_token?: string;
1876
1991
  /** Data format for response. */
1877
- alt?: string;
1992
+ alt?: 'json' | 'media' | 'proto';
1878
1993
  /** JSONP */
1879
1994
  callback?: string;
1880
1995
  /** Selector specifying which fields to include in a partial response. */
@@ -1897,11 +2012,11 @@ declare namespace gapi.client {
1897
2012
  /** Retrieves a `Membership`. */
1898
2013
  get(request?: {
1899
2014
  /** V1 error format. */
1900
- '$.xgafv'?: string;
2015
+ '$.xgafv'?: '1' | '2';
1901
2016
  /** OAuth access token. */
1902
2017
  access_token?: string;
1903
2018
  /** Data format for response. */
1904
- alt?: string;
2019
+ alt?: 'json' | 'media' | 'proto';
1905
2020
  /** JSONP */
1906
2021
  callback?: string;
1907
2022
  /** Selector specifying which fields to include in a partial response. */
@@ -1924,11 +2039,11 @@ declare namespace gapi.client {
1924
2039
  /** 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. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. 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. */
1925
2040
  getMembershipGraph(request?: {
1926
2041
  /** V1 error format. */
1927
- '$.xgafv'?: string;
2042
+ '$.xgafv'?: '1' | '2';
1928
2043
  /** OAuth access token. */
1929
2044
  access_token?: string;
1930
2045
  /** Data format for response. */
1931
- alt?: string;
2046
+ alt?: 'json' | 'media' | 'proto';
1932
2047
  /** JSONP */
1933
2048
  callback?: string;
1934
2049
  /** Selector specifying which fields to include in a partial response. */
@@ -1953,11 +2068,11 @@ declare namespace gapi.client {
1953
2068
  /** Lists the `Membership`s within a `Group`. */
1954
2069
  list(request?: {
1955
2070
  /** V1 error format. */
1956
- '$.xgafv'?: string;
2071
+ '$.xgafv'?: '1' | '2';
1957
2072
  /** OAuth access token. */
1958
2073
  access_token?: string;
1959
2074
  /** Data format for response. */
1960
- alt?: string;
2075
+ alt?: 'json' | 'media' | 'proto';
1961
2076
  /** JSONP */
1962
2077
  callback?: string;
1963
2078
  /** Selector specifying which fields to include in a partial response. */
@@ -1981,16 +2096,16 @@ declare namespace gapi.client {
1981
2096
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1982
2097
  uploadType?: string;
1983
2098
  /** The level of detail to be returned. If unspecified, defaults to `View.BASIC`. */
1984
- view?: string;
2099
+ view?: 'VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
1985
2100
  }): Request<ListMembershipsResponse>;
1986
2101
  /** Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Membership` by its `EntityKey`. */
1987
2102
  lookup(request?: {
1988
2103
  /** V1 error format. */
1989
- '$.xgafv'?: string;
2104
+ '$.xgafv'?: '1' | '2';
1990
2105
  /** OAuth access token. */
1991
2106
  access_token?: string;
1992
2107
  /** Data format for response. */
1993
- alt?: string;
2108
+ alt?: 'json' | 'media' | 'proto';
1994
2109
  /** JSONP */
1995
2110
  callback?: string;
1996
2111
  /** Selector specifying which fields to include in a partial response. */
@@ -2017,11 +2132,11 @@ declare namespace gapi.client {
2017
2132
  /** Modifies the `MembershipRole`s of a `Membership`. */
2018
2133
  modifyMembershipRoles(request: {
2019
2134
  /** V1 error format. */
2020
- '$.xgafv'?: string;
2135
+ '$.xgafv'?: '1' | '2';
2021
2136
  /** OAuth access token. */
2022
2137
  access_token?: string;
2023
2138
  /** Data format for response. */
2024
- alt?: string;
2139
+ alt?: 'json' | 'media' | 'proto';
2025
2140
  /** JSONP */
2026
2141
  callback?: string;
2027
2142
  /** Selector specifying which fields to include in a partial response. */
@@ -2046,11 +2161,11 @@ declare namespace gapi.client {
2046
2161
  modifyMembershipRoles(
2047
2162
  request: {
2048
2163
  /** V1 error format. */
2049
- '$.xgafv'?: string;
2164
+ '$.xgafv'?: '1' | '2';
2050
2165
  /** OAuth access token. */
2051
2166
  access_token?: string;
2052
2167
  /** Data format for response. */
2053
- alt?: string;
2168
+ alt?: 'json' | 'media' | 'proto';
2054
2169
  /** JSONP */
2055
2170
  callback?: string;
2056
2171
  /** Selector specifying which fields to include in a partial response. */
@@ -2075,11 +2190,11 @@ declare namespace gapi.client {
2075
2190
  /** Searches direct groups of a member. */
2076
2191
  searchDirectGroups(request?: {
2077
2192
  /** V1 error format. */
2078
- '$.xgafv'?: string;
2193
+ '$.xgafv'?: '1' | '2';
2079
2194
  /** OAuth access token. */
2080
2195
  access_token?: string;
2081
2196
  /** Data format for response. */
2082
- alt?: string;
2197
+ alt?: 'json' | 'media' | 'proto';
2083
2198
  /** JSONP */
2084
2199
  callback?: string;
2085
2200
  /** Selector specifying which fields to include in a partial response. */
@@ -2110,11 +2225,11 @@ declare namespace gapi.client {
2110
2225
  /** 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. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A transitive group is any group that has a direct or indirect membership to the member. Actor must have view permissions all transitive groups. */
2111
2226
  searchTransitiveGroups(request?: {
2112
2227
  /** V1 error format. */
2113
- '$.xgafv'?: string;
2228
+ '$.xgafv'?: '1' | '2';
2114
2229
  /** OAuth access token. */
2115
2230
  access_token?: string;
2116
2231
  /** Data format for response. */
2117
- alt?: string;
2232
+ alt?: 'json' | 'media' | 'proto';
2118
2233
  /** JSONP */
2119
2234
  callback?: string;
2120
2235
  /** Selector specifying which fields to include in a partial response. */
@@ -2143,11 +2258,11 @@ declare namespace gapi.client {
2143
2258
  /** 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. If the account of the group is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A transitive membership is any direct or indirect membership of a group. Actor must have view permissions to all transitive memberships. */
2144
2259
  searchTransitiveMemberships(request?: {
2145
2260
  /** V1 error format. */
2146
- '$.xgafv'?: string;
2261
+ '$.xgafv'?: '1' | '2';
2147
2262
  /** OAuth access token. */
2148
2263
  access_token?: string;
2149
2264
  /** Data format for response. */
2150
- alt?: string;
2265
+ alt?: 'json' | 'media' | 'proto';
2151
2266
  /** JSONP */
2152
2267
  callback?: string;
2153
2268
  /** Selector specifying which fields to include in a partial response. */
@@ -2176,17 +2291,20 @@ declare namespace gapi.client {
2176
2291
  /** Creates a Group. */
2177
2292
  create(request: {
2178
2293
  /** V1 error format. */
2179
- '$.xgafv'?: string;
2294
+ '$.xgafv'?: '1' | '2';
2180
2295
  /** OAuth access token. */
2181
2296
  access_token?: string;
2182
2297
  /** Data format for response. */
2183
- alt?: string;
2298
+ alt?: 'json' | 'media' | 'proto';
2184
2299
  /** JSONP */
2185
2300
  callback?: string;
2186
2301
  /** Selector specifying which fields to include in a partial response. */
2187
2302
  fields?: string;
2188
2303
  /** Optional. The initial configuration option for the `Group`. */
2189
- initialGroupConfig?: string;
2304
+ initialGroupConfig?:
2305
+ | 'INITIAL_GROUP_CONFIG_UNSPECIFIED'
2306
+ | 'WITH_INITIAL_OWNER'
2307
+ | 'EMPTY';
2190
2308
  /** 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. */
2191
2309
  key?: string;
2192
2310
  /** OAuth 2.0 token for the current user. */
@@ -2205,17 +2323,20 @@ declare namespace gapi.client {
2205
2323
  create(
2206
2324
  request: {
2207
2325
  /** V1 error format. */
2208
- '$.xgafv'?: string;
2326
+ '$.xgafv'?: '1' | '2';
2209
2327
  /** OAuth access token. */
2210
2328
  access_token?: string;
2211
2329
  /** Data format for response. */
2212
- alt?: string;
2330
+ alt?: 'json' | 'media' | 'proto';
2213
2331
  /** JSONP */
2214
2332
  callback?: string;
2215
2333
  /** Selector specifying which fields to include in a partial response. */
2216
2334
  fields?: string;
2217
2335
  /** Optional. The initial configuration option for the `Group`. */
2218
- initialGroupConfig?: string;
2336
+ initialGroupConfig?:
2337
+ | 'INITIAL_GROUP_CONFIG_UNSPECIFIED'
2338
+ | 'WITH_INITIAL_OWNER'
2339
+ | 'EMPTY';
2219
2340
  /** 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. */
2220
2341
  key?: string;
2221
2342
  /** OAuth 2.0 token for the current user. */
@@ -2234,11 +2355,11 @@ declare namespace gapi.client {
2234
2355
  /** Deletes a `Group`. */
2235
2356
  delete(request?: {
2236
2357
  /** V1 error format. */
2237
- '$.xgafv'?: string;
2358
+ '$.xgafv'?: '1' | '2';
2238
2359
  /** OAuth access token. */
2239
2360
  access_token?: string;
2240
2361
  /** Data format for response. */
2241
- alt?: string;
2362
+ alt?: 'json' | 'media' | 'proto';
2242
2363
  /** JSONP */
2243
2364
  callback?: string;
2244
2365
  /** Selector specifying which fields to include in a partial response. */
@@ -2261,11 +2382,11 @@ declare namespace gapi.client {
2261
2382
  /** Retrieves a `Group`. */
2262
2383
  get(request?: {
2263
2384
  /** V1 error format. */
2264
- '$.xgafv'?: string;
2385
+ '$.xgafv'?: '1' | '2';
2265
2386
  /** OAuth access token. */
2266
2387
  access_token?: string;
2267
2388
  /** Data format for response. */
2268
- alt?: string;
2389
+ alt?: 'json' | 'media' | 'proto';
2269
2390
  /** JSONP */
2270
2391
  callback?: string;
2271
2392
  /** Selector specifying which fields to include in a partial response. */
@@ -2288,11 +2409,11 @@ declare namespace gapi.client {
2288
2409
  /** Get Security Settings */
2289
2410
  getSecuritySettings(request?: {
2290
2411
  /** V1 error format. */
2291
- '$.xgafv'?: string;
2412
+ '$.xgafv'?: '1' | '2';
2292
2413
  /** OAuth access token. */
2293
2414
  access_token?: string;
2294
2415
  /** Data format for response. */
2295
- alt?: string;
2416
+ alt?: 'json' | 'media' | 'proto';
2296
2417
  /** JSONP */
2297
2418
  callback?: string;
2298
2419
  /** Selector specifying which fields to include in a partial response. */
@@ -2317,11 +2438,11 @@ declare namespace gapi.client {
2317
2438
  /** Lists the `Group` resources under a customer or namespace. */
2318
2439
  list(request?: {
2319
2440
  /** V1 error format. */
2320
- '$.xgafv'?: string;
2441
+ '$.xgafv'?: '1' | '2';
2321
2442
  /** OAuth access token. */
2322
2443
  access_token?: string;
2323
2444
  /** Data format for response. */
2324
- alt?: string;
2445
+ alt?: 'json' | 'media' | 'proto';
2325
2446
  /** JSONP */
2326
2447
  callback?: string;
2327
2448
  /** Selector specifying which fields to include in a partial response. */
@@ -2345,16 +2466,16 @@ declare namespace gapi.client {
2345
2466
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2346
2467
  uploadType?: string;
2347
2468
  /** The level of detail to be returned. If unspecified, defaults to `View.BASIC`. */
2348
- view?: string;
2469
+ view?: 'VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
2349
2470
  }): Request<ListGroupsResponse>;
2350
2471
  /** Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Group` by its `EntityKey`. */
2351
2472
  lookup(request?: {
2352
2473
  /** V1 error format. */
2353
- '$.xgafv'?: string;
2474
+ '$.xgafv'?: '1' | '2';
2354
2475
  /** OAuth access token. */
2355
2476
  access_token?: string;
2356
2477
  /** Data format for response. */
2357
- alt?: string;
2478
+ alt?: 'json' | 'media' | 'proto';
2358
2479
  /** JSONP */
2359
2480
  callback?: string;
2360
2481
  /** Selector specifying which fields to include in a partial response. */
@@ -2379,11 +2500,11 @@ declare namespace gapi.client {
2379
2500
  /** Updates a `Group`. */
2380
2501
  patch(request: {
2381
2502
  /** V1 error format. */
2382
- '$.xgafv'?: string;
2503
+ '$.xgafv'?: '1' | '2';
2383
2504
  /** OAuth access token. */
2384
2505
  access_token?: string;
2385
2506
  /** Data format for response. */
2386
- alt?: string;
2507
+ alt?: 'json' | 'media' | 'proto';
2387
2508
  /** JSONP */
2388
2509
  callback?: string;
2389
2510
  /** Selector specifying which fields to include in a partial response. */
@@ -2410,11 +2531,11 @@ declare namespace gapi.client {
2410
2531
  patch(
2411
2532
  request: {
2412
2533
  /** V1 error format. */
2413
- '$.xgafv'?: string;
2534
+ '$.xgafv'?: '1' | '2';
2414
2535
  /** OAuth access token. */
2415
2536
  access_token?: string;
2416
2537
  /** Data format for response. */
2417
- alt?: string;
2538
+ alt?: 'json' | 'media' | 'proto';
2418
2539
  /** JSONP */
2419
2540
  callback?: string;
2420
2541
  /** Selector specifying which fields to include in a partial response. */
@@ -2441,11 +2562,11 @@ declare namespace gapi.client {
2441
2562
  /** Searches for `Group` resources matching a specified query. */
2442
2563
  search(request?: {
2443
2564
  /** V1 error format. */
2444
- '$.xgafv'?: string;
2565
+ '$.xgafv'?: '1' | '2';
2445
2566
  /** OAuth access token. */
2446
2567
  access_token?: string;
2447
2568
  /** Data format for response. */
2448
- alt?: string;
2569
+ alt?: 'json' | 'media' | 'proto';
2449
2570
  /** JSONP */
2450
2571
  callback?: string;
2451
2572
  /** Selector specifying which fields to include in a partial response. */
@@ -2469,16 +2590,16 @@ declare namespace gapi.client {
2469
2590
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2470
2591
  uploadType?: string;
2471
2592
  /** The level of detail to be returned. If unspecified, defaults to `View.BASIC`. */
2472
- view?: string;
2593
+ view?: 'VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
2473
2594
  }): Request<SearchGroupsResponse>;
2474
2595
  /** Update Security Settings */
2475
2596
  updateSecuritySettings(request: {
2476
2597
  /** V1 error format. */
2477
- '$.xgafv'?: string;
2598
+ '$.xgafv'?: '1' | '2';
2478
2599
  /** OAuth access token. */
2479
2600
  access_token?: string;
2480
2601
  /** Data format for response. */
2481
- alt?: string;
2602
+ alt?: 'json' | 'media' | 'proto';
2482
2603
  /** JSONP */
2483
2604
  callback?: string;
2484
2605
  /** Selector specifying which fields to include in a partial response. */
@@ -2505,11 +2626,11 @@ declare namespace gapi.client {
2505
2626
  updateSecuritySettings(
2506
2627
  request: {
2507
2628
  /** V1 error format. */
2508
- '$.xgafv'?: string;
2629
+ '$.xgafv'?: '1' | '2';
2509
2630
  /** OAuth access token. */
2510
2631
  access_token?: string;
2511
2632
  /** Data format for response. */
2512
- alt?: string;
2633
+ alt?: 'json' | 'media' | 'proto';
2513
2634
  /** JSONP */
2514
2635
  callback?: string;
2515
2636
  /** Selector specifying which fields to include in a partial response. */
@@ -2539,11 +2660,11 @@ declare namespace gapi.client {
2539
2660
  /** 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"`. */
2540
2661
  create(request: {
2541
2662
  /** V1 error format. */
2542
- '$.xgafv'?: string;
2663
+ '$.xgafv'?: '1' | '2';
2543
2664
  /** OAuth access token. */
2544
2665
  access_token?: string;
2545
2666
  /** Data format for response. */
2546
- alt?: string;
2667
+ alt?: 'json' | 'media' | 'proto';
2547
2668
  /** JSONP */
2548
2669
  callback?: string;
2549
2670
  /** Selector specifying which fields to include in a partial response. */
@@ -2566,11 +2687,11 @@ declare namespace gapi.client {
2566
2687
  create(
2567
2688
  request: {
2568
2689
  /** V1 error format. */
2569
- '$.xgafv'?: string;
2690
+ '$.xgafv'?: '1' | '2';
2570
2691
  /** OAuth access token. */
2571
2692
  access_token?: string;
2572
2693
  /** Data format for response. */
2573
- alt?: string;
2694
+ alt?: 'json' | 'media' | 'proto';
2574
2695
  /** JSONP */
2575
2696
  callback?: string;
2576
2697
  /** Selector specifying which fields to include in a partial response. */
@@ -2593,11 +2714,11 @@ declare namespace gapi.client {
2593
2714
  /** Deletes an InboundOidcSsoProfile. */
2594
2715
  delete(request?: {
2595
2716
  /** V1 error format. */
2596
- '$.xgafv'?: string;
2717
+ '$.xgafv'?: '1' | '2';
2597
2718
  /** OAuth access token. */
2598
2719
  access_token?: string;
2599
2720
  /** Data format for response. */
2600
- alt?: string;
2721
+ alt?: 'json' | 'media' | 'proto';
2601
2722
  /** JSONP */
2602
2723
  callback?: string;
2603
2724
  /** Selector specifying which fields to include in a partial response. */
@@ -2620,11 +2741,11 @@ declare namespace gapi.client {
2620
2741
  /** Gets an InboundOidcSsoProfile. */
2621
2742
  get(request?: {
2622
2743
  /** V1 error format. */
2623
- '$.xgafv'?: string;
2744
+ '$.xgafv'?: '1' | '2';
2624
2745
  /** OAuth access token. */
2625
2746
  access_token?: string;
2626
2747
  /** Data format for response. */
2627
- alt?: string;
2748
+ alt?: 'json' | 'media' | 'proto';
2628
2749
  /** JSONP */
2629
2750
  callback?: string;
2630
2751
  /** Selector specifying which fields to include in a partial response. */
@@ -2647,11 +2768,11 @@ declare namespace gapi.client {
2647
2768
  /** Lists InboundOidcSsoProfile objects for a Google enterprise customer. */
2648
2769
  list(request?: {
2649
2770
  /** V1 error format. */
2650
- '$.xgafv'?: string;
2771
+ '$.xgafv'?: '1' | '2';
2651
2772
  /** OAuth access token. */
2652
2773
  access_token?: string;
2653
2774
  /** Data format for response. */
2654
- alt?: string;
2775
+ alt?: 'json' | 'media' | 'proto';
2655
2776
  /** JSONP */
2656
2777
  callback?: string;
2657
2778
  /** Selector specifying which fields to include in a partial response. */
@@ -2678,11 +2799,11 @@ declare namespace gapi.client {
2678
2799
  /** 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"`. */
2679
2800
  patch(request: {
2680
2801
  /** V1 error format. */
2681
- '$.xgafv'?: string;
2802
+ '$.xgafv'?: '1' | '2';
2682
2803
  /** OAuth access token. */
2683
2804
  access_token?: string;
2684
2805
  /** Data format for response. */
2685
- alt?: string;
2806
+ alt?: 'json' | 'media' | 'proto';
2686
2807
  /** JSONP */
2687
2808
  callback?: string;
2688
2809
  /** Selector specifying which fields to include in a partial response. */
@@ -2709,11 +2830,11 @@ declare namespace gapi.client {
2709
2830
  patch(
2710
2831
  request: {
2711
2832
  /** V1 error format. */
2712
- '$.xgafv'?: string;
2833
+ '$.xgafv'?: '1' | '2';
2713
2834
  /** OAuth access token. */
2714
2835
  access_token?: string;
2715
2836
  /** Data format for response. */
2716
- alt?: string;
2837
+ alt?: 'json' | 'media' | 'proto';
2717
2838
  /** JSONP */
2718
2839
  callback?: string;
2719
2840
  /** Selector specifying which fields to include in a partial response. */
@@ -2742,11 +2863,11 @@ declare namespace gapi.client {
2742
2863
  /** 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"`. */
2743
2864
  add(request: {
2744
2865
  /** V1 error format. */
2745
- '$.xgafv'?: string;
2866
+ '$.xgafv'?: '1' | '2';
2746
2867
  /** OAuth access token. */
2747
2868
  access_token?: string;
2748
2869
  /** Data format for response. */
2749
- alt?: string;
2870
+ alt?: 'json' | 'media' | 'proto';
2750
2871
  /** JSONP */
2751
2872
  callback?: string;
2752
2873
  /** Selector specifying which fields to include in a partial response. */
@@ -2771,11 +2892,11 @@ declare namespace gapi.client {
2771
2892
  add(
2772
2893
  request: {
2773
2894
  /** V1 error format. */
2774
- '$.xgafv'?: string;
2895
+ '$.xgafv'?: '1' | '2';
2775
2896
  /** OAuth access token. */
2776
2897
  access_token?: string;
2777
2898
  /** Data format for response. */
2778
- alt?: string;
2899
+ alt?: 'json' | 'media' | 'proto';
2779
2900
  /** JSONP */
2780
2901
  callback?: string;
2781
2902
  /** Selector specifying which fields to include in a partial response. */
@@ -2800,11 +2921,11 @@ declare namespace gapi.client {
2800
2921
  /** Deletes an IdpCredential. */
2801
2922
  delete(request?: {
2802
2923
  /** V1 error format. */
2803
- '$.xgafv'?: string;
2924
+ '$.xgafv'?: '1' | '2';
2804
2925
  /** OAuth access token. */
2805
2926
  access_token?: string;
2806
2927
  /** Data format for response. */
2807
- alt?: string;
2928
+ alt?: 'json' | 'media' | 'proto';
2808
2929
  /** JSONP */
2809
2930
  callback?: string;
2810
2931
  /** Selector specifying which fields to include in a partial response. */
@@ -2827,11 +2948,11 @@ declare namespace gapi.client {
2827
2948
  /** Gets an IdpCredential. */
2828
2949
  get(request?: {
2829
2950
  /** V1 error format. */
2830
- '$.xgafv'?: string;
2951
+ '$.xgafv'?: '1' | '2';
2831
2952
  /** OAuth access token. */
2832
2953
  access_token?: string;
2833
2954
  /** Data format for response. */
2834
- alt?: string;
2955
+ alt?: 'json' | 'media' | 'proto';
2835
2956
  /** JSONP */
2836
2957
  callback?: string;
2837
2958
  /** Selector specifying which fields to include in a partial response. */
@@ -2854,11 +2975,11 @@ declare namespace gapi.client {
2854
2975
  /** Returns a list of IdpCredentials in an InboundSamlSsoProfile. */
2855
2976
  list(request?: {
2856
2977
  /** V1 error format. */
2857
- '$.xgafv'?: string;
2978
+ '$.xgafv'?: '1' | '2';
2858
2979
  /** OAuth access token. */
2859
2980
  access_token?: string;
2860
2981
  /** Data format for response. */
2861
- alt?: string;
2982
+ alt?: 'json' | 'media' | 'proto';
2862
2983
  /** JSONP */
2863
2984
  callback?: string;
2864
2985
  /** Selector specifying which fields to include in a partial response. */
@@ -2887,11 +3008,11 @@ declare namespace gapi.client {
2887
3008
  /** 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"`. */
2888
3009
  create(request: {
2889
3010
  /** V1 error format. */
2890
- '$.xgafv'?: string;
3011
+ '$.xgafv'?: '1' | '2';
2891
3012
  /** OAuth access token. */
2892
3013
  access_token?: string;
2893
3014
  /** Data format for response. */
2894
- alt?: string;
3015
+ alt?: 'json' | 'media' | 'proto';
2895
3016
  /** JSONP */
2896
3017
  callback?: string;
2897
3018
  /** Selector specifying which fields to include in a partial response. */
@@ -2914,11 +3035,11 @@ declare namespace gapi.client {
2914
3035
  create(
2915
3036
  request: {
2916
3037
  /** V1 error format. */
2917
- '$.xgafv'?: string;
3038
+ '$.xgafv'?: '1' | '2';
2918
3039
  /** OAuth access token. */
2919
3040
  access_token?: string;
2920
3041
  /** Data format for response. */
2921
- alt?: string;
3042
+ alt?: 'json' | 'media' | 'proto';
2922
3043
  /** JSONP */
2923
3044
  callback?: string;
2924
3045
  /** Selector specifying which fields to include in a partial response. */
@@ -2941,11 +3062,11 @@ declare namespace gapi.client {
2941
3062
  /** Deletes an InboundSamlSsoProfile. */
2942
3063
  delete(request?: {
2943
3064
  /** V1 error format. */
2944
- '$.xgafv'?: string;
3065
+ '$.xgafv'?: '1' | '2';
2945
3066
  /** OAuth access token. */
2946
3067
  access_token?: string;
2947
3068
  /** Data format for response. */
2948
- alt?: string;
3069
+ alt?: 'json' | 'media' | 'proto';
2949
3070
  /** JSONP */
2950
3071
  callback?: string;
2951
3072
  /** Selector specifying which fields to include in a partial response. */
@@ -2968,11 +3089,11 @@ declare namespace gapi.client {
2968
3089
  /** Gets an InboundSamlSsoProfile. */
2969
3090
  get(request?: {
2970
3091
  /** V1 error format. */
2971
- '$.xgafv'?: string;
3092
+ '$.xgafv'?: '1' | '2';
2972
3093
  /** OAuth access token. */
2973
3094
  access_token?: string;
2974
3095
  /** Data format for response. */
2975
- alt?: string;
3096
+ alt?: 'json' | 'media' | 'proto';
2976
3097
  /** JSONP */
2977
3098
  callback?: string;
2978
3099
  /** Selector specifying which fields to include in a partial response. */
@@ -2995,11 +3116,11 @@ declare namespace gapi.client {
2995
3116
  /** Lists InboundSamlSsoProfiles for a customer. */
2996
3117
  list(request?: {
2997
3118
  /** V1 error format. */
2998
- '$.xgafv'?: string;
3119
+ '$.xgafv'?: '1' | '2';
2999
3120
  /** OAuth access token. */
3000
3121
  access_token?: string;
3001
3122
  /** Data format for response. */
3002
- alt?: string;
3123
+ alt?: 'json' | 'media' | 'proto';
3003
3124
  /** JSONP */
3004
3125
  callback?: string;
3005
3126
  /** Selector specifying which fields to include in a partial response. */
@@ -3026,11 +3147,11 @@ declare namespace gapi.client {
3026
3147
  /** 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"`. */
3027
3148
  patch(request: {
3028
3149
  /** V1 error format. */
3029
- '$.xgafv'?: string;
3150
+ '$.xgafv'?: '1' | '2';
3030
3151
  /** OAuth access token. */
3031
3152
  access_token?: string;
3032
3153
  /** Data format for response. */
3033
- alt?: string;
3154
+ alt?: 'json' | 'media' | 'proto';
3034
3155
  /** JSONP */
3035
3156
  callback?: string;
3036
3157
  /** Selector specifying which fields to include in a partial response. */
@@ -3057,11 +3178,11 @@ declare namespace gapi.client {
3057
3178
  patch(
3058
3179
  request: {
3059
3180
  /** V1 error format. */
3060
- '$.xgafv'?: string;
3181
+ '$.xgafv'?: '1' | '2';
3061
3182
  /** OAuth access token. */
3062
3183
  access_token?: string;
3063
3184
  /** Data format for response. */
3064
- alt?: string;
3185
+ alt?: 'json' | 'media' | 'proto';
3065
3186
  /** JSONP */
3066
3187
  callback?: string;
3067
3188
  /** Selector specifying which fields to include in a partial response. */
@@ -3091,11 +3212,11 @@ declare namespace gapi.client {
3091
3212
  /** Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`. */
3092
3213
  create(request: {
3093
3214
  /** V1 error format. */
3094
- '$.xgafv'?: string;
3215
+ '$.xgafv'?: '1' | '2';
3095
3216
  /** OAuth access token. */
3096
3217
  access_token?: string;
3097
3218
  /** Data format for response. */
3098
- alt?: string;
3219
+ alt?: 'json' | 'media' | 'proto';
3099
3220
  /** JSONP */
3100
3221
  callback?: string;
3101
3222
  /** Selector specifying which fields to include in a partial response. */
@@ -3118,11 +3239,11 @@ declare namespace gapi.client {
3118
3239
  create(
3119
3240
  request: {
3120
3241
  /** V1 error format. */
3121
- '$.xgafv'?: string;
3242
+ '$.xgafv'?: '1' | '2';
3122
3243
  /** OAuth access token. */
3123
3244
  access_token?: string;
3124
3245
  /** Data format for response. */
3125
- alt?: string;
3246
+ alt?: 'json' | 'media' | 'proto';
3126
3247
  /** JSONP */
3127
3248
  callback?: string;
3128
3249
  /** Selector specifying which fields to include in a partial response. */
@@ -3145,11 +3266,11 @@ declare namespace gapi.client {
3145
3266
  /** Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`. */
3146
3267
  delete(request?: {
3147
3268
  /** V1 error format. */
3148
- '$.xgafv'?: string;
3269
+ '$.xgafv'?: '1' | '2';
3149
3270
  /** OAuth access token. */
3150
3271
  access_token?: string;
3151
3272
  /** Data format for response. */
3152
- alt?: string;
3273
+ alt?: 'json' | 'media' | 'proto';
3153
3274
  /** JSONP */
3154
3275
  callback?: string;
3155
3276
  /** Selector specifying which fields to include in a partial response. */
@@ -3172,11 +3293,11 @@ declare namespace gapi.client {
3172
3293
  /** Gets an InboundSsoAssignment. */
3173
3294
  get(request?: {
3174
3295
  /** V1 error format. */
3175
- '$.xgafv'?: string;
3296
+ '$.xgafv'?: '1' | '2';
3176
3297
  /** OAuth access token. */
3177
3298
  access_token?: string;
3178
3299
  /** Data format for response. */
3179
- alt?: string;
3300
+ alt?: 'json' | 'media' | 'proto';
3180
3301
  /** JSONP */
3181
3302
  callback?: string;
3182
3303
  /** Selector specifying which fields to include in a partial response. */
@@ -3199,11 +3320,11 @@ declare namespace gapi.client {
3199
3320
  /** Lists the InboundSsoAssignments for a `Customer`. */
3200
3321
  list(request?: {
3201
3322
  /** V1 error format. */
3202
- '$.xgafv'?: string;
3323
+ '$.xgafv'?: '1' | '2';
3203
3324
  /** OAuth access token. */
3204
3325
  access_token?: string;
3205
3326
  /** Data format for response. */
3206
- alt?: string;
3327
+ alt?: 'json' | 'media' | 'proto';
3207
3328
  /** JSONP */
3208
3329
  callback?: string;
3209
3330
  /** Selector specifying which fields to include in a partial response. */
@@ -3230,11 +3351,11 @@ declare namespace gapi.client {
3230
3351
  /** 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 `/v1/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. */
3231
3352
  patch(request: {
3232
3353
  /** V1 error format. */
3233
- '$.xgafv'?: string;
3354
+ '$.xgafv'?: '1' | '2';
3234
3355
  /** OAuth access token. */
3235
3356
  access_token?: string;
3236
3357
  /** Data format for response. */
3237
- alt?: string;
3358
+ alt?: 'json' | 'media' | 'proto';
3238
3359
  /** JSONP */
3239
3360
  callback?: string;
3240
3361
  /** Selector specifying which fields to include in a partial response. */
@@ -3261,11 +3382,11 @@ declare namespace gapi.client {
3261
3382
  patch(
3262
3383
  request: {
3263
3384
  /** V1 error format. */
3264
- '$.xgafv'?: string;
3385
+ '$.xgafv'?: '1' | '2';
3265
3386
  /** OAuth access token. */
3266
3387
  access_token?: string;
3267
3388
  /** Data format for response. */
3268
- alt?: string;
3389
+ alt?: 'json' | 'media' | 'proto';
3269
3390
  /** JSONP */
3270
3391
  callback?: string;
3271
3392
  /** Selector specifying which fields to include in a partial response. */
@@ -3294,11 +3415,11 @@ declare namespace gapi.client {
3294
3415
  /** Get a policy. */
3295
3416
  get(request?: {
3296
3417
  /** V1 error format. */
3297
- '$.xgafv'?: string;
3418
+ '$.xgafv'?: '1' | '2';
3298
3419
  /** OAuth access token. */
3299
3420
  access_token?: string;
3300
3421
  /** Data format for response. */
3301
- alt?: string;
3422
+ alt?: 'json' | 'media' | 'proto';
3302
3423
  /** JSONP */
3303
3424
  callback?: string;
3304
3425
  /** Selector specifying which fields to include in a partial response. */
@@ -3321,11 +3442,11 @@ declare namespace gapi.client {
3321
3442
  /** List policies. */
3322
3443
  list(request?: {
3323
3444
  /** V1 error format. */
3324
- '$.xgafv'?: string;
3445
+ '$.xgafv'?: '1' | '2';
3325
3446
  /** OAuth access token. */
3326
3447
  access_token?: string;
3327
3448
  /** Data format for response. */
3328
- alt?: string;
3449
+ alt?: 'json' | 'media' | 'proto';
3329
3450
  /** JSONP */
3330
3451
  callback?: string;
3331
3452
  /** Selector specifying which fields to include in a partial response. */