google-apis-sqladmin_v1 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/sqladmin_v1.rb +6 -0
- data/lib/google/apis/sqladmin_v1/classes.rb +1508 -0
- data/lib/google/apis/sqladmin_v1/gem_version.rb +2 -2
- data/lib/google/apis/sqladmin_v1/representations.rb +541 -0
- data/lib/google/apis/sqladmin_v1/service.rb +191 -0
- metadata +3 -3
@@ -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.
|
19
|
+
GEM_VERSION = "0.2.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 = "
|
25
|
+
REVISION = "20210627"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -21,6 +21,547 @@ require 'google/apis/errors'
|
|
21
21
|
module Google
|
22
22
|
module Apis
|
23
23
|
module SqladminV1
|
24
|
+
|
25
|
+
class AclEntry
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ApiWarning
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BackupConfiguration
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class BackupRetentionSettings
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class ConnectSettings
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class DatabaseFlags
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class DatabaseInstance
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
class FailoverReplica
|
65
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
66
|
+
|
67
|
+
include Google::Apis::Core::JsonObjectSupport
|
68
|
+
end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class DenyMaintenancePeriod
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class DiskEncryptionConfiguration
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class DiskEncryptionStatus
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GenerateEphemeralCertRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GenerateEphemeralCertResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class InsightsConfig
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class InstanceReference
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class InstancesListResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class IpConfiguration
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class IpMapping
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class LocationPreference
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class MaintenanceWindow
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class MySqlReplicaConfiguration
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class OnPremisesConfiguration
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class ReplicaConfiguration
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class Settings
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class SqlActiveDirectoryConfig
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class SqlOutOfDiskReport
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class SqlScheduledMaintenance
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class SslCert
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class SslCertsCreateEphemeralRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class AclEntry
|
200
|
+
# @private
|
201
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
202
|
+
property :expiration_time, as: 'expirationTime'
|
203
|
+
property :kind, as: 'kind'
|
204
|
+
property :name, as: 'name'
|
205
|
+
property :value, as: 'value'
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
class ApiWarning
|
210
|
+
# @private
|
211
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
212
|
+
property :code, as: 'code'
|
213
|
+
property :message, as: 'message'
|
214
|
+
property :region, as: 'region'
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
class BackupConfiguration
|
219
|
+
# @private
|
220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
+
property :backup_retention_settings, as: 'backupRetentionSettings', class: Google::Apis::SqladminV1::BackupRetentionSettings, decorator: Google::Apis::SqladminV1::BackupRetentionSettings::Representation
|
222
|
+
|
223
|
+
property :binary_log_enabled, as: 'binaryLogEnabled'
|
224
|
+
property :enabled, as: 'enabled'
|
225
|
+
property :kind, as: 'kind'
|
226
|
+
property :location, as: 'location'
|
227
|
+
property :point_in_time_recovery_enabled, as: 'pointInTimeRecoveryEnabled'
|
228
|
+
property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
|
229
|
+
property :start_time, as: 'startTime'
|
230
|
+
property :transaction_log_retention_days, as: 'transactionLogRetentionDays'
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
class BackupRetentionSettings
|
235
|
+
# @private
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
237
|
+
property :retained_backups, as: 'retainedBackups'
|
238
|
+
property :retention_unit, as: 'retentionUnit'
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
class ConnectSettings
|
243
|
+
# @private
|
244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
245
|
+
property :backend_type, as: 'backendType'
|
246
|
+
property :database_version, as: 'databaseVersion'
|
247
|
+
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
|
248
|
+
|
249
|
+
property :kind, as: 'kind'
|
250
|
+
property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
|
251
|
+
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
class DatabaseFlags
|
256
|
+
# @private
|
257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
+
property :name, as: 'name'
|
259
|
+
property :value, as: 'value'
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
class DatabaseInstance
|
264
|
+
# @private
|
265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
266
|
+
property :backend_type, as: 'backendType'
|
267
|
+
property :connection_name, as: 'connectionName'
|
268
|
+
property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
|
269
|
+
property :database_version, as: 'databaseVersion'
|
270
|
+
property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1::DiskEncryptionConfiguration::Representation
|
271
|
+
|
272
|
+
property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation
|
273
|
+
|
274
|
+
property :encrypted_root_password, :base64 => true, as: 'encryptedRootPassword'
|
275
|
+
property :etag, as: 'etag'
|
276
|
+
property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica::Representation
|
277
|
+
|
278
|
+
property :gce_zone, as: 'gceZone'
|
279
|
+
property :installed_version, as: 'installedVersion'
|
280
|
+
property :instance_type, as: 'instanceType'
|
281
|
+
property :instance_uid, as: 'instanceUid'
|
282
|
+
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
|
283
|
+
|
284
|
+
property :ipv6_address, as: 'ipv6Address'
|
285
|
+
property :kind, as: 'kind'
|
286
|
+
property :master_instance, as: 'masterInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
|
287
|
+
|
288
|
+
property :master_instance_name, as: 'masterInstanceName'
|
289
|
+
property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
|
290
|
+
property :name, as: 'name'
|
291
|
+
property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1::OnPremisesConfiguration::Representation
|
292
|
+
|
293
|
+
property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1::SqlOutOfDiskReport::Representation
|
294
|
+
|
295
|
+
property :project, as: 'project'
|
296
|
+
property :region, as: 'region'
|
297
|
+
property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::ReplicaConfiguration, decorator: Google::Apis::SqladminV1::ReplicaConfiguration::Representation
|
298
|
+
|
299
|
+
collection :replica_instances, as: 'replicaInstances', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
|
300
|
+
|
301
|
+
collection :replica_names, as: 'replicaNames'
|
302
|
+
property :root_password, as: 'rootPassword'
|
303
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
304
|
+
property :scheduled_maintenance, as: 'scheduledMaintenance', class: Google::Apis::SqladminV1::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1::SqlScheduledMaintenance::Representation
|
305
|
+
|
306
|
+
property :secondary_gce_zone, as: 'secondaryGceZone'
|
307
|
+
property :self_link, as: 'selfLink'
|
308
|
+
property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
|
309
|
+
|
310
|
+
property :service_account_email_address, as: 'serviceAccountEmailAddress'
|
311
|
+
property :settings, as: 'settings', class: Google::Apis::SqladminV1::Settings, decorator: Google::Apis::SqladminV1::Settings::Representation
|
312
|
+
|
313
|
+
property :state, as: 'state'
|
314
|
+
collection :suspension_reason, as: 'suspensionReason'
|
315
|
+
end
|
316
|
+
|
317
|
+
class FailoverReplica
|
318
|
+
# @private
|
319
|
+
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'
|
324
|
+
end
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
class DenyMaintenancePeriod
|
329
|
+
# @private
|
330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
331
|
+
property :end_date, as: 'endDate'
|
332
|
+
property :start_date, as: 'startDate'
|
333
|
+
property :time, as: 'time'
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
class DiskEncryptionConfiguration
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
property :kind, as: 'kind'
|
341
|
+
property :kms_key_name, as: 'kmsKeyName'
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
class DiskEncryptionStatus
|
346
|
+
# @private
|
347
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
348
|
+
property :kind, as: 'kind'
|
349
|
+
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
class GenerateEphemeralCertRequest
|
354
|
+
# @private
|
355
|
+
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'
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
class GenerateEphemeralCertResponse
|
363
|
+
# @private
|
364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
365
|
+
property :ephemeral_cert, as: 'ephemeralCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
|
366
|
+
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
class InsightsConfig
|
371
|
+
# @private
|
372
|
+
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'
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
class InstanceReference
|
382
|
+
# @private
|
383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
384
|
+
property :name, as: 'name'
|
385
|
+
property :region, as: 'region'
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
class InstancesListResponse
|
390
|
+
# @private
|
391
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
392
|
+
collection :items, as: 'items', class: Google::Apis::SqladminV1::DatabaseInstance, decorator: Google::Apis::SqladminV1::DatabaseInstance::Representation
|
393
|
+
|
394
|
+
property :kind, as: 'kind'
|
395
|
+
property :next_page_token, as: 'nextPageToken'
|
396
|
+
collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1::ApiWarning, decorator: Google::Apis::SqladminV1::ApiWarning::Representation
|
397
|
+
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
class IpConfiguration
|
402
|
+
# @private
|
403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
404
|
+
collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1::AclEntry, decorator: Google::Apis::SqladminV1::AclEntry::Representation
|
405
|
+
|
406
|
+
property :ipv4_enabled, as: 'ipv4Enabled'
|
407
|
+
property :private_network, as: 'privateNetwork'
|
408
|
+
property :require_ssl, as: 'requireSsl'
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
class IpMapping
|
413
|
+
# @private
|
414
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
415
|
+
property :ip_address, as: 'ipAddress'
|
416
|
+
property :time_to_retire, as: 'timeToRetire'
|
417
|
+
property :type, as: 'type'
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
class LocationPreference
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
property :kind, as: 'kind'
|
425
|
+
property :secondary_zone, as: 'secondaryZone'
|
426
|
+
property :zone, as: 'zone'
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
class MaintenanceWindow
|
431
|
+
# @private
|
432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
433
|
+
property :day, as: 'day'
|
434
|
+
property :hour, as: 'hour'
|
435
|
+
property :kind, as: 'kind'
|
436
|
+
property :update_track, as: 'updateTrack'
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
class MySqlReplicaConfiguration
|
441
|
+
# @private
|
442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
443
|
+
property :ca_certificate, as: 'caCertificate'
|
444
|
+
property :client_certificate, as: 'clientCertificate'
|
445
|
+
property :client_key, as: 'clientKey'
|
446
|
+
property :connect_retry_interval, as: 'connectRetryInterval'
|
447
|
+
property :dump_file_path, as: 'dumpFilePath'
|
448
|
+
property :kind, as: 'kind'
|
449
|
+
property :master_heartbeat_period, :numeric_string => true, as: 'masterHeartbeatPeriod'
|
450
|
+
property :password, as: 'password'
|
451
|
+
property :ssl_cipher, as: 'sslCipher'
|
452
|
+
property :username, as: 'username'
|
453
|
+
property :verify_server_certificate, as: 'verifyServerCertificate'
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
class OnPremisesConfiguration
|
458
|
+
# @private
|
459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
460
|
+
property :ca_certificate, as: 'caCertificate'
|
461
|
+
property :client_certificate, as: 'clientCertificate'
|
462
|
+
property :client_key, as: 'clientKey'
|
463
|
+
property :dump_file_path, as: 'dumpFilePath'
|
464
|
+
property :host_port, as: 'hostPort'
|
465
|
+
property :kind, as: 'kind'
|
466
|
+
property :password, as: 'password'
|
467
|
+
property :username, as: 'username'
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
class ReplicaConfiguration
|
472
|
+
# @private
|
473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
474
|
+
property :failover_target, as: 'failoverTarget'
|
475
|
+
property :kind, as: 'kind'
|
476
|
+
property :mysql_replica_configuration, as: 'mysqlReplicaConfiguration', class: Google::Apis::SqladminV1::MySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1::MySqlReplicaConfiguration::Representation
|
477
|
+
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
class Settings
|
482
|
+
# @private
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
property :activation_policy, as: 'activationPolicy'
|
485
|
+
property :active_directory_config, as: 'activeDirectoryConfig', class: Google::Apis::SqladminV1::SqlActiveDirectoryConfig, decorator: Google::Apis::SqladminV1::SqlActiveDirectoryConfig::Representation
|
486
|
+
|
487
|
+
property :availability_type, as: 'availabilityType'
|
488
|
+
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
|
489
|
+
|
490
|
+
property :collation, as: 'collation'
|
491
|
+
property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
|
492
|
+
property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
|
493
|
+
property :data_disk_type, as: 'dataDiskType'
|
494
|
+
collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1::DatabaseFlags, decorator: Google::Apis::SqladminV1::DatabaseFlags::Representation
|
495
|
+
|
496
|
+
property :database_replication_enabled, as: 'databaseReplicationEnabled'
|
497
|
+
collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::SqladminV1::DenyMaintenancePeriod, decorator: Google::Apis::SqladminV1::DenyMaintenancePeriod::Representation
|
498
|
+
|
499
|
+
property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1::InsightsConfig, decorator: Google::Apis::SqladminV1::InsightsConfig::Representation
|
500
|
+
|
501
|
+
property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1::IpConfiguration, decorator: Google::Apis::SqladminV1::IpConfiguration::Representation
|
502
|
+
|
503
|
+
property :kind, as: 'kind'
|
504
|
+
property :location_preference, as: 'locationPreference', class: Google::Apis::SqladminV1::LocationPreference, decorator: Google::Apis::SqladminV1::LocationPreference::Representation
|
505
|
+
|
506
|
+
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::SqladminV1::MaintenanceWindow, decorator: Google::Apis::SqladminV1::MaintenanceWindow::Representation
|
507
|
+
|
508
|
+
property :pricing_plan, as: 'pricingPlan'
|
509
|
+
property :replication_type, as: 'replicationType'
|
510
|
+
property :settings_version, :numeric_string => true, as: 'settingsVersion'
|
511
|
+
property :storage_auto_resize, as: 'storageAutoResize'
|
512
|
+
property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
|
513
|
+
property :tier, as: 'tier'
|
514
|
+
hash :user_labels, as: 'userLabels'
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
class SqlActiveDirectoryConfig
|
519
|
+
# @private
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
521
|
+
property :domain, as: 'domain'
|
522
|
+
property :kind, as: 'kind'
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
class SqlOutOfDiskReport
|
527
|
+
# @private
|
528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
529
|
+
property :sql_min_recommended_increase_size_gb, as: 'sqlMinRecommendedIncreaseSizeGb'
|
530
|
+
property :sql_out_of_disk_state, as: 'sqlOutOfDiskState'
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
class SqlScheduledMaintenance
|
535
|
+
# @private
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
537
|
+
property :can_defer, as: 'canDefer'
|
538
|
+
property :can_reschedule, as: 'canReschedule'
|
539
|
+
property :schedule_deadline_time, as: 'scheduleDeadlineTime'
|
540
|
+
property :start_time, as: 'startTime'
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
class SslCert
|
545
|
+
# @private
|
546
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
547
|
+
property :cert, as: 'cert'
|
548
|
+
property :cert_serial_number, as: 'certSerialNumber'
|
549
|
+
property :common_name, as: 'commonName'
|
550
|
+
property :create_time, as: 'createTime'
|
551
|
+
property :expiration_time, as: 'expirationTime'
|
552
|
+
property :instance, as: 'instance'
|
553
|
+
property :kind, as: 'kind'
|
554
|
+
property :sha1_fingerprint, as: 'sha1Fingerprint'
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
class SslCertsCreateEphemeralRequest
|
559
|
+
# @private
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
561
|
+
property :access_token, as: 'access_token'
|
562
|
+
property :public_key, as: 'public_key'
|
563
|
+
end
|
564
|
+
end
|
24
565
|
end
|
25
566
|
end
|
26
567
|
end
|