@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20230314 → 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.
Files changed (3) hide show
  1. package/index.d.ts +10 -1
  2. package/package.json +1 -1
  3. 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: 20230314
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`. */
@@ -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`. */
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-directory_v1",
3
- "version": "0.0.20230314",
3
+ "version": "0.0.20230316",
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: 20230314
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",