@maxim_mazurok/gapi.client.cloudtasks-v2 0.3.20260930 → 0.3.20261020
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 +8 -8
- 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: 20261020
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -67,7 +67,7 @@ declare namespace gapi.client {
|
|
|
67
67
|
interface BatchCreateTasksRequest {
|
|
68
68
|
/** Optional. This field will be used to identify the long running operation, avoiding duplication when user retries. If not provided, then a UUID will be generated at server side. */
|
|
69
69
|
requestId?: string;
|
|
70
|
-
/** Required. The list of requests to create tasks. The queue specified in parent field of each CreateTaskRequest will be the same. This validation happens on the client side as well as in the handler. BatchCreateTasksRequest.parent will also be the same value as the individual CreateTaskRequest.parent
|
|
70
|
+
/** Required. The list of requests to create tasks. The queue specified in parent field of each CreateTaskRequest will be the same. This validation happens on the client side as well as in the handler. BatchCreateTasksRequest.parent will also be the same value as the individual `CreateTaskRequest.parent`. The maximum number of requests is 100. */
|
|
71
71
|
requests?: CreateTaskRequest[];
|
|
72
72
|
}
|
|
73
73
|
interface BatchDeleteTasksRequest {
|
|
@@ -95,7 +95,7 @@ declare namespace gapi.client {
|
|
|
95
95
|
interface CmekConfig {
|
|
96
96
|
/** Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption. */
|
|
97
97
|
kmsKey?: string;
|
|
98
|
-
/** 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` */
|
|
98
|
+
/** 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` */
|
|
99
99
|
name?: string;
|
|
100
100
|
}
|
|
101
101
|
interface CreateTaskRequest {
|
|
@@ -166,7 +166,7 @@ declare namespace gapi.client {
|
|
|
166
166
|
url?: string;
|
|
167
167
|
}
|
|
168
168
|
interface HttpTarget {
|
|
169
|
-
/** HTTP target headers. This map contains the header field names and values. Headers will be set when running the CreateTask and/or BufferTask. These headers represent a subset of the headers that will be configured for the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Several predefined headers, prefixed with "X-CloudTasks-", can be used to define properties of the task. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example
|
|
169
|
+
/** HTTP target headers. This map contains the header field names and values. Headers will be set when running the CreateTask and/or BufferTask. These headers represent a subset of the headers that will be configured for the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Several predefined headers, prefixed with "X-CloudTasks-", can be used to define properties of the task. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. The default value is set to `"application/json"`. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the [Service Specific Terms](https://cloud.google.com/terms/service-terms). */
|
|
170
170
|
headerOverrides?: HeaderOverride[];
|
|
171
171
|
/** The HTTP method to use for the request. When specified, it overrides HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at execution time. */
|
|
172
172
|
httpMethod?:
|
|
@@ -1281,7 +1281,7 @@ declare namespace gapi.client {
|
|
|
1281
1281
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1282
1282
|
uploadType?: string;
|
|
1283
1283
|
}): Request<Location>;
|
|
1284
|
-
/** Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks
|
|
1284
|
+
/** Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks location. By default there is no `kms_key` configured. */
|
|
1285
1285
|
getCmekConfig(request?: {
|
|
1286
1286
|
/** V1 error format. */
|
|
1287
1287
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1295,7 +1295,7 @@ declare namespace gapi.client {
|
|
|
1295
1295
|
fields?: string;
|
|
1296
1296
|
/** 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. */
|
|
1297
1297
|
key?: string;
|
|
1298
|
-
/** Required. The config. For example: projects/PROJECT_ID/locations/LOCATION_ID/
|
|
1298
|
+
/** Required. The config. For example: `projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` */
|
|
1299
1299
|
name: string;
|
|
1300
1300
|
/** OAuth 2.0 token for the current user. */
|
|
1301
1301
|
oauth_token?: string;
|
|
@@ -1357,7 +1357,7 @@ declare namespace gapi.client {
|
|
|
1357
1357
|
fields?: string;
|
|
1358
1358
|
/** 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. */
|
|
1359
1359
|
key?: string;
|
|
1360
|
-
/** 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` */
|
|
1360
|
+
/** 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` */
|
|
1361
1361
|
name: string;
|
|
1362
1362
|
/** OAuth 2.0 token for the current user. */
|
|
1363
1363
|
oauth_token?: string;
|
|
@@ -1388,7 +1388,7 @@ declare namespace gapi.client {
|
|
|
1388
1388
|
fields?: string;
|
|
1389
1389
|
/** 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. */
|
|
1390
1390
|
key?: string;
|
|
1391
|
-
/** 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` */
|
|
1391
|
+
/** 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` */
|
|
1392
1392
|
name: string;
|
|
1393
1393
|
/** OAuth 2.0 token for the current user. */
|
|
1394
1394
|
oauth_token?: string;
|