google-apis-sqladmin_v1 0.2.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,18 +40,54 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class BackupContext
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class BackupRetentionSettings
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
46
52
  include Google::Apis::Core::JsonObjectSupport
47
53
  end
48
54
 
55
+ class BackupRun
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BackupRunsListResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BinLogCoordinates
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CloneContext
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
49
79
  class ConnectSettings
50
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
81
 
52
82
  include Google::Apis::Core::JsonObjectSupport
53
83
  end
54
84
 
85
+ class Database
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
55
91
  class DatabaseFlags
56
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
93
 
@@ -70,6 +106,30 @@ module Google
70
106
  include Google::Apis::Core::JsonObjectSupport
71
107
  end
72
108
 
109
+ class DatabasesListResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DemoteMasterConfiguration
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DemoteMasterContext
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DemoteMasterMySqlReplicaConfiguration
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
73
133
  class DenyMaintenancePeriod
74
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
135
 
@@ -88,6 +148,48 @@ module Google
88
148
  include Google::Apis::Core::JsonObjectSupport
89
149
  end
90
150
 
151
+ class ExportContext
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ class CsvExportOptions
155
+ class Representation < Google::Apis::Core::JsonRepresentation; end
156
+
157
+ include Google::Apis::Core::JsonObjectSupport
158
+ end
159
+
160
+ class SqlExportOptions
161
+ class Representation < Google::Apis::Core::JsonRepresentation; end
162
+
163
+ class MysqlExportOptions
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ include Google::Apis::Core::JsonObjectSupport
170
+ end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class FailoverContext
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Flag
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class FlagsListResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
91
193
  class GenerateEphemeralCertRequest
92
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
195
 
@@ -100,6 +202,30 @@ module Google
100
202
  include Google::Apis::Core::JsonObjectSupport
101
203
  end
102
204
 
205
+ class ImportContext
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ class BakImportOptions
209
+ class Representation < Google::Apis::Core::JsonRepresentation; end
210
+
211
+ class EncryptionOptions
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ include Google::Apis::Core::JsonObjectSupport
218
+ end
219
+
220
+ class CsvImportOptions
221
+ class Representation < Google::Apis::Core::JsonRepresentation; end
222
+
223
+ include Google::Apis::Core::JsonObjectSupport
224
+ end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
103
229
  class InsightsConfig
104
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
231
 
@@ -112,12 +238,66 @@ module Google
112
238
  include Google::Apis::Core::JsonObjectSupport
113
239
  end
114
240
 
241
+ class InstancesCloneRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class InstancesDemoteMasterRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class InstancesExportRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class InstancesFailoverRequest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class InstancesImportRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
115
271
  class InstancesListResponse
116
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
273
 
118
274
  include Google::Apis::Core::JsonObjectSupport
119
275
  end
120
276
 
277
+ class InstancesListServerCasResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class InstancesRestoreBackupRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class InstancesRotateServerCaRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class InstancesTruncateLogRequest
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
121
301
  class IpConfiguration
122
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
303
 
@@ -148,18 +328,66 @@ module Google
148
328
  include Google::Apis::Core::JsonObjectSupport
149
329
  end
150
330
 
331
+ class MySqlSyncConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
151
337
  class OnPremisesConfiguration
152
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
339
 
154
340
  include Google::Apis::Core::JsonObjectSupport
155
341
  end
156
342
 
343
+ class Operation
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class OperationError
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class OperationErrors
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class OperationsListResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
157
367
  class ReplicaConfiguration
158
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
369
 
160
370
  include Google::Apis::Core::JsonObjectSupport
161
371
  end
162
372
 
373
+ class Reschedule
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class RestoreBackupContext
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class RotateServerCaContext
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
163
391
  class Settings
164
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
393
 
@@ -172,6 +400,36 @@ module Google
172
400
  include Google::Apis::Core::JsonObjectSupport
173
401
  end
174
402
 
403
+ class SqlExternalSyncSettingError
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class SqlInstancesRescheduleMaintenanceRequestBody
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class SqlInstancesStartExternalSyncRequest
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class SqlInstancesVerifyExternalSyncSettingsRequest
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class SqlInstancesVerifyExternalSyncSettingsResponse
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
175
433
  class SqlOutOfDiskReport
176
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
435
 
@@ -184,18 +442,96 @@ module Google
184
442
  include Google::Apis::Core::JsonObjectSupport
185
443
  end
186
444
 
445
+ class SqlServerAuditConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class SqlServerDatabaseDetails
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class SqlServerUserDetails
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
187
463
  class SslCert
188
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
465
 
190
466
  include Google::Apis::Core::JsonObjectSupport
191
467
  end
192
468
 
