@maxim_mazurok/gapi.client.admin-directory_v1 0.5.20260913 → 0.5.20260924
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 +4 -4
- package/package.json +1 -1
- package/readme.md +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://admin.googleapis.com/$discovery/rest?version=directory_v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260924
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -8444,7 +8444,7 @@ declare namespace gapi.client {
|
|
|
8444
8444
|
/** Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see [Retrieve a user as a non-administrator](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users#retrieve_users_non_admin). */
|
|
8445
8445
|
viewType?: 'admin_view' | 'domain_public';
|
|
8446
8446
|
}): Request<User>;
|
|
8447
|
-
/** Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case. If `
|
|
8447
|
+
/** Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case. If `resolve_conflict_account` is set to `true`, the option selected for [Find and add unmanaged users](https://knowledge.workspace.google.com/admin/users/find-and-add-unmanaged-users) will apply to resolve conflicting accounts: - A `200` response code indicates the user was created (or replaced an existing unmanaged personal account). - A `202` response code means that a conflicting unmanaged personal account exists and was invited to join the organization. - A `409` response code means that a conflicting account exists so the user wasn't created (e.g. based on the option selected to preserve the account, or if the email conflicts with an unmanaged work account or existing managed user). For details on resolving duplicate account errors, see [Resolve duplicate account errors](https://knowledge.workspace.google.com/p/duplicate-account-errors) and [Transfer unmanaged work accounts](https://knowledge.workspace.google.com/p/unmanaged-work-accounts). */
|
|
8448
8448
|
insert(request: {
|
|
8449
8449
|
/** V1 error format. */
|
|
8450
8450
|
'$.xgafv'?: '1' | '2';
|
|
@@ -8464,7 +8464,7 @@ declare namespace gapi.client {
|
|
|
8464
8464
|
prettyPrint?: boolean;
|
|
8465
8465
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8466
8466
|
quotaUser?: string;
|
|
8467
|
-
/** Optional.
|
|
8467
|
+
/** Optional. Applies the option selected for [Find and add unmanaged users](https://knowledge.workspace.google.com/admin/users/find-and-add-unmanaged-users) to resolve conflicting accounts when set to `true`. Default: `false` */
|
|
8468
8468
|
resolveConflictAccount?: boolean;
|
|
8469
8469
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8470
8470
|
upload_protocol?: string;
|
|
@@ -8493,7 +8493,7 @@ declare namespace gapi.client {
|
|
|
8493
8493
|
prettyPrint?: boolean;
|
|
8494
8494
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8495
8495
|
quotaUser?: string;
|
|
8496
|
-
/** Optional.
|
|
8496
|
+
/** Optional. Applies the option selected for [Find and add unmanaged users](https://knowledge.workspace.google.com/admin/users/find-and-add-unmanaged-users) to resolve conflicting accounts when set to `true`. Default: `false` */
|
|
8497
8497
|
resolveConflictAccount?: boolean;
|
|
8498
8498
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8499
8499
|
upload_protocol?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -609,7 +609,7 @@ Retrieves a user.
|
|
|
609
609
|
await gapi.client.directory.users.get({userKey: 'userKey'});
|
|
610
610
|
|
|
611
611
|
/*
|
|
612
|
-
Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case. If `
|
|
612
|
+
Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case. If `resolve_conflict_account` is set to `true`, the option selected for [Find and add unmanaged users](https://knowledge.workspace.google.com/admin/users/find-and-add-unmanaged-users) will apply to resolve conflicting accounts: - A `200` response code indicates the user was created (or replaced an existing unmanaged personal account). - A `202` response code means that a conflicting unmanaged personal account exists and was invited to join the organization. - A `409` response code means that a conflicting account exists so the user wasn't created (e.g. based on the option selected to preserve the account, or if the email conflicts with an unmanaged work account or existing managed user). For details on resolving duplicate account errors, see [Resolve duplicate account errors](https://knowledge.workspace.google.com/p/duplicate-account-errors) and [Transfer unmanaged work accounts](https://knowledge.workspace.google.com/p/unmanaged-work-accounts).
|
|
613
613
|
*/
|
|
614
614
|
await gapi.client.directory.users.insert({});
|
|
615
615
|
|