@maxim_mazurok/gapi.client.datapipelines-v1 0.0.20230409 → 0.0.20230429
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 +497 -249
- 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://datapipelines.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230429
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,154 +24,209 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace datapipelines {
|
|
25
25
|
interface GoogleCloudDatapipelinesV1DataflowJobDetails {
|
|
26
26
|
/** Output only. The current number of workers used to run the jobs. Only set to a value if the job is still running. */
|
|
27
|
-
currentWorkers?:
|
|
27
|
+
currentWorkers?:
|
|
28
|
+
number;
|
|
28
29
|
/**
|
|
29
30
|
* Cached version of all the metrics of interest for the job. This value gets stored here when the job is terminated. As long as the job is running, this field is populated from the
|
|
30
31
|
* Dataflow API.
|
|
31
32
|
*/
|
|
32
|
-
resourceInfo?:
|
|
33
|
+
resourceInfo?:
|
|
34
|
+
{ [P in string]: number };
|
|
33
35
|
/** Output only. The SDK version used to run the job. */
|
|
34
|
-
sdkVersion?:
|
|
36
|
+
sdkVersion?:
|
|
37
|
+
GoogleCloudDatapipelinesV1SdkVersion;
|
|
35
38
|
}
|
|
36
39
|
interface GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment {
|
|
37
40
|
/** Additional experiment flags for the job. */
|
|
38
|
-
additionalExperiments?:
|
|
41
|
+
additionalExperiments?:
|
|
42
|
+
string[];
|
|
39
43
|
/**
|
|
40
44
|
* Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling
|
|
41
45
|
* restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions). An object containing a list of key/value pairs. Example: `{ "name": "wrench", "mass": "1kg",
|
|
42
46
|
* "count": "3" }`.
|
|
43
47
|
*/
|
|
44
|
-
additionalUserLabels?:
|
|
48
|
+
additionalUserLabels?:
|
|
49
|
+
{ [P in string]: string };
|
|
45
50
|
/** Whether to enable Streaming Engine for the job. */
|
|
46
|
-
enableStreamingEngine?:
|
|
51
|
+
enableStreamingEngine?:
|
|
52
|
+
boolean;
|
|
47
53
|
/** Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs */
|
|
48
|
-
flexrsGoal?:
|
|
54
|
+
flexrsGoal?:
|
|
55
|
+
string;
|
|
49
56
|
/** Configuration for VM IPs. */
|
|
50
|
-
ipConfiguration?:
|
|
57
|
+
ipConfiguration?:
|
|
58
|
+
string;
|
|
51
59
|
/** Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/ */
|
|
52
|
-
kmsKeyName?:
|
|
60
|
+
kmsKeyName?:
|
|
61
|
+
string;
|
|
53
62
|
/** The machine type to use for the job. Defaults to the value from the template if not specified. */
|
|
54
|
-
machineType?:
|
|
63
|
+
machineType?:
|
|
64
|
+
string;
|
|
55
65
|
/** The maximum number of Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. */
|
|
56
|
-
maxWorkers?:
|
|
66
|
+
maxWorkers?:
|
|
67
|
+
number;
|
|
57
68
|
/** Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default". */
|
|
58
|
-
network?:
|
|
69
|
+
network?:
|
|
70
|
+
string;
|
|
59
71
|
/** The initial number of Compute Engine instances for the job. */
|
|
60
|
-
numWorkers?:
|
|
72
|
+
numWorkers?:
|
|
73
|
+
number;
|
|
61
74
|
/** The email address of the service account to run the job as. */
|
|
62
|
-
serviceAccountEmail?:
|
|
75
|
+
serviceAccountEmail?:
|
|
76
|
+
string;
|
|
63
77
|
/**
|
|
64
78
|
* Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form
|
|
65
79
|
* "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a
|
|
66
80
|
* Shared VPC network, you must use the complete URL.
|
|
67
81
|
*/
|
|
68
|
-
subnetwork?:
|
|
82
|
+
subnetwork?:
|
|
83
|
+
string;
|
|
69
84
|
/** The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`. */
|
|
70
|
-
tempLocation?:
|
|
85
|
+
tempLocation?:
|
|
86
|
+
string;
|
|
71
87
|
/**
|
|
72
88
|
* The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with
|
|
73
89
|
* worker_zone. If neither worker_region nor worker_zone is specified, defaults to the control plane region.
|
|
74
90
|
*/
|
|
75
|
-
workerRegion?:
|
|
91
|
+
workerRegion?:
|
|
92
|
+
string;
|
|
76
93
|
/**
|
|
77
94
|
* The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with
|
|
78
95
|
* worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane region is chosen based on available capacity. If both `worker_zone` and `zone` are
|
|
79
96
|
* set, `worker_zone` takes precedence.
|
|
80
97
|
*/
|
|
81
|
-
workerZone?:
|
|
98
|
+
workerZone?:
|
|
99
|
+
string;
|
|
82
100
|
/**
|
|
83
101
|
* The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future,
|
|
84
102
|
* worker_zone will take precedence.
|
|
85
103
|
*/
|
|
86
|
-
zone?:
|
|
104
|
+
zone?:
|
|
105
|
+
string;
|
|
87
106
|
}
|
|
88
107
|
interface GoogleCloudDatapipelinesV1Job {
|
|
89
108
|
/** Output only. The time of job creation. */
|
|
90
|
-
createTime?:
|
|
109
|
+
createTime?:
|
|
110
|
+
string;
|
|
91
111
|
/** All the details that are specific to a Dataflow job. */
|
|
92
|
-
dataflowJobDetails?:
|
|
112
|
+
dataflowJobDetails?:
|
|
113
|
+
GoogleCloudDatapipelinesV1DataflowJobDetails;
|
|
93
114
|
/** Output only. The time of job termination. This is absent if the job is still running. */
|
|
94
|
-
endTime?:
|
|
115
|
+
endTime?:
|
|
116
|
+
string;
|
|
95
117
|
/** Output only. The internal ID for the job. */
|
|
96
|
-
id?:
|
|
118
|
+
id?:
|
|
119
|
+
string;
|
|
97
120
|
/** Required. The fully qualified resource name for the job. */
|
|
98
|
-
name?:
|
|
121
|
+
name?:
|
|
122
|
+
string;
|
|
99
123
|
/** The current state of the job. */
|
|
100
|
-
state?:
|
|
124
|
+
state?:
|
|
125
|
+
string;
|
|
101
126
|
/** Status capturing any error code or message related to job creation or execution. */
|
|
102
|
-
status?:
|
|
127
|
+
status?:
|
|
128
|
+
GoogleRpcStatus;
|
|
103
129
|
}
|
|
104
130
|
interface GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter {
|
|
105
131
|
/** Cloud Storage path to a file with a JSON-serialized ContainerSpec as content. */
|
|
106
|
-
containerSpecGcsPath?:
|
|
132
|
+
containerSpecGcsPath?:
|
|
133
|
+
string;
|
|
107
134
|
/** The runtime environment for the Flex Template job. */
|
|
108
|
-
environment?:
|
|
135
|
+
environment?:
|
|
136
|
+
GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment;
|
|
109
137
|
/** Required. The job name to use for the created job. For an update job request, the job name should be the same as the existing running job. */
|
|
110
|
-
jobName?:
|
|
138
|
+
jobName?:
|
|
139
|
+
string;
|
|
111
140
|
/** Launch options for this Flex Template job. This is a common set of options across languages and templates. This should not be used to pass job parameters. */
|
|
112
|
-
launchOptions?:
|
|
141
|
+
launchOptions?:
|
|
142
|
+
{ [P in string]: string };
|
|
113
143
|
/** The parameters for the Flex Template. Example: `{"num_workers":"5"}` */
|
|
114
|
-
parameters?:
|
|
144
|
+
parameters?:
|
|
145
|
+
{ [P in string]: string };
|
|
115
146
|
/** Use this to pass transform name mappings for streaming update jobs. Example: `{"oldTransformName":"newTransformName",...}` */
|
|
116
|
-
transformNameMappings?:
|
|
147
|
+
transformNameMappings?:
|
|
148
|
+
{ [P in string]: string };
|
|
117
149
|
/** Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job. */
|
|
118
|
-
update?:
|
|
150
|
+
update?:
|
|
151
|
+
boolean;
|
|
119
152
|
}
|
|
120
153
|
interface GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest {
|
|
121
154
|
/** Required. Parameter to launch a job from a Flex Template. */
|
|
122
|
-
launchParameter?:
|
|
155
|
+
launchParameter?:
|
|
156
|
+
GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter;
|
|
123
157
|
/** Required. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. For example, `us-central1`, `us-west1`. */
|
|
124
|
-
location?:
|
|
158
|
+
location?:
|
|
159
|
+
string;
|
|
125
160
|
/** Required. The ID of the Cloud Platform project that the job belongs to. */
|
|
126
|
-
projectId?:
|
|
161
|
+
projectId?:
|
|
162
|
+
string;
|
|
127
163
|
/** If true, the request is validated but not actually executed. Defaults to false. */
|
|
128
|
-
validateOnly?:
|
|
164
|
+
validateOnly?:
|
|
165
|
+
boolean;
|
|
129
166
|
}
|
|
130
167
|
interface GoogleCloudDatapipelinesV1LaunchTemplateParameters {
|
|
131
168
|
/** The runtime environment for the job. */
|
|
132
|
-
environment?:
|
|
169
|
+
environment?:
|
|
170
|
+
GoogleCloudDatapipelinesV1RuntimeEnvironment;
|
|
133
171
|
/** Required. The job name to use for the created job. */
|
|
134
|
-
jobName?:
|
|
172
|
+
jobName?:
|
|
173
|
+
string;
|
|
135
174
|
/** The runtime parameters to pass to the job. */
|
|
136
|
-
parameters?:
|
|
175
|
+
parameters?:
|
|
176
|
+
{ [P in string]: string };
|
|
137
177
|
/** Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job. Only applicable when updating a pipeline. */
|
|
138
|
-
transformNameMapping?:
|
|
178
|
+
transformNameMapping?:
|
|
179
|
+
{ [P in string]: string };
|
|
139
180
|
/** If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state. */
|
|
140
|
-
update?:
|
|
181
|
+
update?:
|
|
182
|
+
boolean;
|
|
141
183
|
}
|
|
142
184
|
interface GoogleCloudDatapipelinesV1LaunchTemplateRequest {
|
|
143
185
|
/** A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with 'gs://'. */
|
|
144
|
-
gcsPath?:
|
|
186
|
+
gcsPath?:
|
|
187
|
+
string;
|
|
145
188
|
/** The parameters of the template to launch. This should be part of the body of the POST request. */
|
|
146
|
-
launchParameters?:
|
|
189
|
+
launchParameters?:
|
|
190
|
+
GoogleCloudDatapipelinesV1LaunchTemplateParameters;
|
|
147
191
|
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. */
|
|
148
|
-
location?:
|
|
192
|
+
location?:
|
|
193
|
+
string;
|
|
149
194
|
/** Required. The ID of the Cloud Platform project that the job belongs to. */
|
|
150
|
-
projectId?:
|
|
195
|
+
projectId?:
|
|
196
|
+
string;
|
|
151
197
|
/** If true, the request is validated but not actually executed. Defaults to false. */
|
|
152
|
-
validateOnly?:
|
|
198
|
+
validateOnly?:
|
|
199
|
+
boolean;
|
|
153
200
|
}
|
|
154
201
|
interface GoogleCloudDatapipelinesV1ListJobsResponse {
|
|
155
202
|
/** Results that were accessible to the caller. Results are always in descending order of job creation date. */
|
|
156
|
-
jobs?:
|
|
203
|
+
jobs?:
|
|
204
|
+
GoogleCloudDatapipelinesV1Job[];
|
|
157
205
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
158
|
-
nextPageToken?:
|
|
206
|
+
nextPageToken?:
|
|
207
|
+
string;
|
|
159
208
|
}
|
|
160
209
|
interface GoogleCloudDatapipelinesV1ListPipelinesResponse {
|
|
161
210
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
162
|
-
nextPageToken?:
|
|
211
|
+
nextPageToken?:
|
|
212
|
+
string;
|
|
163
213
|
/** Results that matched the filter criteria and were accessible to the caller. Results are always in descending order of pipeline creation date. */
|
|
164
|
-
pipelines?:
|
|
214
|
+
pipelines?:
|
|
215
|
+
GoogleCloudDatapipelinesV1Pipeline[];
|
|
165
216
|
}
|
|
166
217
|
interface GoogleCloudDatapipelinesV1Pipeline {
|
|
167
218
|
/** Output only. Immutable. The timestamp when the pipeline was initially created. Set by the Data Pipelines service. */
|
|
168
|
-
createTime?:
|
|
219
|
+
createTime?:
|
|
220
|
+
string;
|
|
169
221
|
/** Required. The display name of the pipeline. It can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), and underscores (_). */
|
|
170
|
-
displayName?:
|
|
222
|
+
displayName?:
|
|
223
|
+
string;
|
|
171
224
|
/** Output only. Number of jobs. */
|
|
172
|
-
jobCount?:
|
|
225
|
+
jobCount?:
|
|
226
|
+
number;
|
|
173
227
|
/** Output only. Immutable. The timestamp when the pipeline was last modified. Set by the Data Pipelines service. */
|
|
174
|
-
lastUpdateTime?:
|
|
228
|
+
lastUpdateTime?:
|
|
229
|
+
string;
|
|
175
230
|
/**
|
|
176
231
|
* The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-),
|
|
177
232
|
* colons (:), and periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects). *
|
|
@@ -179,161 +234,210 @@ declare namespace gapi.client {
|
|
|
179
234
|
* the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in [App Engine
|
|
180
235
|
* regions](https://cloud.google.com/about/locations#region). * `PIPELINE_ID` is the ID of the pipeline. Must be unique for the selected project and location.
|
|
181
236
|
*/
|
|
182
|
-
name?:
|
|
237
|
+
name?:
|
|
238
|
+
string;
|
|
183
239
|
/** Immutable. The sources of the pipeline (for example, Dataplex). The keys and values are set by the corresponding sources during pipeline creation. */
|
|
184
|
-
pipelineSources?:
|
|
240
|
+
pipelineSources?:
|
|
241
|
+
{ [P in string]: string };
|
|
185
242
|
/**
|
|
186
243
|
* Internal scheduling information for a pipeline. If this information is provided, periodic jobs will be created per the schedule. If not, users are responsible for creating jobs
|
|
187
244
|
* externally.
|
|
188
245
|
*/
|
|
189
|
-
scheduleInfo?:
|
|
246
|
+
scheduleInfo?:
|
|
247
|
+
GoogleCloudDatapipelinesV1ScheduleSpec;
|
|
190
248
|
/** Optional. A service account email to be used with the Cloud Scheduler job. If not specified, the default compute engine service account will be used. */
|
|
191
|
-
schedulerServiceAccountEmail?:
|
|
249
|
+
schedulerServiceAccountEmail?:
|
|
250
|
+
string;
|
|
192
251
|
/**
|
|
193
252
|
* Required. The state of the pipeline. When the pipeline is created, the state is set to 'PIPELINE_STATE_ACTIVE' by default. State changes can be requested by setting the state to
|
|
194
253
|
* stopping, paused, or resuming. State cannot be changed through UpdatePipeline requests.
|
|
195
254
|
*/
|
|
196
|
-
state?:
|
|
255
|
+
state?:
|
|
256
|
+
string;
|
|
197
257
|
/** Required. The type of the pipeline. This field affects the scheduling of the pipeline and the type of metrics to show for the pipeline. */
|
|
198
|
-
type?:
|
|
258
|
+
type?:
|
|
259
|
+
string;
|
|
199
260
|
/** Workload information for creating new jobs. */
|
|
200
|
-
workload?:
|
|
261
|
+
workload?:
|
|
262
|
+
GoogleCloudDatapipelinesV1Workload;
|
|
201
263
|
}
|
|
202
264
|
// tslint:disable-next-line:no-empty-interface
|
|
203
265
|
interface GoogleCloudDatapipelinesV1RunPipelineRequest {
|
|
204
266
|
}
|
|
205
267
|
interface GoogleCloudDatapipelinesV1RunPipelineResponse {
|
|
206
268
|
/** Job that was created as part of RunPipeline operation. */
|
|
207
|
-
job?:
|
|
269
|
+
job?:
|
|
270
|
+
GoogleCloudDatapipelinesV1Job;
|
|
208
271
|
}
|
|
209
272
|
interface GoogleCloudDatapipelinesV1RuntimeEnvironment {
|
|
210
273
|
/** Additional experiment flags for the job. */
|
|
211
|
-
additionalExperiments?:
|
|
274
|
+
additionalExperiments?:
|
|
275
|
+
string[];
|
|
212
276
|
/**
|
|
213
277
|
* Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling
|
|
214
278
|
* restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of key/value pairs. Example: { "name": "wrench", "mass":
|
|
215
279
|
* "1kg", "count": "3" }.
|
|
216
280
|
*/
|
|
217
|
-
additionalUserLabels?:
|
|
281
|
+
additionalUserLabels?:
|
|
282
|
+
{ [P in string]: string };
|
|
218
283
|
/** Whether to bypass the safety checks for the job's temporary directory. Use with caution. */
|
|
219
|
-
bypassTempDirValidation?:
|
|
284
|
+
bypassTempDirValidation?:
|
|
285
|
+
boolean;
|
|
220
286
|
/** Whether to enable Streaming Engine for the job. */
|
|
221
|
-
enableStreamingEngine?:
|
|
287
|
+
enableStreamingEngine?:
|
|
288
|
+
boolean;
|
|
222
289
|
/** Configuration for VM IPs. */
|
|
223
|
-
ipConfiguration?:
|
|
290
|
+
ipConfiguration?:
|
|
291
|
+
string;
|
|
224
292
|
/** Name for the Cloud KMS key for the job. The key format is: projects//locations//keyRings//cryptoKeys/ */
|
|
225
|
-
kmsKeyName?:
|
|
293
|
+
kmsKeyName?:
|
|
294
|
+
string;
|
|
226
295
|
/** The machine type to use for the job. Defaults to the value from the template if not specified. */
|
|
227
|
-
machineType?:
|
|
296
|
+
machineType?:
|
|
297
|
+
string;
|
|
228
298
|
/** The maximum number of Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. */
|
|
229
|
-
maxWorkers?:
|
|
299
|
+
maxWorkers?:
|
|
300
|
+
number;
|
|
230
301
|
/** Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default". */
|
|
231
|
-
network?:
|
|
302
|
+
network?:
|
|
303
|
+
string;
|
|
232
304
|
/** The initial number of Compute Engine instances for the job. */
|
|
233
|
-
numWorkers?:
|
|
305
|
+
numWorkers?:
|
|
306
|
+
number;
|
|
234
307
|
/** The email address of the service account to run the job as. */
|
|
235
|
-
serviceAccountEmail?:
|
|
308
|
+
serviceAccountEmail?:
|
|
309
|
+
string;
|
|
236
310
|
/**
|
|
237
311
|
* Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form
|
|
238
312
|
* "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a
|
|
239
313
|
* Shared VPC network, you must use the complete URL.
|
|
240
314
|
*/
|
|
241
|
-
subnetwork?:
|
|
315
|
+
subnetwork?:
|
|
316
|
+
string;
|
|
242
317
|
/** The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`. */
|
|
243
|
-
tempLocation?:
|
|
318
|
+
tempLocation?:
|
|
319
|
+
string;
|
|
244
320
|
/**
|
|
245
321
|
* The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with
|
|
246
322
|
* worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
|
|
247
323
|
*/
|
|
248
|
-
workerRegion?:
|
|
324
|
+
workerRegion?:
|
|
325
|
+
string;
|
|
249
326
|
/**
|
|
250
327
|
* The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with
|
|
251
328
|
* worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone`
|
|
252
329
|
* are set, `worker_zone` takes precedence.
|
|
253
330
|
*/
|
|
254
|
-
workerZone?:
|
|
331
|
+
workerZone?:
|
|
332
|
+
string;
|
|
255
333
|
/**
|
|
256
334
|
* The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future,
|
|
257
335
|
* worker_zone will take precedence.
|
|
258
336
|
*/
|
|
259
|
-
zone?:
|
|
337
|
+
zone?:
|
|
338
|
+
string;
|
|
260
339
|
}
|
|
261
340
|
interface GoogleCloudDatapipelinesV1ScheduleSpec {
|
|
262
341
|
/** Output only. When the next Scheduler job is going to run. */
|
|
263
|
-
nextJobTime?:
|
|
342
|
+
nextJobTime?:
|
|
343
|
+
string;
|
|
264
344
|
/** Unix-cron format of the schedule. This information is retrieved from the linked Cloud Scheduler. */
|
|
265
|
-
schedule?:
|
|
345
|
+
schedule?:
|
|
346
|
+
string;
|
|
266
347
|
/** Timezone ID. This matches the timezone IDs used by the Cloud Scheduler API. If empty, UTC time is assumed. */
|
|
267
|
-
timeZone?:
|
|
348
|
+
timeZone?:
|
|
349
|
+
string;
|
|
268
350
|
}
|
|
269
351
|
interface GoogleCloudDatapipelinesV1SdkVersion {
|
|
270
352
|
/** The support status for this SDK version. */
|
|
271
|
-
sdkSupportStatus?:
|
|
353
|
+
sdkSupportStatus?:
|
|
354
|
+
string;
|
|
272
355
|
/** The version of the SDK used to run the job. */
|
|
273
|
-
version?:
|
|
356
|
+
version?:
|
|
357
|
+
string;
|
|
274
358
|
/** A readable string describing the version of the SDK. */
|
|
275
|
-
versionDisplayName?:
|
|
359
|
+
versionDisplayName?:
|
|
360
|
+
string;
|
|
276
361
|
}
|
|
277
362
|
// tslint:disable-next-line:no-empty-interface
|
|
278
363
|
interface GoogleCloudDatapipelinesV1StopPipelineRequest {
|
|
279
364
|
}
|
|
280
365
|
interface GoogleCloudDatapipelinesV1Workload {
|
|
281
366
|
/** Template information and additional parameters needed to launch a Dataflow job using the flex launch API. */
|
|
282
|
-
dataflowFlexTemplateRequest?:
|
|
367
|
+
dataflowFlexTemplateRequest?:
|
|
368
|
+
GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest;
|
|
283
369
|
/** Template information and additional parameters needed to launch a Dataflow job using the standard launch API. */
|
|
284
|
-
dataflowLaunchTemplateRequest?:
|
|
370
|
+
dataflowLaunchTemplateRequest?:
|
|
371
|
+
GoogleCloudDatapipelinesV1LaunchTemplateRequest;
|
|
285
372
|
}
|
|
286
373
|
// tslint:disable-next-line:no-empty-interface
|
|
287
374
|
interface GoogleProtobufEmpty {
|
|
288
375
|
}
|
|
289
376
|
interface GoogleRpcStatus {
|
|
290
377
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
291
|
-
code?:
|
|
378
|
+
code?:
|
|
379
|
+
number;
|
|
292
380
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
293
|
-
details?:
|
|
381
|
+
details?:
|
|
382
|
+
Array<{ [P in string]: any }>;
|
|
294
383
|
/**
|
|
295
384
|
* 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
|
|
296
385
|
* client.
|
|
297
386
|
*/
|
|
298
|
-
message?:
|
|
387
|
+
message?:
|
|
388
|
+
string;
|
|
299
389
|
}
|
|
300
390
|
interface JobsResource {
|
|
301
391
|
/** Lists jobs for a given pipeline. Throws a "FORBIDDEN" error if the caller doesn't have permission to access it. */
|
|
302
392
|
list(request?: {
|
|
303
393
|
/** V1 error format. */
|
|
304
|
-
"$.xgafv"?:
|
|
394
|
+
"$.xgafv"?:
|
|
395
|
+
string;
|
|
305
396
|
/** OAuth access token. */
|
|
306
|
-
access_token?:
|
|
397
|
+
access_token?:
|
|
398
|
+
string;
|
|
307
399
|
/** Data format for response. */
|
|
308
|
-
alt?:
|
|
400
|
+
alt?:
|
|
401
|
+
string;
|
|
309
402
|
/** JSONP */
|
|
310
|
-
callback?:
|
|
403
|
+
callback?:
|
|
404
|
+
string;
|
|
311
405
|
/** Selector specifying which fields to include in a partial response. */
|
|
312
|
-
fields?:
|
|
406
|
+
fields?:
|
|
407
|
+
string;
|
|
313
408
|
/** 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. */
|
|
314
|
-
key?:
|
|
409
|
+
key?:
|
|
410
|
+
string;
|
|
315
411
|
/** OAuth 2.0 token for the current user. */
|
|
316
|
-
oauth_token?:
|
|
412
|
+
oauth_token?:
|
|
413
|
+
string;
|
|
317
414
|
/**
|
|
318
415
|
* The maximum number of entities to return. The service may return fewer than this value, even if there are additional pages. If unspecified, the max limit will be determined by
|
|
319
416
|
* the backend implementation.
|
|
320
417
|
*/
|
|
321
|
-
pageSize?:
|
|
418
|
+
pageSize?:
|
|
419
|
+
number;
|
|
322
420
|
/**
|
|
323
421
|
* A page token, received from a previous `ListJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListJobs` must match the
|
|
324
422
|
* call that provided the page token.
|
|
325
423
|
*/
|
|
326
|
-
pageToken?:
|
|
424
|
+
pageToken?:
|
|
425
|
+
string;
|
|
327
426
|
/** Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. */
|
|
328
|
-
parent:
|
|
427
|
+
parent:
|
|
428
|
+
string;
|
|
329
429
|
/** Returns response with indentations and line breaks. */
|
|
330
|
-
prettyPrint?:
|
|
430
|
+
prettyPrint?:
|
|
431
|
+
boolean;
|
|
331
432
|
/** 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. */
|
|
332
|
-
quotaUser?:
|
|
433
|
+
quotaUser?:
|
|
434
|
+
string;
|
|
333
435
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
334
|
-
upload_protocol?:
|
|
436
|
+
upload_protocol?:
|
|
437
|
+
string;
|
|
335
438
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
336
|
-
uploadType?:
|
|
439
|
+
uploadType?:
|
|
440
|
+
string;
|
|
337
441
|
}): Request<GoogleCloudDatapipelinesV1ListJobsResponse>;
|
|
338
442
|
}
|
|
339
443
|
interface PipelinesResource {
|
|
@@ -343,155 +447,219 @@ declare namespace gapi.client {
|
|
|
343
447
|
*/
|
|
344
448
|
create(request: {
|
|
345
449
|
/** V1 error format. */
|
|
346
|
-
"$.xgafv"?:
|
|
450
|
+
"$.xgafv"?:
|
|
451
|
+
string;
|
|
347
452
|
/** OAuth access token. */
|
|
348
|
-
access_token?:
|
|
453
|
+
access_token?:
|
|
454
|
+
string;
|
|
349
455
|
/** Data format for response. */
|
|
350
|
-
alt?:
|
|
456
|
+
alt?:
|
|
457
|
+
string;
|
|
351
458
|
/** JSONP */
|
|
352
|
-
callback?:
|
|
459
|
+
callback?:
|
|
460
|
+
string;
|
|
353
461
|
/** Selector specifying which fields to include in a partial response. */
|
|
354
|
-
fields?:
|
|
462
|
+
fields?:
|
|
463
|
+
string;
|
|
355
464
|
/** 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. */
|
|
356
|
-
key?:
|
|
465
|
+
key?:
|
|
466
|
+
string;
|
|
357
467
|
/** OAuth 2.0 token for the current user. */
|
|
358
|
-
oauth_token?:
|
|
468
|
+
oauth_token?:
|
|
469
|
+
string;
|
|
359
470
|
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */
|
|
360
|
-
parent:
|
|
471
|
+
parent:
|
|
472
|
+
string;
|
|
361
473
|
/** Returns response with indentations and line breaks. */
|
|
362
|
-
prettyPrint?:
|
|
474
|
+
prettyPrint?:
|
|
475
|
+
boolean;
|
|
363
476
|
/** 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. */
|
|
364
|
-
quotaUser?:
|
|
477
|
+
quotaUser?:
|
|
478
|
+
string;
|
|
365
479
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
366
|
-
upload_protocol?:
|
|
480
|
+
upload_protocol?:
|
|
481
|
+
string;
|
|
367
482
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
368
|
-
uploadType?:
|
|
483
|
+
uploadType?:
|
|
484
|
+
string;
|
|
369
485
|
/** Request body */
|
|
370
|
-
resource:
|
|
486
|
+
resource:
|
|
487
|
+
GoogleCloudDatapipelinesV1Pipeline;
|
|
371
488
|
}): Request<GoogleCloudDatapipelinesV1Pipeline>;
|
|
372
489
|
create(request: {
|
|
373
490
|
/** V1 error format. */
|
|
374
|
-
"$.xgafv"?:
|
|
491
|
+
"$.xgafv"?:
|
|
492
|
+
string;
|
|
375
493
|
/** OAuth access token. */
|
|
376
|
-
access_token?:
|
|
494
|
+
access_token?:
|
|
495
|
+
string;
|
|
377
496
|
/** Data format for response. */
|
|
378
|
-
alt?:
|
|
497
|
+
alt?:
|
|
498
|
+
string;
|
|
379
499
|
/** JSONP */
|
|
380
|
-
callback?:
|
|
500
|
+
callback?:
|
|
501
|
+
string;
|
|
381
502
|
/** Selector specifying which fields to include in a partial response. */
|
|
382
|
-
fields?:
|
|
503
|
+
fields?:
|
|
504
|
+
string;
|
|
383
505
|
/** 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. */
|
|
384
|
-
key?:
|
|
506
|
+
key?:
|
|
507
|
+
string;
|
|
385
508
|
/** OAuth 2.0 token for the current user. */
|
|
386
|
-
oauth_token?:
|
|
509
|
+
oauth_token?:
|
|
510
|
+
string;
|
|
387
511
|
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */
|
|
388
|
-
parent:
|
|
512
|
+
parent:
|
|
513
|
+
string;
|
|
389
514
|
/** Returns response with indentations and line breaks. */
|
|
390
|
-
prettyPrint?:
|
|
515
|
+
prettyPrint?:
|
|
516
|
+
boolean;
|
|
391
517
|
/** 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. */
|
|
392
|
-
quotaUser?:
|
|
518
|
+
quotaUser?:
|
|
519
|
+
string;
|
|
393
520
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
394
|
-
upload_protocol?:
|
|
521
|
+
upload_protocol?:
|
|
522
|
+
string;
|
|
395
523
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
396
|
-
uploadType?:
|
|
524
|
+
uploadType?:
|
|
525
|
+
string;
|
|
397
526
|
},
|
|
398
527
|
body: GoogleCloudDatapipelinesV1Pipeline): Request<GoogleCloudDatapipelinesV1Pipeline>;
|
|
399
528
|
/** Deletes a pipeline. If a scheduler job is attached to the pipeline, it will be deleted. */
|
|
400
529
|
delete(request?: {
|
|
401
530
|
/** V1 error format. */
|
|
402
|
-
"$.xgafv"?:
|
|
531
|
+
"$.xgafv"?:
|
|
532
|
+
string;
|
|
403
533
|
/** OAuth access token. */
|
|
404
|
-
access_token?:
|
|
534
|
+
access_token?:
|
|
535
|
+
string;
|
|
405
536
|
/** Data format for response. */
|
|
406
|
-
alt?:
|
|
537
|
+
alt?:
|
|
538
|
+
string;
|
|
407
539
|
/** JSONP */
|
|
408
|
-
callback?:
|
|
540
|
+
callback?:
|
|
541
|
+
string;
|
|
409
542
|
/** Selector specifying which fields to include in a partial response. */
|
|
410
|
-
fields?:
|
|
543
|
+
fields?:
|
|
544
|
+
string;
|
|
411
545
|
/** 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. */
|
|
412
|
-
key?:
|
|
546
|
+
key?:
|
|
547
|
+
string;
|
|
413
548
|
/** Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. */
|
|
414
|
-
name:
|
|
549
|
+
name:
|
|
550
|
+
string;
|
|
415
551
|
/** OAuth 2.0 token for the current user. */
|
|
416
|
-
oauth_token?:
|
|
552
|
+
oauth_token?:
|
|
553
|
+
string;
|
|
417
554
|
/** Returns response with indentations and line breaks. */
|
|
418
|
-
prettyPrint?:
|
|
555
|
+
prettyPrint?:
|
|
556
|
+
boolean;
|
|
419
557
|
/** 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. */
|
|
420
|
-
quotaUser?:
|
|
558
|
+
quotaUser?:
|
|
559
|
+
string;
|
|
421
560
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
422
|
-
upload_protocol?:
|
|
561
|
+
upload_protocol?:
|
|
562
|
+
string;
|
|
423
563
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
424
|
-
uploadType?:
|
|
564
|
+
uploadType?:
|
|
565
|
+
string;
|
|
425
566
|
}): Request<{}>;
|
|
426
567
|
/** Looks up a single pipeline. Returns a "NOT_FOUND" error if no such pipeline exists. Returns a "FORBIDDEN" error if the caller doesn't have permission to access it. */
|
|
427
568
|
get(request?: {
|
|
428
569
|
/** V1 error format. */
|
|
429
|
-
"$.xgafv"?:
|
|
570
|
+
"$.xgafv"?:
|
|
571
|
+
string;
|
|
430
572
|
/** OAuth access token. */
|
|
431
|
-
access_token?:
|
|
573
|
+
access_token?:
|
|
574
|
+
string;
|
|
432
575
|
/** Data format for response. */
|
|
433
|
-
alt?:
|
|
576
|
+
alt?:
|
|
577
|
+
string;
|
|
434
578
|
/** JSONP */
|
|
435
|
-
callback?:
|
|
579
|
+
callback?:
|
|
580
|
+
string;
|
|
436
581
|
/** Selector specifying which fields to include in a partial response. */
|
|
437
|
-
fields?:
|
|
582
|
+
fields?:
|
|
583
|
+
string;
|
|
438
584
|
/** 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. */
|
|
439
|
-
key?:
|
|
585
|
+
key?:
|
|
586
|
+
string;
|
|
440
587
|
/** Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. */
|
|
441
|
-
name:
|
|
588
|
+
name:
|
|
589
|
+
string;
|
|
442
590
|
/** OAuth 2.0 token for the current user. */
|
|
443
|
-
oauth_token?:
|
|
591
|
+
oauth_token?:
|
|
592
|
+
string;
|
|
444
593
|
/** Returns response with indentations and line breaks. */
|
|
445
|
-
prettyPrint?:
|
|
594
|
+
prettyPrint?:
|
|
595
|
+
boolean;
|
|
446
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. */
|
|
447
|
-
quotaUser?:
|
|
597
|
+
quotaUser?:
|
|
598
|
+
string;
|
|
448
599
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
449
|
-
upload_protocol?:
|
|
600
|
+
upload_protocol?:
|
|
601
|
+
string;
|
|
450
602
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
451
|
-
uploadType?:
|
|
603
|
+
uploadType?:
|
|
604
|
+
string;
|
|
452
605
|
}): Request<GoogleCloudDatapipelinesV1Pipeline>;
|
|
453
606
|
/** Lists pipelines. Returns a "FORBIDDEN" error if the caller doesn't have permission to access it. */
|
|
454
607
|
list(request?: {
|
|
455
608
|
/** V1 error format. */
|
|
456
|
-
"$.xgafv"?:
|
|
609
|
+
"$.xgafv"?:
|
|
610
|
+
string;
|
|
457
611
|
/** OAuth access token. */
|
|
458
|
-
access_token?:
|
|
612
|
+
access_token?:
|
|
613
|
+
string;
|
|
459
614
|
/** Data format for response. */
|
|
460
|
-
alt?:
|
|
615
|
+
alt?:
|
|
616
|
+
string;
|
|
461
617
|
/** JSONP */
|
|
462
|
-
callback?:
|
|
618
|
+
callback?:
|
|
619
|
+
string;
|
|
463
620
|
/** Selector specifying which fields to include in a partial response. */
|
|
464
|
-
fields?:
|
|
621
|
+
fields?:
|
|
622
|
+
string;
|
|
465
623
|
/**
|
|
466
624
|
* An expression for filtering the results of the request. If unspecified, all pipelines will be returned. Multiple filters can be applied and must be comma separated. Fields
|
|
467
625
|
* eligible for filtering are: + `type`: The type of the pipeline (streaming or batch). Allowed values are `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the
|
|
468
626
|
* pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. For example, to limit results to active batch processing pipelines: type:BATCH,status:ACTIVE
|
|
469
627
|
*/
|
|
470
|
-
filter?:
|
|
628
|
+
filter?:
|
|
629
|
+
string;
|
|
471
630
|
/** 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. */
|
|
472
|
-
key?:
|
|
631
|
+
key?:
|
|
632
|
+
string;
|
|
473
633
|
/** OAuth 2.0 token for the current user. */
|
|
474
|
-
oauth_token?:
|
|
634
|
+
oauth_token?:
|
|
635
|
+
string;
|
|
475
636
|
/**
|
|
476
637
|
* The maximum number of entities to return. The service may return fewer than this value, even if there are additional pages. If unspecified, the max limit is yet to be determined
|
|
477
638
|
* by the backend implementation.
|
|
478
639
|
*/
|
|
479
|
-
pageSize?:
|
|
640
|
+
pageSize?:
|
|
641
|
+
number;
|
|
480
642
|
/**
|
|
481
643
|
* A page token, received from a previous `ListPipelines` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPipelines` must
|
|
482
644
|
* match the call that provided the page token.
|
|
483
645
|
*/
|
|
484
|
-
pageToken?:
|
|
646
|
+
pageToken?:
|
|
647
|
+
string;
|
|
485
648
|
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */
|
|
486
|
-
parent:
|
|
649
|
+
parent:
|
|
650
|
+
string;
|
|
487
651
|
/** Returns response with indentations and line breaks. */
|
|
488
|
-
prettyPrint?:
|
|
652
|
+
prettyPrint?:
|
|
653
|
+
boolean;
|
|
489
654
|
/** 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. */
|
|
490
|
-
quotaUser?:
|
|
655
|
+
quotaUser?:
|
|
656
|
+
string;
|
|
491
657
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
492
|
-
upload_protocol?:
|
|
658
|
+
upload_protocol?:
|
|
659
|
+
string;
|
|
493
660
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
494
|
-
uploadType?:
|
|
661
|
+
uploadType?:
|
|
662
|
+
string;
|
|
495
663
|
}): Request<GoogleCloudDatapipelinesV1ListPipelinesResponse>;
|
|
496
664
|
/**
|
|
497
665
|
* Updates a pipeline. If successful, the updated Pipeline is returned. Returns `NOT_FOUND` if the pipeline doesn't exist. If UpdatePipeline does not return successfully, you can retry
|
|
@@ -499,17 +667,23 @@ declare namespace gapi.client {
|
|
|
499
667
|
*/
|
|
500
668
|
patch(request: {
|
|
501
669
|
/** V1 error format. */
|
|
502
|
-
"$.xgafv"?:
|
|
670
|
+
"$.xgafv"?:
|
|
671
|
+
string;
|
|
503
672
|
/** OAuth access token. */
|
|
504
|
-
access_token?:
|
|
673
|
+
access_token?:
|
|
674
|
+
string;
|
|
505
675
|
/** Data format for response. */
|
|
506
|
-
alt?:
|
|
676
|
+
alt?:
|
|
677
|
+
string;
|
|
507
678
|
/** JSONP */
|
|
508
|
-
callback?:
|
|
679
|
+
callback?:
|
|
680
|
+
string;
|
|
509
681
|
/** Selector specifying which fields to include in a partial response. */
|
|
510
|
-
fields?:
|
|
682
|
+
fields?:
|
|
683
|
+
string;
|
|
511
684
|
/** 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. */
|
|
512
|
-
key?:
|
|
685
|
+
key?:
|
|
686
|
+
string;
|
|
513
687
|
/**
|
|
514
688
|
* The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-),
|
|
515
689
|
* colons (:), and periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects). *
|
|
@@ -517,35 +691,49 @@ declare namespace gapi.client {
|
|
|
517
691
|
* that the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in [App Engine
|
|
518
692
|
* regions](https://cloud.google.com/about/locations#region). * `PIPELINE_ID` is the ID of the pipeline. Must be unique for the selected project and location.
|
|
519
693
|
*/
|
|
520
|
-
name:
|
|
694
|
+
name:
|
|
695
|
+
string;
|
|
521
696
|
/** OAuth 2.0 token for the current user. */
|
|
522
|
-
oauth_token?:
|
|
697
|
+
oauth_token?:
|
|
698
|
+
string;
|
|
523
699
|
/** Returns response with indentations and line breaks. */
|
|
524
|
-
prettyPrint?:
|
|
700
|
+
prettyPrint?:
|
|
701
|
+
boolean;
|
|
525
702
|
/** 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. */
|
|
526
|
-
quotaUser?:
|
|
703
|
+
quotaUser?:
|
|
704
|
+
string;
|
|
527
705
|
/** The list of fields to be updated. */
|
|
528
|
-
updateMask?:
|
|
706
|
+
updateMask?:
|
|
707
|
+
string;
|
|
529
708
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
530
|
-
upload_protocol?:
|
|
709
|
+
upload_protocol?:
|
|
710
|
+
string;
|
|
531
711
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
532
|
-
uploadType?:
|
|
712
|
+
uploadType?:
|
|
713
|
+
string;
|
|
533
714
|
/** Request body */
|
|
534
|
-
resource:
|
|
715
|
+
resource:
|
|
716
|
+
GoogleCloudDatapipelinesV1Pipeline;
|
|
535
717
|
}): Request<GoogleCloudDatapipelinesV1Pipeline>;
|
|
536
718
|
patch(request: {
|
|
537
719
|
/** V1 error format. */
|
|
538
|
-
"$.xgafv"?:
|
|
720
|
+
"$.xgafv"?:
|
|
721
|
+
string;
|
|
539
722
|
/** OAuth access token. */
|
|
540
|
-
access_token?:
|
|
723
|
+
access_token?:
|
|
724
|
+
string;
|
|
541
725
|
/** Data format for response. */
|
|
542
|
-
alt?:
|
|
726
|
+
alt?:
|
|
727
|
+
string;
|
|
543
728
|
/** JSONP */
|
|
544
|
-
callback?:
|
|
729
|
+
callback?:
|
|
730
|
+
string;
|
|
545
731
|
/** Selector specifying which fields to include in a partial response. */
|
|
546
|
-
fields?:
|
|
732
|
+
fields?:
|
|
733
|
+
string;
|
|
547
734
|
/** 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. */
|
|
548
|
-
key?:
|
|
735
|
+
key?:
|
|
736
|
+
string;
|
|
549
737
|
/**
|
|
550
738
|
* The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-),
|
|
551
739
|
* colons (:), and periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects). *
|
|
@@ -553,19 +741,26 @@ declare namespace gapi.client {
|
|
|
553
741
|
* that the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in [App Engine
|
|
554
742
|
* regions](https://cloud.google.com/about/locations#region). * `PIPELINE_ID` is the ID of the pipeline. Must be unique for the selected project and location.
|
|
555
743
|
*/
|
|
556
|
-
name:
|
|
744
|
+
name:
|
|
745
|
+
string;
|
|
557
746
|
/** OAuth 2.0 token for the current user. */
|
|
558
|
-
oauth_token?:
|
|
747
|
+
oauth_token?:
|
|
748
|
+
string;
|
|
559
749
|
/** Returns response with indentations and line breaks. */
|
|
560
|
-
prettyPrint?:
|
|
750
|
+
prettyPrint?:
|
|
751
|
+
boolean;
|
|
561
752
|
/** 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. */
|
|
562
|
-
quotaUser?:
|
|
753
|
+
quotaUser?:
|
|
754
|
+
string;
|
|
563
755
|
/** The list of fields to be updated. */
|
|
564
|
-
updateMask?:
|
|
756
|
+
updateMask?:
|
|
757
|
+
string;
|
|
565
758
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
566
|
-
upload_protocol?:
|
|
759
|
+
upload_protocol?:
|
|
760
|
+
string;
|
|
567
761
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
568
|
-
uploadType?:
|
|
762
|
+
uploadType?:
|
|
763
|
+
string;
|
|
569
764
|
},
|
|
570
765
|
body: GoogleCloudDatapipelinesV1Pipeline): Request<GoogleCloudDatapipelinesV1Pipeline>;
|
|
571
766
|
/**
|
|
@@ -575,57 +770,82 @@ declare namespace gapi.client {
|
|
|
575
770
|
*/
|
|
576
771
|
run(request: {
|
|
577
772
|
/** V1 error format. */
|
|
578
|
-
"$.xgafv"?:
|
|
773
|
+
"$.xgafv"?:
|
|
774
|
+
string;
|
|
579
775
|
/** OAuth access token. */
|
|
580
|
-
access_token?:
|
|
776
|
+
access_token?:
|
|
777
|
+
string;
|
|
581
778
|
/** Data format for response. */
|
|
582
|
-
alt?:
|
|
779
|
+
alt?:
|
|
780
|
+
string;
|
|
583
781
|
/** JSONP */
|
|
584
|
-
callback?:
|
|
782
|
+
callback?:
|
|
783
|
+
string;
|
|
585
784
|
/** Selector specifying which fields to include in a partial response. */
|
|
586
|
-
fields?:
|
|
785
|
+
fields?:
|
|
786
|
+
string;
|
|
587
787
|
/** 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. */
|
|
588
|
-
key?:
|
|
788
|
+
key?:
|
|
789
|
+
string;
|
|
589
790
|
/** Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. */
|
|
590
|
-
name:
|
|
791
|
+
name:
|
|
792
|
+
string;
|
|
591
793
|
/** OAuth 2.0 token for the current user. */
|
|
592
|
-
oauth_token?:
|
|
794
|
+
oauth_token?:
|
|
795
|
+
string;
|
|
593
796
|
/** Returns response with indentations and line breaks. */
|
|
594
|
-
prettyPrint?:
|
|
797
|
+
prettyPrint?:
|
|
798
|
+
boolean;
|
|
595
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. */
|
|
596
|
-
quotaUser?:
|
|
800
|
+
quotaUser?:
|
|
801
|
+
string;
|
|
597
802
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
598
|
-
upload_protocol?:
|
|
803
|
+
upload_protocol?:
|
|
804
|
+
string;
|
|
599
805
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
600
|
-
uploadType?:
|
|
806
|
+
uploadType?:
|
|
807
|
+
string;
|
|
601
808
|
/** Request body */
|
|
602
|
-
resource:
|
|
809
|
+
resource:
|
|
810
|
+
GoogleCloudDatapipelinesV1RunPipelineRequest;
|
|
603
811
|
}): Request<GoogleCloudDatapipelinesV1RunPipelineResponse>;
|
|
604
812
|
run(request: {
|
|
605
813
|
/** V1 error format. */
|
|
606
|
-
"$.xgafv"?:
|
|
814
|
+
"$.xgafv"?:
|
|
815
|
+
string;
|
|
607
816
|
/** OAuth access token. */
|
|
608
|
-
access_token?:
|
|
817
|
+
access_token?:
|
|
818
|
+
string;
|
|
609
819
|
/** Data format for response. */
|
|
610
|
-
alt?:
|
|
820
|
+
alt?:
|
|
821
|
+
string;
|
|
611
822
|
/** JSONP */
|
|
612
|
-
callback?:
|
|
823
|
+
callback?:
|
|
824
|
+
string;
|
|
613
825
|
/** Selector specifying which fields to include in a partial response. */
|
|
614
|
-
fields?:
|
|
826
|
+
fields?:
|
|
827
|
+
string;
|
|
615
828
|
/** 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. */
|
|
616
|
-
key?:
|
|
829
|
+
key?:
|
|
830
|
+
string;
|
|
617
831
|
/** Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. */
|
|
618
|
-
name:
|
|
832
|
+
name:
|
|
833
|
+
string;
|
|
619
834
|
/** OAuth 2.0 token for the current user. */
|
|
620
|
-
oauth_token?:
|
|
835
|
+
oauth_token?:
|
|
836
|
+
string;
|
|
621
837
|
/** Returns response with indentations and line breaks. */
|
|
622
|
-
prettyPrint?:
|
|
838
|
+
prettyPrint?:
|
|
839
|
+
boolean;
|
|
623
840
|
/** 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. */
|
|
624
|
-
quotaUser?:
|
|
841
|
+
quotaUser?:
|
|
842
|
+
string;
|
|
625
843
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
626
|
-
upload_protocol?:
|
|
844
|
+
upload_protocol?:
|
|
845
|
+
string;
|
|
627
846
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
628
|
-
uploadType?:
|
|
847
|
+
uploadType?:
|
|
848
|
+
string;
|
|
629
849
|
},
|
|
630
850
|
body: GoogleCloudDatapipelinesV1RunPipelineRequest): Request<GoogleCloudDatapipelinesV1RunPipelineResponse>;
|
|
631
851
|
/**
|
|
@@ -634,66 +854,94 @@ declare namespace gapi.client {
|
|
|
634
854
|
*/
|
|
635
855
|
stop(request: {
|
|
636
856
|
/** V1 error format. */
|
|
637
|
-
"$.xgafv"?:
|
|
857
|
+
"$.xgafv"?:
|
|
858
|
+
string;
|
|
638
859
|
/** OAuth access token. */
|
|
639
|
-
access_token?:
|
|
860
|
+
access_token?:
|
|
861
|
+
string;
|
|
640
862
|
/** Data format for response. */
|
|
641
|
-
alt?:
|
|
863
|
+
alt?:
|
|
864
|
+
string;
|
|
642
865
|
/** JSONP */
|
|
643
|
-
callback?:
|
|
866
|
+
callback?:
|
|
867
|
+
string;
|
|
644
868
|
/** Selector specifying which fields to include in a partial response. */
|
|
645
|
-
fields?:
|
|
869
|
+
fields?:
|
|
870
|
+
string;
|
|
646
871
|
/** 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. */
|
|
647
|
-
key?:
|
|
872
|
+
key?:
|
|
873
|
+
string;
|
|
648
874
|
/** Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. */
|
|
649
|
-
name:
|
|
875
|
+
name:
|
|
876
|
+
string;
|
|
650
877
|
/** OAuth 2.0 token for the current user. */
|
|
651
|
-
oauth_token?:
|
|
878
|
+
oauth_token?:
|
|
879
|
+
string;
|
|
652
880
|
/** Returns response with indentations and line breaks. */
|
|
653
|
-
prettyPrint?:
|
|
881
|
+
prettyPrint?:
|
|
882
|
+
boolean;
|
|
654
883
|
/** 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. */
|
|
655
|
-
quotaUser?:
|
|
884
|
+
quotaUser?:
|
|
885
|
+
string;
|
|
656
886
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
657
|
-
upload_protocol?:
|
|
887
|
+
upload_protocol?:
|
|
888
|
+
string;
|
|
658
889
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
659
|
-
uploadType?:
|
|
890
|
+
uploadType?:
|
|
891
|
+
string;
|
|
660
892
|
/** Request body */
|
|
661
|
-
resource:
|
|
893
|
+
resource:
|
|
894
|
+
GoogleCloudDatapipelinesV1StopPipelineRequest;
|
|
662
895
|
}): Request<GoogleCloudDatapipelinesV1Pipeline>;
|
|
663
896
|
stop(request: {
|
|
664
897
|
/** V1 error format. */
|
|
665
|
-
"$.xgafv"?:
|
|
898
|
+
"$.xgafv"?:
|
|
899
|
+
string;
|
|
666
900
|
/** OAuth access token. */
|
|
667
|
-
access_token?:
|
|
901
|
+
access_token?:
|
|
902
|
+
string;
|
|
668
903
|
/** Data format for response. */
|
|
669
|
-
alt?:
|
|
904
|
+
alt?:
|
|
905
|
+
string;
|
|
670
906
|
/** JSONP */
|
|
671
|
-
callback?:
|
|
907
|
+
callback?:
|
|
908
|
+
string;
|
|
672
909
|
/** Selector specifying which fields to include in a partial response. */
|
|
673
|
-
fields?:
|
|
910
|
+
fields?:
|
|
911
|
+
string;
|
|
674
912
|
/** 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. */
|
|
675
|
-
key?:
|
|
913
|
+
key?:
|
|
914
|
+
string;
|
|
676
915
|
/** Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. */
|
|
677
|
-
name:
|
|
916
|
+
name:
|
|
917
|
+
string;
|
|
678
918
|
/** OAuth 2.0 token for the current user. */
|
|
679
|
-
oauth_token?:
|
|
919
|
+
oauth_token?:
|
|
920
|
+
string;
|
|
680
921
|
/** Returns response with indentations and line breaks. */
|
|
681
|
-
prettyPrint?:
|
|
922
|
+
prettyPrint?:
|
|
923
|
+
boolean;
|
|
682
924
|
/** 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. */
|
|
683
|
-
quotaUser?:
|
|
925
|
+
quotaUser?:
|
|
926
|
+
string;
|
|
684
927
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
685
|
-
upload_protocol?:
|
|
928
|
+
upload_protocol?:
|
|
929
|
+
string;
|
|
686
930
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
687
|
-
uploadType?:
|
|
931
|
+
uploadType?:
|
|
932
|
+
string;
|
|
688
933
|
},
|
|
689
934
|
body: GoogleCloudDatapipelinesV1StopPipelineRequest): Request<GoogleCloudDatapipelinesV1Pipeline>;
|
|
690
|
-
jobs:
|
|
935
|
+
jobs:
|
|
936
|
+
JobsResource;
|
|
691
937
|
}
|
|
692
938
|
interface LocationsResource {
|
|
693
|
-
pipelines:
|
|
939
|
+
pipelines:
|
|
940
|
+
PipelinesResource;
|
|
694
941
|
}
|
|
695
942
|
interface ProjectsResource {
|
|
696
|
-
locations:
|
|
943
|
+
locations:
|
|
944
|
+
LocationsResource;
|
|
697
945
|
}
|
|
698
946
|
|
|
699
947
|
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: 20230429
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|