469
+ class SslCertDetail
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
193
475
  class SslCertsCreateEphemeralRequest
194
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
477
 
196
478
  include Google::Apis::Core::JsonObjectSupport
197
479
  end
198
480
 
481
+ class SslCertsInsertRequest
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class SslCertsInsertResponse
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class SslCertsListResponse
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class SyncFlags
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class Tier
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class TiersListResponse
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class TruncateLogContext
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class User
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class UsersListResponse
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
199
535
  class AclEntry
200
536
  # @private
201
537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -231,6 +567,14 @@ module Google
231
567
  end
232
568
  end
233
569
 
570
+ class BackupContext
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :backup_id, :numeric_string => true, as: 'backupId'
574
+ property :kind, as: 'kind'
575
+ end
576
+ end
577
+
234
578
  class BackupRetentionSettings
235
579
  # @private
236
580
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -239,6 +583,62 @@ module Google
239
583
  end
240
584
  end
241
585
 
586
+ class BackupRun
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :backup_kind, as: 'backupKind'
590
+ property :description, as: 'description'
591
+ property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1::DiskEncryptionConfiguration::Representation
592
+
593
+ property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation
594
+
595
+ property :end_time, as: 'endTime'
596
+ property :enqueued_time, as: 'enqueuedTime'
597
+ property :error, as: 'error', class: Google::Apis::SqladminV1::OperationError, decorator: Google::Apis::SqladminV1::OperationError::Representation
598
+
599
+ property :id, :numeric_string => true, as: 'id'
600
+ property :instance, as: 'instance'
601
+ property :kind, as: 'kind'
602
+ property :location, as: 'location'
603
+ property :self_link, as: 'selfLink'
604
+ property :start_time, as: 'startTime'
605
+ property :status, as: 'status'
606
+ property :type, as: 'type'
607
+ property :window_start_time, as: 'windowStartTime'
608
+ end
609
+ end
610
+
611
+ class BackupRunsListResponse
612
+ # @private
613
+ class Representation < Google::Apis::Core::JsonRepresentation
614
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::BackupRun, decorator: Google::Apis::SqladminV1::BackupRun::Representation
615
+
616
+ property :kind, as: 'kind'
617
+ property :next_page_token, as: 'nextPageToken'
618
+ end
619
+ end
620
+
621
+ class BinLogCoordinates
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :bin_log_file_name, as: 'binLogFileName'
625
+ property :bin_log_position, :numeric_string => true, as: 'binLogPosition'
626
+ property :kind, as: 'kind'
627
+ end
628
+ end
629
+
630
+ class CloneContext
631
+ # @private
632
+ class Representation < Google::Apis::Core::JsonRepresentation
633
+ property :bin_log_coordinates, as: 'binLogCoordinates', class: Google::Apis::SqladminV1::BinLogCoordinates, decorator: Google::Apis::SqladminV1::BinLogCoordinates::Representation
634
+
635
+ property :destination_instance_name, as: 'destinationInstanceName'
636
+ property :kind, as: 'kind'
637
+ property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
638
+ property :point_in_time, as: 'pointInTime'
639
+ end
640
+ end
641
+
242
642
  class ConnectSettings
243
643
  # @private
244
644
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -247,11 +647,28 @@ module Google
247
647
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
248
648
 
249
649
  property :kind, as: 'kind'
650
+ property :region, as: 'region'
250
651
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
251
652
 
252
653
  end
253
654
  end
254
655
 
656
+ class Database
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ property :charset, as: 'charset'
660
+ property :collation, as: 'collation'
661
+ property :etag, as: 'etag'
662
+ property :instance, as: 'instance'
663
+ property :kind, as: 'kind'
664
+ property :name, as: 'name'
665
+ property :project, as: 'project'
666
+ property :self_link, as: 'selfLink'
667
+ property :sqlserver_database_details, as: 'sqlserverDatabaseDetails', class: Google::Apis::SqladminV1::SqlServerDatabaseDetails, decorator: Google::Apis::SqladminV1::SqlServerDatabaseDetails::Representation
668
+
669
+ end
670
+ end
671
+
255
672
  class DatabaseFlags
256
673
  # @private
257
674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -265,26 +682,22 @@ module Google
265
682
  class Representation < Google::Apis::Core::JsonRepresentation
266
683
  property :backend_type, as: 'backendType'
267
684
  property :connection_name, as: 'connectionName'
685
+ property :create_time, as: 'createTime'
268
686
  property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
269
687
  property :database_version, as: 'databaseVersion'
270
688
  property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1::DiskEncryptionConfiguration::Representation
271
689
 
272
690
  property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation
273
691
 
274
- property :encrypted_root_password, :base64 => true, as: 'encryptedRootPassword'
275
692
  property :etag, as: 'etag'
