source: vendor/google/apiclient-services/src/Datalineage.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 12.6 KB
Line 
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
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for Datalineage (v1).
24 *
25 * <p>
26</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://cloud.google.com/data-catalog" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Datalineage extends \Google\Service
36{
37 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
38 const CLOUD_PLATFORM =
39 "https://www.googleapis.com/auth/cloud-platform";
40
41 public $projects_locations;
42 public $projects_locations_operations;
43 public $projects_locations_processes;
44 public $projects_locations_processes_runs;
45 public $projects_locations_processes_runs_lineageEvents;
46 public $rootUrlTemplate;
47
48 /**
49 * Constructs the internal representation of the Datalineage service.
50 *
51 * @param Client|array $clientOrConfig The client used to deliver requests, or a
52 * config array to pass to a new Client instance.
53 * @param string $rootUrl The root URL used for requests to the service.
54 */
55 public function __construct($clientOrConfig = [], $rootUrl = null)
56 {
57 parent::__construct($clientOrConfig);
58 $this->rootUrl = $rootUrl ?: 'https://datalineage.googleapis.com/';
59 $this->rootUrlTemplate = $rootUrl ?: 'https://datalineage.UNIVERSE_DOMAIN/';
60 $this->servicePath = '';
61 $this->batchPath = 'batch';
62 $this->version = 'v1';
63 $this->serviceName = 'datalineage';
64
65 $this->projects_locations = new Datalineage\Resource\ProjectsLocations(
66 $this,
67 $this->serviceName,
68 'locations',
69 [
70 'methods' => [
71 'batchSearchLinkProcesses' => [
72 'path' => 'v1/{+parent}:batchSearchLinkProcesses',
73 'httpMethod' => 'POST',
74 'parameters' => [
75 'parent' => [
76 'location' => 'path',
77 'type' => 'string',
78 'required' => true,
79 ],
80 ],
81 ],'processOpenLineageRunEvent' => [
82 'path' => 'v1/{+parent}:processOpenLineageRunEvent',
83 'httpMethod' => 'POST',
84 'parameters' => [
85 'parent' => [
86 'location' => 'path',
87 'type' => 'string',
88 'required' => true,
89 ],
90 'requestId' => [
91 'location' => 'query',
92 'type' => 'string',
93 ],
94 ],
95 ],'searchLinks' => [
96 'path' => 'v1/{+parent}:searchLinks',
97 'httpMethod' => 'POST',
98 'parameters' => [
99 'parent' => [
100 'location' => 'path',
101 'type' => 'string',
102 'required' => true,
103 ],
104 ],
105 ],
106 ]
107 ]
108 );
109 $this->projects_locations_operations = new Datalineage\Resource\ProjectsLocationsOperations(
110 $this,
111 $this->serviceName,
112 'operations',
113 [
114 'methods' => [
115 'cancel' => [
116 'path' => 'v1/{+name}:cancel',
117 'httpMethod' => 'POST',
118 'parameters' => [
119 'name' => [
120 'location' => 'path',
121 'type' => 'string',
122 'required' => true,
123 ],
124 ],
125 ],'delete' => [
126 'path' => 'v1/{+name}',
127 'httpMethod' => 'DELETE',
128 'parameters' => [
129 'name' => [
130 'location' => 'path',
131 'type' => 'string',
132 'required' => true,
133 ],
134 ],
135 ],'get' => [
136 'path' => 'v1/{+name}',
137 'httpMethod' => 'GET',
138 'parameters' => [
139 'name' => [
140 'location' => 'path',
141 'type' => 'string',
142 'required' => true,
143 ],
144 ],
145 ],'list' => [
146 'path' => 'v1/{+name}/operations',
147 'httpMethod' => 'GET',
148 'parameters' => [
149 'name' => [
150 'location' => 'path',
151 'type' => 'string',
152 'required' => true,
153 ],
154 'filter' => [
155 'location' => 'query',
156 'type' => 'string',
157 ],
158 'pageSize' => [
159 'location' => 'query',
160 'type' => 'integer',
161 ],
162 'pageToken' => [
163 'location' => 'query',
164 'type' => 'string',
165 ],
166 ],
167 ],
168 ]
169 ]
170 );
171 $this->projects_locations_processes = new Datalineage\Resource\ProjectsLocationsProcesses(
172 $this,
173 $this->serviceName,
174 'processes',
175 [
176 'methods' => [
177 'create' => [
178 'path' => 'v1/{+parent}/processes',
179 'httpMethod' => 'POST',
180 'parameters' => [
181 'parent' => [
182 'location' => 'path',
183 'type' => 'string',
184 'required' => true,
185 ],
186 'requestId' => [
187 'location' => 'query',
188 'type' => 'string',
189 ],
190 ],
191 ],'delete' => [
192 'path' => 'v1/{+name}',
193 'httpMethod' => 'DELETE',
194 'parameters' => [
195 'name' => [
196 'location' => 'path',
197 'type' => 'string',
198 'required' => true,
199 ],
200 'allowMissing' => [
201 'location' => 'query',
202 'type' => 'boolean',
203 ],
204 ],
205 ],'get' => [
206 'path' => 'v1/{+name}',
207 'httpMethod' => 'GET',
208 'parameters' => [
209 'name' => [
210 'location' => 'path',
211 'type' => 'string',
212 'required' => true,
213 ],
214 ],
215 ],'list' => [
216 'path' => 'v1/{+parent}/processes',
217 'httpMethod' => 'GET',
218 'parameters' => [
219 'parent' => [
220 'location' => 'path',
221 'type' => 'string',
222 'required' => true,
223 ],
224 'pageSize' => [
225 'location' => 'query',
226 'type' => 'integer',
227 ],
228 'pageToken' => [
229 'location' => 'query',
230 'type' => 'string',
231 ],
232 ],
233 ],'patch' => [
234 'path' => 'v1/{+name}',
235 'httpMethod' => 'PATCH',
236 'parameters' => [
237 'name' => [
238 'location' => 'path',
239 'type' => 'string',
240 'required' => true,
241 ],
242 'allowMissing' => [
243 'location' => 'query',
244 'type' => 'boolean',
245 ],
246 'updateMask' => [
247 'location' => 'query',
248 'type' => 'string',
249 ],
250 ],
251 ],
252 ]
253 ]
254 );
255 $this->projects_locations_processes_runs = new Datalineage\Resource\ProjectsLocationsProcessesRuns(
256 $this,
257 $this->serviceName,
258 'runs',
259 [
260 'methods' => [
261 'create' => [
262 'path' => 'v1/{+parent}/runs',
263 'httpMethod' => 'POST',
264 'parameters' => [
265 'parent' => [
266 'location' => 'path',
267 'type' => 'string',
268 'required' => true,
269 ],
270 'requestId' => [
271 'location' => 'query',
272 'type' => 'string',
273 ],
274 ],
275 ],'delete' => [
276 'path' => 'v1/{+name}',
277 'httpMethod' => 'DELETE',
278 'parameters' => [
279 'name' => [
280 'location' => 'path',
281 'type' => 'string',
282 'required' => true,
283 ],
284 'allowMissing' => [
285 'location' => 'query',
286 'type' => 'boolean',
287 ],
288 ],
289 ],'get' => [
290 'path' => 'v1/{+name}',
291 'httpMethod' => 'GET',
292 'parameters' => [
293 'name' => [
294 'location' => 'path',
295 'type' => 'string',
296 'required' => true,
297 ],
298 ],
299 ],'list' => [
300 'path' => 'v1/{+parent}/runs',
301 'httpMethod' => 'GET',
302 'parameters' => [
303 'parent' => [
304 'location' => 'path',
305 'type' => 'string',
306 'required' => true,
307 ],
308 'pageSize' => [
309 'location' => 'query',
310 'type' => 'integer',
311 ],
312 'pageToken' => [
313 'location' => 'query',
314 'type' => 'string',
315 ],
316 ],
317 ],'patch' => [
318 'path' => 'v1/{+name}',
319 'httpMethod' => 'PATCH',
320 'parameters' => [
321 'name' => [
322 'location' => 'path',
323 'type' => 'string',
324 'required' => true,
325 ],
326 'allowMissing' => [
327 'location' => 'query',
328 'type' => 'boolean',
329 ],
330 'updateMask' => [
331 'location' => 'query',
332 'type' => 'string',
333 ],
334 ],
335 ],
336 ]
337 ]
338 );
339 $this->projects_locations_processes_runs_lineageEvents = new Datalineage\Resource\ProjectsLocationsProcessesRunsLineageEvents(
340 $this,
341 $this->serviceName,
342 'lineageEvents',
343 [
344 'methods' => [
345 'create' => [
346 'path' => 'v1/{+parent}/lineageEvents',
347 'httpMethod' => 'POST',
348 'parameters' => [
349 'parent' => [
350 'location' => 'path',
351 'type' => 'string',
352 'required' => true,
353 ],
354 'requestId' => [
355 'location' => 'query',
356 'type' => 'string',
357 ],
358 ],
359 ],'delete' => [
360 'path' => 'v1/{+name}',
361 'httpMethod' => 'DELETE',
362 'parameters' => [
363 'name' => [
364 'location' => 'path',
365 'type' => 'string',
366 'required' => true,
367 ],
368 'allowMissing' => [
369 'location' => 'query',
370 'type' => 'boolean',
371 ],
372 ],
373 ],'get' => [
374 'path' => 'v1/{+name}',
375 'httpMethod' => 'GET',
376 'parameters' => [
377 'name' => [
378 'location' => 'path',
379 'type' => 'string',
380 'required' => true,
381 ],
382 ],
383 ],'list' => [
384 'path' => 'v1/{+parent}/lineageEvents',
385 'httpMethod' => 'GET',
386 'parameters' => [
387 'parent' => [
388 'location' => 'path',
389 'type' => 'string',
390 'required' => true,
391 ],
392 'pageSize' => [
393 'location' => 'query',
394 'type' => 'integer',
395 ],
396 'pageToken' => [
397 'location' => 'query',
398 'type' => 'string',
399 ],
400 ],
401 ],
402 ]
403 ]
404 );
405 }
406}
407
408// Adding a class alias for backwards compatibility with the previous class name.
409class_alias(Datalineage::class, 'Google_Service_Datalineage');
Note: See TracBrowser for help on using the repository browser.