@maxim_mazurok/gapi.client.iam-v1 0.0.20230406 → 0.0.20230420
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 +11 -3
- package/package.json +1 -1
- package/tests.ts +9 -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:
|
|
12
|
+
// Revision: 20230420
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -158,6 +158,14 @@ declare namespace gapi.client {
|
|
|
158
158
|
clientId?: string;
|
|
159
159
|
/** Required. The OIDC issuer URI. Must be a valid URI using the 'https' scheme. */
|
|
160
160
|
issuerUri?: string;
|
|
161
|
+
/** Required. Configuration for web single sign-on for the OIDC provider. Here, web sign-in refers to console sign-in and gcloud sign-in through the browser. */
|
|
162
|
+
webSsoConfig?: GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig;
|
|
163
|
+
}
|
|
164
|
+
interface GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig {
|
|
165
|
+
/** Required. The behavior for how OIDC Claims are included in the `assertion` object used for attribute mapping and attribute condition. */
|
|
166
|
+
assertionClaimsBehavior?: string;
|
|
167
|
+
/** Required. The Response Type to request for in the OIDC Authorization Request for web sign-in. */
|
|
168
|
+
responseType?: string;
|
|
161
169
|
}
|
|
162
170
|
interface GoogleIamAdminV1WorkforcePoolProviderSaml {
|
|
163
171
|
/**
|
|
@@ -595,7 +603,7 @@ declare namespace gapi.client {
|
|
|
595
603
|
/** A user-specified description of the pool. Cannot exceed 256 characters. */
|
|
596
604
|
description?: string;
|
|
597
605
|
/**
|
|
598
|
-
*
|
|
606
|
+
* Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access
|
|
599
607
|
* again.
|
|
600
608
|
*/
|
|
601
609
|
disabled?: boolean;
|
|
@@ -647,7 +655,7 @@ declare namespace gapi.client {
|
|
|
647
655
|
attributeMapping?: { [P in string]: string };
|
|
648
656
|
/** A user-specified description of the provider. Cannot exceed 256 characters. */
|
|
649
657
|
description?: string;
|
|
650
|
-
/**
|
|
658
|
+
/** Disables the workforce pool provider. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access. */
|
|
651
659
|
disabled?: boolean;
|
|
652
660
|
/** A user-specified display name for the provider. Cannot exceed 32 characters. */
|
|
653
661
|
displayName?: string;
|
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: 20230420
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -175,6 +175,10 @@ gapi.load('client', async () => {
|
|
|
175
175
|
oidc: {
|
|
176
176
|
clientId: "Test string",
|
|
177
177
|
issuerUri: "Test string",
|
|
178
|
+
webSsoConfig: {
|
|
179
|
+
assertionClaimsBehavior: "Test string",
|
|
180
|
+
responseType: "Test string",
|
|
181
|
+
},
|
|
178
182
|
},
|
|
179
183
|
saml: {
|
|
180
184
|
idpMetadataXml: "Test string",
|
|
@@ -215,6 +219,10 @@ gapi.load('client', async () => {
|
|
|
215
219
|
oidc: {
|
|
216
220
|
clientId: "Test string",
|
|
217
221
|
issuerUri: "Test string",
|
|
222
|
+
webSsoConfig: {
|
|
223
|
+
assertionClaimsBehavior: "Test string",
|
|
224
|
+
responseType: "Test string",
|
|
225
|
+
},
|
|
218
226
|
},
|
|
219
227
|
saml: {
|
|
220
228
|
idpMetadataXml: "Test string",
|