276
693
  property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica::Representation
277
694
 
278
695
  property :gce_zone, as: 'gceZone'
279
- property :installed_version, as: 'installedVersion'
280
696
  property :instance_type, as: 'instanceType'
281
- property :instance_uid, as: 'instanceUid'
282
697
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
283
698
 
284
699
  property :ipv6_address, as: 'ipv6Address'
285
700
  property :kind, as: 'kind'
286
- property :master_instance, as: 'masterInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
287
-
288
701
  property :master_instance_name, as: 'masterInstanceName'
289
702
  property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
290
703
  property :name, as: 'name'
@@ -296,8 +709,6 @@ module Google
296
709
  property :region, as: 'region'
297
710
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::ReplicaConfiguration, decorator: Google::Apis::SqladminV1::ReplicaConfiguration::Representation
298
711
 
299
- collection :replica_instances, as: 'replicaInstances', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
300
-
301
712
  collection :replica_names, as: 'replicaNames'
302
713
  property :root_password, as: 'rootPassword'
303
714
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -317,72 +728,273 @@ module Google
317
728
  class FailoverReplica
318
729
  # @private
319
730
  class Representation < Google::Apis::Core::JsonRepresentation
320
- property :available, as: 'available'
321
- property :failover_instance, as: 'failoverInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
322
-
323
- property :name, as: 'name'
731
+ property :available, as: 'available'
732
+ property :name, as: 'name'
733
+ end
734
+ end
735
+ end
736
+
737
+ class DatabasesListResponse
738
+ # @private
739
+ class Representation < Google::Apis::Core::JsonRepresentation
740
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Database, decorator: Google::Apis::SqladminV1::Database::Representation
741
+
742
+ property :kind, as: 'kind'
743
+ end
744
+ end
745
+
746
+ class DemoteMasterConfiguration
747
+ # @private
748
+ class Representation < Google::Apis::Core::JsonRepresentation
749
+ property :kind, as: 'kind'
750
+ property :mysql_replica_configuration, as: 'mysqlReplicaConfiguration', class: Google::Apis::SqladminV1::DemoteMasterMySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1::DemoteMasterMySqlReplicaConfiguration::Representation
751
+
752
+ end
753
+ end
754
+
755
+ class DemoteMasterContext
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :kind, as: 'kind'
759
+ property :master_instance_name, as: 'masterInstanceName'
760
+ property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::DemoteMasterConfiguration, decorator: Google::Apis::SqladminV1::DemoteMasterConfiguration::Representation
761
+
762
+ property :skip_replication_setup, as: 'skipReplicationSetup'
763
+ property :verify_gtid_consistency, as: 'verifyGtidConsistency'
764
+ end
765
+ end
766
+
767
+ class DemoteMasterMySqlReplicaConfiguration
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :ca_certificate, as: 'caCertificate'
771
+ property :client_certificate, as: 'clientCertificate'
772
+ property :client_key, as: 'clientKey'
773
+ property :kind, as: 'kind'
774
+ property :password, as: 'password'
775
+ property :username, as: 'username'
776
+ end
777
+ end
778
+
779
+ class DenyMaintenancePeriod
780
+ # @private
781
+ class Representation < Google::Apis::Core::JsonRepresentation
782
+ property :end_date, as: 'endDate'
783
+ property :start_date, as: 'startDate'
784
+ property :time, as: 'time'
785
+ end
786
+ end
787
+
788
+ class DiskEncryptionConfiguration
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :kind, as: 'kind'
792
+ property :kms_key_name, as: 'kmsKeyName'
793
+ end
794
+ end
795
+
796
+ class DiskEncryptionStatus
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :kind, as: 'kind'
800
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
801
+ end
802
+ end
803
+
804
+ class ExportContext
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::CsvExportOptions::Representation
808
+
809
+ collection :databases, as: 'databases'
810
+ property :file_type, as: 'fileType'
811
+ property :kind, as: 'kind'
812
+ property :offload, as: 'offload'
813
+ property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::Representation
814
+
815
+ property :uri, as: 'uri'
816
+ end
817
+
818
+ class CsvExportOptions
819
+ # @private
820
+ class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :escape_character, as: 'escapeCharacter'
822
+ property :fields_terminated_by, as: 'fieldsTerminatedBy'
823
+ property :lines_terminated_by, as: 'linesTerminatedBy'
824
+ property :quote_character, as: 'quoteCharacter'
825
+ property :select_query, as: 'selectQuery'
826
+ end
827
+ end
828
+
829
+ class SqlExportOptions
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ property :mysql_export_options, as: 'mysqlExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
833
+
834
+ property :schema_only, as: 'schemaOnly'
835
+ collection :tables, as: 'tables'
836
+ end
837
+
838
+ class MysqlExportOptions
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :master_data, as: 'masterData'
842
+ end
843
+ end
844
+ end
845
+ end
846
+
847
+ class FailoverContext
848
+ # @private
849
+ class Representation < Google::Apis::Core::JsonRepresentation
850
+ property :kind, as: 'kind'
851
+ property :settings_version, :numeric_string => true, as: 'settingsVersion'
852
+ end
853
+ end
854
+
855
+ class Flag
856
+ # @private
857
+ class Representation < Google::Apis::Core::JsonRepresentation
858
+ collection :allowed_int_values, as: 'allowedIntValues'
859
+ collection :allowed_string_values, as: 'allowedStringValues'
860
+ collection :applies_to, as: 'appliesTo'
861
+ property :in_beta, as: 'inBeta'
862
+ property :kind, as: 'kind'
863
+ property :max_value, :numeric_string => true, as: 'maxValue'
864
+ property :min_value, :numeric_string => true, as: 'minValue'
865
+ property :name, as: 'name'
866
+ property :requires_restart, as: 'requiresRestart'
867
+ property :type, as: 'type'
868
+ end
869
+ end
870
+
871
+ class FlagsListResponse
872
+ # @private
873
+ class Representation < Google::Apis::Core::JsonRepresentation
874
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Flag, decorator: Google::Apis::SqladminV1::Flag::Representation
875
+
876
+ property :kind, as: 'kind'
877
+ end
878
+ end
879
+
880
+ class GenerateEphemeralCertRequest
881
+ # @private
882
+ class Representation < Google::Apis::Core::JsonRepresentation
883
+ property :access_token, as: 'access_token'
884
+ property :public_key, as: 'public_key'
885
+ property :read_time, as: 'readTime'
886
+ end
887
+ end
888
+
889
+ class GenerateEphemeralCertResponse
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :ephemeral_cert, as: 'ephemeralCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
893
+
894
+ end
895
+ end
896
+
897
+ class ImportContext
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :bak_import_options, as: 'bakImportOptions', class: Google::Apis::SqladminV1::ImportContext::BakImportOptions, decorator: Google::Apis::SqladminV1::ImportContext::BakImportOptions::Representation
901
+
902
+ property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::SqladminV1::ImportContext::CsvImportOptions, decorator: Google::Apis::SqladminV1::ImportContext::CsvImportOptions::Representation
903
+
904
+ property :database, as: 'database'
905
+ property :file_type, as: 'fileType'
906
+ property :import_user, as: 'importUser'
907
+ property :kind, as: 'kind'
908
+ property :uri, as: 'uri'
909
+ end
910
+
911
+ class BakImportOptions
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions::Representation
915
+
916
+ end
917
+
918
+ class EncryptionOptions
919
+ # @private
920
+ class Representation < Google::Apis::Core::JsonRepresentation
921
+ property :cert_path, as: 'certPath'
922
+ property :pvk_password, as: 'pvkPassword'
923
+ property :pvk_path, as: 'pvkPath'
924
+ end
925
+ end
926
+ end
927
+
928
+ class CsvImportOptions
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ collection :columns, as: 'columns'
932
+ property :escape_character, as: 'escapeCharacter'
933
+ property :fields_terminated_by, as: 'fieldsTerminatedBy'
934
+ property :lines_terminated_by, as: 'linesTerminatedBy'
935
+ property :quote_character, as: 'quoteCharacter'
936
+ property :table, as: 'table'
324
937
  end
