google-apis-datamigration_v1beta1 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-datamigration_v1beta1.rb +15 -0
- data/lib/google/apis/datamigration_v1beta1.rb +36 -0
- data/lib/google/apis/datamigration_v1beta1/classes.rb +1663 -0
- data/lib/google/apis/datamigration_v1beta1/gem_version.rb +28 -0
- data/lib/google/apis/datamigration_v1beta1/representations.rb +677 -0
- data/lib/google/apis/datamigration_v1beta1/service.rb +1174 -0
- metadata +76 -0
@@ -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 DatamigrationV1beta1
|
18
|
+
# Version of the google-apis-datamigration_v1beta1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20201229"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,677 @@
|
|
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 DatamigrationV1beta1
|
24
|
+
|
25
|
+
class AuditConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AuditLogConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Binding
|
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 CloudSqlConnectionProfile
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class CloudSqlSettings
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ConnectionProfile
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class DatabaseType
|
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 Expr
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GenerateSshScriptRequest
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudClouddmsV1beta1OperationMetadata
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ListConnectionProfilesResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ListLocationsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ListMigrationJobsResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ListOperationsResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class Location
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class MigrationJob
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class MigrationJobVerificationError
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class MySqlConnectionProfile
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class Operation
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class Policy
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class PromoteMigrationJobRequest
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class RestartMigrationJobRequest
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class ResumeMigrationJobRequest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class ReverseSshConnectivity
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class SetIamPolicyRequest
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class SqlAclEntry
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class SqlIpConfig
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class SshScript
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class SslConfig
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class StartMigrationJobRequest
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class StaticIpConnectivity
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class Status
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class StopMigrationJobRequest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class TestIamPermissionsRequest
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class TestIamPermissionsResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class VerifyMigrationJobRequest
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class VmCreationConfig
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class VmSelectionConfig
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class VpcPeeringConnectivity
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class AuditConfig
|
272
|
+
# @private
|
273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
274
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::DatamigrationV1beta1::AuditLogConfig, decorator: Google::Apis::DatamigrationV1beta1::AuditLogConfig::Representation
|
275
|
+
|
276
|
+
property :service, as: 'service'
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class AuditLogConfig
|
281
|
+
# @private
|
282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
283
|
+
collection :exempted_members, as: 'exemptedMembers'
|
284
|
+
property :log_type, as: 'logType'
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
class Binding
|
289
|
+
# @private
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
291
|
+
property :condition, as: 'condition', class: Google::Apis::DatamigrationV1beta1::Expr, decorator: Google::Apis::DatamigrationV1beta1::Expr::Representation
|
292
|
+
|
293
|
+
collection :members, as: 'members'
|
294
|
+
property :role, as: 'role'
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
class CancelOperationRequest
|
299
|
+
# @private
|
300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
class CloudSqlConnectionProfile
|
305
|
+
# @private
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
307
|
+
property :cloud_sql_id, as: 'cloudSqlId'
|
308
|
+
property :private_ip, as: 'privateIp'
|
309
|
+
property :public_ip, as: 'publicIp'
|
310
|
+
property :settings, as: 'settings', class: Google::Apis::DatamigrationV1beta1::CloudSqlSettings, decorator: Google::Apis::DatamigrationV1beta1::CloudSqlSettings::Representation
|
311
|
+
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
class CloudSqlSettings
|
316
|
+
# @private
|
317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
318
|
+
property :activation_policy, as: 'activationPolicy'
|
319
|
+
property :auto_storage_increase, as: 'autoStorageIncrease'
|
320
|
+
property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
|
321
|
+
property :data_disk_type, as: 'dataDiskType'
|
322
|
+
hash :database_flags, as: 'databaseFlags'
|
323
|
+
property :database_version, as: 'databaseVersion'
|
324
|
+
property :ip_config, as: 'ipConfig', class: Google::Apis::DatamigrationV1beta1::SqlIpConfig, decorator: Google::Apis::DatamigrationV1beta1::SqlIpConfig::Representation
|
325
|
+
|
326
|
+
property :root_password, as: 'rootPassword'
|
327
|
+
property :root_password_set, as: 'rootPasswordSet'
|
328
|
+
property :source_id, as: 'sourceId'
|
329
|
+
property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
|
330
|
+
property :tier, as: 'tier'
|
331
|
+
hash :user_labels, as: 'userLabels'
|
332
|
+
property :zone, as: 'zone'
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
class ConnectionProfile
|
337
|
+
# @private
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
339
|
+
property :cloudsql, as: 'cloudsql', class: Google::Apis::DatamigrationV1beta1::CloudSqlConnectionProfile, decorator: Google::Apis::DatamigrationV1beta1::CloudSqlConnectionProfile::Representation
|
340
|
+
|
341
|
+
property :create_time, as: 'createTime'
|
342
|
+
property :display_name, as: 'displayName'
|
343
|
+
property :error, as: 'error', class: Google::Apis::DatamigrationV1beta1::Status, decorator: Google::Apis::DatamigrationV1beta1::Status::Representation
|
344
|
+
|
345
|
+
hash :labels, as: 'labels'
|
346
|
+
property :mysql, as: 'mysql', class: Google::Apis::DatamigrationV1beta1::MySqlConnectionProfile, decorator: Google::Apis::DatamigrationV1beta1::MySqlConnectionProfile::Representation
|
347
|
+
|
348
|
+
property :name, as: 'name'
|
349
|
+
property :provider, as: 'provider'
|
350
|
+
property :state, as: 'state'
|
351
|
+
property :update_time, as: 'updateTime'
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
class DatabaseType
|
356
|
+
# @private
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
358
|
+
property :engine, as: 'engine'
|
359
|
+
property :provider, as: 'provider'
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
class Empty
|
364
|
+
# @private
|
365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
class Expr
|
370
|
+
# @private
|
371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
372
|
+
property :description, as: 'description'
|
373
|
+
property :expression, as: 'expression'
|
374
|
+
property :location, as: 'location'
|
375
|
+
property :title, as: 'title'
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
class GenerateSshScriptRequest
|
380
|
+
# @private
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
382
|
+
property :vm, as: 'vm'
|
383
|
+
property :vm_creation_config, as: 'vmCreationConfig', class: Google::Apis::DatamigrationV1beta1::VmCreationConfig, decorator: Google::Apis::DatamigrationV1beta1::VmCreationConfig::Representation
|
384
|
+
|
385
|
+
property :vm_port, as: 'vmPort'
|
386
|
+
property :vm_selection_config, as: 'vmSelectionConfig', class: Google::Apis::DatamigrationV1beta1::VmSelectionConfig, decorator: Google::Apis::DatamigrationV1beta1::VmSelectionConfig::Representation
|
387
|
+
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
class GoogleCloudClouddmsV1beta1OperationMetadata
|
392
|
+
# @private
|
393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
394
|
+
property :api_version, as: 'apiVersion'
|
395
|
+
property :create_time, as: 'createTime'
|
396
|
+
property :end_time, as: 'endTime'
|
397
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
398
|
+
property :status_message, as: 'statusMessage'
|
399
|
+
property :target, as: 'target'
|
400
|
+
property :verb, as: 'verb'
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
class ListConnectionProfilesResponse
|
405
|
+
# @private
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
407
|
+
collection :connection_profiles, as: 'connectionProfiles', class: Google::Apis::DatamigrationV1beta1::ConnectionProfile, decorator: Google::Apis::DatamigrationV1beta1::ConnectionProfile::Representation
|
408
|
+
|
409
|
+
property :next_page_token, as: 'nextPageToken'
|
410
|
+
collection :unreachable, as: 'unreachable'
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
class ListLocationsResponse
|
415
|
+
# @private
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
417
|
+
collection :locations, as: 'locations', class: Google::Apis::DatamigrationV1beta1::Location, decorator: Google::Apis::DatamigrationV1beta1::Location::Representation
|
418
|
+
|
419
|
+
property :next_page_token, as: 'nextPageToken'
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
class ListMigrationJobsResponse
|
424
|
+
# @private
|
425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
426
|
+
collection :migration_jobs, as: 'migrationJobs', class: Google::Apis::DatamigrationV1beta1::MigrationJob, decorator: Google::Apis::DatamigrationV1beta1::MigrationJob::Representation
|
427
|
+
|
428
|
+
property :next_page_token, as: 'nextPageToken'
|
429
|
+
collection :unreachable, as: 'unreachable'
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
class ListOperationsResponse
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :next_page_token, as: 'nextPageToken'
|
437
|
+
collection :operations, as: 'operations', class: Google::Apis::DatamigrationV1beta1::Operation, decorator: Google::Apis::DatamigrationV1beta1::Operation::Representation
|
438
|
+
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
442
|
+
class Location
|
443
|
+
# @private
|
444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
445
|
+
property :display_name, as: 'displayName'
|
446
|
+
hash :labels, as: 'labels'
|
447
|
+
property :location_id, as: 'locationId'
|
448
|
+
hash :metadata, as: 'metadata'
|
449
|
+
property :name, as: 'name'
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
class MigrationJob
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
property :create_time, as: 'createTime'
|
457
|
+
property :destination, as: 'destination'
|
458
|
+
property :destination_database, as: 'destinationDatabase', class: Google::Apis::DatamigrationV1beta1::DatabaseType, decorator: Google::Apis::DatamigrationV1beta1::DatabaseType::Representation
|
459
|
+
|
460
|
+
property :display_name, as: 'displayName'
|
461
|
+
property :dump_path, as: 'dumpPath'
|
462
|
+
property :duration, as: 'duration'
|
463
|
+
property :end_time, as: 'endTime'
|
464
|
+
property :error, as: 'error', class: Google::Apis::DatamigrationV1beta1::Status, decorator: Google::Apis::DatamigrationV1beta1::Status::Representation
|
465
|
+
|
466
|
+
hash :labels, as: 'labels'
|
467
|
+
property :name, as: 'name'
|
468
|
+
property :phase, as: 'phase'
|
469
|
+
property :reverse_ssh_connectivity, as: 'reverseSshConnectivity', class: Google::Apis::DatamigrationV1beta1::ReverseSshConnectivity, decorator: Google::Apis::DatamigrationV1beta1::ReverseSshConnectivity::Representation
|
470
|
+
|
471
|
+
property :source, as: 'source'
|
472
|
+
property :source_database, as: 'sourceDatabase', class: Google::Apis::DatamigrationV1beta1::DatabaseType, decorator: Google::Apis::DatamigrationV1beta1::DatabaseType::Representation
|
473
|
+
|
474
|
+
property :state, as: 'state'
|
475
|
+
property :static_ip_connectivity, as: 'staticIpConnectivity', class: Google::Apis::DatamigrationV1beta1::StaticIpConnectivity, decorator: Google::Apis::DatamigrationV1beta1::StaticIpConnectivity::Representation
|
476
|
+
|
477
|
+
property :type, as: 'type'
|
478
|
+
property :update_time, as: 'updateTime'
|
479
|
+
property :vpc_peering_connectivity, as: 'vpcPeeringConnectivity', class: Google::Apis::DatamigrationV1beta1::VpcPeeringConnectivity, decorator: Google::Apis::DatamigrationV1beta1::VpcPeeringConnectivity::Representation
|
480
|
+
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
class MigrationJobVerificationError
|
485
|
+
# @private
|
486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
+
property :error_code, as: 'errorCode'
|
488
|
+
property :error_detail_message, as: 'errorDetailMessage'
|
489
|
+
property :error_message, as: 'errorMessage'
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
class MySqlConnectionProfile
|
494
|
+
# @private
|
495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
496
|
+
property :cloud_sql_id, as: 'cloudSqlId'
|
497
|
+
property :host, as: 'host'
|
498
|
+
property :password, as: 'password'
|
499
|
+
property :password_set, as: 'passwordSet'
|
500
|
+
property :port, as: 'port'
|
501
|
+
property :ssl, as: 'ssl', class: Google::Apis::DatamigrationV1beta1::SslConfig, decorator: Google::Apis::DatamigrationV1beta1::SslConfig::Representation
|
502
|
+
|
503
|
+
property :username, as: 'username'
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
507
|
+
class Operation
|
508
|
+
# @private
|
509
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
510
|
+
property :done, as: 'done'
|
511
|
+
property :error, as: 'error', class: Google::Apis::DatamigrationV1beta1::Status, decorator: Google::Apis::DatamigrationV1beta1::Status::Representation
|
512
|
+
|
513
|
+
hash :metadata, as: 'metadata'
|
514
|
+
property :name, as: 'name'
|
515
|
+
hash :response, as: 'response'
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
class Policy
|
520
|
+
# @private
|
521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
522
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::DatamigrationV1beta1::AuditConfig, decorator: Google::Apis::DatamigrationV1beta1::AuditConfig::Representation
|
523
|
+
|
524
|
+
collection :bindings, as: 'bindings', class: Google::Apis::DatamigrationV1beta1::Binding, decorator: Google::Apis::DatamigrationV1beta1::Binding::Representation
|
525
|
+
|
526
|
+
property :etag, :base64 => true, as: 'etag'
|
527
|
+
property :version, as: 'version'
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
class PromoteMigrationJobRequest
|
532
|
+
# @private
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
537
|
+
class RestartMigrationJobRequest
|
538
|
+
# @private
|
539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
class ResumeMigrationJobRequest
|
544
|
+
# @private
|
545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
546
|
+
end
|
547
|
+
end
|
548
|
+
|
549
|
+
class ReverseSshConnectivity
|
550
|
+
# @private
|
551
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
552
|
+
property :vm, as: 'vm'
|
553
|
+
property :vm_ip, as: 'vmIp'
|
554
|
+
property :vm_port, as: 'vmPort'
|
555
|
+
property :vpc, as: 'vpc'
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
559
|
+
class SetIamPolicyRequest
|
560
|
+
# @private
|
561
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
562
|
+
property :policy, as: 'policy', class: Google::Apis::DatamigrationV1beta1::Policy, decorator: Google::Apis::DatamigrationV1beta1::Policy::Representation
|
563
|
+
|
564
|
+
property :update_mask, as: 'updateMask'
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
class SqlAclEntry
|
569
|
+
# @private
|
570
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
571
|
+
property :expire_time, as: 'expireTime'
|
572
|
+
property :label, as: 'label'
|
573
|
+
property :ttl, as: 'ttl'
|
574
|
+
property :value, as: 'value'
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
578
|
+
class SqlIpConfig
|
579
|
+
# @private
|
580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
581
|
+
collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::DatamigrationV1beta1::SqlAclEntry, decorator: Google::Apis::DatamigrationV1beta1::SqlAclEntry::Representation
|
582
|
+
|
583
|
+
property :enable_ipv4, as: 'enableIpv4'
|
584
|
+
property :private_network, as: 'privateNetwork'
|
585
|
+
property :require_ssl, as: 'requireSsl'
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
class SshScript
|
590
|
+
# @private
|
591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
592
|
+
property :script, as: 'script'
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
class SslConfig
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
property :ca_certificate, as: 'caCertificate'
|
600
|
+
property :client_certificate, as: 'clientCertificate'
|
601
|
+
property :client_key, as: 'clientKey'
|
602
|
+
property :type, as: 'type'
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
class StartMigrationJobRequest
|
607
|
+
# @private
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
class StaticIpConnectivity
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
|
+
class Status
|
619
|
+
# @private
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
621
|
+
property :code, as: 'code'
|
622
|
+
collection :details, as: 'details'
|
623
|
+
property :message, as: 'message'
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
class StopMigrationJobRequest
|
628
|
+
# @private
|
629
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
class TestIamPermissionsRequest
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
collection :permissions, as: 'permissions'
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
class TestIamPermissionsResponse
|
641
|
+
# @private
|
642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
643
|
+
collection :permissions, as: 'permissions'
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
class VerifyMigrationJobRequest
|
648
|
+
# @private
|
649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
653
|
+
class VmCreationConfig
|
654
|
+
# @private
|
655
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
656
|
+
property :subnet, as: 'subnet'
|
657
|
+
property :vm_machine_type, as: 'vmMachineType'
|
658
|
+
property :vm_zone, as: 'vmZone'
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
662
|
+
class VmSelectionConfig
|
663
|
+
# @private
|
664
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
665
|
+
property :vm_zone, as: 'vmZone'
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
class VpcPeeringConnectivity
|
670
|
+
# @private
|
671
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
672
|
+
property :vpc, as: 'vpc'
|
673
|
+
end
|
674
|
+
end
|
675
|
+
end
|
676
|
+
end
|
677
|
+
end
|