google-apis-sqladmin_v1 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210627"
25
+ REVISION = "20210715"
26
26
  end
27
27
  end
28
28
  end
@@ -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,13 +202,61 @@ 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
 
106
232
  include Google::Apis::Core::JsonObjectSupport
107
233
  end
108
234
 
109
- class InstanceReference
235
+ class InstancesCloneRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class InstancesDemoteMasterRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class InstancesExportRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class InstancesFailoverRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class InstancesImportRequest
110
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
261
 
112
262
  include Google::Apis::Core::JsonObjectSupport
@@ -118,6 +268,30 @@ module Google
118
268
  include Google::Apis::Core::JsonObjectSupport
119
269
  end
120
270
 
271
+ class InstancesListServerCasResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class InstancesRestoreBackupRequest
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class InstancesRotateServerCaRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class InstancesTruncateLogRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
121
295
  class IpConfiguration
122
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
297
 
@@ -154,12 +328,54 @@ module Google
154
328
  include Google::Apis::Core::JsonObjectSupport
155
329
  end
156
330
 
331
+ class Operation
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class OperationError
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class OperationErrors
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class OperationsListResponse
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
157
355
  class ReplicaConfiguration
158
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
357
 
160
358
  include Google::Apis::Core::JsonObjectSupport
161
359
  end
162
360
 
361
+ class Reschedule
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class RestoreBackupContext
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class RotateServerCaContext
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
163
379
  class Settings
164
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
381
 
@@ -172,6 +388,24 @@ module Google
172
388
  include Google::Apis::Core::JsonObjectSupport
173
389
  end
174
390
 
391
+ class SqlExternalSyncSettingError
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class SqlInstancesRescheduleMaintenanceRequestBody
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class SqlInstancesVerifyExternalSyncSettingsResponse
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
175
409
  class SqlOutOfDiskReport
176
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
411
 
@@ -184,18 +418,84 @@ module Google
184
418
  include Google::Apis::Core::JsonObjectSupport
185
419
  end
186
420
 
421
+ class SqlServerDatabaseDetails
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class SqlServerUserDetails
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
187
433
  class SslCert
188
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
435
 
190
436
  include Google::Apis::Core::JsonObjectSupport
191
437
  end
192
438
 
439
+ class SslCertDetail
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
193
445
  class SslCertsCreateEphemeralRequest
194
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
447
 
196
448
  include Google::Apis::Core::JsonObjectSupport
197
449
  end
198
450
 
451
+ class SslCertsInsertRequest
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class SslCertsInsertResponse
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class SslCertsListResponse
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class Tier
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class TiersListResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class TruncateLogContext
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class User
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class UsersListResponse
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
199
499
  class AclEntry
200
500
  # @private
201
501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -231,6 +531,14 @@ module Google
231
531
  end
232
532
  end
233
533
 
534
+ class BackupContext
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ property :backup_id, :numeric_string => true, as: 'backupId'
538
+ property :kind, as: 'kind'
539
+ end
540
+ end
541
+
234
542
  class BackupRetentionSettings
235
543
  # @private
236
544
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -239,6 +547,62 @@ module Google
239
547
  end
240
548
  end
241
549
 
550
+ class BackupRun
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ property :backup_kind, as: 'backupKind'
554
+ property :description, as: 'description'
555
+ property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1::DiskEncryptionConfiguration::Representation
556
+
557
+ property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation
558
+
559
+ property :end_time, as: 'endTime'
560
+ property :enqueued_time, as: 'enqueuedTime'
561
+ property :error, as: 'error', class: Google::Apis::SqladminV1::OperationError, decorator: Google::Apis::SqladminV1::OperationError::Representation
562
+
563
+ property :id, :numeric_string => true, as: 'id'
564
+ property :instance, as: 'instance'
565
+ property :kind, as: 'kind'
566
+ property :location, as: 'location'
567
+ property :self_link, as: 'selfLink'
568
+ property :start_time, as: 'startTime'
569
+ property :status, as: 'status'
570
+ property :type, as: 'type'
571
+ property :window_start_time, as: 'windowStartTime'
572
+ end
573
+ end
574
+
575
+ class BackupRunsListResponse
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::BackupRun, decorator: Google::Apis::SqladminV1::BackupRun::Representation
579
+
580
+ property :kind, as: 'kind'
581
+ property :next_page_token, as: 'nextPageToken'
582
+ end
583
+ end
584
+
585
+ class BinLogCoordinates
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :bin_log_file_name, as: 'binLogFileName'
589
+ property :bin_log_position, :numeric_string => true, as: 'binLogPosition'
590
+ property :kind, as: 'kind'
591
+ end
592
+ end
593
+
594
+ class CloneContext
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ property :bin_log_coordinates, as: 'binLogCoordinates', class: Google::Apis::SqladminV1::BinLogCoordinates, decorator: Google::Apis::SqladminV1::BinLogCoordinates::Representation
598
+
599
+ property :destination_instance_name, as: 'destinationInstanceName'
600
+ property :kind, as: 'kind'
601
+ property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
602
+ property :point_in_time, as: 'pointInTime'
603
+ end
604
+ end
605
+
242
606
  class ConnectSettings
