@maxim_mazurok/gapi.client.cloudtasks-v2beta2 0.0.20230927 → 0.0.20231018

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 +6 -9
  2. package/package.json +1 -1
  3. package/tests.ts +3 -5
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: 20230927
12
+ // Revision: 20231018
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1011,8 +1011,7 @@ declare namespace gapi.client {
1011
1011
  /**
1012
1012
  * Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format
1013
1013
  * and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the
1014
- * following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through
1015
- * the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
1014
+ * following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
1016
1015
  */
1017
1016
  buffer(request: {
1018
1017
  /** V1 error format. */
@@ -2572,7 +2571,8 @@ declare namespace gapi.client {
2572
2571
  /** 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
2572
  key?:
2574
2573
  string;
2575
- locationsId:
2574
+ /** 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` */
2575
+ name:
2576
2576
  string;
2577
2577
  /** OAuth 2.0 token for the current user. */
2578
2578
  oauth_token?:
@@ -2580,8 +2580,6 @@ declare namespace gapi.client {
2580
2580
  /** Returns response with indentations and line breaks. */
2581
2581
  prettyPrint?:
2582
2582
  boolean;
2583
- projectsId:
2584
- string;
2585
2583
  /** 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
2584
  quotaUser?:
2587
2585
  string;
@@ -2617,7 +2615,8 @@ declare namespace gapi.client {
2617
2615
  /** 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
2616
  key?:
2619
2617
  string;
2620
- locationsId:
2618
+ /** 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` */
2619
+ name:
2621
2620
  string;
2622
2621
  /** OAuth 2.0 token for the current user. */
2623
2622
  oauth_token?:
@@ -2625,8 +2624,6 @@ declare namespace gapi.client {
2625
2624
  /** Returns response with indentations and line breaks. */
2626
2625
  prettyPrint?:
2627
2626
  boolean;
2628
- projectsId:
2629
- string;
2630
2627
  /** 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
2628
  quotaUser?:
2632
2629
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudtasks-v2beta2",
3
- "version": "0.0.20230927",
3
+ "version": "0.0.20231018",
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: 20230927
6
+ // Revision: 20231018
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",
@@ -333,8 +332,7 @@ gapi.load('client', async () => {
333
332
  /**
334
333
  * Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and
335
334
  * set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following
336
- * format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud
337
- * Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
335
+ * format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
338
336
  */
339
337
  await gapi.client.cloudtasks.projects.locations.queues.tasks.buffer({
340
338
  queue: "Test string",