@maxim_mazurok/gapi.client.cloudtasks-v2beta2 0.0.20220913 → 0.0.20220915
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 +7 -5
- package/package.json +1 -1
- package/tests.ts +2 -2
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://cloudtasks.googleapis.com/$discovery/rest?version=v2beta2
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220915
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -214,7 +214,9 @@ declare namespace gapi.client {
|
|
|
214
214
|
requestedPolicyVersion?: number;
|
|
215
215
|
}
|
|
216
216
|
interface Header {
|
|
217
|
+
/** The key of the header. */
|
|
217
218
|
key?: string;
|
|
219
|
+
/** The value of the header. */
|
|
218
220
|
value?: string;
|
|
219
221
|
}
|
|
220
222
|
interface HeaderOverride {
|
|
@@ -760,10 +762,10 @@ declare namespace gapi.client {
|
|
|
760
762
|
key?: string;
|
|
761
763
|
/** OAuth 2.0 token for the current user. */
|
|
762
764
|
oauth_token?: string;
|
|
763
|
-
/** Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
|
|
764
|
-
parent: string;
|
|
765
765
|
/** Returns response with indentations and line breaks. */
|
|
766
766
|
prettyPrint?: boolean;
|
|
767
|
+
/** Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
|
|
768
|
+
queue: string;
|
|
767
769
|
/** 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. */
|
|
768
770
|
quotaUser?: string;
|
|
769
771
|
/** Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task. */
|
|
@@ -790,10 +792,10 @@ declare namespace gapi.client {
|
|
|
790
792
|
key?: string;
|
|
791
793
|
/** OAuth 2.0 token for the current user. */
|
|
792
794
|
oauth_token?: string;
|
|
793
|
-
/** Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
|
|
794
|
-
parent: string;
|
|
795
795
|
/** Returns response with indentations and line breaks. */
|
|
796
796
|
prettyPrint?: boolean;
|
|
797
|
+
/** Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
|
|
798
|
+
queue: string;
|
|
797
799
|
/** 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. */
|
|
798
800
|
quotaUser?: string;
|
|
799
801
|
/** Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task. */
|
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: 20220915
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -293,7 +293,7 @@ gapi.load('client', async () => {
|
|
|
293
293
|
* Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
|
|
294
294
|
*/
|
|
295
295
|
await gapi.client.cloudtasks.projects.locations.queues.tasks.buffer({
|
|
296
|
-
|
|
296
|
+
queue: "Test string",
|
|
297
297
|
taskId: "Test string",
|
|
298
298
|
}, {
|
|
299
299
|
body: {
|