243
607
  # @private
244
608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -252,6 +616,22 @@ module Google
252
616
  end
253
617
  end
254
618
 
619
+ class Database
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :charset, as: 'charset'
623
+ property :collation, as: 'collation'
624
+ property :etag, as: 'etag'
625
+ property :instance, as: 'instance'
626
+ property :kind, as: 'kind'
627
+ property :name, as: 'name'
628
+ property :project, as: 'project'
629
+ property :self_link, as: 'selfLink'
630
+ property :sqlserver_database_details, as: 'sqlserverDatabaseDetails', class: Google::Apis::SqladminV1::SqlServerDatabaseDetails, decorator: Google::Apis::SqladminV1::SqlServerDatabaseDetails::Representation
631
+
632
+ end
633
+ end
634
+
255
635
  class DatabaseFlags
256
636
  # @private
257
637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -271,20 +651,15 @@ module Google
271
651
 
272
652
  property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation
273
653
 
274
- property :encrypted_root_password, :base64 => true, as: 'encryptedRootPassword'
275
654
  property :etag, as: 'etag'
276
655
  property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica::Representation
277
656
 
278
657
  property :gce_zone, as: 'gceZone'
279
- property :installed_version, as: 'installedVersion'
280
658
  property :instance_type, as: 'instanceType'
281
- property :instance_uid, as: 'instanceUid'
282
659
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
283
660
 
284
661
  property :ipv6_address, as: 'ipv6Address'
285
662
  property :kind, as: 'kind'
286
- property :master_instance, as: 'masterInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
287
-
288
663
  property :master_instance_name, as: 'masterInstanceName'
289
664
  property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
290
665
  property :name, as: 'name'
@@ -296,8 +671,6 @@ module Google
296
671
  property :region, as: 'region'
297
672
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::ReplicaConfiguration, decorator: Google::Apis::SqladminV1::ReplicaConfiguration::Representation
298
673
 
299
- collection :replica_instances, as: 'replicaInstances', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
300
-
301
674
  collection :replica_names, as: 'replicaNames'
302
675
  property :root_password, as: 'rootPassword'
303
676
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -307,46 +680,157 @@ module Google
307
680
  property :self_link, as: 'selfLink'
308
681
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
309
682
 
