@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20221109 → 0.0.20221122

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.
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://admin.googleapis.com/$discovery/rest?version=directory_v1
12
- // Revision: 20221109
12
+ // Revision: 20221122
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1220,7 +1220,7 @@ declare namespace gapi.client {
1220
1220
  * excluding user profiles, see the [administration help center](https://support.google.com/a/answer/1285988).
1221
1221
  */
1222
1222
  includeInGlobalAddressList?: boolean;
1223
- /** If `true`, the user's IP address is [whitelisted](https://support.google.com/a/answer/60752). */
1223
+ /** If `true`, the user's IP address is subject to a deprecated IP address [`allowlist`](https://support.google.com/a/answer/60752) configuration. */
1224
1224
  ipWhitelisted?: boolean;
1225
1225
  /**
1226
1226
  * Output only. Indicates a user with super admininistrator privileges. The `isAdmin` property can only be edited in the [Make a user an
@@ -3675,7 +3675,7 @@ declare namespace gapi.client {
3675
3675
  * excluding user profiles, see the [administration help center](https://support.google.com/a/answer/1285988).
3676
3676
  */
3677
3677
  includeInGlobalAddressList?: boolean;
3678
- /** If `true`, the user's IP address is [whitelisted](https://support.google.com/a/answer/60752). */
3678
+ /** If `true`, the user's IP address is subject to a deprecated IP address [`allowlist`](https://support.google.com/a/answer/60752) configuration. */
3679
3679
  ipWhitelisted?: boolean;
3680
3680
  /**
3681
3681
  * Output only. Indicates a user with super admininistrator privileges. The `isAdmin` property can only be edited in the [Make a user an
@@ -4687,7 +4687,11 @@ declare namespace gapi.client {
4687
4687
  alt?: string;
4688
4688
  /** JSONP */
4689
4689
  callback?: string;
4690
- /** Immutable ID of the Google Workspace account. */
4690
+ /**
4691
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
4692
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
4693
+ * resource. You must provide either the `customer` or the `domain` parameter.
4694
+ */
4691
4695
  customer: string;
4692
4696
  /** Name of domain alias to be retrieved. */
4693
4697
  domainAliasName: string;
@@ -4772,7 +4776,11 @@ declare namespace gapi.client {
4772
4776
  alt?: string;
4773
4777
  /** JSONP */
4774
4778
  callback?: string;
4775
- /** Immutable ID of the Google Workspace account. */
4779
+ /**
4780
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
4781
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
4782
+ * resource. You must provide either the `customer` or the `domain` parameter.
4783
+ */
4776
4784
  customer: string;
4777
4785
  /** Selector specifying which fields to include in a partial response. */
4778
4786
  fields?: string;
@@ -4832,7 +4840,11 @@ declare namespace gapi.client {
4832
4840
  alt?: string;
4833
4841
  /** JSONP */
4834
4842
  callback?: string;
4835
- /** Immutable ID of the Google Workspace account. */
4843
+ /**
4844
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
4845
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
4846
+ * resource. You must provide either the `customer` or the `domain` parameter.
4847
+ */
4836
4848
  customer: string;
4837
4849
  /** Name of domain to be retrieved */
4838
4850
  domainName: string;
@@ -4917,7 +4929,11 @@ declare namespace gapi.client {
4917
4929
  alt?: string;
4918
4930
  /** JSONP */
4919
4931
  callback?: string;
4920
- /** Immutable ID of the Google Workspace account. */
4932
+ /**
4933
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
4934
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
4935
+ * resource. You must provide either the `customer` or the `domain` parameter.
4936
+ */
4921
4937
  customer: string;
4922
4938
  /** Selector specifying which fields to include in a partial response. */
4923
4939
  fields?: string;
@@ -5167,9 +5183,9 @@ declare namespace gapi.client {
5167
5183
  /** JSONP */
5168
5184
  callback?: string;
5169
5185
  /**
5170
- * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, fill in this field instead of `domain`. You can
5186
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
5171
5187
  * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
5172
- * resource. Either the `customer` or the `domain` parameter must be provided.
5188
+ * resource. You must provide either the `customer` or the `domain` parameter.
5173
5189
  */
5174
5190
  customer?: string;
5175
5191
  /** The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. */
@@ -5469,7 +5485,10 @@ declare namespace gapi.client {
5469
5485
  uploadType?: string;
5470
5486
  },
5471
5487
  body: Member): Request<Member>;
5472
- /** Retrieves a paginated list of all members in a group. */
5488
+ /**
5489
+ * Retrieves a paginated list of all members in a group. This method times out after 60 minutes. For more information, see [Troubleshoot error
5490
+ * codes](https://developers.google.com/admin-sdk/directory/v1/guides/troubleshoot-error-codes).
5491
+ */
5473
5492
  list(request?: {
5474
5493
  /** V1 error format. */
5475
5494
  "$.xgafv"?: string;
@@ -5772,7 +5791,8 @@ declare namespace gapi.client {
5772
5791
  }): Request<MobileDevice>;
5773
5792
  /**
5774
5793
  * Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices
5775
- * API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead.
5794
+ * API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead. This method times out after 60 minutes. For more information, see [Troubleshoot error
5795
+ * codes](https://developers.google.com/admin-sdk/directory/v1/guides/troubleshoot-error-codes).
5776
5796
  */
5777
5797
  list(request?: {
5778
5798
  /** V1 error format. */
@@ -6121,7 +6141,11 @@ declare namespace gapi.client {
6121
6141
  alt?: string;
6122
6142
  /** JSONP */
6123
6143
  callback?: string;
6124
- /** Immutable ID of the Google Workspace account. */
6144
+ /**
6145
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
6146
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
6147
+ * resource. You must provide either the `customer` or the `domain` parameter.
6148
+ */
6125
6149
  customer: string;
6126
6150
  /** Selector specifying which fields to include in a partial response. */
6127
6151
  fields?: string;
@@ -7073,7 +7097,11 @@ declare namespace gapi.client {
7073
7097
  alt?: string;
7074
7098
  /** JSONP */
7075
7099
  callback?: string;
7076
- /** Immutable ID of the Google Workspace account. */
7100
+ /**
7101
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
7102
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
7103
+ * resource. You must provide either the `customer` or the `domain` parameter.
7104
+ */
7077
7105
  customer: string;
7078
7106
  /** Selector specifying which fields to include in a partial response. */
7079
7107
  fields?: string;
@@ -7158,7 +7186,11 @@ declare namespace gapi.client {
7158
7186
  alt?: string;
7159
7187
  /** JSONP */
7160
7188
  callback?: string;
7161
- /** Immutable ID of the Google Workspace account. */
7189
+ /**
7190
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
7191
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
7192
+ * resource. You must provide either the `customer` or the `domain` parameter.
7193
+ */
7162
7194
  customer: string;
7163
7195
  /** Selector specifying which fields to include in a partial response. */
7164
7196
  fields?: string;
@@ -7224,7 +7256,11 @@ declare namespace gapi.client {
7224
7256
  alt?: string;
7225
7257
  /** JSONP */
7226
7258
  callback?: string;
7227
- /** Immutable ID of the Google Workspace account. */
7259
+ /**
7260
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
7261
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
7262
+ * resource. You must provide either the `customer` or the `domain` parameter.
7263
+ */
7228
7264
  customer: string;
7229
7265
  /** Selector specifying which fields to include in a partial response. */
7230
7266
  fields?: string;
@@ -7309,7 +7345,11 @@ declare namespace gapi.client {
7309
7345
  alt?: string;
7310
7346
  /** JSONP */
7311
7347
  callback?: string;
7312
- /** Immutable ID of the Google Workspace account. */
7348
+ /**
7349
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
7350
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
7351
+ * resource. You must provide either the `customer` or the `domain` parameter.
7352
+ */
7313
7353
  customer: string;
7314
7354
  /** Selector specifying which fields to include in a partial response. */
7315
7355
  fields?: string;
@@ -7491,7 +7531,11 @@ declare namespace gapi.client {
7491
7531
  alt?: string;
7492
7532
  /** JSONP */
7493
7533
  callback?: string;
7494
- /** Immutable ID of the Google Workspace account. */
7534
+ /**
7535
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
7536
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
7537
+ * resource. You must provide either the `customer` or the `domain` parameter.
7538
+ */
7495
7539
  customerId: string;
7496
7540
  /** Selector specifying which fields to include in a partial response. */
7497
7541
  fields?: string;
@@ -7576,7 +7620,11 @@ declare namespace gapi.client {
7576
7620
  alt?: string;
7577
7621
  /** JSONP */
7578
7622
  callback?: string;
7579
- /** Immutable ID of the Google Workspace account. */
7623
+ /**
7624
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
7625
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
7626
+ * resource. You must provide either the `customer` or the `domain` parameter.
7627
+ */
7580
7628
  customerId: string;
7581
7629
  /** Selector specifying which fields to include in a partial response. */
7582
7630
  fields?: string;
@@ -8301,9 +8349,9 @@ declare namespace gapi.client {
8301
8349
  /** JSONP */
8302
8350
  callback?: string;
8303
8351
  /**
8304
- * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain. You can also
8305
- * use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).
8306
- * Either the `customer` or the `domain` parameter must be provided.
8352
+ * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can
8353
+ * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users)
8354
+ * resource. You must provide either the `customer` or the `domain` parameter.
8307
8355
  */
8308
8356
  customer?: string;
8309
8357
  /** A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when `projection=custom`. */
@@ -8548,8 +8596,10 @@ declare namespace gapi.client {
8548
8596
  },
8549
8597
  body: UserUndelete): Request<void>;
8550
8598
  /**
8551
- * Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved,
8552
- * and fields set to `null` will be cleared.
8599
+ * Updates a user. This method supports patch semantics, meaning that you only need to include the fields you wish to update. Fields that are not present in the request will be
8600
+ * preserved, and fields set to `null` will be cleared. For repeating fields that contain arrays, individual items in the array can't be patched piecemeal; they must be supplied in the
8601
+ * request body with the desired values for all items. See the [user accounts guide](https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#update_user) for more
8602
+ * information.
8553
8603
  */
8554
8604
  update(request: {
8555
8605
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-directory_v1",
3
- "version": "0.0.20221109",
3
+ "version": "0.0.20221122",
4
4
  "description": "TypeScript typings for Admin SDK API directory_v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -308,7 +308,7 @@ Adds a user to the specified group.
308
308
  await gapi.client.directory.members.insert({ groupKey: "groupKey", });
309
309
 
310
310
  /*
311
- Retrieves a paginated list of all members in a group.
311
+ Retrieves a paginated list of all members in a group. This method times out after 60 minutes. For more information, see [Troubleshoot error codes](https://developers.google.com/admin-sdk/directory/v1/guides/troubleshoot-error-codes).
312
312
  */
313
313
  await gapi.client.directory.members.list({ groupKey: "groupKey", });
314
314
 
@@ -338,7 +338,7 @@ Retrieves a mobile device's properties.
338
338
  await gapi.client.directory.mobiledevices.get({ customerId: "customerId", resourceId: "resourceId", });
339
339
 
340
340
  /*
341
- Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead.
341
+ Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead. This method times out after 60 minutes. For more information, see [Troubleshoot error codes](https://developers.google.com/admin-sdk/directory/v1/guides/troubleshoot-error-codes).
342
342
  */
343
343
  await gapi.client.directory.mobiledevices.list({ customerId: "customerId", });
344
344
 
@@ -518,7 +518,7 @@ Undeletes a deleted user.
518
518
  await gapi.client.directory.users.undelete({ userKey: "userKey", });
519
519
 
520
520
  /*
521
- Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, and fields set to `null` will be cleared.
521
+ Updates a user. This method supports patch semantics, meaning that you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, and fields set to `null` will be cleared. For repeating fields that contain arrays, individual items in the array can't be patched piecemeal; they must be supplied in the request body with the desired values for all items. See the [user accounts guide](https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#update_user) for more information.
522
522
  */
523
523
  await gapi.client.directory.users.update({ userKey: "userKey", });
524
524
 
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20221109
6
+ // Revision: 20221122
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -864,7 +864,10 @@ gapi.load('client', async () => {
864
864
  status: "Test string",
865
865
  type: "Test string",
866
866
  });
867
- /** Retrieves a paginated list of all members in a group. */
867
+ /**
868
+ * Retrieves a paginated list of all members in a group. This method times out after 60 minutes. For more information, see [Troubleshoot error
869
+ * codes](https://developers.google.com/admin-sdk/directory/v1/guides/troubleshoot-error-codes).
870
+ */
868
871
  await gapi.client.directory.members.list({
869
872
  groupKey: "Test string",
870
873
  includeDerivedMembership: true,
@@ -920,7 +923,8 @@ gapi.load('client', async () => {
920
923
  });
921
924
  /**
922
925
  * Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices
923
- * API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead.
926
+ * API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead. This method times out after 60 minutes. For more information, see [Troubleshoot error
927
+ * codes](https://developers.google.com/admin-sdk/directory/v1/guides/troubleshoot-error-codes).
924
928
  */
925
929
  await gapi.client.directory.mobiledevices.list({
926
930
  customerId: "Test string",
@@ -1622,8 +1626,9 @@ gapi.load('client', async () => {
1622
1626
  orgUnitPath: "Test string",
1623
1627
  });
1624
1628
  /**
1625
- * Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, and
1626
- * fields set to `null` will be cleared.
1629
+ * Updates a user. This method supports patch semantics, meaning that you only need to include the fields you wish to update. Fields that are not present in the request will be preserved,
1630
+ * and fields set to `null` will be cleared. For repeating fields that contain arrays, individual items in the array can't be patched piecemeal; they must be supplied in the request body
1631
+ * with the desired values for all items. See the [user accounts guide](https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#update_user) for more information.
1627
1632
  */
1628
1633
  await gapi.client.directory.users.update({
1629
1634
  userKey: "Test string",