google-apis-datastream_v1alpha1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/datastream_v1alpha1/classes.rb +1794 -0
- data/lib/google/apis/datastream_v1alpha1/gem_version.rb +28 -0
- data/lib/google/apis/datastream_v1alpha1/representations.rb +858 -0
- data/lib/google/apis/datastream_v1alpha1/service.rb +1190 -0
- data/lib/google/apis/datastream_v1alpha1.rb +36 -0
- data/lib/google-apis-datastream_v1alpha1.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,858 @@
|
|
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 DatastreamV1alpha1
|
24
|
+
|
25
|
+
class AvroFileFormat
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class BackfillAllStrategy
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BackfillNoneStrategy
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class CancelOperationRequest
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class ConnectionProfile
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class DestinationConfig
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class DiscoverConnectionProfileRequest
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class DiscoverConnectionProfileResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class Empty
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class Error
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class FetchErrorsRequest
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class FetchErrorsResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class FetchStaticIpsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ForwardSshTunnelConnectivity
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GcsDestinationConfig
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GcsProfile
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class JsonFileFormat
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ListConnectionProfilesResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class ListLocationsResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class ListOperationsResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class ListPrivateConnectionsResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class ListRoutesResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class ListStreamsResponse
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class Location
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class MysqlColumn
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class MysqlDatabase
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class MysqlProfile
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class MysqlRdbms
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class MysqlSourceConfig
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class MysqlSslConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class MysqlTable
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class NoConnectivitySettings
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class Operation
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class OperationMetadata
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class OracleColumn
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class OracleProfile
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class OracleRdbms
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class OracleSchema
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class OracleSourceConfig
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class OracleTable
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class PrivateConnection
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class PrivateConnectivity
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class Route
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class SourceConfig
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class StaticServiceIpConnectivity
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class Status
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class Stream
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class Validation
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class ValidationMessage
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class ValidationResult
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class VpcPeeringConfig
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class AvroFileFormat
|
332
|
+
# @private
|
333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
class BackfillAllStrategy
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
property :mysql_excluded_objects, as: 'mysqlExcludedObjects', class: Google::Apis::DatastreamV1alpha1::MysqlRdbms, decorator: Google::Apis::DatastreamV1alpha1::MysqlRdbms::Representation
|
341
|
+
|
342
|
+
property :oracle_excluded_objects, as: 'oracleExcludedObjects', class: Google::Apis::DatastreamV1alpha1::OracleRdbms, decorator: Google::Apis::DatastreamV1alpha1::OracleRdbms::Representation
|
343
|
+
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class BackfillNoneStrategy
|
348
|
+
# @private
|
349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
class CancelOperationRequest
|
354
|
+
# @private
|
355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
class ConnectionProfile
|
360
|
+
# @private
|
361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
+
property :create_time, as: 'createTime'
|
363
|
+
property :display_name, as: 'displayName'
|
364
|
+
property :forward_ssh_connectivity, as: 'forwardSshConnectivity', class: Google::Apis::DatastreamV1alpha1::ForwardSshTunnelConnectivity, decorator: Google::Apis::DatastreamV1alpha1::ForwardSshTunnelConnectivity::Representation
|
365
|
+
|
366
|
+
property :gcs_profile, as: 'gcsProfile', class: Google::Apis::DatastreamV1alpha1::GcsProfile, decorator: Google::Apis::DatastreamV1alpha1::GcsProfile::Representation
|
367
|
+
|
368
|
+
hash :labels, as: 'labels'
|
369
|
+
property :mysql_profile, as: 'mysqlProfile', class: Google::Apis::DatastreamV1alpha1::MysqlProfile, decorator: Google::Apis::DatastreamV1alpha1::MysqlProfile::Representation
|
370
|
+
|
371
|
+
property :name, as: 'name'
|
372
|
+
property :no_connectivity, as: 'noConnectivity', class: Google::Apis::DatastreamV1alpha1::NoConnectivitySettings, decorator: Google::Apis::DatastreamV1alpha1::NoConnectivitySettings::Representation
|
373
|
+
|
374
|
+
property :oracle_profile, as: 'oracleProfile', class: Google::Apis::DatastreamV1alpha1::OracleProfile, decorator: Google::Apis::DatastreamV1alpha1::OracleProfile::Representation
|
375
|
+
|
376
|
+
property :private_connectivity, as: 'privateConnectivity', class: Google::Apis::DatastreamV1alpha1::PrivateConnectivity, decorator: Google::Apis::DatastreamV1alpha1::PrivateConnectivity::Representation
|
377
|
+
|
378
|
+
property :static_service_ip_connectivity, as: 'staticServiceIpConnectivity', class: Google::Apis::DatastreamV1alpha1::StaticServiceIpConnectivity, decorator: Google::Apis::DatastreamV1alpha1::StaticServiceIpConnectivity::Representation
|
379
|
+
|
380
|
+
property :update_time, as: 'updateTime'
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
class DestinationConfig
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
property :destination_connection_profile_name, as: 'destinationConnectionProfileName'
|
388
|
+
property :gcs_destination_config, as: 'gcsDestinationConfig', class: Google::Apis::DatastreamV1alpha1::GcsDestinationConfig, decorator: Google::Apis::DatastreamV1alpha1::GcsDestinationConfig::Representation
|
389
|
+
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
class DiscoverConnectionProfileRequest
|
394
|
+
# @private
|
395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
396
|
+
property :connection_profile, as: 'connectionProfile', class: Google::Apis::DatastreamV1alpha1::ConnectionProfile, decorator: Google::Apis::DatastreamV1alpha1::ConnectionProfile::Representation
|
397
|
+
|
398
|
+
property :connection_profile_name, as: 'connectionProfileName'
|
399
|
+
property :mysql_rdbms, as: 'mysqlRdbms', class: Google::Apis::DatastreamV1alpha1::MysqlRdbms, decorator: Google::Apis::DatastreamV1alpha1::MysqlRdbms::Representation
|
400
|
+
|
401
|
+
property :oracle_rdbms, as: 'oracleRdbms', class: Google::Apis::DatastreamV1alpha1::OracleRdbms, decorator: Google::Apis::DatastreamV1alpha1::OracleRdbms::Representation
|
402
|
+
|
403
|
+
property :recursion_depth, as: 'recursionDepth'
|
404
|
+
property :recursive, as: 'recursive'
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
class DiscoverConnectionProfileResponse
|
409
|
+
# @private
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
411
|
+
property :mysql_rdbms, as: 'mysqlRdbms', class: Google::Apis::DatastreamV1alpha1::MysqlRdbms, decorator: Google::Apis::DatastreamV1alpha1::MysqlRdbms::Representation
|
412
|
+
|
413
|
+
property :oracle_rdbms, as: 'oracleRdbms', class: Google::Apis::DatastreamV1alpha1::OracleRdbms, decorator: Google::Apis::DatastreamV1alpha1::OracleRdbms::Representation
|
414
|
+
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
class Empty
|
419
|
+
# @private
|
420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class Error
|
425
|
+
# @private
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
hash :details, as: 'details'
|
428
|
+
property :error_time, as: 'errorTime'
|
429
|
+
property :error_uuid, as: 'errorUuid'
|
430
|
+
property :message, as: 'message'
|
431
|
+
property :reason, as: 'reason'
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
class FetchErrorsRequest
|
436
|
+
# @private
|
437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
class FetchErrorsResponse
|
442
|
+
# @private
|
443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
collection :errors, as: 'errors', class: Google::Apis::DatastreamV1alpha1::Error, decorator: Google::Apis::DatastreamV1alpha1::Error::Representation
|
445
|
+
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
class FetchStaticIpsResponse
|
450
|
+
# @private
|
451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
452
|
+
property :next_page_token, as: 'nextPageToken'
|
453
|
+
collection :static_ips, as: 'staticIps'
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
class ForwardSshTunnelConnectivity
|
458
|
+
# @private
|
459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
460
|
+
property :hostname, as: 'hostname'
|
461
|
+
property :password, as: 'password'
|
462
|
+
property :port, as: 'port'
|
463
|
+
property :private_key, as: 'privateKey'
|
464
|
+
property :username, as: 'username'
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
class GcsDestinationConfig
|
469
|
+
# @private
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
471
|
+
property :avro_file_format, as: 'avroFileFormat', class: Google::Apis::DatastreamV1alpha1::AvroFileFormat, decorator: Google::Apis::DatastreamV1alpha1::AvroFileFormat::Representation
|
472
|
+
|
473
|
+
property :file_rotation_interval, as: 'fileRotationInterval'
|
474
|
+
property :file_rotation_mb, as: 'fileRotationMb'
|
475
|
+
property :gcs_file_format, as: 'gcsFileFormat'
|
476
|
+
property :json_file_format, as: 'jsonFileFormat', class: Google::Apis::DatastreamV1alpha1::JsonFileFormat, decorator: Google::Apis::DatastreamV1alpha1::JsonFileFormat::Representation
|
477
|
+
|
478
|
+
property :path, as: 'path'
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
class GcsProfile
|
483
|
+
# @private
|
484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
485
|
+
property :bucket_name, as: 'bucketName'
|
486
|
+
property :root_path, as: 'rootPath'
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
class JsonFileFormat
|
491
|
+
# @private
|
492
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
493
|
+
property :compression, as: 'compression'
|
494
|
+
property :schema_file_format, as: 'schemaFileFormat'
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class ListConnectionProfilesResponse
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
collection :connection_profiles, as: 'connectionProfiles', class: Google::Apis::DatastreamV1alpha1::ConnectionProfile, decorator: Google::Apis::DatastreamV1alpha1::ConnectionProfile::Representation
|
502
|
+
|
503
|
+
property :next_page_token, as: 'nextPageToken'
|
504
|
+
collection :unreachable, as: 'unreachable'
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
class ListLocationsResponse
|
509
|
+
# @private
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
+
collection :locations, as: 'locations', class: Google::Apis::DatastreamV1alpha1::Location, decorator: Google::Apis::DatastreamV1alpha1::Location::Representation
|
512
|
+
|
513
|
+
property :next_page_token, as: 'nextPageToken'
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
517
|
+
class ListOperationsResponse
|
518
|
+
# @private
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
+
property :next_page_token, as: 'nextPageToken'
|
521
|
+
collection :operations, as: 'operations', class: Google::Apis::DatastreamV1alpha1::Operation, decorator: Google::Apis::DatastreamV1alpha1::Operation::Representation
|
522
|
+
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
class ListPrivateConnectionsResponse
|
527
|
+
# @private
|
528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
529
|
+
property :next_page_token, as: 'nextPageToken'
|
530
|
+
collection :private_connections, as: 'privateConnections', class: Google::Apis::DatastreamV1alpha1::PrivateConnection, decorator: Google::Apis::DatastreamV1alpha1::PrivateConnection::Representation
|
531
|
+
|
532
|
+
collection :unreachable, as: 'unreachable'
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
class ListRoutesResponse
|
537
|
+
# @private
|
538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
539
|
+
property :next_page_token, as: 'nextPageToken'
|
540
|
+
collection :routes, as: 'routes', class: Google::Apis::DatastreamV1alpha1::Route, decorator: Google::Apis::DatastreamV1alpha1::Route::Representation
|
541
|
+
|
542
|
+
collection :unreachable, as: 'unreachable'
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
class ListStreamsResponse
|
547
|
+
# @private
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
549
|
+
property :next_page_token, as: 'nextPageToken'
|
550
|
+
collection :streams, as: 'streams', class: Google::Apis::DatastreamV1alpha1::Stream, decorator: Google::Apis::DatastreamV1alpha1::Stream::Representation
|
551
|
+
|
552
|
+
collection :unreachable, as: 'unreachable'
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
class Location
|
557
|
+
# @private
|
558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
559
|
+
property :display_name, as: 'displayName'
|
560
|
+
hash :labels, as: 'labels'
|
561
|
+
property :location_id, as: 'locationId'
|
562
|
+
hash :metadata, as: 'metadata'
|
563
|
+
property :name, as: 'name'
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
class MysqlColumn
|
568
|
+
# @private
|
569
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
570
|
+
property :collation, as: 'collation'
|
571
|
+
property :column_name, as: 'columnName'
|
572
|
+
property :data_type, as: 'dataType'
|
573
|
+
property :length, as: 'length'
|
574
|
+
property :nullable, as: 'nullable'
|
575
|
+
property :ordinal_position, as: 'ordinalPosition'
|
576
|
+
property :primary_key, as: 'primaryKey'
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
class MysqlDatabase
|
581
|
+
# @private
|
582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
583
|
+
property :database_name, as: 'databaseName'
|
584
|
+
collection :mysql_tables, as: 'mysqlTables', class: Google::Apis::DatastreamV1alpha1::MysqlTable, decorator: Google::Apis::DatastreamV1alpha1::MysqlTable::Representation
|
585
|
+
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
class MysqlProfile
|
590
|
+
# @private
|
591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
592
|
+
property :hostname, as: 'hostname'
|
593
|
+
property :password, as: 'password'
|
594
|
+
property :port, as: 'port'
|
595
|
+
property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1alpha1::MysqlSslConfig, decorator: Google::Apis::DatastreamV1alpha1::MysqlSslConfig::Representation
|
596
|
+
|
597
|
+
property :username, as: 'username'
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
class MysqlRdbms
|
602
|
+
# @private
|
603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
604
|
+
collection :mysql_databases, as: 'mysqlDatabases', class: Google::Apis::DatastreamV1alpha1::MysqlDatabase, decorator: Google::Apis::DatastreamV1alpha1::MysqlDatabase::Representation
|
605
|
+
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
609
|
+
class MysqlSourceConfig
|
610
|
+
# @private
|
611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
612
|
+
property :allowlist, as: 'allowlist', class: Google::Apis::DatastreamV1alpha1::MysqlRdbms, decorator: Google::Apis::DatastreamV1alpha1::MysqlRdbms::Representation
|
613
|
+
|
614
|
+
property :rejectlist, as: 'rejectlist', class: Google::Apis::DatastreamV1alpha1::MysqlRdbms, decorator: Google::Apis::DatastreamV1alpha1::MysqlRdbms::Representation
|
615
|
+
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
class MysqlSslConfig
|
620
|
+
# @private
|
621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
622
|
+
property :ca_certificate, as: 'caCertificate'
|
623
|
+
property :ca_certificate_set, as: 'caCertificateSet'
|
624
|
+
property :client_certificate, as: 'clientCertificate'
|
625
|
+
property :client_certificate_set, as: 'clientCertificateSet'
|
626
|
+
property :client_key, as: 'clientKey'
|
627
|
+
property :client_key_set, as: 'clientKeySet'
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
class MysqlTable
|
632
|
+
# @private
|
633
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
634
|
+
collection :mysql_columns, as: 'mysqlColumns', class: Google::Apis::DatastreamV1alpha1::MysqlColumn, decorator: Google::Apis::DatastreamV1alpha1::MysqlColumn::Representation
|
635
|
+
|
636
|
+
property :table_name, as: 'tableName'
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
class NoConnectivitySettings
|
641
|
+
# @private
|
642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
646
|
+
class Operation
|
647
|
+
# @private
|
648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
property :done, as: 'done'
|
650
|
+
property :error, as: 'error', class: Google::Apis::DatastreamV1alpha1::Status, decorator: Google::Apis::DatastreamV1alpha1::Status::Representation
|
651
|
+
|
652
|
+
hash :metadata, as: 'metadata'
|
653
|
+
property :name, as: 'name'
|
654
|
+
hash :response, as: 'response'
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class OperationMetadata
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
property :api_version, as: 'apiVersion'
|
662
|
+
property :create_time, as: 'createTime'
|
663
|
+
property :end_time, as: 'endTime'
|
664
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
665
|
+
property :status_message, as: 'statusMessage'
|
666
|
+
property :target, as: 'target'
|
667
|
+
property :validation_result, as: 'validationResult', class: Google::Apis::DatastreamV1alpha1::ValidationResult, decorator: Google::Apis::DatastreamV1alpha1::ValidationResult::Representation
|
668
|
+
|
669
|
+
property :verb, as: 'verb'
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
class OracleColumn
|
674
|
+
# @private
|
675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
676
|
+
property :column_name, as: 'columnName'
|
677
|
+
property :data_type, as: 'dataType'
|
678
|
+
property :encoding, as: 'encoding'
|
679
|
+
property :length, as: 'length'
|
680
|
+
property :nullable, as: 'nullable'
|
681
|
+
property :ordinal_position, as: 'ordinalPosition'
|
682
|
+
property :precision, as: 'precision'
|
683
|
+
property :primary_key, as: 'primaryKey'
|
684
|
+
property :scale, as: 'scale'
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
class OracleProfile
|
689
|
+
# @private
|
690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
691
|
+
hash :connection_attributes, as: 'connectionAttributes'
|
692
|
+
property :database_service, as: 'databaseService'
|
693
|
+
property :hostname, as: 'hostname'
|
694
|
+
property :password, as: 'password'
|
695
|
+
property :port, as: 'port'
|
696
|
+
property :username, as: 'username'
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
class OracleRdbms
|
701
|
+
# @private
|
702
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
703
|
+
collection :oracle_schemas, as: 'oracleSchemas', class: Google::Apis::DatastreamV1alpha1::OracleSchema, decorator: Google::Apis::DatastreamV1alpha1::OracleSchema::Representation
|
704
|
+
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
class OracleSchema
|
709
|
+
# @private
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
711
|
+
collection :oracle_tables, as: 'oracleTables', class: Google::Apis::DatastreamV1alpha1::OracleTable, decorator: Google::Apis::DatastreamV1alpha1::OracleTable::Representation
|
712
|
+
|
713
|
+
property :schema_name, as: 'schemaName'
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
717
|
+
class OracleSourceConfig
|
718
|
+
# @private
|
719
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
720
|
+
property :allowlist, as: 'allowlist', class: Google::Apis::DatastreamV1alpha1::OracleRdbms, decorator: Google::Apis::DatastreamV1alpha1::OracleRdbms::Representation
|
721
|
+
|
722
|
+
property :rejectlist, as: 'rejectlist', class: Google::Apis::DatastreamV1alpha1::OracleRdbms, decorator: Google::Apis::DatastreamV1alpha1::OracleRdbms::Representation
|
723
|
+
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
class OracleTable
|
728
|
+
# @private
|
729
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
730
|
+
collection :oracle_columns, as: 'oracleColumns', class: Google::Apis::DatastreamV1alpha1::OracleColumn, decorator: Google::Apis::DatastreamV1alpha1::OracleColumn::Representation
|
731
|
+
|
732
|
+
property :table_name, as: 'tableName'
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
class PrivateConnection
|
737
|
+
# @private
|
738
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
739
|
+
property :create_time, as: 'createTime'
|
740
|
+
property :display_name, as: 'displayName'
|
741
|
+
property :error, as: 'error', class: Google::Apis::DatastreamV1alpha1::Error, decorator: Google::Apis::DatastreamV1alpha1::Error::Representation
|
742
|
+
|
743
|
+
hash :labels, as: 'labels'
|
744
|
+
property :name, as: 'name'
|
745
|
+
property :state, as: 'state'
|
746
|
+
property :update_time, as: 'updateTime'
|
747
|
+
property :vpc_peering_config, as: 'vpcPeeringConfig', class: Google::Apis::DatastreamV1alpha1::VpcPeeringConfig, decorator: Google::Apis::DatastreamV1alpha1::VpcPeeringConfig::Representation
|
748
|
+
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
752
|
+
class PrivateConnectivity
|
753
|
+
# @private
|
754
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
755
|
+
property :private_connection_name, as: 'privateConnectionName'
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
class Route
|
760
|
+
# @private
|
761
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
762
|
+
property :create_time, as: 'createTime'
|
763
|
+
property :destination_address, as: 'destinationAddress'
|
764
|
+
property :destination_port, as: 'destinationPort'
|
765
|
+
property :display_name, as: 'displayName'
|
766
|
+
hash :labels, as: 'labels'
|
767
|
+
property :name, as: 'name'
|
768
|
+
property :update_time, as: 'updateTime'
|
769
|
+
end
|
770
|
+
end
|
771
|
+
|
772
|
+
class SourceConfig
|
773
|
+
# @private
|
774
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
775
|
+
property :mysql_source_config, as: 'mysqlSourceConfig', class: Google::Apis::DatastreamV1alpha1::MysqlSourceConfig, decorator: Google::Apis::DatastreamV1alpha1::MysqlSourceConfig::Representation
|
776
|
+
|
777
|
+
property :oracle_source_config, as: 'oracleSourceConfig', class: Google::Apis::DatastreamV1alpha1::OracleSourceConfig, decorator: Google::Apis::DatastreamV1alpha1::OracleSourceConfig::Representation
|
778
|
+
|
779
|
+
property :source_connection_profile_name, as: 'sourceConnectionProfileName'
|
780
|
+
end
|
781
|
+
end
|
782
|
+
|
783
|
+
class StaticServiceIpConnectivity
|
784
|
+
# @private
|
785
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
789
|
+
class Status
|
790
|
+
# @private
|
791
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
792
|
+
property :code, as: 'code'
|
793
|
+
collection :details, as: 'details'
|
794
|
+
property :message, as: 'message'
|
795
|
+
end
|
796
|
+
end
|
797
|
+
|
798
|
+
class Stream
|
799
|
+
# @private
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
801
|
+
property :backfill_all, as: 'backfillAll', class: Google::Apis::DatastreamV1alpha1::BackfillAllStrategy, decorator: Google::Apis::DatastreamV1alpha1::BackfillAllStrategy::Representation
|
802
|
+
|
803
|
+
property :backfill_none, as: 'backfillNone', class: Google::Apis::DatastreamV1alpha1::BackfillNoneStrategy, decorator: Google::Apis::DatastreamV1alpha1::BackfillNoneStrategy::Representation
|
804
|
+
|
805
|
+
property :create_time, as: 'createTime'
|
806
|
+
property :destination_config, as: 'destinationConfig', class: Google::Apis::DatastreamV1alpha1::DestinationConfig, decorator: Google::Apis::DatastreamV1alpha1::DestinationConfig::Representation
|
807
|
+
|
808
|
+
property :display_name, as: 'displayName'
|
809
|
+
collection :errors, as: 'errors', class: Google::Apis::DatastreamV1alpha1::Error, decorator: Google::Apis::DatastreamV1alpha1::Error::Representation
|
810
|
+
|
811
|
+
hash :labels, as: 'labels'
|
812
|
+
property :name, as: 'name'
|
813
|
+
property :source_config, as: 'sourceConfig', class: Google::Apis::DatastreamV1alpha1::SourceConfig, decorator: Google::Apis::DatastreamV1alpha1::SourceConfig::Representation
|
814
|
+
|
815
|
+
property :state, as: 'state'
|
816
|
+
property :update_time, as: 'updateTime'
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
820
|
+
class Validation
|
821
|
+
# @private
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
+
property :code, as: 'code'
|
824
|
+
property :description, as: 'description'
|
825
|
+
collection :message, as: 'message', class: Google::Apis::DatastreamV1alpha1::ValidationMessage, decorator: Google::Apis::DatastreamV1alpha1::ValidationMessage::Representation
|
826
|
+
|
827
|
+
property :status, as: 'status'
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
class ValidationMessage
|
832
|
+
# @private
|
833
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
834
|
+
property :code, as: 'code'
|
835
|
+
property :level, as: 'level'
|
836
|
+
property :message, as: 'message'
|
837
|
+
hash :metadata, as: 'metadata'
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
class ValidationResult
|
842
|
+
# @private
|
843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
844
|
+
collection :validations, as: 'validations', class: Google::Apis::DatastreamV1alpha1::Validation, decorator: Google::Apis::DatastreamV1alpha1::Validation::Representation
|
845
|
+
|
846
|
+
end
|
847
|
+
end
|
848
|
+
|
849
|
+
class VpcPeeringConfig
|
850
|
+
# @private
|
851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
852
|
+
property :subnet, as: 'subnet'
|
853
|
+
property :vpc_name, as: 'vpcName'
|
854
|
+
end
|
855
|
+
end
|
856
|
+
end
|
857
|
+
end
|
858
|
+
end
|