@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20230307 → 0.0.20230316
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 +12 -3
- package/package.json +1 -1
- package/tests.ts +3 -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: 20230316
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1071,6 +1071,8 @@ declare namespace gapi.client {
|
|
|
1071
1071
|
* (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts).
|
|
1072
1072
|
*/
|
|
1073
1073
|
assignedTo?: string;
|
|
1074
|
+
/** Output only. The type of the assignee (`USER` or `GROUP`). */
|
|
1075
|
+
assigneeType?: string;
|
|
1074
1076
|
/** ETag of the resource. */
|
|
1075
1077
|
etag?: string;
|
|
1076
1078
|
/** The type of the API resource. This is always `admin#directory#roleAssignment`. */
|
|
@@ -1299,7 +1301,7 @@ declare namespace gapi.client {
|
|
|
1299
1301
|
suspensionReason?: string;
|
|
1300
1302
|
/** Output only. ETag of the user's photo (Read-only) */
|
|
1301
1303
|
thumbnailPhotoEtag?: string;
|
|
1302
|
-
/** Output only.
|
|
1304
|
+
/** Output only. The URL of the user's profile photo. The URL might be temporary or private. */
|
|
1303
1305
|
thumbnailPhotoUrl?: string;
|
|
1304
1306
|
/** The user's websites. The maximum allowed data size for this field is 2KB. */
|
|
1305
1307
|
websites?: any;
|
|
@@ -3537,6 +3539,8 @@ declare namespace gapi.client {
|
|
|
3537
3539
|
* (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts).
|
|
3538
3540
|
*/
|
|
3539
3541
|
assignedTo?: string;
|
|
3542
|
+
/** Output only. The type of the assignee (`USER` or `GROUP`). */
|
|
3543
|
+
assigneeType?: string;
|
|
3540
3544
|
/** ETag of the resource. */
|
|
3541
3545
|
etag?: string;
|
|
3542
3546
|
/** The type of the API resource. This is always `admin#directory#roleAssignment`. */
|
|
@@ -3765,7 +3769,7 @@ declare namespace gapi.client {
|
|
|
3765
3769
|
suspensionReason?: string;
|
|
3766
3770
|
/** Output only. ETag of the user's photo (Read-only) */
|
|
3767
3771
|
thumbnailPhotoEtag?: string;
|
|
3768
|
-
/** Output only.
|
|
3772
|
+
/** Output only. The URL of the user's profile photo. The URL might be temporary or private. */
|
|
3769
3773
|
thumbnailPhotoUrl?: string;
|
|
3770
3774
|
/** The user's websites. The maximum allowed data size for this field is 2KB. */
|
|
3771
3775
|
websites?: any;
|
|
@@ -7216,6 +7220,11 @@ declare namespace gapi.client {
|
|
|
7216
7220
|
customer: string;
|
|
7217
7221
|
/** Selector specifying which fields to include in a partial response. */
|
|
7218
7222
|
fields?: string;
|
|
7223
|
+
/**
|
|
7224
|
+
* When set to `true`, fetches indirect role assignments (i.e. role assignment via a group) as well as direct ones. Defaults to `false`. You must specify `user_key` or the indirect
|
|
7225
|
+
* role assignments will not be included.
|
|
7226
|
+
*/
|
|
7227
|
+
includeIndirectRoleAssignments?: boolean;
|
|
7219
7228
|
/** 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. */
|
|
7220
7229
|
key?: string;
|
|
7221
7230
|
/** Maximum number of results to return. */
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230316
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1255,6 +1255,7 @@ gapi.load('client', async () => {
|
|
|
1255
1255
|
customer: "Test string",
|
|
1256
1256
|
}, {
|
|
1257
1257
|
assignedTo: "Test string",
|
|
1258
|
+
assigneeType: "Test string",
|
|
1258
1259
|
etag: "Test string",
|
|
1259
1260
|
kind: "Test string",
|
|
1260
1261
|
orgUnitId: "Test string",
|
|
@@ -1265,6 +1266,7 @@ gapi.load('client', async () => {
|
|
|
1265
1266
|
/** Retrieves a paginated list of all roleAssignments. */
|
|
1266
1267
|
await gapi.client.directory.roleAssignments.list({
|
|
1267
1268
|
customer: "Test string",
|
|
1269
|
+
includeIndirectRoleAssignments: true,
|
|
1268
1270
|
maxResults: 42,
|
|
1269
1271
|
pageToken: "Test string",
|
|
1270
1272
|
roleId: "Test string",
|