310
- property :service_account_email_address, as: 'serviceAccountEmailAddress'
311
- property :settings, as: 'settings', class: Google::Apis::SqladminV1::Settings, decorator: Google::Apis::SqladminV1::Settings::Representation
683
+ property :service_account_email_address, as: 'serviceAccountEmailAddress'
684
+ property :settings, as: 'settings', class: Google::Apis::SqladminV1::Settings, decorator: Google::Apis::SqladminV1::Settings::Representation
685
+
686
+ property :state, as: 'state'
687
+ collection :suspension_reason, as: 'suspensionReason'
688
+ end
689
+
690
+ class FailoverReplica
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :available, as: 'available'
694
+ property :name, as: 'name'
695
+ end
696
+ end
697
+ end
698
+
699
+ class DatabasesListResponse
700
+ # @private
701
+ class Representation < Google::Apis::Core::JsonRepresentation
702
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Database, decorator: Google::Apis::SqladminV1::Database::Representation
703
+
704
+ property :kind, as: 'kind'
705
+ end
706
+ end
707
+
708
+ class DemoteMasterConfiguration
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :kind, as: 'kind'
712
+ property :mysql_replica_configuration, as: 'mysqlReplicaConfiguration', class: Google::Apis::SqladminV1::DemoteMasterMySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1::DemoteMasterMySqlReplicaConfiguration::Representation
713
+
714
+ end
715
+ end
716
+
717
+ class DemoteMasterContext
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ property :kind, as: 'kind'
721
+ property :master_instance_name, as: 'masterInstanceName'
722
+ property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::DemoteMasterConfiguration, decorator: Google::Apis::SqladminV1::DemoteMasterConfiguration::Representation
723
+
724
+ property :verify_gtid_consistency, as: 'verifyGtidConsistency'
725
+ end
726
+ end
727
+
728
+ class DemoteMasterMySqlReplicaConfiguration
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :ca_certificate, as: 'caCertificate'
732
+ property :client_certificate, as: 'clientCertificate'
733
+ property :client_key, as: 'clientKey'
734
+ property :kind, as: 'kind'
735
+ property :password, as: 'password'
736
+ property :username, as: 'username'
737
+ end
738
+ end
739
+
740
+ class DenyMaintenancePeriod
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :end_date, as: 'endDate'
744
+ property :start_date, as: 'startDate'
745
+ property :time, as: 'time'
746
+ end
747
+ end
748
+
749
+ class DiskEncryptionConfiguration
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :kind, as: 'kind'
753
+ property :kms_key_name, as: 'kmsKeyName'
754
+ end
755
+ end
756
+
757
+ class DiskEncryptionStatus
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :kind, as: 'kind'
761
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
762
+ end
763
+ end
764
+
765
+ class ExportContext
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::CsvExportOptions::Representation
769
+
770
+ collection :databases, as: 'databases'
771
+ property :file_type, as: 'fileType'
772
+ property :kind, as: 'kind'
773
+ property :offload, as: 'offload'
774
+ property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::Representation
312
775
 
313
- property :state, as: 'state'
314
- collection :suspension_reason, as: 'suspensionReason'
776
+ property :uri, as: 'uri'
315
777
  end
316
778
 
317
- class FailoverReplica
779
+ class CsvExportOptions
318
780
  # @private
319
781
  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
782
+ property :select_query, as: 'selectQuery'
783
+ end
784
+ end
322
785
 
323
- property :name, as: 'name'
786
+ class SqlExportOptions
787
+ # @private
788
+ class Representation < Google::Apis::Core::JsonRepresentation
789
+ property :mysql_export_options, as: 'mysqlExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
790
+
791
+ property :schema_only, as: 'schemaOnly'
792
+ collection :tables, as: 'tables'
793
+ end
794
+
795
+ class MysqlExportOptions
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ property :master_data, as: 'masterData'
799
+ end
324
800
  end
325
801
  end
326
802
  end
327
803
 
328
- class DenyMaintenancePeriod
804
+ class FailoverContext
329
805
  # @private
330
806
  class Representation < Google::Apis::Core::JsonRepresentation
331
- property :end_date, as: 'endDate'
332
- property :start_date, as: 'startDate'
333
- property :time, as: 'time'
807
+ property :kind, as: 'kind'
808
+ property :settings_version, :numeric_string => true, as: 'settingsVersion'
334
809
  end
335
810
  end
336
811
 
337
- class DiskEncryptionConfiguration
812
+ class Flag
338
813
  # @private
339
814
  class Representation < Google::Apis::Core::JsonRepresentation
815
+ collection :allowed_int_values, as: 'allowedIntValues'
816
+ collection :allowed_string_values, as: 'allowedStringValues'
817
+ collection :applies_to, as: 'appliesTo'
818
+ property :in_beta, as: 'inBeta'
340
819
  property :kind, as: 'kind'
341
- property :kms_key_name, as: 'kmsKeyName'
820
+ property :max_value, :numeric_string => true, as: 'maxValue'
821
+ property :min_value, :numeric_string => true, as: 'minValue'
822
+ property :name, as: 'name'
823
+ property :requires_restart, as: 'requiresRestart'
824
+ property :type, as: 'type'
342
825
  end
343
826
  end
344
827
 
