@maxim_mazurok/gapi.client.cloudtasks-v2beta2 0.0.20230906 → 0.0.20230929

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 +5 -7
  2. package/package.json +1 -1
  3. package/tests.ts +2 -3
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://cloudtasks.googleapis.com/$discovery/rest?version=v2beta2
12
- // Revision: 20230906
12
+ // Revision: 20230929
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2572,7 +2572,8 @@ declare namespace gapi.client {
2572
2572
  /** 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. */
2573
2573
  key?:
2574
2574
  string;
2575
- locationsId:
2575
+ /** Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` */
2576
+ name:
2576
2577
  string;
2577
2578
  /** OAuth 2.0 token for the current user. */
2578
2579
  oauth_token?:
@@ -2580,8 +2581,6 @@ declare namespace gapi.client {
2580
2581
  /** Returns response with indentations and line breaks. */
2581
2582
  prettyPrint?:
2582
2583
  boolean;
2583
- projectsId:
2584
- string;
2585
2584
  /** 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. */
2586
2585
  quotaUser?:
2587
2586
  string;
@@ -2617,7 +2616,8 @@ declare namespace gapi.client {
2617
2616
  /** 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. */
2618
2617
  key?:
2619
2618
  string;
2620
- locationsId:
2619
+ /** Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` */
2620
+ name:
2621
2621
  string;
2622
2622
  /** OAuth 2.0 token for the current user. */
2623
2623
  oauth_token?:
@@ -2625,8 +2625,6 @@ declare namespace gapi.client {
2625
2625
  /** Returns response with indentations and line breaks. */
2626
2626
  prettyPrint?:
2627
2627
  boolean;
2628
- projectsId:
2629
- string;
2630
2628
  /** 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. */
2631
2629
  quotaUser?:
2632
2630
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudtasks-v2beta2",
3
- "version": "0.0.20230906",
3
+ "version": "0.0.20230929",
4
4
  "description": "TypeScript typings for Cloud Tasks API v2beta2",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230906
6
+ // Revision: 20230929
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -64,8 +64,7 @@ gapi.load('client', async () => {
64
64
  * in the location will be encrypted at-rest with the KMS-key provided in the config.
65
65
  */
66
66
  await gapi.client.cloudtasks.projects.locations.updateCmekConfig({
67
- locationsId: "Test string",
68
- projectsId: "Test string",
67
+ name: "Test string",
69
68
  updateMask: "Test string",
70
69
  }, {
71
70
  kmsKey: "Test string",