@maxim_mazurok/gapi.client.cloudidentity-v1beta1 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 +18 -13
- 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230307
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -554,6 +554,8 @@ declare namespace gapi.client {
|
|
|
554
554
|
deviceUser?: GoogleAppsCloudidentityDevicesV1DeviceUser;
|
|
555
555
|
}
|
|
556
556
|
interface Group {
|
|
557
|
+
/** Output only. Additional group keys associated with the Group. */
|
|
558
|
+
additionalGroupKeys?: EntityKey[];
|
|
557
559
|
/** Output only. The time when the `Group` was created. */
|
|
558
560
|
createTime?: string;
|
|
559
561
|
/** An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters. */
|
|
@@ -905,17 +907,17 @@ declare namespace gapi.client {
|
|
|
905
907
|
entityId?: string;
|
|
906
908
|
/**
|
|
907
909
|
* 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
|
|
908
|
-
* redirect with no attached SAML `LogoutRequest` i.e. SAML single logout is
|
|
910
|
+
* redirect with no attached SAML `LogoutRequest` i.e. SAML single logout is not supported. Must use `HTTPS`.
|
|
909
911
|
*/
|
|
910
912
|
logoutRedirectUri?: string;
|
|
911
913
|
/**
|
|
912
|
-
* 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`.
|
|
913
|
-
*
|
|
914
|
+
* 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
|
|
915
|
+
* to accept the `HTTP-Redirect` binding.
|
|
914
916
|
*/
|
|
915
917
|
singleSignOnServiceUri?: string;
|
|
916
918
|
}
|
|
917
919
|
interface SamlSpConfig {
|
|
918
|
-
/** Output only. The SAML **Assertion Consumer Service (ACS) URL** to be used for the IDP-initiated login.
|
|
920
|
+
/** 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. */
|
|
919
921
|
assertionConsumerServiceUri?: string;
|
|
920
922
|
/** Output only. The SAML **Entity ID** for this service provider. */
|
|
921
923
|
entityId?: string;
|
|
@@ -2451,7 +2453,10 @@ declare namespace gapi.client {
|
|
|
2451
2453
|
/**
|
|
2452
2454
|
* 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')
|
|
2453
2455
|
* 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:
|
|
2454
|
-
* `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' && in labels`
|
|
2456
|
+
* `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
|
|
2457
|
+
* 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
|
|
2458
|
+
* 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 ==
|
|
2459
|
+
* 'customers/C046psxkn'`
|
|
2455
2460
|
*/
|
|
2456
2461
|
query?: string;
|
|
2457
2462
|
/** 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. */
|
|
@@ -2814,10 +2819,10 @@ declare namespace gapi.client {
|
|
|
2814
2819
|
/**
|
|
2815
2820
|
* 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.
|
|
2816
2821
|
* `parent == 'customers/{customer_id}'`. The `customer_id` must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.]
|
|
2817
|
-
* (https://support.google.com/cloudidentity/answer/10070793) * Can contain optional inclusion operators on `labels` such as `cloudidentity.googleapis.com/groups.discussion_forum'
|
|
2818
|
-
* in labels`). * Can contain an optional equality operator on `domain_name
|
|
2819
|
-
* `group_key.startsWith('dev')`, `group_key.contains('dev'), group_key == 'dev@abc.com'` * Can contain
|
|
2820
|
-
* as `display_name.startsWith('dev')` , `display_name.contains('dev')`, `display_name == 'dev'`
|
|
2822
|
+
* (https://support.google.com/cloudidentity/answer/10070793) * Can contain optional inclusion operators on `labels` such as `'cloudidentity.googleapis.com/groups.discussion_forum'
|
|
2823
|
+
* 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
|
|
2824
|
+
* `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
|
|
2825
|
+
* `display_name`, such as `display_name.startsWith('dev')` , `display_name.contains('dev')`, `display_name == 'dev'`
|
|
2821
2826
|
*/
|
|
2822
2827
|
query?: string;
|
|
2823
2828
|
/** 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. */
|
|
@@ -3163,7 +3168,7 @@ declare namespace gapi.client {
|
|
|
3163
3168
|
/** Selector specifying which fields to include in a partial response. */
|
|
3164
3169
|
fields?: string;
|
|
3165
3170
|
/**
|
|
3166
|
-
* A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only
|
|
3171
|
+
* 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:
|
|
3167
3172
|
* `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
|
|
3168
3173
|
* (authenticated user) belongs to.
|
|
3169
3174
|
*/
|
|
@@ -3373,8 +3378,8 @@ declare namespace gapi.client {
|
|
|
3373
3378
|
/** Selector specifying which fields to include in a partial response. */
|
|
3374
3379
|
fields?: string;
|
|
3375
3380
|
/**
|
|
3376
|
-
* A CEL expression to filter the results. The only
|
|
3377
|
-
*
|
|
3381
|
+
* 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
|
|
3382
|
+
* filter of `customer==customers/my_customer` will return the assignments for the customer that the caller (authenticated user) belongs to.
|
|
3378
3383
|
*/
|
|
3379
3384
|
filter?: string;
|
|
3380
3385
|
/** 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 */
|
|
@@ -279,6 +279,12 @@ gapi.load('client', async () => {
|
|
|
279
279
|
await gapi.client.cloudidentity.groups.create({
|
|
280
280
|
initialGroupConfig: "Test string",
|
|
281
281
|
}, {
|
|
282
|
+
additionalGroupKeys: [
|
|
283
|
+
{
|
|
284
|
+
id: "Test string",
|
|
285
|
+
namespace: "Test string",
|
|
286
|
+
}
|
|
287
|
+
],
|
|
282
288
|
createTime: "Test string",
|
|
283
289
|
description: "Test string",
|
|
284
290
|
displayName: "Test string",
|
|
@@ -342,6 +348,12 @@ gapi.load('client', async () => {
|
|
|
342
348
|
name: "Test string",
|
|
343
349
|
updateMask: "Test string",
|
|
344
350
|
}, {
|
|
351
|
+
additionalGroupKeys: [
|
|
352
|
+
{
|
|
353
|
+
id: "Test string",
|
|
354
|
+
namespace: "Test string",
|
|
355
|
+
}
|
|
356
|
+
],
|
|
345
357
|
createTime: "Test string",
|
|
346
358
|
description: "Test string",
|
|
347
359
|
displayName: "Test string",
|