@maxim_mazurok/gapi.client.cloudidentity-v1beta1 0.1.20251007 → 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.
Files changed (3) hide show
  1. package/index.d.ts +142 -3
  2. package/package.json +1 -1
  3. package/readme.md +17 -2
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: 20251007
12
+ // Revision: 20251027
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3624,7 +3624,88 @@ declare namespace gapi.client {
3624
3624
  memberships: MembershipsResource;
3625
3625
  }
3626
3626
  interface PoliciesResource {
3627
- /** Get a Policy */
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>;
3708
+ /** Get a policy. */
3628
3709
  get(request?: {
3629
3710
  /** V1 error format. */
3630
3711
  '$.xgafv'?: string;
@@ -3651,7 +3732,7 @@ declare namespace gapi.client {
3651
3732
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3652
3733
  uploadType?: string;
3653
3734
  }): Request<Policy>;
3654
- /** List Policies */
3735
+ /** List policies. */
3655
3736
  list(request?: {
3656
3737
  /** V1 error format. */
3657
3738
  '$.xgafv'?: string;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudidentity-v1beta1",
3
- "version": "0.1.20251007",
3
+ "version": "0.1.20251027",
4
4
  "description": "TypeScript typings for Cloud Identity API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -253,14 +253,29 @@ Updates an InboundSsoAssignment. The body of this request is the `inbound_sso_as
253
253
  await gapi.client.cloudidentity.inboundSsoAssignments.patch({name: 'name'});
254
254
 
255
255
  /*
256
- Get a Policy
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
+
265
+ /*
266
+ Get a policy.
257
267
  */
258
268
  await gapi.client.cloudidentity.policies.get({name: 'name'});
259
269
 
260
270
  /*
261
- List Policies
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)