325
938
  end
326
939
  end
327
940
 
328
- class DenyMaintenancePeriod
941
+ class InsightsConfig
329
942
  # @private
330
943
  class Representation < Google::Apis::Core::JsonRepresentation
331
- property :end_date, as: 'endDate'
332
- property :start_date, as: 'startDate'
333
- property :time, as: 'time'
944
+ property :query_insights_enabled, as: 'queryInsightsEnabled'
945
+ property :query_plans_per_minute, as: 'queryPlansPerMinute'
946
+ property :query_string_length, as: 'queryStringLength'
947
+ property :record_application_tags, as: 'recordApplicationTags'
948
+ property :record_client_address, as: 'recordClientAddress'
334
949
  end
335
950
  end
336
951
 
337
- class DiskEncryptionConfiguration
952
+ class InstanceReference
338
953
  # @private
339
954
  class Representation < Google::Apis::Core::JsonRepresentation
340
- property :kind, as: 'kind'
341
- property :kms_key_name, as: 'kmsKeyName'
955
+ property :name, as: 'name'
956
+ property :project, as: 'project'
957
+ property :region, as: 'region'
342
958
  end
343
959
  end
344
960
 
345
- class DiskEncryptionStatus
961
+ class InstancesCloneRequest
346
962
  # @private
