@maxim_mazurok/gapi.client.cloudidentity-v1beta1 0.1.20251021 → 0.1.20251027
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 +140 -1
- package/package.json +1 -1
- package/readme.md +15 -0
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: 20251027
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3624,6 +3624,87 @@ declare namespace gapi.client {
|
|
|
3624
3624
|
memberships: MembershipsResource;
|
|
3625
3625
|
}
|
|
3626
3626
|
interface PoliciesResource {
|
|
3627
|
+
/** Create a policy. */
|
|
3628
|
+
create(request: {
|
|
3629
|
+
/** V1 error format. */
|
|
3630
|
+
'$.xgafv'?: string;
|
|
3631
|
+
/** OAuth access token. */
|
|
3632
|
+
access_token?: string;
|
|
3633
|
+
/** Data format for response. */
|
|
3634
|
+
alt?: string;
|
|
3635
|
+
/** JSONP */
|
|
3636
|
+
callback?: string;
|
|
3637
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3638
|
+
fields?: string;
|
|
3639
|
+
/** 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. */
|
|
3640
|
+
key?: string;
|
|
3641
|
+
/** OAuth 2.0 token for the current user. */
|
|
3642
|
+
oauth_token?: string;
|
|
3643
|
+
/** Returns response with indentations and line breaks. */
|
|
3644
|
+
prettyPrint?: boolean;
|
|
3645
|
+
/** 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. */
|
|
3646
|
+
quotaUser?: string;
|
|
3647
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3648
|
+
upload_protocol?: string;
|
|
3649
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3650
|
+
uploadType?: string;
|
|
3651
|
+
/** Request body */
|
|
3652
|
+
resource: Policy;
|
|
3653
|
+
}): Request<Operation>;
|
|
3654
|
+
create(
|
|
3655
|
+
request: {
|
|
3656
|
+
/** V1 error format. */
|
|
3657
|
+
'$.xgafv'?: string;
|
|
3658
|
+
/** OAuth access token. */
|
|
3659
|
+
access_token?: string;
|
|
3660
|
+
/** Data format for response. */
|
|
3661
|
+
alt?: string;
|
|
3662
|
+
/** JSONP */
|
|
3663
|
+
callback?: string;
|
|
3664
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3665
|
+
fields?: string;
|
|
3666
|
+
/** 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. */
|
|
3667
|
+
key?: string;
|
|
3668
|
+
/** OAuth 2.0 token for the current user. */
|
|
3669
|
+
oauth_token?: string;
|
|
3670
|
+
/** Returns response with indentations and line breaks. */
|
|
3671
|
+
prettyPrint?: boolean;
|
|
3672
|
+
/** 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. */
|
|
3673
|
+
quotaUser?: string;
|
|
3674
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3675
|
+
upload_protocol?: string;
|
|
3676
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3677
|
+
uploadType?: string;
|
|
3678
|
+
},
|
|
3679
|
+
body: Policy,
|
|
3680
|
+
): Request<Operation>;
|
|
3681
|
+
/** Delete a policy. */
|
|
3682
|
+
delete(request?: {
|
|
3683
|
+
/** V1 error format. */
|
|
3684
|
+
'$.xgafv'?: string;
|
|
3685
|
+
/** OAuth access token. */
|
|
3686
|
+
access_token?: string;
|
|
3687
|
+
/** Data format for response. */
|
|
3688
|
+
alt?: string;
|
|
3689
|
+
/** JSONP */
|
|
3690
|
+
callback?: string;
|
|
3691
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3692
|
+
fields?: string;
|
|
3693
|
+
/** 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. */
|
|
3694
|
+
key?: string;
|
|
3695
|
+
/** Required. The name of the policy to retrieve. Format: "policies/{policy}". */
|
|
3696
|
+
name: string;
|
|
3697
|
+
/** OAuth 2.0 token for the current user. */
|
|
3698
|
+
oauth_token?: string;
|
|
3699
|
+
/** Returns response with indentations and line breaks. */
|
|
3700
|
+
prettyPrint?: boolean;
|
|
3701
|
+
/** 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. */
|
|
3702
|
+
quotaUser?: string;
|
|
3703
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3704
|
+
upload_protocol?: string;
|
|
3705
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3706
|
+
uploadType?: string;
|
|
3707
|
+
}): Request<Operation>;
|
|
3627
3708
|
/** Get a policy. */
|
|
3628
3709
|
get(request?: {
|
|
3629
3710
|
/** V1 error format. */
|
|
@@ -3682,6 +3763,64 @@ declare namespace gapi.client {
|
|
|
3682
3763
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3683
3764
|
uploadType?: string;
|
|
3684
3765
|
}): Request<ListPoliciesResponse>;
|
|
3766
|
+
/** Update a policy. */
|
|
3767
|
+
patch(request: {
|
|
3768
|
+
/** V1 error format. */
|
|
3769
|
+
'$.xgafv'?: string;
|
|
3770
|
+
/** OAuth access token. */
|
|
3771
|
+
access_token?: string;
|
|
3772
|
+
/** Data format for response. */
|
|
3773
|
+
alt?: string;
|
|
3774
|
+
/** JSONP */
|
|
3775
|
+
callback?: string;
|
|
3776
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3777
|
+
fields?: string;
|
|
3778
|
+
/** 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. */
|
|
3779
|
+
key?: string;
|
|
3780
|
+
/** Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy}. */
|
|
3781
|
+
name: string;
|
|
3782
|
+
/** OAuth 2.0 token for the current user. */
|
|
3783
|
+
oauth_token?: string;
|
|
3784
|
+
/** Returns response with indentations and line breaks. */
|
|
3785
|
+
prettyPrint?: boolean;
|
|
3786
|
+
/** 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. */
|
|
3787
|
+
quotaUser?: string;
|
|
3788
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3789
|
+
upload_protocol?: string;
|
|
3790
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3791
|
+
uploadType?: string;
|
|
3792
|
+
/** Request body */
|
|
3793
|
+
resource: Policy;
|
|
3794
|
+
}): Request<Operation>;
|
|
3795
|
+
patch(
|
|
3796
|
+
request: {
|
|
3797
|
+
/** V1 error format. */
|
|
3798
|
+
'$.xgafv'?: string;
|
|
3799
|
+
/** OAuth access token. */
|
|
3800
|
+
access_token?: string;
|
|
3801
|
+
/** Data format for response. */
|
|
3802
|
+
alt?: string;
|
|
3803
|
+
/** JSONP */
|
|
3804
|
+
callback?: string;
|
|
3805
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3806
|
+
fields?: string;
|
|
3807
|
+
/** 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. */
|
|
3808
|
+
key?: string;
|
|
3809
|
+
/** Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy}. */
|
|
3810
|
+
name: string;
|
|
3811
|
+
/** OAuth 2.0 token for the current user. */
|
|
3812
|
+
oauth_token?: string;
|
|
3813
|
+
/** Returns response with indentations and line breaks. */
|
|
3814
|
+
prettyPrint?: boolean;
|
|
3815
|
+
/** 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. */
|
|
3816
|
+
quotaUser?: string;
|
|
3817
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3818
|
+
upload_protocol?: string;
|
|
3819
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3820
|
+
uploadType?: string;
|
|
3821
|
+
},
|
|
3822
|
+
body: Policy,
|
|
3823
|
+
): Request<Operation>;
|
|
3685
3824
|
}
|
|
3686
3825
|
|
|
3687
3826
|
const customers: CustomersResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -252,6 +252,16 @@ Updates an InboundSsoAssignment. The body of this request is the `inbound_sso_as
|
|
|
252
252
|
*/
|
|
253
253
|
await gapi.client.cloudidentity.inboundSsoAssignments.patch({name: 'name'});
|
|
254
254
|
|
|
255
|
+
/*
|
|
256
|
+
Create a policy.
|
|
257
|
+
*/
|
|
258
|
+
await gapi.client.cloudidentity.policies.create({});
|
|
259
|
+
|
|
260
|
+
/*
|
|
261
|
+
Delete a policy.
|
|
262
|
+
*/
|
|
263
|
+
await gapi.client.cloudidentity.policies.delete({name: 'name'});
|
|
264
|
+
|
|
255
265
|
/*
|
|
256
266
|
Get a policy.
|
|
257
267
|
*/
|
|
@@ -261,6 +271,11 @@ await gapi.client.cloudidentity.policies.get({name: 'name'});
|
|
|
261
271
|
List policies.
|
|
262
272
|
*/
|
|
263
273
|
await gapi.client.cloudidentity.policies.list({});
|
|
274
|
+
|
|
275
|
+
/*
|
|
276
|
+
Update a policy.
|
|
277
|
+
*/
|
|
278
|
+
await gapi.client.cloudidentity.policies.patch({name: 'name'});
|
|
264
279
|
```
|
|
265
280
|
|
|
266
281
|
For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.cloudidentity-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
|