@maxim_mazurok/gapi.client.cloudidentity-v1 0.0.20230207 → 0.0.20230307
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 +20 -12
- package/package.json +1 -1
- package/tests.ts +13 -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://cloudidentity.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230307
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -410,6 +410,8 @@ declare namespace gapi.client {
|
|
|
410
410
|
deviceUser?: GoogleAppsCloudidentityDevicesV1DeviceUser;
|
|
411
411
|
}
|
|
412
412
|
interface Group {
|
|
413
|
+
/** Output only. Additional group keys associated with the Group. */
|
|
414
|
+
additionalGroupKeys?: EntityKey[];
|
|
413
415
|
/** Output only. The time when the `Group` was created. */
|
|
414
416
|
createTime?: string;
|
|
415
417
|
/** An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters. */
|
|
@@ -674,17 +676,17 @@ declare namespace gapi.client {
|
|
|
674
676
|
entityId?: string;
|
|
675
677
|
/**
|
|
676
678
|
* The **Logout Redirect URL** (sign-out page URL) of the identity provider. When a user clicks the sign-out link on a Google page, they will be redirected to this URL. This is a pure
|
|
677
|
-
* redirect with no attached SAML `LogoutRequest` i.e. SAML single logout is
|
|
679
|
+
* redirect with no attached SAML `LogoutRequest` i.e. SAML single logout is not supported. Must use `HTTPS`.
|
|
678
680
|
*/
|
|
679
681
|
logoutRedirectUri?: string;
|
|
680
682
|
/**
|
|
681
|
-
* Required. The `SingleSignOnService` endpoint location (sign-in page URL) of the identity provider. This is the URL where the `AuthnRequest` will be sent. Must use `HTTPS`.
|
|
682
|
-
*
|
|
683
|
+
* Required. The `SingleSignOnService` endpoint location (sign-in page URL) of the identity provider. This is the URL where the `AuthnRequest` will be sent. Must use `HTTPS`. Assumed
|
|
684
|
+
* to accept the `HTTP-Redirect` binding.
|
|
683
685
|
*/
|
|
684
686
|
singleSignOnServiceUri?: string;
|
|
685
687
|
}
|
|
686
688
|
interface SamlSpConfig {
|
|
687
|
-
/** Output only. The SAML **Assertion Consumer Service (ACS) URL** to be used for the IDP-initiated login.
|
|
689
|
+
/** Output only. The SAML **Assertion Consumer Service (ACS) URL** to be used for the IDP-initiated login. Assumed to accept response messages via the `HTTP-POST` binding. */
|
|
688
690
|
assertionConsumerServiceUri?: string;
|
|
689
691
|
/** Output only. The SAML **Entity ID** for this service provider. */
|
|
690
692
|
entityId?: string;
|
|
@@ -2265,7 +2267,10 @@ declare namespace gapi.client {
|
|
|
2265
2267
|
/**
|
|
2266
2268
|
* Required. A CEL expression that MUST include member specification AND label(s). This is a `required` field. Users can search on label attributes of groups. CONTAINS match ('in')
|
|
2267
2269
|
* is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input:
|
|
2268
|
-
* `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' && in labels`
|
|
2270
|
+
* `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' && in labels` Query may optionally contain equality operators on the parent of the group
|
|
2271
|
+
* restricting the search within a particular customer, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with "C" (for example, 'C046psxkn'). This filtering
|
|
2272
|
+
* is only supported for Admins with groups read permissons on the input customer. Example query: `member_key_id == 'member_key_id_value' && in labels && parent ==
|
|
2273
|
+
* 'customers/C046psxkn'`
|
|
2269
2274
|
*/
|
|
2270
2275
|
query?: string;
|
|
2271
2276
|
/** 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. */
|
|
@@ -2621,9 +2626,12 @@ declare namespace gapi.client {
|
|
|
2621
2626
|
/** Returns response with indentations and line breaks. */
|
|
2622
2627
|
prettyPrint?: boolean;
|
|
2623
2628
|
/**
|
|
2624
|
-
* Required. The search query. Must be specified in [Common Expression Language](https://opensource.google/projects/cel).
|
|
2625
|
-
*
|
|
2626
|
-
*
|
|
2629
|
+
* Required. The search query. * Must be specified in [Common Expression Language](https://opensource.google/projects/cel). * Must contain equality operators on the parent, e.g.
|
|
2630
|
+
* `parent == 'customers/{customer_id}'`. The `customer_id` must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.]
|
|
2631
|
+
* (https://support.google.com/cloudidentity/answer/10070793) * Can contain optional inclusion operators on `labels` such as `'cloudidentity.googleapis.com/groups.discussion_forum'
|
|
2632
|
+
* in labels`). * Can contain an optional equality operator on `domain_name`. e.g. `domain_name == 'abc.com'` * Can contain optional `startsWith/contains/equality` operators on
|
|
2633
|
+
* `group_key`, e.g. `group_key.startsWith('dev')`, `group_key.contains('dev'), group_key == 'dev@abc.com'` * Can contain optional `startsWith/contains/equality` operators on
|
|
2634
|
+
* `display_name`, such as `display_name.startsWith('dev')` , `display_name.contains('dev')`, `display_name == 'dev'`
|
|
2627
2635
|
*/
|
|
2628
2636
|
query?: string;
|
|
2629
2637
|
/** 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. */
|
|
@@ -2969,7 +2977,7 @@ declare namespace gapi.client {
|
|
|
2969
2977
|
/** Selector specifying which fields to include in a partial response. */
|
|
2970
2978
|
fields?: string;
|
|
2971
2979
|
/**
|
|
2972
|
-
* A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only
|
|
2980
|
+
* A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only supported filter is filtering by customer. For example:
|
|
2973
2981
|
* `customer=="customers/C0123abc"`. Omitting the filter or specifying a filter of `customer=="customers/my_customer"` will return the profiles for the customer that the caller
|
|
2974
2982
|
* (authenticated user) belongs to.
|
|
2975
2983
|
*/
|
|
@@ -3179,8 +3187,8 @@ declare namespace gapi.client {
|
|
|
3179
3187
|
/** Selector specifying which fields to include in a partial response. */
|
|
3180
3188
|
fields?: string;
|
|
3181
3189
|
/**
|
|
3182
|
-
* A CEL expression to filter the results. The only
|
|
3183
|
-
*
|
|
3190
|
+
* A CEL expression to filter the results. The only supported filter is filtering by customer. For example: `customer==customers/C0123abc`. Omitting the filter or specifying a
|
|
3191
|
+
* filter of `customer==customers/my_customer` will return the assignments for the customer that the caller (authenticated user) belongs to.
|
|
3184
3192
|
*/
|
|
3185
3193
|
filter?: string;
|
|
3186
3194
|
/** 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. */
|
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: 20230307
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -270,6 +270,12 @@ gapi.load('client', async () => {
|
|
|
270
270
|
await gapi.client.cloudidentity.groups.create({
|
|
271
271
|
initialGroupConfig: "Test string",
|
|
272
272
|
}, {
|
|
273
|
+
additionalGroupKeys: [
|
|
274
|
+
{
|
|
275
|
+
id: "Test string",
|
|
276
|
+
namespace: "Test string",
|
|
277
|
+
}
|
|
278
|
+
],
|
|
273
279
|
createTime: "Test string",
|
|
274
280
|
description: "Test string",
|
|
275
281
|
displayName: "Test string",
|
|
@@ -326,6 +332,12 @@ gapi.load('client', async () => {
|
|
|
326
332
|
name: "Test string",
|
|
327
333
|
updateMask: "Test string",
|
|
328
334
|
}, {
|
|
335
|
+
additionalGroupKeys: [
|
|
336
|
+
{
|
|
337
|
+
id: "Test string",
|
|
338
|
+
namespace: "Test string",
|
|
339
|
+
}
|
|
340
|
+
],
|
|
329
341
|
createTime: "Test string",
|
|
330
342
|
description: "Test string",
|
|
331
343
|
displayName: "Test string",
|