347
963
  class Representation < Google::Apis::Core::JsonRepresentation
348
- property :kind, as: 'kind'
349
- property :kms_key_version_name, as: 'kmsKeyVersionName'
964
+ property :clone_context, as: 'cloneContext', class: Google::Apis::SqladminV1::CloneContext, decorator: Google::Apis::SqladminV1::CloneContext::Representation
965
+
350
966
  end
351
967
  end
352
968
 
353
- class GenerateEphemeralCertRequest
969
+ class InstancesDemoteMasterRequest
354
970
  # @private
355
971
  class Representation < Google::Apis::Core::JsonRepresentation
356
- property :access_token, as: 'access_token'
357
- property :public_key, as: 'public_key'
358
- property :read_time, as: 'readTime'
972
+ property :demote_master_context, as: 'demoteMasterContext', class: Google::Apis::SqladminV1::DemoteMasterContext, decorator: Google::Apis::SqladminV1::DemoteMasterContext::Representation
973
+
359
974
  end
360
975
  end
361
976
 
362
- class GenerateEphemeralCertResponse
977
+ class InstancesExportRequest
363
978
  # @private
364
979
  class Representation < Google::Apis::Core::JsonRepresentation
365
- property :ephemeral_cert, as: 'ephemeralCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
980
+ property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1::ExportContext, decorator: Google::Apis::SqladminV1::ExportContext::Representation
366
981
 
367
982
  end
368
983
  end
369
984
 
370
- class InsightsConfig
985
+ class InstancesFailoverRequest
371
986
  # @private
372
987
  class Representation < Google::Apis::Core::JsonRepresentation
373
- property :query_insights_enabled, as: 'queryInsightsEnabled'
374
- property :query_plans_per_minute, as: 'queryPlansPerMinute'
375
- property :query_string_length, as: 'queryStringLength'
376
- property :record_application_tags, as: 'recordApplicationTags'
377
- property :record_client_address, as: 'recordClientAddress'
988
+ property :failover_context, as: 'failoverContext', class: Google::Apis::SqladminV1::FailoverContext, decorator: Google::Apis::SqladminV1::FailoverContext::Representation
989
+
378
990
  end
379
991
  end
380
992
 
381
- class InstanceReference
993
+ class InstancesImportRequest
382
994
  # @private
383
995
  class Representation < Google::Apis::Core::JsonRepresentation
384
- property :name, as: 'name'
385
- property :region, as: 'region'
996
+ property :import_context, as: 'importContext', class: Google::Apis::SqladminV1::ImportContext, decorator: Google::Apis::SqladminV1::ImportContext::Representation
997
+
386
998
  end
387
999
  end
388
1000
 
@@ -398,9 +1010,44 @@ module Google
398
1010
  end
399
1011
  end
400
1012
 
1013
+ class InstancesListServerCasResponse
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ property :active_version, as: 'activeVersion'
1017
+ collection :certs, as: 'certs', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
1018
+
1019
+ property :kind, as: 'kind'
1020
+ end
1021
+ end
1022
+
1023
+ class InstancesRestoreBackupRequest
1024
+ # @private
1025
+ class Representation < Google::Apis::Core::JsonRepresentation
1026
+ property :restore_backup_context, as: 'restoreBackupContext', class: Google::Apis::SqladminV1::RestoreBackupContext, decorator: Google::Apis::SqladminV1::RestoreBackupContext::Representation
1027
+
1028
+ end
1029
+ end
1030
+
1031
+ class InstancesRotateServerCaRequest
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ property :rotate_server_ca_context, as: 'rotateServerCaContext', class: Google::Apis::SqladminV1::RotateServerCaContext, decorator: Google::Apis::SqladminV1::RotateServerCaContext::Representation
1035
+
1036
+ end
1037
+ end
1038
+
1039
+ class InstancesTruncateLogRequest
1040
+ # @private
1041
+ class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :truncate_log_context, as: 'truncateLogContext', class: Google::Apis::SqladminV1::TruncateLogContext, decorator: Google::Apis::SqladminV1::TruncateLogContext::Representation
1043
+
1044
+ end
1045
+ end
1046
+
401
1047
  class IpConfiguration
402
1048
  # @private
403
1049
  class Representation < Google::Apis::Core::JsonRepresentation
1050
+ property :allocated_ip_range, as: 'allocatedIpRange'
404
1051
  collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1::AclEntry, decorator: Google::Apis::SqladminV1::AclEntry::Representation
405
1052
 
406
1053
  property :ipv4_enabled, as: 'ipv4Enabled'
@@ -421,6 +1068,7 @@ module Google
421
1068
  class LocationPreference
