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