@maxim_mazurok/gapi.client.cloudtasks-v2 0.3.20260722 → 0.3.20260831
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 +43 -1
- package/package.json +1 -1
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=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260831
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -213,6 +213,18 @@ declare namespace gapi.client {
|
|
|
213
213
|
/** [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. */
|
|
214
214
|
serviceAccountEmail?: string;
|
|
215
215
|
}
|
|
216
|
+
interface Operation {
|
|
217
|
+
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
218
|
+
done?: boolean;
|
|
219
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
220
|
+
error?: Status;
|
|
221
|
+
/** Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. */
|
|
222
|
+
metadata?: {[P in string]: any};
|
|
223
|
+
/** The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. */
|
|
224
|
+
name?: string;
|
|
225
|
+
/** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
|
|
226
|
+
response?: {[P in string]: any};
|
|
227
|
+
}
|
|
216
228
|
interface PathOverride {
|
|
217
229
|
/** The URI path (e.g., /users/1234). Default is an empty string. */
|
|
218
230
|
path?: string;
|
|
@@ -337,6 +349,35 @@ declare namespace gapi.client {
|
|
|
337
349
|
uriOverrideEnforceMode?:
|
|
338
350
|
'URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED' | 'IF_NOT_EXISTS' | 'ALWAYS';
|
|
339
351
|
}
|
|
352
|
+
interface OperationsResource {
|
|
353
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
354
|
+
get(request?: {
|
|
355
|
+
/** V1 error format. */
|
|
356
|
+
'$.xgafv'?: '1' | '2';
|
|
357
|
+
/** OAuth access token. */
|
|
358
|
+
access_token?: string;
|
|
359
|
+
/** Data format for response. */
|
|
360
|
+
alt?: 'json' | 'media' | 'proto';
|
|
361
|
+
/** JSONP */
|
|
362
|
+
callback?: string;
|
|
363
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
364
|
+
fields?: string;
|
|
365
|
+
/** 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. */
|
|
366
|
+
key?: string;
|
|
367
|
+
/** The name of the operation resource. */
|
|
368
|
+
name: string;
|
|
369
|
+
/** OAuth 2.0 token for the current user. */
|
|
370
|
+
oauth_token?: string;
|
|
371
|
+
/** Returns response with indentations and line breaks. */
|
|
372
|
+
prettyPrint?: boolean;
|
|
373
|
+
/** 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. */
|
|
374
|
+
quotaUser?: string;
|
|
375
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
376
|
+
upload_protocol?: string;
|
|
377
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
378
|
+
uploadType?: string;
|
|
379
|
+
}): Request<Operation>;
|
|
380
|
+
}
|
|
340
381
|
interface TasksResource {
|
|
341
382
|
/** 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 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 format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. */
|
|
342
383
|
buffer(request: {
|
|
@@ -1232,6 +1273,7 @@ declare namespace gapi.client {
|
|
|
1232
1273
|
},
|
|
1233
1274
|
body: CmekConfig,
|
|
1234
1275
|
): Request<CmekConfig>;
|
|
1276
|
+
operations: OperationsResource;
|
|
1235
1277
|
queues: QueuesResource;
|
|
1236
1278
|
}
|
|
1237
1279
|
interface ProjectsResource {
|