422
1069
  # @private
423
1070
  class Representation < Google::Apis::Core::JsonRepresentation
1071
+ property :follow_gae_application, as: 'followGaeApplication'
424
1072
  property :kind, as: 'kind'
425
1073
  property :secondary_zone, as: 'secondaryZone'
426
1074
  property :zone, as: 'zone'
@@ -454,6 +1102,14 @@ module Google
454
1102
  end
455
1103
  end
456
1104
 
1105
+ class MySqlSyncConfig
1106
+ # @private
1107
+ class Representation < Google::Apis::Core::JsonRepresentation
1108
+ collection :initial_sync_flags, as: 'initialSyncFlags', class: Google::Apis::SqladminV1::SyncFlags, decorator: Google::Apis::SqladminV1::SyncFlags::Representation
1109
+
1110
+ end
1111
+ end
1112
+
457
1113
  class OnPremisesConfiguration
458
1114
  # @private
459
1115
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -464,10 +1120,66 @@ module Google
464
1120
  property :host_port, as: 'hostPort'
465
1121
  property :kind, as: 'kind'
466
1122
  property :password, as: 'password'
1123
+ property :source_instance, as: 'sourceInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
1124
+
467
1125
  property :username, as: 'username'
468
1126
  end
469
1127
  end
470
1128
 
1129
+ class Operation
1130
+ # @private
1131
+ class Representation < Google::Apis::Core::JsonRepresentation
1132
+ property :backup_context, as: 'backupContext', class: Google::Apis::SqladminV1::BackupContext, decorator: Google::Apis::SqladminV1::BackupContext::Representation
1133
+
1134
+ property :end_time, as: 'endTime'
1135
+ property :error, as: 'error', class: Google::Apis::SqladminV1::OperationErrors, decorator: Google::Apis::SqladminV1::OperationErrors::Representation
1136
+
1137
+ property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1::ExportContext, decorator: Google::Apis::SqladminV1::ExportContext::Representation
1138
+
1139
+ property :import_context, as: 'importContext', class: Google::Apis::SqladminV1::ImportContext, decorator: Google::Apis::SqladminV1::ImportContext::Representation
1140
+
1141
+ property :insert_time, as: 'insertTime'
1142
+ property :kind, as: 'kind'
1143
+ property :name, as: 'name'
1144
+ property :operation_type, as: 'operationType'
1145
+ property :self_link, as: 'selfLink'
1146
+ property :start_time, as: 'startTime'
1147
+ property :status, as: 'status'
1148
+ property :target_id, as: 'targetId'
1149
+ property :target_link, as: 'targetLink'
1150
+ property :target_project, as: 'targetProject'
1151
+ property :user, as: 'user'
1152
+ end
1153
+ end
1154
+
1155
+ class OperationError
1156
+ # @private
1157
+ class Representation < Google::Apis::Core::JsonRepresentation
1158
+ property :code, as: 'code'
1159
+ property :kind, as: 'kind'
1160
+ property :message, as: 'message'
1161
+ end
1162
+ end
1163
+
1164
+ class OperationErrors
1165
+ # @private
1166
+ class Representation < Google::Apis::Core::JsonRepresentation
1167
+ collection :errors, as: 'errors', class: Google::Apis::SqladminV1::OperationError, decorator: Google::Apis::SqladminV1::OperationError::Representation
1168
+
1169
+ property :kind, as: 'kind'
1170
+ end
1171
+ end
1172
+
1173
+ class OperationsListResponse
1174
+ # @private
1175
+ class Representation < Google::Apis::Core::JsonRepresentation
1176
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Operation, decorator: Google::Apis::SqladminV1::Operation::Representation
1177
+
1178
+ property :kind, as: 'kind'
1179
+ property :next_page_token, as: 'nextPageToken'
1180
+ end
1181
+ end
1182
+
471
1183
  class ReplicaConfiguration
472
1184
  # @private
473
1185
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -478,12 +1190,39 @@ module Google
478
1190
  end
479
1191
  end
480
1192
 
1193
+ class Reschedule
1194
+ # @private
1195
+ class Representation < Google::Apis::Core::JsonRepresentation
1196
+ property :reschedule_type, as: 'rescheduleType'
1197
+ property :schedule_time, as: 'scheduleTime'
1198
+ end
1199
+ end
1200
+
1201
+ class RestoreBackupContext
1202
+ # @private
1203
+ class Representation < Google::Apis::Core::JsonRepresentation
1204
+ property :backup_run_id, :numeric_string => true, as: 'backupRunId'
1205
+ property :instance_id, as: 'instanceId'
1206
+ property :kind, as: 'kind'
1207
+ property :project, as: 'project'
1208
+ end
1209
+ end
1210
+
1211
+ class RotateServerCaContext
1212
+ # @private
1213
+ class Representation < Google::Apis::Core::JsonRepresentation
1214
+ property :kind, as: 'kind'
1215
+ property :next_version, as: 'nextVersion'
1216
+ end
1217
+ end
1218
+
481
1219
  class Settings
