1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service;
|
---|
19 |
|
---|
20 | use Google\Client;
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * Service definition for BigQueryDataTransfer (v1).
|
---|
24 | *
|
---|
25 | * <p>
|
---|
26 | * Schedule queries or transfer external data from SaaS applications to Google
|
---|
27 | * BigQuery on a regular basis.</p>
|
---|
28 | *
|
---|
29 | * <p>
|
---|
30 | * For more information about this service, see the API
|
---|
31 | * <a href="https://cloud.google.com/bigquery-transfer/" target="_blank">Documentation</a>
|
---|
32 | * </p>
|
---|
33 | *
|
---|
34 | * @author Google, Inc.
|
---|
35 | */
|
---|
36 | class BigQueryDataTransfer extends \Google\Service
|
---|
37 | {
|
---|
38 | /** View and manage your data in Google BigQuery and see the email address for your Google Account. */
|
---|
39 | const BIGQUERY =
|
---|
40 | "https://www.googleapis.com/auth/bigquery";
|
---|
41 | /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
---|
42 | const CLOUD_PLATFORM =
|
---|
43 | "https://www.googleapis.com/auth/cloud-platform";
|
---|
44 | /** View your data across Google Cloud services and see the email address of your Google Account. */
|
---|
45 | const CLOUD_PLATFORM_READ_ONLY =
|
---|
46 | "https://www.googleapis.com/auth/cloud-platform.read-only";
|
---|
47 |
|
---|
48 | public $projects;
|
---|
49 | public $projects_dataSources;
|
---|
50 | public $projects_locations;
|
---|
51 | public $projects_locations_dataSources;
|
---|
52 | public $projects_locations_transferConfigs;
|
---|
53 | public $projects_locations_transferConfigs_runs;
|
---|
54 | public $projects_locations_transferConfigs_runs_transferLogs;
|
---|
55 | public $projects_transferConfigs;
|
---|
56 | public $projects_transferConfigs_runs;
|
---|
57 | public $projects_transferConfigs_runs_transferLogs;
|
---|
58 | public $rootUrlTemplate;
|
---|
59 |
|
---|
60 | /**
|
---|
61 | * Constructs the internal representation of the BigQueryDataTransfer service.
|
---|
62 | *
|
---|
63 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
64 | * config array to pass to a new Client instance.
|
---|
65 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
66 | */
|
---|
67 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
68 | {
|
---|
69 | parent::__construct($clientOrConfig);
|
---|
70 | $this->rootUrl = $rootUrl ?: 'https://bigquerydatatransfer.googleapis.com/';
|
---|
71 | $this->rootUrlTemplate = $rootUrl ?: 'https://bigquerydatatransfer.UNIVERSE_DOMAIN/';
|
---|
72 | $this->servicePath = '';
|
---|
73 | $this->batchPath = 'batch';
|
---|
74 | $this->version = 'v1';
|
---|
75 | $this->serviceName = 'bigquerydatatransfer';
|
---|
76 |
|
---|
77 | $this->projects = new BigQueryDataTransfer\Resource\Projects(
|
---|
78 | $this,
|
---|
79 | $this->serviceName,
|
---|
80 | 'projects',
|
---|
81 | [
|
---|
82 | 'methods' => [
|
---|
83 | 'enrollDataSources' => [
|
---|
84 | 'path' => 'v1/{+name}:enrollDataSources',
|
---|
85 | 'httpMethod' => 'POST',
|
---|
86 | 'parameters' => [
|
---|
87 | 'name' => [
|
---|
88 | 'location' => 'path',
|
---|
89 | 'type' => 'string',
|
---|
90 | 'required' => true,
|
---|
91 | ],
|
---|
92 | ],
|
---|
93 | ],
|
---|
94 | ]
|
---|
95 | ]
|
---|
96 | );
|
---|
97 | $this->projects_dataSources = new BigQueryDataTransfer\Resource\ProjectsDataSources(
|
---|
98 | $this,
|
---|
99 | $this->serviceName,
|
---|
100 | 'dataSources',
|
---|
101 | [
|
---|
102 | 'methods' => [
|
---|
103 | 'checkValidCreds' => [
|
---|
104 | 'path' => 'v1/{+name}:checkValidCreds',
|
---|
105 | 'httpMethod' => 'POST',
|
---|
106 | 'parameters' => [
|
---|
107 | 'name' => [
|
---|
108 | 'location' => 'path',
|
---|
109 | 'type' => 'string',
|
---|
110 | 'required' => true,
|
---|
111 | ],
|
---|
112 | ],
|
---|
113 | ],'get' => [
|
---|
114 | 'path' => 'v1/{+name}',
|
---|
115 | 'httpMethod' => 'GET',
|
---|
116 | 'parameters' => [
|
---|
117 | 'name' => [
|
---|
118 | 'location' => 'path',
|
---|
119 | 'type' => 'string',
|
---|
120 | 'required' => true,
|
---|
121 | ],
|
---|
122 | ],
|
---|
123 | ],'list' => [
|
---|
124 | 'path' => 'v1/{+parent}/dataSources',
|
---|
125 | 'httpMethod' => 'GET',
|
---|
126 | 'parameters' => [
|
---|
127 | 'parent' => [
|
---|
128 | 'location' => 'path',
|
---|
129 | 'type' => 'string',
|
---|
130 | 'required' => true,
|
---|
131 | ],
|
---|
132 | 'pageSize' => [
|
---|
133 | 'location' => 'query',
|
---|
134 | 'type' => 'integer',
|
---|
135 | ],
|
---|
136 | 'pageToken' => [
|
---|
137 | 'location' => 'query',
|
---|
138 | 'type' => 'string',
|
---|
139 | ],
|
---|
140 | ],
|
---|
141 | ],
|
---|
142 | ]
|
---|
143 | ]
|
---|
144 | );
|
---|
145 | $this->projects_locations = new BigQueryDataTransfer\Resource\ProjectsLocations(
|
---|
146 | $this,
|
---|
147 | $this->serviceName,
|
---|
148 | 'locations',
|
---|
149 | [
|
---|
150 | 'methods' => [
|
---|
151 | 'enrollDataSources' => [
|
---|
152 | 'path' => 'v1/{+name}:enrollDataSources',
|
---|
153 | 'httpMethod' => 'POST',
|
---|
154 | 'parameters' => [
|
---|
155 | 'name' => [
|
---|
156 | 'location' => 'path',
|
---|
157 | 'type' => 'string',
|
---|
158 | 'required' => true,
|
---|
159 | ],
|
---|
160 | ],
|
---|
161 | ],'get' => [
|
---|
162 | 'path' => 'v1/{+name}',
|
---|
163 | 'httpMethod' => 'GET',
|
---|
164 | 'parameters' => [
|
---|
165 | 'name' => [
|
---|
166 | 'location' => 'path',
|
---|
167 | 'type' => 'string',
|
---|
168 | 'required' => true,
|
---|
169 | ],
|
---|
170 | ],
|
---|
171 | ],'list' => [
|
---|
172 | 'path' => 'v1/{+name}/locations',
|
---|
173 | 'httpMethod' => 'GET',
|
---|
174 | 'parameters' => [
|
---|
175 | 'name' => [
|
---|
176 | 'location' => 'path',
|
---|
177 | 'type' => 'string',
|
---|
178 | 'required' => true,
|
---|
179 | ],
|
---|
180 | 'filter' => [
|
---|
181 | 'location' => 'query',
|
---|
182 | 'type' => 'string',
|
---|
183 | ],
|
---|
184 | 'pageSize' => [
|
---|
185 | 'location' => 'query',
|
---|
186 | 'type' => 'integer',
|
---|
187 | ],
|
---|
188 | 'pageToken' => [
|
---|
189 | 'location' => 'query',
|
---|
190 | 'type' => 'string',
|
---|
191 | ],
|
---|
192 | ],
|
---|
193 | ],'unenrollDataSources' => [
|
---|
194 | 'path' => 'v1/{+name}:unenrollDataSources',
|
---|
195 | 'httpMethod' => 'POST',
|
---|
196 | 'parameters' => [
|
---|
197 | 'name' => [
|
---|
198 | 'location' => 'path',
|
---|
199 | 'type' => 'string',
|
---|
200 | 'required' => true,
|
---|
201 | ],
|
---|
202 | ],
|
---|
203 | ],
|
---|
204 | ]
|
---|
205 | ]
|
---|
206 | );
|
---|
207 | $this->projects_locations_dataSources = new BigQueryDataTransfer\Resource\ProjectsLocationsDataSources(
|
---|
208 | $this,
|
---|
209 | $this->serviceName,
|
---|
210 | 'dataSources',
|
---|
211 | [
|
---|
212 | 'methods' => [
|
---|
213 | 'checkValidCreds' => [
|
---|
214 | 'path' => 'v1/{+name}:checkValidCreds',
|
---|
215 | 'httpMethod' => 'POST',
|
---|
216 | 'parameters' => [
|
---|
217 | 'name' => [
|
---|
218 | 'location' => 'path',
|
---|
219 | 'type' => 'string',
|
---|
220 | 'required' => true,
|
---|
221 | ],
|
---|
222 | ],
|
---|
223 | ],'get' => [
|
---|
224 | 'path' => 'v1/{+name}',
|
---|
225 | 'httpMethod' => 'GET',
|
---|
226 | 'parameters' => [
|
---|
227 | 'name' => [
|
---|
228 | 'location' => 'path',
|
---|
229 | 'type' => 'string',
|
---|
230 | 'required' => true,
|
---|
231 | ],
|
---|
232 | ],
|
---|
233 | ],'list' => [
|
---|
234 | 'path' => 'v1/{+parent}/dataSources',
|
---|
235 | 'httpMethod' => 'GET',
|
---|
236 | 'parameters' => [
|
---|
237 | 'parent' => [
|
---|
238 | 'location' => 'path',
|
---|
239 | 'type' => 'string',
|
---|
240 | 'required' => true,
|
---|
241 | ],
|
---|
242 | 'pageSize' => [
|
---|
243 | 'location' => 'query',
|
---|
244 | 'type' => 'integer',
|
---|
245 | ],
|
---|
246 | 'pageToken' => [
|
---|
247 | 'location' => 'query',
|
---|
248 | 'type' => 'string',
|
---|
249 | ],
|
---|
250 | ],
|
---|
251 | ],
|
---|
252 | ]
|
---|
253 | ]
|
---|
254 | );
|
---|
255 | $this->projects_locations_transferConfigs = new BigQueryDataTransfer\Resource\ProjectsLocationsTransferConfigs(
|
---|
256 | $this,
|
---|
257 | $this->serviceName,
|
---|
258 | 'transferConfigs',
|
---|
259 | [
|
---|
260 | 'methods' => [
|
---|
261 | 'create' => [
|
---|
262 | 'path' => 'v1/{+parent}/transferConfigs',
|
---|
263 | 'httpMethod' => 'POST',
|
---|
264 | 'parameters' => [
|
---|
265 | 'parent' => [
|
---|
266 | 'location' => 'path',
|
---|
267 | 'type' => 'string',
|
---|
268 | 'required' => true,
|
---|
269 | ],
|
---|
270 | 'authorizationCode' => [
|
---|
271 | 'location' => 'query',
|
---|
272 | 'type' => 'string',
|
---|
273 | ],
|
---|
274 | 'serviceAccountName' => [
|
---|
275 | 'location' => 'query',
|
---|
276 | 'type' => 'string',
|
---|
277 | ],
|
---|
278 | 'versionInfo' => [
|
---|
279 | 'location' => 'query',
|
---|
280 | 'type' => 'string',
|
---|
281 | ],
|
---|
282 | ],
|
---|
283 | ],'delete' => [
|
---|
284 | 'path' => 'v1/{+name}',
|
---|
285 | 'httpMethod' => 'DELETE',
|
---|
286 | 'parameters' => [
|
---|
287 | 'name' => [
|
---|
288 | 'location' => 'path',
|
---|
289 | 'type' => 'string',
|
---|
290 | 'required' => true,
|
---|
291 | ],
|
---|
292 | ],
|
---|
293 | ],'get' => [
|
---|
294 | 'path' => 'v1/{+name}',
|
---|
295 | 'httpMethod' => 'GET',
|
---|
296 | 'parameters' => [
|
---|
297 | 'name' => [
|
---|
298 | 'location' => 'path',
|
---|
299 | 'type' => 'string',
|
---|
300 | 'required' => true,
|
---|
301 | ],
|
---|
302 | ],
|
---|
303 | ],'list' => [
|
---|
304 | 'path' => 'v1/{+parent}/transferConfigs',
|
---|
305 | 'httpMethod' => 'GET',
|
---|
306 | 'parameters' => [
|
---|
307 | 'parent' => [
|
---|
308 | 'location' => 'path',
|
---|
309 | 'type' => 'string',
|
---|
310 | 'required' => true,
|
---|
311 | ],
|
---|
312 | 'dataSourceIds' => [
|
---|
313 | 'location' => 'query',
|
---|
314 | 'type' => 'string',
|
---|
315 | 'repeated' => true,
|
---|
316 | ],
|
---|
317 | 'pageSize' => [
|
---|
318 | 'location' => 'query',
|
---|
319 | 'type' => 'integer',
|
---|
320 | ],
|
---|
321 | 'pageToken' => [
|
---|
322 | 'location' => 'query',
|
---|
323 | 'type' => 'string',
|
---|
324 | ],
|
---|
325 | ],
|
---|
326 | ],'patch' => [
|
---|
327 | 'path' => 'v1/{+name}',
|
---|
328 | 'httpMethod' => 'PATCH',
|
---|
329 | 'parameters' => [
|
---|
330 | 'name' => [
|
---|
331 | 'location' => 'path',
|
---|
332 | 'type' => 'string',
|
---|
333 | 'required' => true,
|
---|
334 | ],
|
---|
335 | 'authorizationCode' => [
|
---|
336 | 'location' => 'query',
|
---|
337 | 'type' => 'string',
|
---|
338 | ],
|
---|
339 | 'serviceAccountName' => [
|
---|
340 | 'location' => 'query',
|
---|
341 | 'type' => 'string',
|
---|
342 | ],
|
---|
343 | 'updateMask' => [
|
---|
344 | 'location' => 'query',
|
---|
345 | 'type' => 'string',
|
---|
346 | ],
|
---|
347 | 'versionInfo' => [
|
---|
348 | 'location' => 'query',
|
---|
349 | 'type' => 'string',
|
---|
350 | ],
|
---|
351 | ],
|
---|
352 | ],'scheduleRuns' => [
|
---|
353 | 'path' => 'v1/{+parent}:scheduleRuns',
|
---|
354 | 'httpMethod' => 'POST',
|
---|
355 | 'parameters' => [
|
---|
356 | 'parent' => [
|
---|
357 | 'location' => 'path',
|
---|
358 | 'type' => 'string',
|
---|
359 | 'required' => true,
|
---|
360 | ],
|
---|
361 | ],
|
---|
362 | ],'startManualRuns' => [
|
---|
363 | 'path' => 'v1/{+parent}:startManualRuns',
|
---|
364 | 'httpMethod' => 'POST',
|
---|
365 | 'parameters' => [
|
---|
366 | 'parent' => [
|
---|
367 | 'location' => 'path',
|
---|
368 | 'type' => 'string',
|
---|
369 | 'required' => true,
|
---|
370 | ],
|
---|
371 | ],
|
---|
372 | ],
|
---|
373 | ]
|
---|
374 | ]
|
---|
375 | );
|
---|
376 | $this->projects_locations_transferConfigs_runs = new BigQueryDataTransfer\Resource\ProjectsLocationsTransferConfigsRuns(
|
---|
377 | $this,
|
---|
378 | $this->serviceName,
|
---|
379 | 'runs',
|
---|
380 | [
|
---|
381 | 'methods' => [
|
---|
382 | 'delete' => [
|
---|
383 | 'path' => 'v1/{+name}',
|
---|
384 | 'httpMethod' => 'DELETE',
|
---|
385 | 'parameters' => [
|
---|
386 | 'name' => [
|
---|
387 | 'location' => 'path',
|
---|
388 | 'type' => 'string',
|
---|
389 | 'required' => true,
|
---|
390 | ],
|
---|
391 | ],
|
---|
392 | ],'get' => [
|
---|
393 | 'path' => 'v1/{+name}',
|
---|
394 | 'httpMethod' => 'GET',
|
---|
395 | 'parameters' => [
|
---|
396 | 'name' => [
|
---|
397 | 'location' => 'path',
|
---|
398 | 'type' => 'string',
|
---|
399 | 'required' => true,
|
---|
400 | ],
|
---|
401 | ],
|
---|
402 | ],'list' => [
|
---|
403 | 'path' => 'v1/{+parent}/runs',
|
---|
404 | 'httpMethod' => 'GET',
|
---|
405 | 'parameters' => [
|
---|
406 | 'parent' => [
|
---|
407 | 'location' => 'path',
|
---|
408 | 'type' => 'string',
|
---|
409 | 'required' => true,
|
---|
410 | ],
|
---|
411 | 'pageSize' => [
|
---|
412 | 'location' => 'query',
|
---|
413 | 'type' => 'integer',
|
---|
414 | ],
|
---|
415 | 'pageToken' => [
|
---|
416 | 'location' => 'query',
|
---|
417 | 'type' => 'string',
|
---|
418 | ],
|
---|
419 | 'runAttempt' => [
|
---|
420 | 'location' => 'query',
|
---|
421 | 'type' => 'string',
|
---|
422 | ],
|
---|
423 | 'states' => [
|
---|
424 | 'location' => 'query',
|
---|
425 | 'type' => 'string',
|
---|
426 | 'repeated' => true,
|
---|
427 | ],
|
---|
428 | ],
|
---|
429 | ],
|
---|
430 | ]
|
---|
431 | ]
|
---|
432 | );
|
---|
433 | $this->projects_locations_transferConfigs_runs_transferLogs = new BigQueryDataTransfer\Resource\ProjectsLocationsTransferConfigsRunsTransferLogs(
|
---|
434 | $this,
|
---|
435 | $this->serviceName,
|
---|
436 | 'transferLogs',
|
---|
437 | [
|
---|
438 | 'methods' => [
|
---|
439 | 'list' => [
|
---|
440 | 'path' => 'v1/{+parent}/transferLogs',
|
---|
441 | 'httpMethod' => 'GET',
|
---|
442 | 'parameters' => [
|
---|
443 | 'parent' => [
|
---|
444 | 'location' => 'path',
|
---|
445 | 'type' => 'string',
|
---|
446 | 'required' => true,
|
---|
447 | ],
|
---|
448 | 'messageTypes' => [
|
---|
449 | 'location' => 'query',
|
---|
450 | 'type' => 'string',
|
---|
451 | 'repeated' => true,
|
---|
452 | ],
|
---|
453 | 'pageSize' => [
|
---|
454 | 'location' => 'query',
|
---|
455 | 'type' => 'integer',
|
---|
456 | ],
|
---|
457 | 'pageToken' => [
|
---|
458 | 'location' => 'query',
|
---|
459 | 'type' => 'string',
|
---|
460 | ],
|
---|
461 | ],
|
---|
462 | ],
|
---|
463 | ]
|
---|
464 | ]
|
---|
465 | );
|
---|
466 | $this->projects_transferConfigs = new BigQueryDataTransfer\Resource\ProjectsTransferConfigs(
|
---|
467 | $this,
|
---|
468 | $this->serviceName,
|
---|
469 | 'transferConfigs',
|
---|
470 | [
|
---|
471 | 'methods' => [
|
---|
472 | 'create' => [
|
---|
473 | 'path' => 'v1/{+parent}/transferConfigs',
|
---|
474 | 'httpMethod' => 'POST',
|
---|
475 | 'parameters' => [
|
---|
476 | 'parent' => [
|
---|
477 | 'location' => 'path',
|
---|
478 | 'type' => 'string',
|
---|
479 | 'required' => true,
|
---|
480 | ],
|
---|
481 | 'authorizationCode' => [
|
---|
482 | 'location' => 'query',
|
---|
483 | 'type' => 'string',
|
---|
484 | ],
|
---|
485 | 'serviceAccountName' => [
|
---|
486 | 'location' => 'query',
|
---|
487 | 'type' => 'string',
|
---|
488 | ],
|
---|
489 | 'versionInfo' => [
|
---|
490 | 'location' => 'query',
|
---|
491 | 'type' => 'string',
|
---|
492 | ],
|
---|
493 | ],
|
---|
494 | ],'delete' => [
|
---|
495 | 'path' => 'v1/{+name}',
|
---|
496 | 'httpMethod' => 'DELETE',
|
---|
497 | 'parameters' => [
|
---|
498 | 'name' => [
|
---|
499 | 'location' => 'path',
|
---|
500 | 'type' => 'string',
|
---|
501 | 'required' => true,
|
---|
502 | ],
|
---|
503 | ],
|
---|
504 | ],'get' => [
|
---|
505 | 'path' => 'v1/{+name}',
|
---|
506 | 'httpMethod' => 'GET',
|
---|
507 | 'parameters' => [
|
---|
508 | 'name' => [
|
---|
509 | 'location' => 'path',
|
---|
510 | 'type' => 'string',
|
---|
511 | 'required' => true,
|
---|
512 | ],
|
---|
513 | ],
|
---|
514 | ],'list' => [
|
---|
515 | 'path' => 'v1/{+parent}/transferConfigs',
|
---|
516 | 'httpMethod' => 'GET',
|
---|
517 | 'parameters' => [
|
---|
518 | 'parent' => [
|
---|
519 | 'location' => 'path',
|
---|
520 | 'type' => 'string',
|
---|
521 | 'required' => true,
|
---|
522 | ],
|
---|
523 | 'dataSourceIds' => [
|
---|
524 | 'location' => 'query',
|
---|
525 | 'type' => 'string',
|
---|
526 | 'repeated' => true,
|
---|
527 | ],
|
---|
528 | 'pageSize' => [
|
---|
529 | 'location' => 'query',
|
---|
530 | 'type' => 'integer',
|
---|
531 | ],
|
---|
532 | 'pageToken' => [
|
---|
533 | 'location' => 'query',
|
---|
534 | 'type' => 'string',
|
---|
535 | ],
|
---|
536 | ],
|
---|
537 | ],'patch' => [
|
---|
538 | 'path' => 'v1/{+name}',
|
---|
539 | 'httpMethod' => 'PATCH',
|
---|
540 | 'parameters' => [
|
---|
541 | 'name' => [
|
---|
542 | 'location' => 'path',
|
---|
543 | 'type' => 'string',
|
---|
544 | 'required' => true,
|
---|
545 | ],
|
---|
546 | 'authorizationCode' => [
|
---|
547 | 'location' => 'query',
|
---|
548 | 'type' => 'string',
|
---|
549 | ],
|
---|
550 | 'serviceAccountName' => [
|
---|
551 | 'location' => 'query',
|
---|
552 | 'type' => 'string',
|
---|
553 | ],
|
---|
554 | 'updateMask' => [
|
---|
555 | 'location' => 'query',
|
---|
556 | 'type' => 'string',
|
---|
557 | ],
|
---|
558 | 'versionInfo' => [
|
---|
559 | 'location' => 'query',
|
---|
560 | 'type' => 'string',
|
---|
561 | ],
|
---|
562 | ],
|
---|
563 | ],'scheduleRuns' => [
|
---|
564 | 'path' => 'v1/{+parent}:scheduleRuns',
|
---|
565 | 'httpMethod' => 'POST',
|
---|
566 | 'parameters' => [
|
---|
567 | 'parent' => [
|
---|
568 | 'location' => 'path',
|
---|
569 | 'type' => 'string',
|
---|
570 | 'required' => true,
|
---|
571 | ],
|
---|
572 | ],
|
---|
573 | ],'startManualRuns' => [
|
---|
574 | 'path' => 'v1/{+parent}:startManualRuns',
|
---|
575 | 'httpMethod' => 'POST',
|
---|
576 | 'parameters' => [
|
---|
577 | 'parent' => [
|
---|
578 | 'location' => 'path',
|
---|
579 | 'type' => 'string',
|
---|
580 | 'required' => true,
|
---|
581 | ],
|
---|
582 | ],
|
---|
583 | ],
|
---|
584 | ]
|
---|
585 | ]
|
---|
586 | );
|
---|
587 | $this->projects_transferConfigs_runs = new BigQueryDataTransfer\Resource\ProjectsTransferConfigsRuns(
|
---|
588 | $this,
|
---|
589 | $this->serviceName,
|
---|
590 | 'runs',
|
---|
591 | [
|
---|
592 | 'methods' => [
|
---|
593 | 'delete' => [
|
---|
594 | 'path' => 'v1/{+name}',
|
---|
595 | 'httpMethod' => 'DELETE',
|
---|
596 | 'parameters' => [
|
---|
597 | 'name' => [
|
---|
598 | 'location' => 'path',
|
---|
599 | 'type' => 'string',
|
---|
600 | 'required' => true,
|
---|
601 | ],
|
---|
602 | ],
|
---|
603 | ],'get' => [
|
---|
604 | 'path' => 'v1/{+name}',
|
---|
605 | 'httpMethod' => 'GET',
|
---|
606 | 'parameters' => [
|
---|
607 | 'name' => [
|
---|
608 | 'location' => 'path',
|
---|
609 | 'type' => 'string',
|
---|
610 | 'required' => true,
|
---|
611 | ],
|
---|
612 | ],
|
---|
613 | ],'list' => [
|
---|
614 | 'path' => 'v1/{+parent}/runs',
|
---|
615 | 'httpMethod' => 'GET',
|
---|
616 | 'parameters' => [
|
---|
617 | 'parent' => [
|
---|
618 | 'location' => 'path',
|
---|
619 | 'type' => 'string',
|
---|
620 | 'required' => true,
|
---|
621 | ],
|
---|
622 | 'pageSize' => [
|
---|
623 | 'location' => 'query',
|
---|
624 | 'type' => 'integer',
|
---|
625 | ],
|
---|
626 | 'pageToken' => [
|
---|
627 | 'location' => 'query',
|
---|
628 | 'type' => 'string',
|
---|
629 | ],
|
---|
630 | 'runAttempt' => [
|
---|
631 | 'location' => 'query',
|
---|
632 | 'type' => 'string',
|
---|
633 | ],
|
---|
634 | 'states' => [
|
---|
635 | 'location' => 'query',
|
---|
636 | 'type' => 'string',
|
---|
637 | 'repeated' => true,
|
---|
638 | ],
|
---|
639 | ],
|
---|
640 | ],
|
---|
641 | ]
|
---|
642 | ]
|
---|
643 | );
|
---|
644 | $this->projects_transferConfigs_runs_transferLogs = new BigQueryDataTransfer\Resource\ProjectsTransferConfigsRunsTransferLogs(
|
---|
645 | $this,
|
---|
646 | $this->serviceName,
|
---|
647 | 'transferLogs',
|
---|
648 | [
|
---|
649 | 'methods' => [
|
---|
650 | 'list' => [
|
---|
651 | 'path' => 'v1/{+parent}/transferLogs',
|
---|
652 | 'httpMethod' => 'GET',
|
---|
653 | 'parameters' => [
|
---|
654 | 'parent' => [
|
---|
655 | 'location' => 'path',
|
---|
656 | 'type' => 'string',
|
---|
657 | 'required' => true,
|
---|
658 | ],
|
---|
659 | 'messageTypes' => [
|
---|
660 | 'location' => 'query',
|
---|
661 | 'type' => 'string',
|
---|
662 | 'repeated' => true,
|
---|
663 | ],
|
---|
664 | 'pageSize' => [
|
---|
665 | 'location' => 'query',
|
---|
666 | 'type' => 'integer',
|
---|
667 | ],
|
---|
668 | 'pageToken' => [
|
---|
669 | 'location' => 'query',
|
---|
670 | 'type' => 'string',
|
---|
671 | ],
|
---|
672 | ],
|
---|
673 | ],
|
---|
674 | ]
|
---|
675 | ]
|
---|
676 | );
|
---|
677 | }
|
---|
678 | }
|
---|
679 |
|
---|
680 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
681 | class_alias(BigQueryDataTransfer::class, 'Google_Service_BigQueryDataTransfer');
|
---|