@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20221004 → 0.0.20221018

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +78 -74
  2. package/package.json +1 -1
  3. package/tests.ts +4 -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://admin.googleapis.com/$discovery/rest?version=directory_v1
12
- // Revision: 20221004
12
+ // Revision: 20221018
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -236,7 +236,7 @@ declare namespace gapi.client {
236
236
  type?: string;
237
237
  }
238
238
  interface ChromeOsDevice {
239
- /** List of active time ranges (Read-only). */
239
+ /** A list of active time ranges (Read-only). */
240
240
  activeTimeRanges?: Array<{
241
241
  /** Duration of usage in milliseconds. */
242
242
  activeTime?: number;
@@ -284,7 +284,7 @@ declare namespace gapi.client {
284
284
  }>;
285
285
  /** Reports of CPU utilization and temperature (Read-only) */
286
286
  cpuStatusReports?: Array<{
287
- /** List of CPU temperature samples. */
287
+ /** A list of CPU temperature samples. */
288
288
  cpuTemperatureInfo?: Array<{
289
289
  /** CPU label */
290
290
  label?: string;
@@ -295,7 +295,7 @@ declare namespace gapi.client {
295
295
  /** Date and time the report was received. */
296
296
  reportTime?: string;
297
297
  }>;
298
- /** List of device files to download (Read-only) */
298
+ /** A list of device files to download (Read-only) */
299
299
  deviceFiles?: Array<{
300
300
  /** Date and time the file was created */
301
301
  createTime?: string;
@@ -389,14 +389,14 @@ declare namespace gapi.client {
389
389
  osVersion?: string;
390
390
  /** The Chrome device's platform version. */
391
391
  platformVersion?: string;
392
- /** List of recent device users, in descending order, by last login time. */
392
+ /** A list of recent device users, in descending order, by last login time. */
393
393
  recentUsers?: Array<{
394
394
  /** The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. */
395
395
  email?: string;
396
396
  /** The type of the user. */
397
397
  type?: string;
398
398
  }>;
399
- /** List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
399
+ /** A list of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
400
400
  screenshotFiles?: Array<{
401
401
  /** Date and time the file was created */
402
402
  createTime?: string;
@@ -449,7 +449,7 @@ declare namespace gapi.client {
449
449
  deprovisionReason?: string;
450
450
  }
451
451
  interface ChromeOsDevices {
452
- /** List of Chrome OS Device objects. */
452
+ /** A list of Chrome OS Device objects. */
453
453
  chromeosdevices?: ChromeOsDevice[];
454
454
  /** ETag of the resource. */
455
455
  etag?: string;
@@ -572,7 +572,7 @@ declare namespace gapi.client {
572
572
  verified?: boolean;
573
573
  }
574
574
  interface DomainAliases {
575
- /** List of domain alias objects. */
575
+ /** A list of domain alias objects. */
576
576
  domainAliases?: DomainAlias[];
577
577
  /** ETag of the resource. */
578
578
  etag?: string;
@@ -582,7 +582,7 @@ declare namespace gapi.client {
582
582
  interface Domains {
583
583
  /** Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. (Read-only). */
584
584
  creationTime?: string;
585
- /** List of domain alias objects. (Read-only) */
585
+ /** A list of domain alias objects. (Read-only) */
586
586
  domainAliases?: DomainAlias[];
587
587
  /** The domain name of the customer. */
588
588
  domainName?: string;
@@ -596,7 +596,7 @@ declare namespace gapi.client {
596
596
  verified?: boolean;
597
597
  }
598
598
  interface Domains2 {
599
- /** List of domain objects. */
599
+ /** A list of domain objects. */
600
600
  domains?: Domains[];
601
601
  /** ETag of the resource. */
602
602
  etag?: string;
@@ -646,8 +646,8 @@ declare namespace gapi.client {
646
646
  /** Read-only. Value is `true` if this group was created by an administrator rather than a user. */
647
647
  adminCreated?: boolean;
648
648
  /**
649
- * Read-only. A list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request, the
650
- * edit is ignored.
649
+ * Read-only. The list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request,
650
+ * the edit is ignored.
651
651
  */
652
652
  aliases?: string[];
653
653
  /**
@@ -674,8 +674,8 @@ declare namespace gapi.client {
674
674
  /** The group's display name. */
675
675
  name?: string;
676
676
  /**
677
- * Read-only. A list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the
678
- * group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
677
+ * Read-only. The list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by
678
+ * the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
679
679
  */
680
680
  nonEditableAliases?: string[];
681
681
  }
@@ -694,7 +694,7 @@ declare namespace gapi.client {
694
694
  interface Groups {
695
695
  /** ETag of the resource. */
696
696
  etag?: string;
697
- /** List of group objects. */
697
+ /** A list of group objects. */
698
698
  groups?: Group[];
699
699
  /** Kind of resource this is. */
700
700
  kind?: string;
@@ -751,7 +751,7 @@ declare namespace gapi.client {
751
751
  etag?: string;
752
752
  /** Kind of resource this is. */
753
753
  kind?: string;
754
- /** List of member objects. */
754
+ /** A list of member objects. */
755
755
  members?: Member[];
756
756
  /** Token used to access next page of this result. */
757
757
  nextPageToken?: string;
@@ -803,8 +803,8 @@ declare namespace gapi.client {
803
803
  /** DevicePasswordStatus (Read-only) */
804
804
  devicePasswordStatus?: string;
805
805
  /**
806
- * List of owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For
807
- * additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
806
+ * The list of the owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method.
807
+ * For additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
808
808
  */
809
809
  email?: string[];
810
810
  /** Mobile Device Encryption Status (Read-only) */
@@ -840,8 +840,8 @@ declare namespace gapi.client {
840
840
  */
841
841
  model?: string;
842
842
  /**
843
- * List of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For
844
- * more information about retrieving mobile device user information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user).
843
+ * The list of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method.
844
+ * For more information about retrieving mobile device user information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user).
845
845
  */
846
846
  name?: string[];
847
847
  /** Mobile Device mobile or network operator (if available) (Read-only) */
@@ -851,7 +851,7 @@ declare namespace gapi.client {
851
851
  * information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device).
852
852
  */
853
853
  os?: string;
854
- /** List of accounts added on device (Read-only) */
854
+ /** The list of accounts added on device (Read-only) */
855
855
  otherAccountsInfo?: string[];
856
856
  /** DMAgentPermission (Read-only) */
857
857
  privilege?: string;
@@ -888,7 +888,7 @@ declare namespace gapi.client {
888
888
  etag?: string;
889
889
  /** Kind of resource this is. */
890
890
  kind?: string;
891
- /** List of Mobile Device objects. */
891
+ /** A list of Mobile Device objects. */
892
892
  mobiledevices?: MobileDevice[];
893
893
  /** Token used to access next page of this result. */
894
894
  nextPageToken?: string;
@@ -928,7 +928,7 @@ declare namespace gapi.client {
928
928
  etag?: string;
929
929
  /** The type of the API resource. For Org Unit resources, the type is `admin#directory#orgUnits`. */
930
930
  kind?: string;
931
- /** List of organizational unit objects. */
931
+ /** A list of organizational unit objects. */
932
932
  organizationUnits?: OrgUnit[];
933
933
  }
934
934
  interface OsUpdateStatus {
@@ -1140,7 +1140,7 @@ declare namespace gapi.client {
1140
1140
  etag?: string;
1141
1141
  /** Kind of resource this is. */
1142
1142
  kind?: string;
1143
- /** List of UserSchema objects. */
1143
+ /** A list of UserSchema objects. */
1144
1144
  schemas?: Schema[];
1145
1145
  }
1146
1146
  interface Token {
@@ -1170,11 +1170,11 @@ declare namespace gapi.client {
1170
1170
  kind?: string;
1171
1171
  }
1172
1172
  interface User {
1173
- /** A list of the user's addresses. The maximum allowed data size for this field is 10Kb. */
1173
+ /** The list of the user's addresses. The maximum allowed data size for this field is 10Kb. */
1174
1174
  addresses?: any;
1175
1175
  /** Output only. This property is `true` if the user has completed an initial login and accepted the Terms of Service agreement. */
1176
1176
  agreedToTerms?: boolean;
1177
- /** Output only. A list of the user's alias email addresses. */
1177
+ /** Output only. The list of the user's alias email addresses. */
1178
1178
  aliases?: string[];
1179
1179
  /** Indicates if user is archived. */
1180
1180
  archived?: boolean;
@@ -1194,11 +1194,11 @@ declare namespace gapi.client {
1194
1194
  /** Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`. */
1195
1195
  customSchemas?: { [P in string]: UserCustomProperties };
1196
1196
  deletionTime?: string;
1197
- /** A list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */
1197
+ /** The list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */
1198
1198
  emails?: any;
1199
1199
  /** Output only. ETag of the resource. */
1200
1200
  etag?: string;
1201
- /** A list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2Kb. */
1201
+ /** The list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2Kb. */
1202
1202
  externalIds?: any;
1203
1203
  /** The user's gender. The maximum allowed data size for this field is 1Kb. */
1204
1204
  gender?: any;
@@ -1211,8 +1211,8 @@ declare namespace gapi.client {
1211
1211
  /** The unique ID for the user. A user `id` can be used as a user request URI's `userKey`. */
1212
1212
  id?: string;
1213
1213
  /**
1214
- * The user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The maximum allowed
1215
- * data size for this field is 2Kb.
1214
+ * The list of the user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The
1215
+ * maximum allowed data size for this field is 2Kb.
1216
1216
  */
1217
1217
  ims?: any;
1218
1218
  /**
@@ -1239,7 +1239,7 @@ declare namespace gapi.client {
1239
1239
  isEnrolledIn2Sv?: boolean;
1240
1240
  /** Output only. Indicates if the user's Google mailbox is created. This property is only applicable if the user has been assigned a Gmail license. */
1241
1241
  isMailboxSetup?: boolean;
1242
- /** The user's keywords. The maximum allowed data size for this field is 1Kb. */
1242
+ /** The list of the user's keywords. The maximum allowed data size for this field is 1Kb. */
1243
1243
  keywords?: any;
1244
1244
  /** Output only. The type of the API resource. For Users resources, the value is `admin#directory#user`. */
1245
1245
  kind?: string;
@@ -1255,19 +1255,19 @@ declare namespace gapi.client {
1255
1255
  * about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is 1Kb.
1256
1256
  */
1257
1257
  name?: UserName;
1258
- /** Output only. List of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain. */
1258
+ /** Output only. The list of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain. */
1259
1259
  nonEditableAliases?: string[];
1260
1260
  /** Notes for the user. */
1261
1261
  notes?: any;
1262
- /** A list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */
1262
+ /** The list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */
1263
1263
  organizations?: any;
1264
1264
  /** The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (`/`). */
1265
1265
  orgUnitPath?: string;
1266
1266
  /** User's password */
1267
1267
  password?: string;
1268
- /** A list of the user's phone numbers. The maximum allowed data size for this field is 1Kb. */
1268
+ /** The list of the user's phone numbers. The maximum allowed data size for this field is 1Kb. */
1269
1269
  phones?: any;
1270
- /** A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
1270
+ /** The list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
1271
1271
  posixAccounts?: any;
1272
1272
  /** The user's primary email address. This property is required in a request to create a user account. The `primaryEmail` must be unique and cannot be an alias of another user. */
1273
1273
  primaryEmail?: string;
@@ -1275,7 +1275,7 @@ declare namespace gapi.client {
1275
1275
  recoveryEmail?: string;
1276
1276
  /** Recovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: *+16506661212*. */
1277
1277
  recoveryPhone?: string;
1278
- /** A list of the user's relationships to other users. The maximum allowed data size for this field is 2Kb. */
1278
+ /** The list of the user's relationships to other users. The maximum allowed data size for this field is 2Kb. */
1279
1279
  relations?: any;
1280
1280
  /** A list of SSH public keys. */
1281
1281
  sshPublicKeys?: any;
@@ -1446,6 +1446,8 @@ declare namespace gapi.client {
1446
1446
  status?: boolean;
1447
1447
  }
1448
1448
  interface UserName {
1449
+ /** The user's display name. Limit: 256 characters. */
1450
+ displayName?: string;
1449
1451
  /** The user's last name. Required when creating a user account. */
1450
1452
  familyName?: string;
1451
1453
  /** The user's full name formed by concatenating the first and last name values. */
@@ -1557,7 +1559,7 @@ declare namespace gapi.client {
1557
1559
  nextPageToken?: string;
1558
1560
  /** Event that triggered this response (only used in case of Push Response) */
1559
1561
  trigger_event?: string;
1560
- /** List of user objects. */
1562
+ /** A list of user objects. */
1561
1563
  users?: User[];
1562
1564
  }
1563
1565
  interface UserSshPublicKey {
@@ -2689,7 +2691,7 @@ declare namespace gapi.client {
2689
2691
  type?: string;
2690
2692
  }
2691
2693
  interface ChromeOsDevice {
2692
- /** List of active time ranges (Read-only). */
2694
+ /** A list of active time ranges (Read-only). */
2693
2695
  activeTimeRanges?: Array<{
2694
2696
  /** Duration of usage in milliseconds. */
2695
2697
  activeTime?: number;
@@ -2737,7 +2739,7 @@ declare namespace gapi.client {
2737
2739
  }>;
2738
2740
  /** Reports of CPU utilization and temperature (Read-only) */
2739
2741
  cpuStatusReports?: Array<{
2740
- /** List of CPU temperature samples. */
2742
+ /** A list of CPU temperature samples. */
2741
2743
  cpuTemperatureInfo?: Array<{
2742
2744
  /** CPU label */
2743
2745
  label?: string;
@@ -2748,7 +2750,7 @@ declare namespace gapi.client {
2748
2750
  /** Date and time the report was received. */
2749
2751
  reportTime?: string;
2750
2752
  }>;
2751
- /** List of device files to download (Read-only) */
2753
+ /** A list of device files to download (Read-only) */
2752
2754
  deviceFiles?: Array<{
2753
2755
  /** Date and time the file was created */
2754
2756
  createTime?: string;
@@ -2842,14 +2844,14 @@ declare namespace gapi.client {
2842
2844
  osVersion?: string;
2843
2845
  /** The Chrome device's platform version. */
2844
2846
  platformVersion?: string;
2845
- /** List of recent device users, in descending order, by last login time. */
2847
+ /** A list of recent device users, in descending order, by last login time. */
2846
2848
  recentUsers?: Array<{
2847
2849
  /** The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. */
2848
2850
  email?: string;
2849
2851
  /** The type of the user. */
2850
2852
  type?: string;
2851
2853
  }>;
2852
- /** List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
2854
+ /** A list of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
2853
2855
  screenshotFiles?: Array<{
2854
2856
  /** Date and time the file was created */
2855
2857
  createTime?: string;
@@ -2902,7 +2904,7 @@ declare namespace gapi.client {
2902
2904
  deprovisionReason?: string;
2903
2905
  }
2904
2906
  interface ChromeOsDevices {
2905
- /** List of Chrome OS Device objects. */
2907
+ /** A list of Chrome OS Device objects. */
2906
2908
  chromeosdevices?: ChromeOsDevice[];
2907
2909
  /** ETag of the resource. */
2908
2910
  etag?: string;
@@ -3025,7 +3027,7 @@ declare namespace gapi.client {
3025
3027
  verified?: boolean;
3026
3028
  }
3027
3029
  interface DomainAliases {
3028
- /** List of domain alias objects. */
3030
+ /** A list of domain alias objects. */
3029
3031
  domainAliases?: DomainAlias[];
3030
3032
  /** ETag of the resource. */
3031
3033
  etag?: string;
@@ -3035,7 +3037,7 @@ declare namespace gapi.client {
3035
3037
  interface Domains {
3036
3038
  /** Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. (Read-only). */
3037
3039
  creationTime?: string;
3038
- /** List of domain alias objects. (Read-only) */
3040
+ /** A list of domain alias objects. (Read-only) */
3039
3041
  domainAliases?: DomainAlias[];
3040
3042
  /** The domain name of the customer. */
3041
3043
  domainName?: string;
@@ -3049,7 +3051,7 @@ declare namespace gapi.client {
3049
3051
  verified?: boolean;
3050
3052
  }
3051
3053
  interface Domains2 {
3052
- /** List of domain objects. */
3054
+ /** A list of domain objects. */
3053
3055
  domains?: Domains[];
3054
3056
  /** ETag of the resource. */
3055
3057
  etag?: string;
@@ -3099,8 +3101,8 @@ declare namespace gapi.client {
3099
3101
  /** Read-only. Value is `true` if this group was created by an administrator rather than a user. */
3100
3102
  adminCreated?: boolean;
3101
3103
  /**
3102
- * Read-only. A list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request, the
3103
- * edit is ignored.
3104
+ * Read-only. The list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request,
3105
+ * the edit is ignored.
3104
3106
  */
3105
3107
  aliases?: string[];
3106
3108
  /**
@@ -3127,8 +3129,8 @@ declare namespace gapi.client {
3127
3129
  /** The group's display name. */
3128
3130
  name?: string;
3129
3131
  /**
3130
- * Read-only. A list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the
3131
- * group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
3132
+ * Read-only. The list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by
3133
+ * the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
3132
3134
  */
3133
3135
  nonEditableAliases?: string[];
3134
3136
  }
@@ -3147,7 +3149,7 @@ declare namespace gapi.client {
3147
3149
  interface Groups {
3148
3150
  /** ETag of the resource. */
3149
3151
  etag?: string;
3150
- /** List of group objects. */
3152
+ /** A list of group objects. */
3151
3153
  groups?: Group[];
3152
3154
  /** Kind of resource this is. */
3153
3155
  kind?: string;
@@ -3204,7 +3206,7 @@ declare namespace gapi.client {
3204
3206
  etag?: string;
3205
3207
  /** Kind of resource this is. */
3206
3208
  kind?: string;
3207
- /** List of member objects. */
3209
+ /** A list of member objects. */
3208
3210
  members?: Member[];
3209
3211
  /** Token used to access next page of this result. */
3210
3212
  nextPageToken?: string;
@@ -3256,8 +3258,8 @@ declare namespace gapi.client {
3256
3258
  /** DevicePasswordStatus (Read-only) */
3257
3259
  devicePasswordStatus?: string;
3258
3260
  /**
3259
- * List of owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For
3260
- * additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
3261
+ * The list of the owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method.
3262
+ * For additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
3261
3263
  */
3262
3264
  email?: string[];
3263
3265
  /** Mobile Device Encryption Status (Read-only) */
@@ -3293,8 +3295,8 @@ declare namespace gapi.client {
3293
3295
  */
3294
3296
  model?: string;
3295
3297
  /**
3296
- * List of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For
3297
- * more information about retrieving mobile device user information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user).
3298
+ * The list of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method.
3299
+ * For more information about retrieving mobile device user information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user).
3298
3300
  */
3299
3301
  name?: string[];
3300
3302
  /** Mobile Device mobile or network operator (if available) (Read-only) */
@@ -3304,7 +3306,7 @@ declare namespace gapi.client {
3304
3306
  * information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device).
3305
3307
  */
3306
3308
  os?: string;
3307
- /** List of accounts added on device (Read-only) */
3309
+ /** The list of accounts added on device (Read-only) */
3308
3310
  otherAccountsInfo?: string[];
3309
3311
  /** DMAgentPermission (Read-only) */
3310
3312
  privilege?: string;
@@ -3341,7 +3343,7 @@ declare namespace gapi.client {
3341
3343
  etag?: string;
3342
3344
  /** Kind of resource this is. */
3343
3345
  kind?: string;
3344
- /** List of Mobile Device objects. */
3346
+ /** A list of Mobile Device objects. */
3345
3347
  mobiledevices?: MobileDevice[];
3346
3348
  /** Token used to access next page of this result. */
3347
3349
  nextPageToken?: string;
@@ -3381,7 +3383,7 @@ declare namespace gapi.client {
3381
3383
  etag?: string;
3382
3384
  /** The type of the API resource. For Org Unit resources, the type is `admin#directory#orgUnits`. */
3383
3385
  kind?: string;
3384
- /** List of organizational unit objects. */
3386
+ /** A list of organizational unit objects. */
3385
3387
  organizationUnits?: OrgUnit[];
3386
3388
  }
3387
3389
  interface OsUpdateStatus {
@@ -3593,7 +3595,7 @@ declare namespace gapi.client {
3593
3595
  etag?: string;
3594
3596
  /** Kind of resource this is. */
3595
3597
  kind?: string;
3596
- /** List of UserSchema objects. */
3598
+ /** A list of UserSchema objects. */
3597
3599
  schemas?: Schema[];
3598
3600
  }
3599
3601
  interface Token {
@@ -3623,11 +3625,11 @@ declare namespace gapi.client {
3623
3625
  kind?: string;
3624
3626
  }
3625
3627
  interface User {
3626
- /** A list of the user's addresses. The maximum allowed data size for this field is 10Kb. */
3628
+ /** The list of the user's addresses. The maximum allowed data size for this field is 10Kb. */
3627
3629
  addresses?: any;
3628
3630
  /** Output only. This property is `true` if the user has completed an initial login and accepted the Terms of Service agreement. */
3629
3631
  agreedToTerms?: boolean;
3630
- /** Output only. A list of the user's alias email addresses. */
3632
+ /** Output only. The list of the user's alias email addresses. */
3631
3633
  aliases?: string[];
3632
3634
  /** Indicates if user is archived. */
3633
3635
  archived?: boolean;
@@ -3647,11 +3649,11 @@ declare namespace gapi.client {
3647
3649
  /** Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`. */
3648
3650
  customSchemas?: { [P in string]: UserCustomProperties };
3649
3651
  deletionTime?: string;
3650
- /** A list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */
3652
+ /** The list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */
3651
3653
  emails?: any;
3652
3654
  /** Output only. ETag of the resource. */
3653
3655
  etag?: string;
3654
- /** A list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2Kb. */
3656
+ /** The list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2Kb. */
3655
3657
  externalIds?: any;
3656
3658
  /** The user's gender. The maximum allowed data size for this field is 1Kb. */
3657
3659
  gender?: any;
@@ -3664,8 +3666,8 @@ declare namespace gapi.client {
3664
3666
  /** The unique ID for the user. A user `id` can be used as a user request URI's `userKey`. */
3665
3667
  id?: string;
3666
3668
  /**
3667
- * The user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The maximum allowed
3668
- * data size for this field is 2Kb.
3669
+ * The list of the user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The
3670
+ * maximum allowed data size for this field is 2Kb.
3669
3671
  */
3670
3672
  ims?: any;
3671
3673
  /**
@@ -3692,7 +3694,7 @@ declare namespace gapi.client {
3692
3694
  isEnrolledIn2Sv?: boolean;
3693
3695
  /** Output only. Indicates if the user's Google mailbox is created. This property is only applicable if the user has been assigned a Gmail license. */
3694
3696
  isMailboxSetup?: boolean;
3695
- /** The user's keywords. The maximum allowed data size for this field is 1Kb. */
3697
+ /** The list of the user's keywords. The maximum allowed data size for this field is 1Kb. */
3696
3698
  keywords?: any;
3697
3699
  /** Output only. The type of the API resource. For Users resources, the value is `admin#directory#user`. */
3698
3700
  kind?: string;
@@ -3708,19 +3710,19 @@ declare namespace gapi.client {
3708
3710
  * about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is 1Kb.
3709
3711
  */
3710
3712
  name?: UserName;
3711
- /** Output only. List of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain. */
3713
+ /** Output only. The list of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain. */
3712
3714
  nonEditableAliases?: string[];
3713
3715
  /** Notes for the user. */
3714
3716
  notes?: any;
3715
- /** A list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */
3717
+ /** The list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */
3716
3718
  organizations?: any;
3717
3719
  /** The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (`/`). */
3718
3720
  orgUnitPath?: string;
3719
3721
  /** User's password */
3720
3722
  password?: string;
3721
- /** A list of the user's phone numbers. The maximum allowed data size for this field is 1Kb. */
3723
+ /** The list of the user's phone numbers. The maximum allowed data size for this field is 1Kb. */
3722
3724
  phones?: any;
3723
- /** A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
3725
+ /** The list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
3724
3726
  posixAccounts?: any;
3725
3727
  /** The user's primary email address. This property is required in a request to create a user account. The `primaryEmail` must be unique and cannot be an alias of another user. */
3726
3728
  primaryEmail?: string;
@@ -3728,7 +3730,7 @@ declare namespace gapi.client {
3728
3730
  recoveryEmail?: string;
3729
3731
  /** Recovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: *+16506661212*. */
3730
3732
  recoveryPhone?: string;
3731
- /** A list of the user's relationships to other users. The maximum allowed data size for this field is 2Kb. */
3733
+ /** The list of the user's relationships to other users. The maximum allowed data size for this field is 2Kb. */
3732
3734
  relations?: any;
3733
3735
  /** A list of SSH public keys. */
3734
3736
  sshPublicKeys?: any;
@@ -3899,6 +3901,8 @@ declare namespace gapi.client {
3899
3901
  status?: boolean;
3900
3902
  }
3901
3903
  interface UserName {
3904
+ /** The user's display name. Limit: 256 characters. */
3905
+ displayName?: string;
3902
3906
  /** The user's last name. Required when creating a user account. */
3903
3907
  familyName?: string;
3904
3908
  /** The user's full name formed by concatenating the first and last name values. */
@@ -4010,7 +4014,7 @@ declare namespace gapi.client {
4010
4014
  nextPageToken?: string;
4011
4015
  /** Event that triggered this response (only used in case of Push Response) */
4012
4016
  trigger_event?: string;
4013
- /** List of user objects. */
4017
+ /** A list of user objects. */
4014
4018
  users?: User[];
4015
4019
  }
4016
4020
  interface UserSshPublicKey {
@@ -4266,7 +4270,7 @@ declare namespace gapi.client {
4266
4270
  customerId: string;
4267
4271
  /** Selector specifying which fields to include in a partial response. */
4268
4272
  fields?: string;
4269
- /** Return devices from all child orgunits, as well as the specified org unit. If this is set to true 'orgUnitPath' must be provided. */
4273
+ /** Return devices from all child orgunits, as well as the specified org unit. If this is set to true, 'orgUnitPath' must be provided. */
4270
4274
  includeChildOrgunits?: boolean;
4271
4275
  /** 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. */
4272
4276
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-directory_v1",
3
- "version": "0.0.20221004",
3
+ "version": "0.0.20221018",
4
4
  "description": "TypeScript typings for Admin SDK API directory_v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20221004
6
+ // Revision: 20221018
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1498,6 +1498,7 @@ gapi.load('client', async () => {
1498
1498
  lastLoginTime: "Test string",
1499
1499
  locations: 42,
1500
1500
  name: {
1501
+ displayName: "Test string",
1501
1502
  familyName: "Test string",
1502
1503
  fullName: "Test string",
1503
1504
  givenName: "Test string",
@@ -1585,6 +1586,7 @@ gapi.load('client', async () => {
1585
1586
  lastLoginTime: "Test string",
1586
1587
  locations: 42,
1587
1588
  name: {
1589
+ displayName: "Test string",
1588
1590
  familyName: "Test string",
1589
1591
  fullName: "Test string",
1590
1592
  givenName: "Test string",
@@ -1661,6 +1663,7 @@ gapi.load('client', async () => {
1661
1663
  lastLoginTime: "Test string",
1662
1664
  locations: 42,
1663
1665
  name: {
1666
+ displayName: "Test string",
1664
1667
  familyName: "Test string",
1665
1668
  fullName: "Test string",
1666
1669
  givenName: "Test string",