482
1220
  # @private
483
1221
  class Representation < Google::Apis::Core::JsonRepresentation
484
1222
  property :activation_policy, as: 'activationPolicy'
485
1223
  property :active_directory_config, as: 'activeDirectoryConfig', class: Google::Apis::SqladminV1::SqlActiveDirectoryConfig, decorator: Google::Apis::SqladminV1::SqlActiveDirectoryConfig::Representation
486
1224
 
1225
+ collection :authorized_gae_applications, as: 'authorizedGaeApplications'
487
1226
  property :availability_type, as: 'availabilityType'
488
1227
  property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
489
1228
 
@@ -508,6 +1247,8 @@ module Google
508
1247
  property :pricing_plan, as: 'pricingPlan'
509
1248
  property :replication_type, as: 'replicationType'
510
1249
  property :settings_version, :numeric_string => true, as: 'settingsVersion'
1250
+ property :sql_server_audit_config, as: 'sqlServerAuditConfig', class: Google::Apis::SqladminV1::SqlServerAuditConfig, decorator: Google::Apis::SqladminV1::SqlServerAuditConfig::Representation
1251
+
511
1252
  property :storage_auto_resize, as: 'storageAutoResize'
512
1253
  property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
513
1254
  property :tier, as: 'tier'
@@ -523,6 +1264,55 @@ module Google
523
1264
  end
524
1265
  end
525
1266
 
1267
+ class SqlExternalSyncSettingError
1268
+ # @private
1269
+ class Representation < Google::Apis::Core::JsonRepresentation
1270
+ property :detail, as: 'detail'
1271
+ property :kind, as: 'kind'
1272
+ property :type, as: 'type'
1273
+ end
1274
+ end
1275
+
1276
+ class SqlInstancesRescheduleMaintenanceRequestBody
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ property :reschedule, as: 'reschedule', class: Google::Apis::SqladminV1::Reschedule, decorator: Google::Apis::SqladminV1::Reschedule::Representation
1280
+
1281
+ end
1282
+ end
1283
+
1284
+ class SqlInstancesStartExternalSyncRequest
1285
+ # @private
1286
+ class Representation < Google::Apis::Core::JsonRepresentation
1287
+ property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation
1288
+
1289
+ property :skip_verification, as: 'skipVerification'
1290
+ property :sync_mode, as: 'syncMode'
1291
+ end
1292
+ end
1293
+
1294
+ class SqlInstancesVerifyExternalSyncSettingsRequest
1295
+ # @private
1296
+ class Representation < Google::Apis::Core::JsonRepresentation
1297
+ property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation
1298
+
1299
+ property :sync_mode, as: 'syncMode'
1300
+ property :verify_connection_only, as: 'verifyConnectionOnly'
1301
+ property :verify_replication_only, as: 'verifyReplicationOnly'
1302
+ end
1303
+ end
1304
+
1305
+ class SqlInstancesVerifyExternalSyncSettingsResponse
1306
+ # @private
1307
+ class Representation < Google::Apis::Core::JsonRepresentation
1308
+ collection :errors, as: 'errors', class: Google::Apis::SqladminV1::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1::SqlExternalSyncSettingError::Representation
1309
+
1310
+ property :kind, as: 'kind'
1311
+ collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1::SqlExternalSyncSettingError::Representation
1312
+
1313
+ end
1314
+ end
1315
+
526
1316
  class SqlOutOfDiskReport
527
1317
  # @private
528
1318
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -541,6 +1331,30 @@ module Google
541
1331
  end
542
1332
  end
543
1333
 
1334
+ class SqlServerAuditConfig
1335
+ # @private
1336
+ class Representation < Google::Apis::Core::JsonRepresentation
1337
+ property :bucket, as: 'bucket'
1338
+ property :kind, as: 'kind'
1339
+ end
1340
+ end
1341
+
1342
+ class SqlServerDatabaseDetails
1343
+ # @private
1344
+ class Representation < Google::Apis::Core::JsonRepresentation
1345
+ property :compatibility_level, as: 'compatibilityLevel'
1346
+ property :recovery_model, as: 'recoveryModel'
1347
+ end
1348
+ end
1349
+
1350
+ class SqlServerUserDetails
1351
+ # @private
1352
+ class Representation < Google::Apis::Core::JsonRepresentation
1353
+ property :disabled, as: 'disabled'
1354
+ collection :server_roles, as: 'serverRoles'
1355
+ end
1356
+ end
1357
+
544
1358
  class SslCert
