google-apis-datalineage_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module DatalineageV1
18
+ # Version of the google-apis-datalineage_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.12.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20230307"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,368 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module DatalineageV1
24
+
25
+ class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDatacatalogLineageV1EntityReference
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudDatacatalogLineageV1EventLink
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudDatacatalogLineageV1LineageEvent
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudDatacatalogLineageV1Link
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudDatacatalogLineageV1ListProcessesResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudDatacatalogLineageV1ListRunsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudDatacatalogLineageV1OperationMetadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudDatacatalogLineageV1Origin
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudDatacatalogLineageV1Process
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudDatacatalogLineageV1ProcessLinkInfo
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudDatacatalogLineageV1ProcessLinks
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDatacatalogLineageV1Run
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudDatacatalogLineageV1SearchLinksRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudDatacatalogLineageV1SearchLinksResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleLongrunningCancelOperationRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleLongrunningListOperationsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleLongrunningOperation
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleProtobufEmpty
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleRpcStatus
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest
158
+ # @private
159
+ class Representation < Google::Apis::Core::JsonRepresentation
160
+ collection :links, as: 'links'
161
+ property :page_size, as: 'pageSize'
162
+ property :page_token, as: 'pageToken'
163
+ end
164
+ end
165
+
166
+ class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse
167
+ # @private
168
+ class Representation < Google::Apis::Core::JsonRepresentation
169
+ property :next_page_token, as: 'nextPageToken'
170
+ collection :process_links, as: 'processLinks', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1ProcessLinks, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1ProcessLinks::Representation
171
+
172
+ end
173
+ end
174
+
175
+ class GoogleCloudDatacatalogLineageV1EntityReference
176
+ # @private
177
+ class Representation < Google::Apis::Core::JsonRepresentation
178
+ property :fully_qualified_name, as: 'fullyQualifiedName'
179
+ end
180
+ end
181
+
182
+ class GoogleCloudDatacatalogLineageV1EventLink
183
+ # @private
184
+ class Representation < Google::Apis::Core::JsonRepresentation
185
+ property :source, as: 'source', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
186
+
187
+ property :target, as: 'target', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
188
+
189
+ end
190
+ end
191
+
192
+ class GoogleCloudDatacatalogLineageV1LineageEvent
193
+ # @private
194
+ class Representation < Google::Apis::Core::JsonRepresentation
195
+ property :end_time, as: 'endTime'
196
+ collection :links, as: 'links', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EventLink, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EventLink::Representation
197
+
198
+ property :name, as: 'name'
199
+ property :start_time, as: 'startTime'
200
+ end
201
+ end
202
+
203
+ class GoogleCloudDatacatalogLineageV1Link
204
+ # @private
205
+ class Representation < Google::Apis::Core::JsonRepresentation
206
+ property :end_time, as: 'endTime'
207
+ property :name, as: 'name'
208
+ property :source, as: 'source', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
209
+
210
+ property :start_time, as: 'startTime'
211
+ property :target, as: 'target', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
212
+
213
+ end
214
+ end
215
+
216
+ class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse
217
+ # @private
218
+ class Representation < Google::Apis::Core::JsonRepresentation
219
+ collection :lineage_events, as: 'lineageEvents', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageEvent, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageEvent::Representation
220
+
221
+ property :next_page_token, as: 'nextPageToken'
222
+ end
223
+ end
224
+
225
+ class GoogleCloudDatacatalogLineageV1ListProcessesResponse
226
+ # @private
227
+ class Representation < Google::Apis::Core::JsonRepresentation
228
+ property :next_page_token, as: 'nextPageToken'
229
+ collection :processes, as: 'processes', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Process, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Process::Representation
230
+
231
+ end
232
+ end
233
+
234
+ class GoogleCloudDatacatalogLineageV1ListRunsResponse
235
+ # @private
236
+ class Representation < Google::Apis::Core::JsonRepresentation
237
+ property :next_page_token, as: 'nextPageToken'
238
+ collection :runs, as: 'runs', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Run, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Run::Representation
239
+
240
+ end
241
+ end
242
+
243
+ class GoogleCloudDatacatalogLineageV1OperationMetadata
244
+ # @private
245
+ class Representation < Google::Apis::Core::JsonRepresentation
246
+ property :create_time, as: 'createTime'
247
+ property :end_time, as: 'endTime'
248
+ property :operation_type, as: 'operationType'
249
+ property :resource, as: 'resource'
250
+ property :resource_uuid, as: 'resourceUuid'
251
+ property :state, as: 'state'
252
+ end
253
+ end
254
+
255
+ class GoogleCloudDatacatalogLineageV1Origin
256
+ # @private
257
+ class Representation < Google::Apis::Core::JsonRepresentation
258
+ property :name, as: 'name'
259
+ property :source_type, as: 'sourceType'
260
+ end
261
+ end
262
+
263
+ class GoogleCloudDatacatalogLineageV1Process
264
+ # @private
265
+ class Representation < Google::Apis::Core::JsonRepresentation
266
+ hash :attributes, as: 'attributes'
267
+ property :display_name, as: 'displayName'
268
+ property :name, as: 'name'
269
+ property :origin, as: 'origin', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Origin, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Origin::Representation
270
+
271
+ end
272
+ end
273
+
274
+ class GoogleCloudDatacatalogLineageV1ProcessLinkInfo
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ property :end_time, as: 'endTime'
278
+ property :link, as: 'link'
279
+ property :start_time, as: 'startTime'
280
+ end
281
+ end
282
+
283
+ class GoogleCloudDatacatalogLineageV1ProcessLinks
284
+ # @private
285
+ class Representation < Google::Apis::Core::JsonRepresentation
286
+ collection :links, as: 'links', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1ProcessLinkInfo, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1ProcessLinkInfo::Representation
287
+
288
+ property :process, as: 'process'
289
+ end
290
+ end
291
+
292
+ class GoogleCloudDatacatalogLineageV1Run
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ hash :attributes, as: 'attributes'
296
+ property :display_name, as: 'displayName'
297
+ property :end_time, as: 'endTime'
298
+ property :name, as: 'name'
299
+ property :start_time, as: 'startTime'
300
+ property :state, as: 'state'
301
+ end
302
+ end
303
+
304
+ class GoogleCloudDatacatalogLineageV1SearchLinksRequest
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :page_size, as: 'pageSize'
308
+ property :page_token, as: 'pageToken'
309
+ property :source, as: 'source', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
310
+
311
+ property :target, as: 'target', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
312
+
313
+ end
314
+ end
315
+
316
+ class GoogleCloudDatacatalogLineageV1SearchLinksResponse
317
+ # @private
318
+ class Representation < Google::Apis::Core::JsonRepresentation
319
+ collection :links, as: 'links', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Link, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Link::Representation
320
+
321
+ property :next_page_token, as: 'nextPageToken'
322
+ end
323
+ end
324
+
325
+ class GoogleLongrunningCancelOperationRequest
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ end
329
+ end
330
+
331
+ class GoogleLongrunningListOperationsResponse
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :next_page_token, as: 'nextPageToken'
335
+ collection :operations, as: 'operations', class: Google::Apis::DatalineageV1::GoogleLongrunningOperation, decorator: Google::Apis::DatalineageV1::GoogleLongrunningOperation::Representation
336
+
337
+ end
338
+ end
339
+
340
+ class GoogleLongrunningOperation
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ property :done, as: 'done'
344
+ property :error, as: 'error', class: Google::Apis::DatalineageV1::GoogleRpcStatus, decorator: Google::Apis::DatalineageV1::GoogleRpcStatus::Representation
345
+
346
+ hash :metadata, as: 'metadata'
347
+ property :name, as: 'name'
348
+ hash :response, as: 'response'
349
+ end
350
+ end
351
+
352
+ class GoogleProtobufEmpty
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ end
356
+ end
357
+
358
+ class GoogleRpcStatus
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ property :code, as: 'code'
362
+ collection :details, as: 'details'
363
+ property :message, as: 'message'
364
+ end
365
+ end
366
+ end
367
+ end
368
+ end