345
- class DiskEncryptionStatus
828
+ class FlagsListResponse
346
829
  # @private
347
830
  class Representation < Google::Apis::Core::JsonRepresentation
831
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Flag, decorator: Google::Apis::SqladminV1::Flag::Representation
832
+
348
833
  property :kind, as: 'kind'
349
- property :kms_key_version_name, as: 'kmsKeyVersionName'
350
834
  end
351
835
  end
352
836
 
@@ -367,6 +851,46 @@ module Google
367
851
  end
368
852
  end
369
853
 
854
+ class ImportContext
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ property :bak_import_options, as: 'bakImportOptions', class: Google::Apis::SqladminV1::ImportContext::BakImportOptions, decorator: Google::Apis::SqladminV1::ImportContext::BakImportOptions::Representation
858
+
859
+ property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::SqladminV1::ImportContext::CsvImportOptions, decorator: Google::Apis::SqladminV1::ImportContext::CsvImportOptions::Representation
860
+
861
+ property :database, as: 'database'
862
+ property :file_type, as: 'fileType'
863
+ property :import_user, as: 'importUser'
864
+ property :kind, as: 'kind'
865
+ property :uri, as: 'uri'
866
+ end
867
+
868
+ class BakImportOptions
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions::Representation
872
+
873
+ end
874
+
875
+ class EncryptionOptions
876
+ # @private
877
+ class Representation < Google::Apis::Core::JsonRepresentation
878
+ property :cert_path, as: 'certPath'
879
+ property :pvk_password, as: 'pvkPassword'
880
+ property :pvk_path, as: 'pvkPath'
881
+ end
882
+ end
883
+ end
884
+
885
+ class CsvImportOptions
886
+ # @private
887
+ class Representation < Google::Apis::Core::JsonRepresentation
888
+ collection :columns, as: 'columns'
889
+ property :table, as: 'table'
890
+ end
891
+ end
892
+ end
893
+
370
894
  class InsightsConfig
371
895
  # @private
372
896
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -378,11 +902,43 @@ module Google
378
902
  end
379
903
  end
380
904
 
381
- class InstanceReference
905
+ class InstancesCloneRequest
382
906
  # @private
383
907
  class Representation < Google::Apis::Core::JsonRepresentation
384
- property :name, as: 'name'
385
- property :region, as: 'region'
908
+ property :clone_context, as: 'cloneContext', class: Google::Apis::SqladminV1::CloneContext, decorator: Google::Apis::SqladminV1::CloneContext::Representation
909
+
910
+ end
911
+ end
912
+
913
+ class InstancesDemoteMasterRequest
914
+ # @private
915
+ class Representation < Google::Apis::Core::JsonRepresentation
916
+ property :demote_master_context, as: 'demoteMasterContext', class: Google::Apis::SqladminV1::DemoteMasterContext, decorator: Google::Apis::SqladminV1::DemoteMasterContext::Representation
917
+
918
+ end
919
+ end
920
+
921
+ class InstancesExportRequest
922
+ # @private
923
+ class Representation < Google::Apis::Core::JsonRepresentation
924
+ property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1::ExportContext, decorator: Google::Apis::SqladminV1::ExportContext::Representation
925
+
926
+ end
927
+ end
928
+
929
+ class InstancesFailoverRequest
930
+ # @private
931
+ class Representation < Google::Apis::Core::JsonRepresentation
932
+ property :failover_context, as: 'failoverContext', class: Google::Apis::SqladminV1::FailoverContext, decorator: Google::Apis::SqladminV1::FailoverContext::Representation
933
+
934
+ end
935
+ end
936
+
937
+ class InstancesImportRequest
938
+ # @private
939
+ class Representation < Google::Apis::Core::JsonRepresentation
940
+ property :import_context, as: 'importContext', class: Google::Apis::SqladminV1::ImportContext, decorator: Google::Apis::SqladminV1::ImportContext::Representation
941
+
386
942
  end
387
943
  end
388
944
 
@@ -398,6 +954,40 @@ module Google
398
954
  end
399
955
  end
400
956
 