545
1359
  # @private
546
1360
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -551,10 +1365,20 @@ module Google
551
1365
  property :expiration_time, as: 'expirationTime'
552
1366
  property :instance, as: 'instance'
553
1367
  property :kind, as: 'kind'
1368
+ property :self_link, as: 'selfLink'
554
1369
  property :sha1_fingerprint, as: 'sha1Fingerprint'
555
1370
  end
556
1371
  end
557
1372
 
1373
+ class SslCertDetail
1374
+ # @private
1375
+ class Representation < Google::Apis::Core::JsonRepresentation
1376
+ property :cert_info, as: 'certInfo', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
1377
+
1378
+ property :cert_private_key, as: 'certPrivateKey'
1379
+ end
1380
+ end
1381
+
558
1382
  class SslCertsCreateEphemeralRequest
559
1383
  # @private
560
1384
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -562,6 +1386,97 @@ module Google
562
1386
  property :public_key, as: 'public_key'
563
1387
  end
564
1388
  end
1389
+
1390
+ class SslCertsInsertRequest
1391
+ # @private
1392
+ class Representation < Google::Apis::Core::JsonRepresentation
1393
+ property :common_name, as: 'commonName'
1394
+ end
1395
+ end
1396
+
1397
+ class SslCertsInsertResponse
1398
+ # @private
1399
+ class Representation < Google::Apis::Core::JsonRepresentation
1400
+ property :client_cert, as: 'clientCert', class: Google::Apis::SqladminV1::SslCertDetail, decorator: Google::Apis::SqladminV1::SslCertDetail::Representation
1401
+
1402
+ property :kind, as: 'kind'
1403
+ property :operation, as: 'operation', class: Google::Apis::SqladminV1::Operation, decorator: Google::Apis::SqladminV1::Operation::Representation
1404
+
1405
+ property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
1406
+
1407
+ end
1408
+ end
1409
+
1410
+ class SslCertsListResponse
1411
+ # @private
1412
+ class Representation < Google::Apis::Core::JsonRepresentation
1413
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
1414
+
1415
+ property :kind, as: 'kind'
1416
+ end
1417
+ end
1418
+
1419
+ class SyncFlags
1420
+ # @private
1421
+ class Representation < Google::Apis::Core::JsonRepresentation
1422
+ property :name, as: 'name'
1423
+ property :value, as: 'value'
1424
+ end
1425
+ end
1426
+
1427
+ class Tier
1428
+ # @private
1429
+ class Representation < Google::Apis::Core::JsonRepresentation
1430
+ property :disk_quota, :numeric_string => true, as: 'DiskQuota'
1431
+ property :ram, :numeric_string => true, as: 'RAM'
1432
+ property :kind, as: 'kind'
1433
+ collection :region, as: 'region'
1434
+ property :tier, as: 'tier'
1435
+ end
1436
+ end
1437
+
1438
+ class TiersListResponse
1439
+ # @private
1440
+ class Representation < Google::Apis::Core::JsonRepresentation
1441
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Tier, decorator: Google::Apis::SqladminV1::Tier::Representation
1442
+
1443
+ property :kind, as: 'kind'
1444
+ end
1445
+ end
1446
+
1447
+ class TruncateLogContext
1448
+ # @private
1449
+ class Representation < Google::Apis::Core::JsonRepresentation
1450
+ property :kind, as: 'kind'
1451
+ property :log_type, as: 'logType'
1452
+ end
1453
+ end
1454
+
1455
+ class User
1456
+ # @private
1457
+ class Representation < Google::Apis::Core::JsonRepresentation
1458
+ property :etag, as: 'etag'
1459
+ property :host, as: 'host'
1460
+ property :instance, as: 'instance'
1461
+ property :kind, as: 'kind'
1462
+ property :name, as: 'name'
1463
+ property :password, as: 'password'
1464
+ property :project, as: 'project'
1465
+ property :sqlserver_user_details, as: 'sqlserverUserDetails', class: Google::Apis::SqladminV1::SqlServerUserDetails, decorator: Google::Apis::SqladminV1::SqlServerUserDetails::Representation
1466
+
1467
+ property :type, as: 'type'
1468
+ end
1469
+ end
1470
+
1471
+ class UsersListResponse
1472
+ # @private
1473
+ class Representation < Google::Apis::Core::JsonRepresentation
1474
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::User, decorator: Google::Apis::SqladminV1::User::Representation
1475
+
1476
+ property :kind, as: 'kind'
1477
+ property :next_page_token, as: 'nextPageToken'
1478
+ end
1479
+ end
565
1480
  end
566
1481
  end
567
1482
  end