@maxim_mazurok/gapi.client.cloudscheduler-v1 0.0.20230331 → 0.0.20230421
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 +506 -254
- package/package.json +1 -1
- package/tests.ts +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://cloudscheduler.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230421
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,12 +24,14 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace cloudscheduler {
|
|
25
25
|
interface AppEngineHttpTarget {
|
|
26
26
|
/** App Engine Routing setting for the job. */
|
|
27
|
-
appEngineRouting?:
|
|
27
|
+
appEngineRouting?:
|
|
28
|
+
AppEngineRouting;
|
|
28
29
|
/**
|
|
29
30
|
* Body. HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible
|
|
30
31
|
* HttpMethod.
|
|
31
32
|
*/
|
|
32
|
-
body?:
|
|
33
|
+
body?:
|
|
34
|
+
string;
|
|
33
35
|
/**
|
|
34
36
|
* HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created. Cloud Scheduler sets some headers to default values: *
|
|
35
37
|
* `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Scheduler will append `"AppEngine-Google;
|
|
@@ -41,14 +43,17 @@ declare namespace gapi.client {
|
|
|
41
43
|
* `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also
|
|
42
44
|
* be sent to the job handler.
|
|
43
45
|
*/
|
|
44
|
-
headers?:
|
|
46
|
+
headers?:
|
|
47
|
+
{ [P in string]: string };
|
|
45
48
|
/** The HTTP method to use for the request. PATCH and OPTIONS are not permitted. */
|
|
46
|
-
httpMethod?:
|
|
49
|
+
httpMethod?:
|
|
50
|
+
string;
|
|
47
51
|
/**
|
|
48
52
|
* The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and `#` fragments. If the relative URL
|
|
49
53
|
* is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
|
|
50
54
|
*/
|
|
51
|
-
relativeUri?:
|
|
55
|
+
relativeUri?:
|
|
56
|
+
string;
|
|
52
57
|
}
|
|
53
58
|
interface AppEngineRouting {
|
|
54
59
|
/**
|
|
@@ -63,25 +68,30 @@ declare namespace gapi.client {
|
|
|
63
68
|
* version when the job is attempted. If instance is empty, then the job will be sent to an instance which is available when the job is attempted. If service, version, or instance is
|
|
64
69
|
* invalid, then the job will be sent to the default version of the default service when the job is attempted.
|
|
65
70
|
*/
|
|
66
|
-
host?:
|
|
71
|
+
host?:
|
|
72
|
+
string;
|
|
67
73
|
/**
|
|
68
74
|
* App instance. By default, the job is sent to an instance which is available when the job is attempted. Requests can only be sent to a specific instance if [manual scaling is used in
|
|
69
75
|
* App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes). App Engine Flex does not support instances. For
|
|
70
76
|
* more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request
|
|
71
77
|
* routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
|
|
72
78
|
*/
|
|
73
|
-
instance?:
|
|
79
|
+
instance?:
|
|
80
|
+
string;
|
|
74
81
|
/** App service. By default, the job is sent to the service which is the default service when the job is attempted. */
|
|
75
|
-
service?:
|
|
82
|
+
service?:
|
|
83
|
+
string;
|
|
76
84
|
/** App version. By default, the job is sent to the version which is the default version when the job is attempted. */
|
|
77
|
-
version?:
|
|
85
|
+
version?:
|
|
86
|
+
string;
|
|
78
87
|
}
|
|
79
88
|
// tslint:disable-next-line:no-empty-interface
|
|
80
89
|
interface Empty {
|
|
81
90
|
}
|
|
82
91
|
interface HttpTarget {
|
|
83
92
|
/** HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a job with an incompatible HttpMethod. */
|
|
84
|
-
body?:
|
|
93
|
+
body?:
|
|
94
|
+
string;
|
|
85
95
|
/**
|
|
86
96
|
* The user can specify HTTP request headers to send with the job's HTTP request. This map contains the header field names and values. Repeated headers are not supported, but a header
|
|
87
97
|
* value can contain commas. These headers represent a subset of the headers that will accompany the job's HTTP request. Some HTTP request headers will be ignored or replaced. A
|
|
@@ -90,29 +100,35 @@ declare namespace gapi.client {
|
|
|
90
100
|
* `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs
|
|
91
101
|
* specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. The total size of headers must be less than 80KB.
|
|
92
102
|
*/
|
|
93
|
-
headers?:
|
|
103
|
+
headers?:
|
|
104
|
+
{ [P in string]: string };
|
|
94
105
|
/** Which HTTP method to use for the request. */
|
|
95
|
-
httpMethod?:
|
|
106
|
+
httpMethod?:
|
|
107
|
+
string;
|
|
96
108
|
/**
|
|
97
109
|
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of
|
|
98
110
|
* authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
|
|
99
111
|
*/
|
|
100
|
-
oauthToken?:
|
|
112
|
+
oauthToken?:
|
|
113
|
+
OAuthToken;
|
|
101
114
|
/**
|
|
102
115
|
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This
|
|
103
116
|
* type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
|
|
104
117
|
*/
|
|
105
|
-
oidcToken?:
|
|
118
|
+
oidcToken?:
|
|
119
|
+
OidcToken;
|
|
106
120
|
/**
|
|
107
121
|
* Required. The full URI path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples of valid values for uri are:
|
|
108
122
|
* `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters
|
|
109
123
|
* after encoding.
|
|
110
124
|
*/
|
|
111
|
-
uri?:
|
|
125
|
+
uri?:
|
|
126
|
+
string;
|
|
112
127
|
}
|
|
113
128
|
interface Job {
|
|
114
129
|
/** App Engine HTTP target. */
|
|
115
|
-
appEngineHttpTarget?:
|
|
130
|
+
appEngineHttpTarget?:
|
|
131
|
+
AppEngineHttpTarget;
|
|
116
132
|
/**
|
|
117
133
|
* The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The
|
|
118
134
|
* failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the RetryConfig. The default and the allowed values depend on the type of target: *
|
|
@@ -121,13 +137,17 @@ declare namespace gapi.client {
|
|
|
121
137
|
* basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For Pub/Sub targets, this field is
|
|
122
138
|
* ignored.
|
|
123
139
|
*/
|
|
124
|
-
attemptDeadline?:
|
|
140
|
+
attemptDeadline?:
|
|
141
|
+
string;
|
|
125
142
|
/** Optionally caller-specified in CreateJob or UpdateJob. A human-readable description for the job. This string must not contain more than 500 characters. */
|
|
126
|
-
description?:
|
|
143
|
+
description?:
|
|
144
|
+
string;
|
|
127
145
|
/** HTTP target. */
|
|
128
|
-
httpTarget?:
|
|
146
|
+
httpTarget?:
|
|
147
|
+
HttpTarget;
|
|
129
148
|
/** Output only. The time the last job attempt started. */
|
|
130
|
-
lastAttemptTime?:
|
|
149
|
+
lastAttemptTime?:
|
|
150
|
+
string;
|
|
131
151
|
/**
|
|
132
152
|
* Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can
|
|
133
153
|
* contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying
|
|
@@ -135,11 +155,14 @@ declare namespace gapi.client {
|
|
|
135
155
|
* available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]),
|
|
136
156
|
* numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
|
|
137
157
|
*/
|
|
138
|
-
name?:
|
|
158
|
+
name?:
|
|
159
|
+
string;
|
|
139
160
|
/** Pub/Sub target. */
|
|
140
|
-
pubsubTarget?:
|
|
161
|
+
pubsubTarget?:
|
|
162
|
+
PubsubTarget;
|
|
141
163
|
/** Settings that determine the retry behavior. */
|
|
142
|
-
retryConfig?:
|
|
164
|
+
retryConfig?:
|
|
165
|
+
RetryConfig;
|
|
143
166
|
/**
|
|
144
167
|
* Required, except when used with UpdateJob. Describes the schedule on which the job will be executed. The schedule can be either of the following types: *
|
|
145
168
|
* [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution
|
|
@@ -148,291 +171,389 @@ declare namespace gapi.client {
|
|
|
148
171
|
* if the previous execution has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the job will be tried a total of retry_count times, with
|
|
149
172
|
* exponential backoff, until the next scheduled start time.
|
|
150
173
|
*/
|
|
151
|
-
schedule?:
|
|
174
|
+
schedule?:
|
|
175
|
+
string;
|
|
152
176
|
/** Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule. */
|
|
153
|
-
scheduleTime?:
|
|
177
|
+
scheduleTime?:
|
|
178
|
+
string;
|
|
154
179
|
/** Output only. State of the job. */
|
|
155
|
-
state?:
|
|
180
|
+
state?:
|
|
181
|
+
string;
|
|
156
182
|
/** Output only. The response from the target for the last attempted execution. */
|
|
157
|
-
status?:
|
|
183
|
+
status?:
|
|
184
|
+
Status;
|
|
158
185
|
/**
|
|
159
186
|
* Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note
|
|
160
187
|
* that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone
|
|
161
188
|
* is not specified, the default will be in UTC (also known as GMT).
|
|
162
189
|
*/
|
|
163
|
-
timeZone?:
|
|
190
|
+
timeZone?:
|
|
191
|
+
string;
|
|
164
192
|
/** Output only. The creation time of the job. */
|
|
165
|
-
userUpdateTime?:
|
|
193
|
+
userUpdateTime?:
|
|
194
|
+
string;
|
|
166
195
|
}
|
|
167
196
|
interface ListJobsResponse {
|
|
168
197
|
/** The list of jobs. */
|
|
169
|
-
jobs?:
|
|
198
|
+
jobs?:
|
|
199
|
+
Job[];
|
|
170
200
|
/**
|
|
171
201
|
* A token to retrieve next page of results. Pass this value in the page_token field in the subsequent call to ListJobs to retrieve the next page of results. If this is empty it
|
|
172
202
|
* indicates that there are no more results through which to paginate. The page token is valid for only 2 hours.
|
|
173
203
|
*/
|
|
174
|
-
nextPageToken?:
|
|
204
|
+
nextPageToken?:
|
|
205
|
+
string;
|
|
175
206
|
}
|
|
176
207
|
interface ListLocationsResponse {
|
|
177
208
|
/** A list of locations that matches the specified filter in the request. */
|
|
178
|
-
locations?:
|
|
209
|
+
locations?:
|
|
210
|
+
Location[];
|
|
179
211
|
/** The standard List next-page token. */
|
|
180
|
-
nextPageToken?:
|
|
212
|
+
nextPageToken?:
|
|
213
|
+
string;
|
|
181
214
|
}
|
|
182
215
|
interface Location {
|
|
183
216
|
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
184
|
-
displayName?:
|
|
217
|
+
displayName?:
|
|
218
|
+
string;
|
|
185
219
|
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
186
|
-
labels?:
|
|
220
|
+
labels?:
|
|
221
|
+
{ [P in string]: string };
|
|
187
222
|
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
188
|
-
locationId?:
|
|
223
|
+
locationId?:
|
|
224
|
+
string;
|
|
189
225
|
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
190
|
-
metadata?:
|
|
226
|
+
metadata?:
|
|
227
|
+
{ [P in string]: any };
|
|
191
228
|
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
192
|
-
name?:
|
|
229
|
+
name?:
|
|
230
|
+
string;
|
|
193
231
|
}
|
|
194
232
|
interface OAuthToken {
|
|
195
233
|
/** OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. */
|
|
196
|
-
scope?:
|
|
234
|
+
scope?:
|
|
235
|
+
string;
|
|
197
236
|
/**
|
|
198
237
|
* [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the job.
|
|
199
238
|
* The caller must have iam.serviceAccounts.actAs permission for the service account.
|
|
200
239
|
*/
|
|
201
|
-
serviceAccountEmail?:
|
|
240
|
+
serviceAccountEmail?:
|
|
241
|
+
string;
|
|
202
242
|
}
|
|
203
243
|
interface OidcToken {
|
|
204
244
|
/** Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. */
|
|
205
|
-
audience?:
|
|
245
|
+
audience?:
|
|
246
|
+
string;
|
|
206
247
|
/**
|
|
207
248
|
* [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 job. The
|
|
208
249
|
* caller must have iam.serviceAccounts.actAs permission for the service account.
|
|
209
250
|
*/
|
|
210
|
-
serviceAccountEmail?:
|
|
251
|
+
serviceAccountEmail?:
|
|
252
|
+
string;
|
|
211
253
|
}
|
|
212
254
|
// tslint:disable-next-line:no-empty-interface
|
|
213
255
|
interface PauseJobRequest {
|
|
214
256
|
}
|
|
215
257
|
interface PubsubMessage {
|
|
216
258
|
/** Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription. */
|
|
217
|
-
attributes?:
|
|
259
|
+
attributes?:
|
|
260
|
+
{ [P in string]: string };
|
|
218
261
|
/** The message data field. If this field is empty, the message must contain at least one attribute. */
|
|
219
|
-
data?:
|
|
262
|
+
data?:
|
|
263
|
+
string;
|
|
220
264
|
/**
|
|
221
265
|
* ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a
|
|
222
266
|
* `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.
|
|
223
267
|
*/
|
|
224
|
-
messageId?:
|
|
268
|
+
messageId?:
|
|
269
|
+
string;
|
|
225
270
|
/**
|
|
226
271
|
* If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the
|
|
227
272
|
* same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given
|
|
228
273
|
* `PublishRequest` must specify the same `ordering_key` value. For more information, see [ordering messages](https://cloud.google.com/pubsub/docs/ordering).
|
|
229
274
|
*/
|
|
230
|
-
orderingKey?:
|
|
275
|
+
orderingKey?:
|
|
276
|
+
string;
|
|
231
277
|
/** The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call. */
|
|
232
|
-
publishTime?:
|
|
278
|
+
publishTime?:
|
|
279
|
+
string;
|
|
233
280
|
}
|
|
234
281
|
interface PubsubTarget {
|
|
235
282
|
/** Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. */
|
|
236
|
-
attributes?:
|
|
283
|
+
attributes?:
|
|
284
|
+
{ [P in string]: string };
|
|
237
285
|
/** The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. */
|
|
238
|
-
data?:
|
|
286
|
+
data?:
|
|
287
|
+
string;
|
|
239
288
|
/**
|
|
240
289
|
* Required. The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by Pub/Sub's
|
|
241
290
|
* [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must be in
|
|
242
291
|
* the same project as the Cloud Scheduler job.
|
|
243
292
|
*/
|
|
244
|
-
topicName?:
|
|
293
|
+
topicName?:
|
|
294
|
+
string;
|
|
245
295
|
}
|
|
246
296
|
// tslint:disable-next-line:no-empty-interface
|
|
247
297
|
interface ResumeJobRequest {
|
|
248
298
|
}
|
|
249
299
|
interface RetryConfig {
|
|
250
300
|
/** The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour. */
|
|
251
|
-
maxBackoffDuration?:
|
|
301
|
+
maxBackoffDuration?:
|
|
302
|
+
string;
|
|
252
303
|
/**
|
|
253
304
|
* The time between retries will double `max_doublings` times. A job's retry interval starts at min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and
|
|
254
305
|
* finally retries at intervals of max_backoff_duration up to retry_count times. For example, if min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings` is 3,
|
|
255
|
-
* then the
|
|
306
|
+
* then the job will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the job will retry at intervals of
|
|
256
307
|
* max_backoff_duration until the job has been attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this
|
|
257
308
|
* field is 5.
|
|
258
309
|
*/
|
|
259
|
-
maxDoublings?:
|
|
310
|
+
maxDoublings?:
|
|
311
|
+
number;
|
|
260
312
|
/**
|
|
261
313
|
* The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retry_count, the job will be retried until both limits are
|
|
262
314
|
* reached. The default value for max_retry_duration is zero, which means retry duration is unlimited.
|
|
263
315
|
*/
|
|
264
|
-
maxRetryDuration?:
|
|
316
|
+
maxRetryDuration?:
|
|
317
|
+
string;
|
|
265
318
|
/** The minimum amount of time to wait before retrying a job after it fails. The default value of this field is 5 seconds. */
|
|
266
|
-
minBackoffDuration?:
|
|
319
|
+
minBackoffDuration?:
|
|
320
|
+
string;
|
|
267
321
|
/**
|
|
268
322
|
* The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings. The default value of retry_count is zero. If
|
|
269
323
|
* retry_count is zero, a job attempt will *not* be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. If retry_count is set to a
|
|
270
324
|
* non-zero number then Cloud Scheduler will retry failed attempts, using exponential backoff, retry_count times, or until the next scheduled execution time, whichever comes first.
|
|
271
325
|
* Values greater than 5 and negative values are not allowed.
|
|
272
326
|
*/
|
|
273
|
-
retryCount?:
|
|
327
|
+
retryCount?:
|
|
328
|
+
number;
|
|
274
329
|
}
|
|
275
330
|
// tslint:disable-next-line:no-empty-interface
|
|
276
331
|
interface RunJobRequest {
|
|
277
332
|
}
|
|
278
333
|
interface Status {
|
|
279
334
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
280
|
-
code?:
|
|
335
|
+
code?:
|
|
336
|
+
number;
|
|
281
337
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
282
|
-
details?:
|
|
338
|
+
details?:
|
|
339
|
+
Array<{ [P in string]: any }>;
|
|
283
340
|
/**
|
|
284
341
|
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
285
342
|
* client.
|
|
286
343
|
*/
|
|
287
|
-
message?:
|
|
344
|
+
message?:
|
|
345
|
+
string;
|
|
288
346
|
}
|
|
289
347
|
interface JobsResource {
|
|
290
348
|
/** Creates a job. */
|
|
291
349
|
create(request: {
|
|
292
350
|
/** V1 error format. */
|
|
293
|
-
"$.xgafv"?:
|
|
351
|
+
"$.xgafv"?:
|
|
352
|
+
string;
|
|
294
353
|
/** OAuth access token. */
|
|
295
|
-
access_token?:
|
|
354
|
+
access_token?:
|
|
355
|
+
string;
|
|
296
356
|
/** Data format for response. */
|
|
297
|
-
alt?:
|
|
357
|
+
alt?:
|
|
358
|
+
string;
|
|
298
359
|
/** JSONP */
|
|
299
|
-
callback?:
|
|
360
|
+
callback?:
|
|
361
|
+
string;
|
|
300
362
|
/** Selector specifying which fields to include in a partial response. */
|
|
301
|
-
fields?:
|
|
363
|
+
fields?:
|
|
364
|
+
string;
|
|
302
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. */
|
|
303
|
-
key?:
|
|
366
|
+
key?:
|
|
367
|
+
string;
|
|
304
368
|
/** OAuth 2.0 token for the current user. */
|
|
305
|
-
oauth_token?:
|
|
369
|
+
oauth_token?:
|
|
370
|
+
string;
|
|
306
371
|
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */
|
|
307
|
-
parent:
|
|
372
|
+
parent:
|
|
373
|
+
string;
|
|
308
374
|
/** Returns response with indentations and line breaks. */
|
|
309
|
-
prettyPrint?:
|
|
375
|
+
prettyPrint?:
|
|
376
|
+
boolean;
|
|
310
377
|
/** 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. */
|
|
311
|
-
quotaUser?:
|
|
378
|
+
quotaUser?:
|
|
379
|
+
string;
|
|
312
380
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
313
|
-
upload_protocol?:
|
|
381
|
+
upload_protocol?:
|
|
382
|
+
string;
|
|
314
383
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
315
|
-
uploadType?:
|
|
384
|
+
uploadType?:
|
|
385
|
+
string;
|
|
316
386
|
/** Request body */
|
|
317
|
-
resource:
|
|
387
|
+
resource:
|
|
388
|
+
Job;
|
|
318
389
|
}): Request<Job>;
|
|
319
390
|
create(request: {
|
|
320
391
|
/** V1 error format. */
|
|
321
|
-
"$.xgafv"?:
|
|
392
|
+
"$.xgafv"?:
|
|
393
|
+
string;
|
|
322
394
|
/** OAuth access token. */
|
|
323
|
-
access_token?:
|
|
395
|
+
access_token?:
|
|
396
|
+
string;
|
|
324
397
|
/** Data format for response. */
|
|
325
|
-
alt?:
|
|
398
|
+
alt?:
|
|
399
|
+
string;
|
|
326
400
|
/** JSONP */
|
|
327
|
-
callback?:
|
|
401
|
+
callback?:
|
|
402
|
+
string;
|
|
328
403
|
/** Selector specifying which fields to include in a partial response. */
|
|
329
|
-
fields?:
|
|
404
|
+
fields?:
|
|
405
|
+
string;
|
|
330
406
|
/** 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. */
|
|
331
|
-
key?:
|
|
407
|
+
key?:
|
|
408
|
+
string;
|
|
332
409
|
/** OAuth 2.0 token for the current user. */
|
|
333
|
-
oauth_token?:
|
|
410
|
+
oauth_token?:
|
|
411
|
+
string;
|
|
334
412
|
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */
|
|
335
|
-
parent:
|
|
413
|
+
parent:
|
|
414
|
+
string;
|
|
336
415
|
/** Returns response with indentations and line breaks. */
|
|
337
|
-
prettyPrint?:
|
|
416
|
+
prettyPrint?:
|
|
417
|
+
boolean;
|
|
338
418
|
/** 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. */
|
|
339
|
-
quotaUser?:
|
|
419
|
+
quotaUser?:
|
|
420
|
+
string;
|
|
340
421
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
341
|
-
upload_protocol?:
|
|
422
|
+
upload_protocol?:
|
|
423
|
+
string;
|
|
342
424
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
343
|
-
uploadType?:
|
|
425
|
+
uploadType?:
|
|
426
|
+
string;
|
|
344
427
|
},
|
|
345
428
|
body: Job): Request<Job>;
|
|
346
429
|
/** Deletes a job. */
|
|
347
430
|
delete(request?: {
|
|
348
431
|
/** V1 error format. */
|
|
349
|
-
"$.xgafv"?:
|
|
432
|
+
"$.xgafv"?:
|
|
433
|
+
string;
|
|
350
434
|
/** OAuth access token. */
|
|
351
|
-
access_token?:
|
|
435
|
+
access_token?:
|
|
436
|
+
string;
|
|
352
437
|
/** Data format for response. */
|
|
353
|
-
alt?:
|
|
438
|
+
alt?:
|
|
439
|
+
string;
|
|
354
440
|
/** JSONP */
|
|
355
|
-
callback?:
|
|
441
|
+
callback?:
|
|
442
|
+
string;
|
|
356
443
|
/** Selector specifying which fields to include in a partial response. */
|
|
357
|
-
fields?:
|
|
444
|
+
fields?:
|
|
445
|
+
string;
|
|
358
446
|
/** 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. */
|
|
359
|
-
key?:
|
|
447
|
+
key?:
|
|
448
|
+
string;
|
|
360
449
|
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */
|
|
361
|
-
name:
|
|
450
|
+
name:
|
|
451
|
+
string;
|
|
362
452
|
/** OAuth 2.0 token for the current user. */
|
|
363
|
-
oauth_token?:
|
|
453
|
+
oauth_token?:
|
|
454
|
+
string;
|
|
364
455
|
/** Returns response with indentations and line breaks. */
|
|
365
|
-
prettyPrint?:
|
|
456
|
+
prettyPrint?:
|
|
457
|
+
boolean;
|
|
366
458
|
/** 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. */
|
|
367
|
-
quotaUser?:
|
|
459
|
+
quotaUser?:
|
|
460
|
+
string;
|
|
368
461
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
369
|
-
upload_protocol?:
|
|
462
|
+
upload_protocol?:
|
|
463
|
+
string;
|
|
370
464
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
371
|
-
uploadType?:
|
|
465
|
+
uploadType?:
|
|
466
|
+
string;
|
|
372
467
|
}): Request<{}>;
|
|
373
468
|
/** Gets a job. */
|
|
374
469
|
get(request?: {
|
|
375
470
|
/** V1 error format. */
|
|
376
|
-
"$.xgafv"?:
|
|
471
|
+
"$.xgafv"?:
|
|
472
|
+
string;
|
|
377
473
|
/** OAuth access token. */
|
|
378
|
-
access_token?:
|
|
474
|
+
access_token?:
|
|
475
|
+
string;
|
|
379
476
|
/** Data format for response. */
|
|
380
|
-
alt?:
|
|
477
|
+
alt?:
|
|
478
|
+
string;
|
|
381
479
|
/** JSONP */
|
|
382
|
-
callback?:
|
|
480
|
+
callback?:
|
|
481
|
+
string;
|
|
383
482
|
/** Selector specifying which fields to include in a partial response. */
|
|
384
|
-
fields?:
|
|
483
|
+
fields?:
|
|
484
|
+
string;
|
|
385
485
|
/** 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. */
|
|
386
|
-
key?:
|
|
486
|
+
key?:
|
|
487
|
+
string;
|
|
387
488
|
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */
|
|
388
|
-
name:
|
|
489
|
+
name:
|
|
490
|
+
string;
|
|
389
491
|
/** OAuth 2.0 token for the current user. */
|
|
390
|
-
oauth_token?:
|
|
492
|
+
oauth_token?:
|
|
493
|
+
string;
|
|
391
494
|
/** Returns response with indentations and line breaks. */
|
|
392
|
-
prettyPrint?:
|
|
495
|
+
prettyPrint?:
|
|
496
|
+
boolean;
|
|
393
497
|
/** 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. */
|
|
394
|
-
quotaUser?:
|
|
498
|
+
quotaUser?:
|
|
499
|
+
string;
|
|
395
500
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
396
|
-
upload_protocol?:
|
|
501
|
+
upload_protocol?:
|
|
502
|
+
string;
|
|
397
503
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
398
|
-
uploadType?:
|
|
504
|
+
uploadType?:
|
|
505
|
+
string;
|
|
399
506
|
}): Request<Job>;
|
|
400
507
|
/** Lists jobs. */
|
|
401
508
|
list(request?: {
|
|
402
509
|
/** V1 error format. */
|
|
403
|
-
"$.xgafv"?:
|
|
510
|
+
"$.xgafv"?:
|
|
511
|
+
string;
|
|
404
512
|
/** OAuth access token. */
|
|
405
|
-
access_token?:
|
|
513
|
+
access_token?:
|
|
514
|
+
string;
|
|
406
515
|
/** Data format for response. */
|
|
407
|
-
alt?:
|
|
516
|
+
alt?:
|
|
517
|
+
string;
|
|
408
518
|
/** JSONP */
|
|
409
|
-
callback?:
|
|
519
|
+
callback?:
|
|
520
|
+
string;
|
|
410
521
|
/** Selector specifying which fields to include in a partial response. */
|
|
411
|
-
fields?:
|
|
522
|
+
fields?:
|
|
523
|
+
string;
|
|
412
524
|
/** 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. */
|
|
413
|
-
key?:
|
|
525
|
+
key?:
|
|
526
|
+
string;
|
|
414
527
|
/** OAuth 2.0 token for the current user. */
|
|
415
|
-
oauth_token?:
|
|
528
|
+
oauth_token?:
|
|
529
|
+
string;
|
|
416
530
|
/**
|
|
417
531
|
* Requested page size. The maximum page size is 500. If unspecified, the page size will be the maximum. Fewer jobs than requested might be returned, even if more jobs exist; use
|
|
418
532
|
* next_page_token to determine if more jobs exist.
|
|
419
533
|
*/
|
|
420
|
-
pageSize?:
|
|
534
|
+
pageSize?:
|
|
535
|
+
number;
|
|
421
536
|
/**
|
|
422
537
|
* A token identifying a page of results the server will return. To request the first page results, page_token must be empty. To request the next page of results, page_token must
|
|
423
538
|
* be the value of next_page_token returned from the previous call to ListJobs. It is an error to switch the value of filter or order_by while iterating through pages.
|
|
424
539
|
*/
|
|
425
|
-
pageToken?:
|
|
540
|
+
pageToken?:
|
|
541
|
+
string;
|
|
426
542
|
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */
|
|
427
|
-
parent:
|
|
543
|
+
parent:
|
|
544
|
+
string;
|
|
428
545
|
/** Returns response with indentations and line breaks. */
|
|
429
|
-
prettyPrint?:
|
|
546
|
+
prettyPrint?:
|
|
547
|
+
boolean;
|
|
430
548
|
/** 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. */
|
|
431
|
-
quotaUser?:
|
|
549
|
+
quotaUser?:
|
|
550
|
+
string;
|
|
432
551
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
433
|
-
upload_protocol?:
|
|
552
|
+
upload_protocol?:
|
|
553
|
+
string;
|
|
434
554
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
435
|
-
uploadType?:
|
|
555
|
+
uploadType?:
|
|
556
|
+
string;
|
|
436
557
|
}): Request<ListJobsResponse>;
|
|
437
558
|
/**
|
|
438
559
|
* Updates a job. If successful, the updated Job is returned. If the job does not exist, `NOT_FOUND` is returned. If UpdateJob does not successfully return, it is possible for the job
|
|
@@ -440,17 +561,23 @@ declare namespace gapi.client {
|
|
|
440
561
|
*/
|
|
441
562
|
patch(request: {
|
|
442
563
|
/** V1 error format. */
|
|
443
|
-
"$.xgafv"?:
|
|
564
|
+
"$.xgafv"?:
|
|
565
|
+
string;
|
|
444
566
|
/** OAuth access token. */
|
|
445
|
-
access_token?:
|
|
567
|
+
access_token?:
|
|
568
|
+
string;
|
|
446
569
|
/** Data format for response. */
|
|
447
|
-
alt?:
|
|
570
|
+
alt?:
|
|
571
|
+
string;
|
|
448
572
|
/** JSONP */
|
|
449
|
-
callback?:
|
|
573
|
+
callback?:
|
|
574
|
+
string;
|
|
450
575
|
/** Selector specifying which fields to include in a partial response. */
|
|
451
|
-
fields?:
|
|
576
|
+
fields?:
|
|
577
|
+
string;
|
|
452
578
|
/** 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. */
|
|
453
|
-
key?:
|
|
579
|
+
key?:
|
|
580
|
+
string;
|
|
454
581
|
/**
|
|
455
582
|
* Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID`
|
|
456
583
|
* can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying
|
|
@@ -458,35 +585,49 @@ declare namespace gapi.client {
|
|
|
458
585
|
* available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters
|
|
459
586
|
* ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
|
|
460
587
|
*/
|
|
461
|
-
name:
|
|
588
|
+
name:
|
|
589
|
+
string;
|
|
462
590
|
/** OAuth 2.0 token for the current user. */
|
|
463
|
-
oauth_token?:
|
|
591
|
+
oauth_token?:
|
|
592
|
+
string;
|
|
464
593
|
/** Returns response with indentations and line breaks. */
|
|
465
|
-
prettyPrint?:
|
|
594
|
+
prettyPrint?:
|
|
595
|
+
boolean;
|
|
466
596
|
/** 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. */
|
|
467
|
-
quotaUser?:
|
|
597
|
+
quotaUser?:
|
|
598
|
+
string;
|
|
468
599
|
/** A mask used to specify which fields of the job are being updated. */
|
|
469
|
-
updateMask?:
|
|
600
|
+
updateMask?:
|
|
601
|
+
string;
|
|
470
602
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
471
|
-
upload_protocol?:
|
|
603
|
+
upload_protocol?:
|
|
604
|
+
string;
|
|
472
605
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
473
|
-
uploadType?:
|
|
606
|
+
uploadType?:
|
|
607
|
+
string;
|
|
474
608
|
/** Request body */
|
|
475
|
-
resource:
|
|
609
|
+
resource:
|
|
610
|
+
Job;
|
|
476
611
|
}): Request<Job>;
|
|
477
612
|
patch(request: {
|
|
478
613
|
/** V1 error format. */
|
|
479
|
-
"$.xgafv"?:
|
|
614
|
+
"$.xgafv"?:
|
|
615
|
+
string;
|
|
480
616
|
/** OAuth access token. */
|
|
481
|
-
access_token?:
|
|
617
|
+
access_token?:
|
|
618
|
+
string;
|
|
482
619
|
/** Data format for response. */
|
|
483
|
-
alt?:
|
|
620
|
+
alt?:
|
|
621
|
+
string;
|
|
484
622
|
/** JSONP */
|
|
485
|
-
callback?:
|
|
623
|
+
callback?:
|
|
624
|
+
string;
|
|
486
625
|
/** Selector specifying which fields to include in a partial response. */
|
|
487
|
-
fields?:
|
|
626
|
+
fields?:
|
|
627
|
+
string;
|
|
488
628
|
/** 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. */
|
|
489
|
-
key?:
|
|
629
|
+
key?:
|
|
630
|
+
string;
|
|
490
631
|
/**
|
|
491
632
|
* Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID`
|
|
492
633
|
* can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying
|
|
@@ -494,19 +635,26 @@ declare namespace gapi.client {
|
|
|
494
635
|
* available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters
|
|
495
636
|
* ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
|
|
496
637
|
*/
|
|
497
|
-
name:
|
|
638
|
+
name:
|
|
639
|
+
string;
|
|
498
640
|
/** OAuth 2.0 token for the current user. */
|
|
499
|
-
oauth_token?:
|
|
641
|
+
oauth_token?:
|
|
642
|
+
string;
|
|
500
643
|
/** Returns response with indentations and line breaks. */
|
|
501
|
-
prettyPrint?:
|
|
644
|
+
prettyPrint?:
|
|
645
|
+
boolean;
|
|
502
646
|
/** 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. */
|
|
503
|
-
quotaUser?:
|
|
647
|
+
quotaUser?:
|
|
648
|
+
string;
|
|
504
649
|
/** A mask used to specify which fields of the job are being updated. */
|
|
505
|
-
updateMask?:
|
|
650
|
+
updateMask?:
|
|
651
|
+
string;
|
|
506
652
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
507
|
-
upload_protocol?:
|
|
653
|
+
upload_protocol?:
|
|
654
|
+
string;
|
|
508
655
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
509
|
-
uploadType?:
|
|
656
|
+
uploadType?:
|
|
657
|
+
string;
|
|
510
658
|
},
|
|
511
659
|
body: Job): Request<Job>;
|
|
512
660
|
/**
|
|
@@ -515,57 +663,82 @@ declare namespace gapi.client {
|
|
|
515
663
|
*/
|
|
516
664
|
pause(request: {
|
|
517
665
|
/** V1 error format. */
|
|
518
|
-
"$.xgafv"?:
|
|
666
|
+
"$.xgafv"?:
|
|
667
|
+
string;
|
|
519
668
|
/** OAuth access token. */
|
|
520
|
-
access_token?:
|
|
669
|
+
access_token?:
|
|
670
|
+
string;
|
|
521
671
|
/** Data format for response. */
|
|
522
|
-
alt?:
|
|
672
|
+
alt?:
|
|
673
|
+
string;
|
|
523
674
|
/** JSONP */
|
|
524
|
-
callback?:
|
|
675
|
+
callback?:
|
|
676
|
+
string;
|
|
525
677
|
/** Selector specifying which fields to include in a partial response. */
|
|
526
|
-
fields?:
|
|
678
|
+
fields?:
|
|
679
|
+
string;
|
|
527
680
|
/** 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. */
|
|
528
|
-
key?:
|
|
681
|
+
key?:
|
|
682
|
+
string;
|
|
529
683
|
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */
|
|
530
|
-
name:
|
|
684
|
+
name:
|
|
685
|
+
string;
|
|
531
686
|
/** OAuth 2.0 token for the current user. */
|
|
532
|
-
oauth_token?:
|
|
687
|
+
oauth_token?:
|
|
688
|
+
string;
|
|
533
689
|
/** Returns response with indentations and line breaks. */
|
|
534
|
-
prettyPrint?:
|
|
690
|
+
prettyPrint?:
|
|
691
|
+
boolean;
|
|
535
692
|
/** 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. */
|
|
536
|
-
quotaUser?:
|
|
693
|
+
quotaUser?:
|
|
694
|
+
string;
|
|
537
695
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
538
|
-
upload_protocol?:
|
|
696
|
+
upload_protocol?:
|
|
697
|
+
string;
|
|
539
698
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
540
|
-
uploadType?:
|
|
699
|
+
uploadType?:
|
|
700
|
+
string;
|
|
541
701
|
/** Request body */
|
|
542
|
-
resource:
|
|
702
|
+
resource:
|
|
703
|
+
PauseJobRequest;
|
|
543
704
|
}): Request<Job>;
|
|
544
705
|
pause(request: {
|
|
545
706
|
/** V1 error format. */
|
|
546
|
-
"$.xgafv"?:
|
|
707
|
+
"$.xgafv"?:
|
|
708
|
+
string;
|
|
547
709
|
/** OAuth access token. */
|
|
548
|
-
access_token?:
|
|
710
|
+
access_token?:
|
|
711
|
+
string;
|
|
549
712
|
/** Data format for response. */
|
|
550
|
-
alt?:
|
|
713
|
+
alt?:
|
|
714
|
+
string;
|
|
551
715
|
/** JSONP */
|
|
552
|
-
callback?:
|
|
716
|
+
callback?:
|
|
717
|
+
string;
|
|
553
718
|
/** Selector specifying which fields to include in a partial response. */
|
|
554
|
-
fields?:
|
|
719
|
+
fields?:
|
|
720
|
+
string;
|
|
555
721
|
/** 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. */
|
|
556
|
-
key?:
|
|
722
|
+
key?:
|
|
723
|
+
string;
|
|
557
724
|
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */
|
|
558
|
-
name:
|
|
725
|
+
name:
|
|
726
|
+
string;
|
|
559
727
|
/** OAuth 2.0 token for the current user. */
|
|
560
|
-
oauth_token?:
|
|
728
|
+
oauth_token?:
|
|
729
|
+
string;
|
|
561
730
|
/** Returns response with indentations and line breaks. */
|
|
562
|
-
prettyPrint?:
|
|
731
|
+
prettyPrint?:
|
|
732
|
+
boolean;
|
|
563
733
|
/** 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. */
|
|
564
|
-
quotaUser?:
|
|
734
|
+
quotaUser?:
|
|
735
|
+
string;
|
|
565
736
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
566
|
-
upload_protocol?:
|
|
737
|
+
upload_protocol?:
|
|
738
|
+
string;
|
|
567
739
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
568
|
-
uploadType?:
|
|
740
|
+
uploadType?:
|
|
741
|
+
string;
|
|
569
742
|
},
|
|
570
743
|
body: PauseJobRequest): Request<Job>;
|
|
571
744
|
/**
|
|
@@ -574,113 +747,163 @@ declare namespace gapi.client {
|
|
|
574
747
|
*/
|
|
575
748
|
resume(request: {
|
|
576
749
|
/** V1 error format. */
|
|
577
|
-
"$.xgafv"?:
|
|
750
|
+
"$.xgafv"?:
|
|
751
|
+
string;
|
|
578
752
|
/** OAuth access token. */
|
|
579
|
-
access_token?:
|
|
753
|
+
access_token?:
|
|
754
|
+
string;
|
|
580
755
|
/** Data format for response. */
|
|
581
|
-
alt?:
|
|
756
|
+
alt?:
|
|
757
|
+
string;
|
|
582
758
|
/** JSONP */
|
|
583
|
-
callback?:
|
|
759
|
+
callback?:
|
|
760
|
+
string;
|
|
584
761
|
/** Selector specifying which fields to include in a partial response. */
|
|
585
|
-
fields?:
|
|
762
|
+
fields?:
|
|
763
|
+
string;
|
|
586
764
|
/** 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. */
|
|
587
|
-
key?:
|
|
765
|
+
key?:
|
|
766
|
+
string;
|
|
588
767
|
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */
|
|
589
|
-
name:
|
|
768
|
+
name:
|
|
769
|
+
string;
|
|
590
770
|
/** OAuth 2.0 token for the current user. */
|
|
591
|
-
oauth_token?:
|
|
771
|
+
oauth_token?:
|
|
772
|
+
string;
|
|
592
773
|
/** Returns response with indentations and line breaks. */
|
|
593
|
-
prettyPrint?:
|
|
774
|
+
prettyPrint?:
|
|
775
|
+
boolean;
|
|
594
776
|
/** 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. */
|
|
595
|
-
quotaUser?:
|
|
777
|
+
quotaUser?:
|
|
778
|
+
string;
|
|
596
779
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
597
|
-
upload_protocol?:
|
|
780
|
+
upload_protocol?:
|
|
781
|
+
string;
|
|
598
782
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
599
|
-
uploadType?:
|
|
783
|
+
uploadType?:
|
|
784
|
+
string;
|
|
600
785
|
/** Request body */
|
|
601
|
-
resource:
|
|
786
|
+
resource:
|
|
787
|
+
ResumeJobRequest;
|
|
602
788
|
}): Request<Job>;
|
|
603
789
|
resume(request: {
|
|
604
790
|
/** V1 error format. */
|
|
605
|
-
"$.xgafv"?:
|
|
791
|
+
"$.xgafv"?:
|
|
792
|
+
string;
|
|
606
793
|
/** OAuth access token. */
|
|
607
|
-
access_token?:
|
|
794
|
+
access_token?:
|
|
795
|
+
string;
|
|
608
796
|
/** Data format for response. */
|
|
609
|
-
alt?:
|
|
797
|
+
alt?:
|
|
798
|
+
string;
|
|
610
799
|
/** JSONP */
|
|
611
|
-
callback?:
|
|
800
|
+
callback?:
|
|
801
|
+
string;
|
|
612
802
|
/** Selector specifying which fields to include in a partial response. */
|
|
613
|
-
fields?:
|
|
803
|
+
fields?:
|
|
804
|
+
string;
|
|
614
805
|
/** 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. */
|
|
615
|
-
key?:
|
|
806
|
+
key?:
|
|
807
|
+
string;
|
|
616
808
|
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */
|
|
617
|
-
name:
|
|
809
|
+
name:
|
|
810
|
+
string;
|
|
618
811
|
/** OAuth 2.0 token for the current user. */
|
|
619
|
-
oauth_token?:
|
|
812
|
+
oauth_token?:
|
|
813
|
+
string;
|
|
620
814
|
/** Returns response with indentations and line breaks. */
|
|
621
|
-
prettyPrint?:
|
|
815
|
+
prettyPrint?:
|
|
816
|
+
boolean;
|
|
622
817
|
/** 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. */
|
|
623
|
-
quotaUser?:
|
|
818
|
+
quotaUser?:
|
|
819
|
+
string;
|
|
624
820
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
625
|
-
upload_protocol?:
|
|
821
|
+
upload_protocol?:
|
|
822
|
+
string;
|
|
626
823
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
627
|
-
uploadType?:
|
|
824
|
+
uploadType?:
|
|
825
|
+
string;
|
|
628
826
|
},
|
|
629
827
|
body: ResumeJobRequest): Request<Job>;
|
|
630
828
|
/** Forces a job to run now. When this method is called, Cloud Scheduler will dispatch the job, even if the job is already running. */
|
|
631
829
|
run(request: {
|
|
632
830
|
/** V1 error format. */
|
|
633
|
-
"$.xgafv"?:
|
|
831
|
+
"$.xgafv"?:
|
|
832
|
+
string;
|
|
634
833
|
/** OAuth access token. */
|
|
635
|
-
access_token?:
|
|
834
|
+
access_token?:
|
|
835
|
+
string;
|
|
636
836
|
/** Data format for response. */
|
|
637
|
-
alt?:
|
|
837
|
+
alt?:
|
|
838
|
+
string;
|
|
638
839
|
/** JSONP */
|
|
639
|
-
callback?:
|
|
840
|
+
callback?:
|
|
841
|
+
string;
|
|
640
842
|
/** Selector specifying which fields to include in a partial response. */
|
|
641
|
-
fields?:
|
|
843
|
+
fields?:
|
|
844
|
+
string;
|
|
642
845
|
/** 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. */
|
|
643
|
-
key?:
|
|
846
|
+
key?:
|
|
847
|
+
string;
|
|
644
848
|
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */
|
|
645
|
-
name:
|
|
849
|
+
name:
|
|
850
|
+
string;
|
|
646
851
|
/** OAuth 2.0 token for the current user. */
|
|
647
|
-
oauth_token?:
|
|
852
|
+
oauth_token?:
|
|
853
|
+
string;
|
|
648
854
|
/** Returns response with indentations and line breaks. */
|
|
649
|
-
prettyPrint?:
|
|
855
|
+
prettyPrint?:
|
|
856
|
+
boolean;
|
|
650
857
|
/** 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. */
|
|
651
|
-
quotaUser?:
|
|
858
|
+
quotaUser?:
|
|
859
|
+
string;
|
|
652
860
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
653
|
-
upload_protocol?:
|
|
861
|
+
upload_protocol?:
|
|
862
|
+
string;
|
|
654
863
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
655
|
-
uploadType?:
|
|
864
|
+
uploadType?:
|
|
865
|
+
string;
|
|
656
866
|
/** Request body */
|
|
657
|
-
resource:
|
|
867
|
+
resource:
|
|
868
|
+
RunJobRequest;
|
|
658
869
|
}): Request<Job>;
|
|
659
870
|
run(request: {
|
|
660
871
|
/** V1 error format. */
|
|
661
|
-
"$.xgafv"?:
|
|
872
|
+
"$.xgafv"?:
|
|
873
|
+
string;
|
|
662
874
|
/** OAuth access token. */
|
|
663
|
-
access_token?:
|
|
875
|
+
access_token?:
|
|
876
|
+
string;
|
|
664
877
|
/** Data format for response. */
|
|
665
|
-
alt?:
|
|
878
|
+
alt?:
|
|
879
|
+
string;
|
|
666
880
|
/** JSONP */
|
|
667
|
-
callback?:
|
|
881
|
+
callback?:
|
|
882
|
+
string;
|
|
668
883
|
/** Selector specifying which fields to include in a partial response. */
|
|
669
|
-
fields?:
|
|
884
|
+
fields?:
|
|
885
|
+
string;
|
|
670
886
|
/** 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. */
|
|
671
|
-
key?:
|
|
887
|
+
key?:
|
|
888
|
+
string;
|
|
672
889
|
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */
|
|
673
|
-
name:
|
|
890
|
+
name:
|
|
891
|
+
string;
|
|
674
892
|
/** OAuth 2.0 token for the current user. */
|
|
675
|
-
oauth_token?:
|
|
893
|
+
oauth_token?:
|
|
894
|
+
string;
|
|
676
895
|
/** Returns response with indentations and line breaks. */
|
|
677
|
-
prettyPrint?:
|
|
896
|
+
prettyPrint?:
|
|
897
|
+
boolean;
|
|
678
898
|
/** 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. */
|
|
679
|
-
quotaUser?:
|
|
899
|
+
quotaUser?:
|
|
900
|
+
string;
|
|
680
901
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
681
|
-
upload_protocol?:
|
|
902
|
+
upload_protocol?:
|
|
903
|
+
string;
|
|
682
904
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
683
|
-
uploadType?:
|
|
905
|
+
uploadType?:
|
|
906
|
+
string;
|
|
684
907
|
},
|
|
685
908
|
body: RunJobRequest): Request<Job>;
|
|
686
909
|
}
|
|
@@ -688,70 +911,99 @@ declare namespace gapi.client {
|
|
|
688
911
|
/** Gets information about a location. */
|
|
689
912
|
get(request?: {
|
|
690
913
|
/** V1 error format. */
|
|
691
|
-
"$.xgafv"?:
|
|
914
|
+
"$.xgafv"?:
|
|
915
|
+
string;
|
|
692
916
|
/** OAuth access token. */
|
|
693
|
-
access_token?:
|
|
917
|
+
access_token?:
|
|
918
|
+
string;
|
|
694
919
|
/** Data format for response. */
|
|
695
|
-
alt?:
|
|
920
|
+
alt?:
|
|
921
|
+
string;
|
|
696
922
|
/** JSONP */
|
|
697
|
-
callback?:
|
|
923
|
+
callback?:
|
|
924
|
+
string;
|
|
698
925
|
/** Selector specifying which fields to include in a partial response. */
|
|
699
|
-
fields?:
|
|
926
|
+
fields?:
|
|
927
|
+
string;
|
|
700
928
|
/** 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. */
|
|
701
|
-
key?:
|
|
929
|
+
key?:
|
|
930
|
+
string;
|
|
702
931
|
/** Resource name for the location. */
|
|
703
|
-
name:
|
|
932
|
+
name:
|
|
933
|
+
string;
|
|
704
934
|
/** OAuth 2.0 token for the current user. */
|
|
705
|
-
oauth_token?:
|
|
935
|
+
oauth_token?:
|
|
936
|
+
string;
|
|
706
937
|
/** Returns response with indentations and line breaks. */
|
|
707
|
-
prettyPrint?:
|
|
938
|
+
prettyPrint?:
|
|
939
|
+
boolean;
|
|
708
940
|
/** 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. */
|
|
709
|
-
quotaUser?:
|
|
941
|
+
quotaUser?:
|
|
942
|
+
string;
|
|
710
943
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
711
|
-
upload_protocol?:
|
|
944
|
+
upload_protocol?:
|
|
945
|
+
string;
|
|
712
946
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
713
|
-
uploadType?:
|
|
947
|
+
uploadType?:
|
|
948
|
+
string;
|
|
714
949
|
}): Request<Location>;
|
|
715
950
|
/** Lists information about the supported locations for this service. */
|
|
716
951
|
list(request?: {
|
|
717
952
|
/** V1 error format. */
|
|
718
|
-
"$.xgafv"?:
|
|
953
|
+
"$.xgafv"?:
|
|
954
|
+
string;
|
|
719
955
|
/** OAuth access token. */
|
|
720
|
-
access_token?:
|
|
956
|
+
access_token?:
|
|
957
|
+
string;
|
|
721
958
|
/** Data format for response. */
|
|
722
|
-
alt?:
|
|
959
|
+
alt?:
|
|
960
|
+
string;
|
|
723
961
|
/** JSONP */
|
|
724
|
-
callback?:
|
|
962
|
+
callback?:
|
|
963
|
+
string;
|
|
725
964
|
/** Selector specifying which fields to include in a partial response. */
|
|
726
|
-
fields?:
|
|
965
|
+
fields?:
|
|
966
|
+
string;
|
|
727
967
|
/**
|
|
728
968
|
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
|
|
729
969
|
* [AIP-160](https://google.aip.dev/160).
|
|
730
970
|
*/
|
|
731
|
-
filter?:
|
|
971
|
+
filter?:
|
|
972
|
+
string;
|
|
732
973
|
/** 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. */
|
|
733
|
-
key?:
|
|
974
|
+
key?:
|
|
975
|
+
string;
|
|
734
976
|
/** The resource that owns the locations collection, if applicable. */
|
|
735
|
-
name:
|
|
977
|
+
name:
|
|
978
|
+
string;
|
|
736
979
|
/** OAuth 2.0 token for the current user. */
|
|
737
|
-
oauth_token?:
|
|
980
|
+
oauth_token?:
|
|
981
|
+
string;
|
|
738
982
|
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
739
|
-
pageSize?:
|
|
983
|
+
pageSize?:
|
|
984
|
+
number;
|
|
740
985
|
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
741
|
-
pageToken?:
|
|
986
|
+
pageToken?:
|
|
987
|
+
string;
|
|
742
988
|
/** Returns response with indentations and line breaks. */
|
|
743
|
-
prettyPrint?:
|
|
989
|
+
prettyPrint?:
|
|
990
|
+
boolean;
|
|
744
991
|
/** 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. */
|
|
745
|
-
quotaUser?:
|
|
992
|
+
quotaUser?:
|
|
993
|
+
string;
|
|
746
994
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
747
|
-
upload_protocol?:
|
|
995
|
+
upload_protocol?:
|
|
996
|
+
string;
|
|
748
997
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
749
|
-
uploadType?:
|
|
998
|
+
uploadType?:
|
|
999
|
+
string;
|
|
750
1000
|
}): Request<ListLocationsResponse>;
|
|
751
|
-
jobs:
|
|
1001
|
+
jobs:
|
|
1002
|
+
JobsResource;
|
|
752
1003
|
}
|
|
753
1004
|
interface ProjectsResource {
|
|
754
|
-
locations:
|
|
1005
|
+
locations:
|
|
1006
|
+
LocationsResource;
|
|
755
1007
|
}
|
|
756
1008
|
|
|
757
1009
|
const projects: ProjectsResource;
|
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: 20230421
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|