957
+ class InstancesListServerCasResponse
958
+ # @private
959
+ class Representation < Google::Apis::Core::JsonRepresentation
960
+ property :active_version, as: 'activeVersion'
961
+ collection :certs, as: 'certs', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
962
+
963
+ property :kind, as: 'kind'
964
+ end
965
+ end
966
+
967
+ class InstancesRestoreBackupRequest
968
+ # @private
969
+ class Representation < Google::Apis::Core::JsonRepresentation
970
+ property :restore_backup_context, as: 'restoreBackupContext', class: Google::Apis::SqladminV1::RestoreBackupContext, decorator: Google::Apis::SqladminV1::RestoreBackupContext::Representation
971
+
972
+ end
973
+ end
974
+
975
+ class InstancesRotateServerCaRequest
976
+ # @private
977
+ class Representation < Google::Apis::Core::JsonRepresentation
978
+ property :rotate_server_ca_context, as: 'rotateServerCaContext', class: Google::Apis::SqladminV1::RotateServerCaContext, decorator: Google::Apis::SqladminV1::RotateServerCaContext::Representation
979
+
980
+ end
981
+ end
982
+
983
+ class InstancesTruncateLogRequest
984
+ # @private
985
+ class Representation < Google::Apis::Core::JsonRepresentation
986
+ property :truncate_log_context, as: 'truncateLogContext', class: Google::Apis::SqladminV1::TruncateLogContext, decorator: Google::Apis::SqladminV1::TruncateLogContext::Representation
987
+
988
+ end
989
+ end
990
+
401
991
  class IpConfiguration
402
992
  # @private
403
993
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -421,6 +1011,7 @@ module Google
421
1011
  class LocationPreference
422
1012
  # @private
423
1013
  class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :follow_gae_application, as: 'followGaeApplication'
424
1015
  property :kind, as: 'kind'
425
1016
  property :secondary_zone, as: 'secondaryZone'
426
1017
  property :zone, as: 'zone'
@@ -468,6 +1059,60 @@ module Google
468
1059
  end
469
1060
  end
470
1061
 
1062
+ class Operation
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ property :backup_context, as: 'backupContext', class: Google::Apis::SqladminV1::BackupContext, decorator: Google::Apis::SqladminV1::BackupContext::Representation
1066
+
1067
+ property :end_time, as: 'endTime'
1068
+ property :error, as: 'error', class: Google::Apis::SqladminV1::OperationErrors, decorator: Google::Apis::SqladminV1::OperationErrors::Representation
1069
+
1070
+ property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1::ExportContext, decorator: Google::Apis::SqladminV1::ExportContext::Representation
1071
+
1072
+ property :import_context, as: 'importContext', class: Google::Apis::SqladminV1::ImportContext, decorator: Google::Apis::SqladminV1::ImportContext::Representation
1073
+
1074
+ property :insert_time, as: 'insertTime'
1075
+ property :kind, as: 'kind'
1076
+ property :name, as: 'name'
1077
+ property :operation_type, as: 'operationType'
1078
+ property :self_link, as: 'selfLink'
1079
+ property :start_time, as: 'startTime'
1080
+ property :status, as: 'status'
1081
+ property :target_id, as: 'targetId'
1082
+ property :target_link, as: 'targetLink'
1083
+ property :target_project, as: 'targetProject'
1084
+ property :user, as: 'user'
1085
+ end
1086
+ end
1087
+
1088
+ class OperationError
1089
+ # @private
1090
+ class Representation < Google::Apis::Core::JsonRepresentation
1091
+ property :code, as: 'code'
1092
+ property :kind, as: 'kind'
1093
+ property :message, as: 'message'
1094
+ end
1095
+ end
1096
+
1097
+ class OperationErrors
1098
+ # @private
1099
+ class Representation < Google::Apis::Core::JsonRepresentation
1100
+ collection :errors, as: 'errors', class: Google::Apis::SqladminV1::OperationError, decorator: Google::Apis::SqladminV1::OperationError::Representation
1101
+
1102
+ property :kind, as: 'kind'
1103
+ end
1104
+ end
1105
+
1106
+ class OperationsListResponse
1107
+ # @private
1108
+ class Representation < Google::Apis::Core::JsonRepresentation
1109
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Operation, decorator: Google::Apis::SqladminV1::Operation::Representation
1110
+
1111
+ property :kind, as: 'kind'
1112
+ property :next_page_token, as: 'nextPageToken'
1113
+ end
1114
+ end
1115
+
471
1116
  class ReplicaConfiguration
