@maxim_mazurok/gapi.client.iam-v1 0.0.20230914 → 0.0.20231026

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 +23 -1
  2. package/package.json +1 -1
  3. package/tests.ts +17 -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://iam.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230914
12
+ // Revision: 20231026
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -22,6 +22,17 @@ declare namespace gapi.client {
22
22
  function load(name: "iam", version: "v1", callback: () => any): void;
23
23
 
24
24
  namespace iam {
25
+ interface AccessRestrictions {
26
+ /** Optional. Immutable. Services allowed for web sign-in with the workforce pool. If not set by default there are no restrictions. */
27
+ allowedServices?:
28
+ ServiceConfig[];
29
+ /**
30
+ * Optional. Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See [Security Token Service API]
31
+ * (https://cloud.google.com/iam/docs/reference/sts/rest).
32
+ */
33
+ disableProgrammaticSignin?:
34
+ boolean;
35
+ }
25
36
  interface AdminAuditData {
26
37
  /** The permission_delta when when creating or updating a Role. */
27
38
  permissionDelta?:
@@ -695,6 +706,11 @@ declare namespace gapi.client {
695
706
  validBeforeTime?:
696
707
  string;
697
708
  }
709
+ interface ServiceConfig {
710
+ /** Optional. Domain name of the service. Example: console.cloud.google */
711
+ domain?:
712
+ string;
713
+ }
698
714
  interface SetIamPolicyRequest {
699
715
  /**
700
716
  * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
@@ -810,6 +826,12 @@ declare namespace gapi.client {
810
826
  string;
811
827
  }
812
828
  interface WorkforcePool {
829
+ /**
830
+ * Optional. Configure access restrictions on the workforce pool users. This is an optional field. If specified web sign-in can be restricted to given set of services or programmatic
831
+ * sign-in can be disabled for pool users.
832
+ */
833
+ accessRestrictions?:
834
+ AccessRestrictions;
813
835
  /** A user-specified description of the pool. Cannot exceed 256 characters. */
814
836
  description?:
815
837
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.iam-v1",
3
- "version": "0.0.20230914",
3
+ "version": "0.0.20231026",
4
4
  "description": "TypeScript typings for Identity and Access Management (IAM) API 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: 20230914
6
+ // Revision: 20231026
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -56,6 +56,14 @@ gapi.load('client', async () => {
56
56
  location: "Test string",
57
57
  workforcePoolId: "Test string",
58
58
  }, {
59
+ accessRestrictions: {
60
+ allowedServices: [
61
+ {
62
+ domain: "Test string",
63
+ }
64
+ ],
65
+ disableProgrammaticSignin: true,
66
+ },
59
67
  description: "Test string",
60
68
  disabled: true,
61
69
  displayName: "Test string",
@@ -98,6 +106,14 @@ gapi.load('client', async () => {
98
106
  name: "Test string",
99
107
  updateMask: "Test string",
100
108
  }, {
109
+ accessRestrictions: {
110
+ allowedServices: [
111
+ {
112
+ domain: "Test string",
113
+ }
114
+ ],
115
+ disableProgrammaticSignin: true,
116
+ },
101
117
  description: "Test string",
102
118
  disabled: true,
103
119
  displayName: "Test string",