472
1117
  # @private
473
1118
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -478,12 +1123,39 @@ module Google
478
1123
  end
479
1124
  end
480
1125
 
1126
+ class Reschedule
1127
+ # @private
1128
+ class Representation < Google::Apis::Core::JsonRepresentation
1129
+ property :reschedule_type, as: 'rescheduleType'
1130
+ property :schedule_time, as: 'scheduleTime'
1131
+ end
1132
+ end
1133
+
1134
+ class RestoreBackupContext
1135
+ # @private
1136
+ class Representation < Google::Apis::Core::JsonRepresentation
1137
+ property :backup_run_id, :numeric_string => true, as: 'backupRunId'
1138
+ property :instance_id, as: 'instanceId'
1139
+ property :kind, as: 'kind'
1140
+ property :project, as: 'project'
1141
+ end
1142
+ end
1143
+
1144
+ class RotateServerCaContext
1145
+ # @private
1146
+ class Representation < Google::Apis::Core::JsonRepresentation
1147
+ property :kind, as: 'kind'
1148
+ property :next_version, as: 'nextVersion'
1149
+ end
1150
+ end
1151
+
481
1152
  class Settings
482
1153
  # @private
483
1154
  class Representation < Google::Apis::Core::JsonRepresentation
484
1155
  property :activation_policy, as: 'activationPolicy'
485
1156
  property :active_directory_config, as: 'activeDirectoryConfig', class: Google::Apis::SqladminV1::SqlActiveDirectoryConfig, decorator: Google::Apis::SqladminV1::SqlActiveDirectoryConfig::Representation
486
1157
 
1158
+ collection :authorized_gae_applications, as: 'authorizedGaeApplications'
487
1159
  property :availability_type, as: 'availabilityType'
488
1160
  property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
489
1161
 
@@ -523,6 +1195,34 @@ module Google
523
1195
  end
524
1196
  end
525
1197
 
1198
+ class SqlExternalSyncSettingError
1199
+ # @private
1200
+ class Representation < Google::Apis::Core::JsonRepresentation
1201
+ property :detail, as: 'detail'
1202
+ property :kind, as: 'kind'
1203
+ property :type, as: 'type'
1204
+ end
1205
+ end
1206
+
1207
+ class SqlInstancesRescheduleMaintenanceRequestBody
1208
+ # @private
1209
+ class Representation < Google::Apis::Core::JsonRepresentation
1210
+ property :reschedule, as: 'reschedule', class: Google::Apis::SqladminV1::Reschedule, decorator: Google::Apis::SqladminV1::Reschedule::Representation
1211
+
1212
+ end
1213
+ end
1214
+
1215
+ class SqlInstancesVerifyExternalSyncSettingsResponse
1216
+ # @private
1217
+ class Representation < Google::Apis::Core::JsonRepresentation
1218
+ collection :errors, as: 'errors', class: Google::Apis::SqladminV1::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1::SqlExternalSyncSettingError::Representation
1219
+
1220
+ property :kind, as: 'kind'
1221
+ collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1::SqlExternalSyncSettingError::Representation
1222
+
1223
+ end
1224
+ end
1225
+
526
1226
  class SqlOutOfDiskReport
527
1227
  # @private
528
1228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -541,6 +1241,22 @@ module Google
541
1241
  end
542
1242
  end
543
1243
 
1244
+ class SqlServerDatabaseDetails
1245
+ # @private
1246
+ class Representation < Google::Apis::Core::JsonRepresentation
1247
+ property :compatibility_level, as: 'compatibilityLevel'
1248
+ property :recovery_model, as: 'recoveryModel'
1249
+ end
1250
+ end
1251
+
1252
+ class SqlServerUserDetails
1253
+ # @private
1254
+ class Representation < Google::Apis::Core::JsonRepresentation
1255
+ property :disabled, as: 'disabled'
1256
+ collection :server_roles, as: 'serverRoles'
1257
+ end
1258
+ end
1259
+
544
1260
  class SslCert
545
1261
  # @private
546
1262
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -551,10 +1267,20 @@ module Google
551
1267
  property :expiration_time, as: 'expirationTime'
552
1268
  property :instance, as: 'instance'
553
1269
  property :kind, as: 'kind'
1270
+ property :self_link, as: 'selfLink'
554
1271
  property :sha1_fingerprint, as: 'sha1Fingerprint'
555
1272
  end
556
1273
  end
557
1274
 
1275
+ class SslCertDetail
1276
+ # @private
1277
+ class Representation < Google::Apis::Core::JsonRepresentation
1278
+ property :cert_info, as: 'certInfo', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
1279
+
1280
+ property :cert_private_key, as: 'certPrivateKey'
1281
+ end
1282
+ end
1283
+
558
1284
  class SslCertsCreateEphemeralRequest
559
1285
  # @private
560
1286
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -562,6 +1288,89 @@ module Google
562
1288
  property :public_key, as: 'public_key'
563
1289
  end
564
1290
  end
1291
+
1292
+ class SslCertsInsertRequest
1293
+ # @private
1294
+ class Representation < Google::Apis::Core::JsonRepresentation
1295
+ property :common_name, as: 'commonName'
1296
+ end
1297
+ end
1298
+
1299
+ class SslCertsInsertResponse
1300
+ # @private
1301
+ class Representation < Google::Apis::Core::JsonRepresentation
1302
+ property :client_cert, as: 'clientCert', class: Google::Apis::SqladminV1::SslCertDetail, decorator: Google::Apis::SqladminV1::SslCertDetail::Representation
1303
+
1304
+ property :kind, as: 'kind'
1305
+ property :operation, as: 'operation', class: Google::Apis::SqladminV1::Operation, decorator: Google::Apis::SqladminV1::Operation::Representation
1306
+
1307
+ property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
1308
+
1309
+ end
1310
+ end
1311
+
1312
+ class SslCertsListResponse
1313
+ # @private
1314
+ class Representation < Google::Apis::Core::JsonRepresentation
1315
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
1316
+
1317
+ property :kind, as: 'kind'
1318
+ end
1319
+ end
1320
+
1321
+ class Tier
1322
+ # @private
1323
+ class Representation < Google::Apis::Core::JsonRepresentation
1324
+ property :disk_quota, :numeric_string => true, as: 'DiskQuota'
1325
+ property :ram, :numeric_string => true, as: 'RAM'
1326
+ property :kind, as: 'kind'
1327
+ collection :region, as: 'region'
1328
+ property :tier, as: 'tier'
1329
+ end
1330
+ end
1331
+
1332
+ class TiersListResponse
1333
+ # @private
1334
+ class Representation < Google::Apis::Core::JsonRepresentation
1335
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Tier, decorator: Google::Apis::SqladminV1::Tier::Representation
1336
+
1337
+ property :kind, as: 'kind'
1338
+ end
1339
+ end
1340
+
1341
+ class TruncateLogContext
1342
+ # @private
1343
+ class Representation < Google::Apis::Core::JsonRepresentation
1344
+ property :kind, as: 'kind'
1345
+ property :log_type, as: 'logType'
1346
+ end
1347
+ end
1348
+
1349
+ class User
1350
+ # @private
1351
+ class Representation < Google::Apis::Core::JsonRepresentation
1352
+ property :etag, as: 'etag'
1353
+ property :host, as: 'host'
1354
+ property :instance, as: 'instance'
1355
+ property :kind, as: 'kind'
1356
+ property :name, as: 'name'
1357
+ property :password, as: 'password'
1358
+ property :project, as: 'project'
1359
+ property :sqlserver_user_details, as: 'sqlserverUserDetails', class: Google::Apis::SqladminV1::SqlServerUserDetails, decorator: Google::Apis::SqladminV1::SqlServerUserDetails::Representation
1360
+
1361
+ property :type, as: 'type'
1362
+ end
1363
+ end
1364
+
1365
+ class UsersListResponse
1366
+ # @private
1367
+ class Representation < Google::Apis::Core::JsonRepresentation
1368
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::User, decorator: Google::Apis::SqladminV1::User::Representation
1369
+
1370
+ property :kind, as: 'kind'
1371
+ property :next_page_token, as: 'nextPageToken'
1372
+ end
1373
+ end
565
1374
  end
566
1375
  end
567
1376
  end