google-apis-databasecenter_v1beta 0.1.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.
@@ -0,0 +1,1045 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module DatabasecenterV1beta
24
+
25
+ class AdditionalDetail
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Affiliation
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AggregateFleetResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AggregateFleetRow
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AggregateIssueStatsRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AggregateIssueStatsResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AggregateQueryStatsRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AggregateQueryStatsResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class AutomatedBackupPolicyInfo
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BackupDrConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BackupRunInfo
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DatabaseResource
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DatabaseResourceGroup
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DatabaseResourceIssue
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Date
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DeletionProtectionInfo
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DeltaDetails
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Dimension
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class InefficientQueryInfo
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class IssueCount
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class IssueGroupStats
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class IssueStats
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Label
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Lineage
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class MachineConfig
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class MaintenanceInfo
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class MaintenanceRecommendationInfo
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class MetricData
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Metrics
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class OutdatedMinorVersionInfo
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Product
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class QueryDatabaseResourceGroupsRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class QueryDatabaseResourceGroupsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class QueryIssuesRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class QueryIssuesResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class QueryMetrics
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class QueryProductsResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class QueryStats
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class QueryStatsInfo
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class RecommendationInfo
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class RegulatoryStandard
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ResourceDetails
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ResourceId
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ResourceMaintenanceDenySchedule
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ResourceMaintenanceSchedule
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ResourceSuspensionInfo
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class RetentionSettingsInfo
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class SccInfo
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class Signal
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class SignalFilter
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class SignalGroup
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class SignalProductsFilters
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class SignalTypeGroup
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class SubResource
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class Tag
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class TimeOfDay
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class TypedValue
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class UpcomingMaintenance
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class AdditionalDetail
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :automated_backup_policy_info, as: 'automatedBackupPolicyInfo', class: Google::Apis::DatabasecenterV1beta::AutomatedBackupPolicyInfo, decorator: Google::Apis::DatabasecenterV1beta::AutomatedBackupPolicyInfo::Representation
377
+
378
+ property :backup_run_info, as: 'backupRunInfo', class: Google::Apis::DatabasecenterV1beta::BackupRunInfo, decorator: Google::Apis::DatabasecenterV1beta::BackupRunInfo::Representation
379
+
380
+ property :deletion_protection_info, as: 'deletionProtectionInfo', class: Google::Apis::DatabasecenterV1beta::DeletionProtectionInfo, decorator: Google::Apis::DatabasecenterV1beta::DeletionProtectionInfo::Representation
381
+
382
+ property :inefficient_query_info, as: 'inefficientQueryInfo', class: Google::Apis::DatabasecenterV1beta::InefficientQueryInfo, decorator: Google::Apis::DatabasecenterV1beta::InefficientQueryInfo::Representation
383
+
384
+ property :maintenance_recommendation_info, as: 'maintenanceRecommendationInfo', class: Google::Apis::DatabasecenterV1beta::MaintenanceRecommendationInfo, decorator: Google::Apis::DatabasecenterV1beta::MaintenanceRecommendationInfo::Representation
385
+
386
+ property :outdated_minor_version_info, as: 'outdatedMinorVersionInfo', class: Google::Apis::DatabasecenterV1beta::OutdatedMinorVersionInfo, decorator: Google::Apis::DatabasecenterV1beta::OutdatedMinorVersionInfo::Representation
387
+
388
+ property :recommendation_info, as: 'recommendationInfo', class: Google::Apis::DatabasecenterV1beta::RecommendationInfo, decorator: Google::Apis::DatabasecenterV1beta::RecommendationInfo::Representation
389
+
390
+ property :resource_suspension_info, as: 'resourceSuspensionInfo', class: Google::Apis::DatabasecenterV1beta::ResourceSuspensionInfo, decorator: Google::Apis::DatabasecenterV1beta::ResourceSuspensionInfo::Representation
391
+
392
+ property :scc_info, as: 'sccInfo', class: Google::Apis::DatabasecenterV1beta::SccInfo, decorator: Google::Apis::DatabasecenterV1beta::SccInfo::Representation
393
+
394
+ property :short_backup_retention_info, as: 'shortBackupRetentionInfo', class: Google::Apis::DatabasecenterV1beta::RetentionSettingsInfo, decorator: Google::Apis::DatabasecenterV1beta::RetentionSettingsInfo::Representation
395
+
396
+ property :signal_event_time, as: 'signalEventTime'
397
+ property :signal_source, as: 'signalSource'
398
+ property :signal_type, as: 'signalType'
399
+ end
400
+ end
401
+
402
+ class Affiliation
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :full_resource_name, as: 'fullResourceName'
406
+ collection :lineages, as: 'lineages', class: Google::Apis::DatabasecenterV1beta::Lineage, decorator: Google::Apis::DatabasecenterV1beta::Lineage::Representation
407
+
408
+ property :resource_id, as: 'resourceId'
409
+ end
410
+ end
411
+
412
+ class AggregateFleetResponse
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :next_page_token, as: 'nextPageToken'
416
+ property :resource_groups_total_count, as: 'resourceGroupsTotalCount'
417
+ property :resource_total_count, as: 'resourceTotalCount'
418
+ collection :rows, as: 'rows', class: Google::Apis::DatabasecenterV1beta::AggregateFleetRow, decorator: Google::Apis::DatabasecenterV1beta::AggregateFleetRow::Representation
419
+
420
+ property :total_size, :numeric_string => true, as: 'totalSize'
421
+ collection :unreachable, as: 'unreachable'
422
+ end
423
+ end
424
+
425
+ class AggregateFleetRow
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :delta_details, as: 'deltaDetails', class: Google::Apis::DatabasecenterV1beta::DeltaDetails, decorator: Google::Apis::DatabasecenterV1beta::DeltaDetails::Representation
429
+
430
+ collection :dimension, as: 'dimension', class: Google::Apis::DatabasecenterV1beta::Dimension, decorator: Google::Apis::DatabasecenterV1beta::Dimension::Representation
431
+
432
+ property :resource_groups_count, as: 'resourceGroupsCount'
433
+ property :resources_count, as: 'resourcesCount'
434
+ end
435
+ end
436
+
437
+ class AggregateIssueStatsRequest
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :baseline_date, as: 'baselineDate', class: Google::Apis::DatabasecenterV1beta::Date, decorator: Google::Apis::DatabasecenterV1beta::Date::Representation
441
+
442
+ property :filter, as: 'filter'
443
+ property :parent, as: 'parent'
444
+ collection :signal_type_groups, as: 'signalTypeGroups', class: Google::Apis::DatabasecenterV1beta::SignalTypeGroup, decorator: Google::Apis::DatabasecenterV1beta::SignalTypeGroup::Representation
445
+
446
+ end
447
+ end
448
+
449
+ class AggregateIssueStatsResponse
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ collection :issue_group_stats, as: 'issueGroupStats', class: Google::Apis::DatabasecenterV1beta::IssueGroupStats, decorator: Google::Apis::DatabasecenterV1beta::IssueGroupStats::Representation
453
+
454
+ property :total_resource_groups_count, as: 'totalResourceGroupsCount'
455
+ property :total_resources_count, as: 'totalResourcesCount'
456
+ collection :unreachable, as: 'unreachable'
457
+ end
458
+ end
459
+
460
+ class AggregateQueryStatsRequest
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :filter, as: 'filter'
464
+ property :order_by, as: 'orderBy'
465
+ property :page_size, as: 'pageSize'
466
+ property :page_token, as: 'pageToken'
467
+ end
468
+ end
469
+
470
+ class AggregateQueryStatsResponse
471
+ # @private
472
+ class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :next_page_token, as: 'nextPageToken'
474
+ collection :query_stats, as: 'queryStats', class: Google::Apis::DatabasecenterV1beta::QueryStatsInfo, decorator: Google::Apis::DatabasecenterV1beta::QueryStatsInfo::Representation
475
+
476
+ collection :unreachable, as: 'unreachable'
477
+ end
478
+ end
479
+
480
+ class AutomatedBackupPolicyInfo
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ property :is_enabled, as: 'isEnabled'
484
+ property :sub_resource, as: 'subResource', class: Google::Apis::DatabasecenterV1beta::SubResource, decorator: Google::Apis::DatabasecenterV1beta::SubResource::Representation
485
+
486
+ end
487
+ end
488
+
489
+ class BackupDrConfig
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :backupdr_managed, as: 'backupdrManaged'
493
+ end
494
+ end
495
+
496
+ class BackupRunInfo
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :end_time, as: 'endTime'
500
+ property :error_message, as: 'errorMessage'
501
+ property :operation_error_type, as: 'operationErrorType'
502
+ property :start_time, as: 'startTime'
503
+ property :state, as: 'state'
504
+ property :sub_resource, as: 'subResource', class: Google::Apis::DatabasecenterV1beta::SubResource, decorator: Google::Apis::DatabasecenterV1beta::SubResource::Representation
505
+
506
+ end
507
+ end
508
+
509
+ class DatabaseResource
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ collection :affiliations, as: 'affiliations', class: Google::Apis::DatabasecenterV1beta::Affiliation, decorator: Google::Apis::DatabasecenterV1beta::Affiliation::Representation
513
+
514
+ property :backupdr_config, as: 'backupdrConfig', class: Google::Apis::DatabasecenterV1beta::BackupDrConfig, decorator: Google::Apis::DatabasecenterV1beta::BackupDrConfig::Representation
515
+
516
+ collection :child_resources, as: 'childResources', class: Google::Apis::DatabasecenterV1beta::DatabaseResource, decorator: Google::Apis::DatabasecenterV1beta::DatabaseResource::Representation
517
+
518
+ property :container, as: 'container'
519
+ property :edition, as: 'edition'
520
+ property :full_resource_name, as: 'fullResourceName'
521
+ collection :labels, as: 'labels', class: Google::Apis::DatabasecenterV1beta::Label, decorator: Google::Apis::DatabasecenterV1beta::Label::Representation
522
+
523
+ property :location, as: 'location'
524
+ property :machine_config, as: 'machineConfig', class: Google::Apis::DatabasecenterV1beta::MachineConfig, decorator: Google::Apis::DatabasecenterV1beta::MachineConfig::Representation
525
+
526
+ property :maintenance_info, as: 'maintenanceInfo', class: Google::Apis::DatabasecenterV1beta::MaintenanceInfo, decorator: Google::Apis::DatabasecenterV1beta::MaintenanceInfo::Representation
527
+
528
+ property :metrics, as: 'metrics', class: Google::Apis::DatabasecenterV1beta::Metrics, decorator: Google::Apis::DatabasecenterV1beta::Metrics::Representation
529
+
530
+ property :product, as: 'product', class: Google::Apis::DatabasecenterV1beta::Product, decorator: Google::Apis::DatabasecenterV1beta::Product::Representation
531
+
532
+ property :resource_category, as: 'resourceCategory'
533
+ property :resource_name, as: 'resourceName'
534
+ property :resource_type, as: 'resourceType'
535
+ collection :signal_groups, as: 'signalGroups', class: Google::Apis::DatabasecenterV1beta::SignalGroup, decorator: Google::Apis::DatabasecenterV1beta::SignalGroup::Representation
536
+
537
+ property :sub_resource_type, as: 'subResourceType'
538
+ collection :tags, as: 'tags', class: Google::Apis::DatabasecenterV1beta::Tag, decorator: Google::Apis::DatabasecenterV1beta::Tag::Representation
539
+
540
+ end
541
+ end
542
+
543
+ class DatabaseResourceGroup
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ collection :root_resources, as: 'rootResources', class: Google::Apis::DatabasecenterV1beta::DatabaseResource, decorator: Google::Apis::DatabasecenterV1beta::DatabaseResource::Representation
547
+
548
+ collection :signal_groups, as: 'signalGroups', class: Google::Apis::DatabasecenterV1beta::IssueCount, decorator: Google::Apis::DatabasecenterV1beta::IssueCount::Representation
549
+
550
+ end
551
+ end
552
+
553
+ class DatabaseResourceIssue
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ property :resource, as: 'resource', class: Google::Apis::DatabasecenterV1beta::DatabaseResource, decorator: Google::Apis::DatabasecenterV1beta::DatabaseResource::Representation
557
+
558
+ property :signal, as: 'signal', class: Google::Apis::DatabasecenterV1beta::Signal, decorator: Google::Apis::DatabasecenterV1beta::Signal::Representation
559
+
560
+ end
561
+ end
562
+
563
+ class Date
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :day, as: 'day'
567
+ property :month, as: 'month'
568
+ property :year, as: 'year'
569
+ end
570
+ end
571
+
572
+ class DeletionProtectionInfo
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
576
+ property :sub_resource, as: 'subResource', class: Google::Apis::DatabasecenterV1beta::SubResource, decorator: Google::Apis::DatabasecenterV1beta::SubResource::Representation
577
+
578
+ end
579
+ end
580
+
581
+ class DeltaDetails
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ collection :decreased_resources, as: 'decreasedResources', class: Google::Apis::DatabasecenterV1beta::ResourceDetails, decorator: Google::Apis::DatabasecenterV1beta::ResourceDetails::Representation
585
+
586
+ collection :increased_resources, as: 'increasedResources', class: Google::Apis::DatabasecenterV1beta::ResourceDetails, decorator: Google::Apis::DatabasecenterV1beta::ResourceDetails::Representation
587
+
588
+ end
589
+ end
590
+
591
+ class Dimension
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :container, as: 'container'
595
+ property :edition, as: 'edition'
596
+ property :has_deny_maintenance_schedules, as: 'hasDenyMaintenanceSchedules'
597
+ property :has_maintenance_schedule, as: 'hasMaintenanceSchedule'
598
+ property :label_key, as: 'labelKey'
599
+ property :label_source, as: 'labelSource'
600
+ property :label_value, as: 'labelValue'
601
+ property :location, as: 'location'
602
+ property :management_type, as: 'managementType'
603
+ property :product_engine, as: 'productEngine'
604
+ property :product_type, as: 'productType'
605
+ property :product_version, as: 'productVersion'
606
+ property :resource_category, as: 'resourceCategory'
607
+ property :resource_type, as: 'resourceType'
608
+ property :sub_resource_type, as: 'subResourceType'
609
+ property :tag_inherited, as: 'tagInherited'
610
+ property :tag_key, as: 'tagKey'
611
+ property :tag_source, as: 'tagSource'
612
+ property :tag_value, as: 'tagValue'
613
+ end
614
+ end
615
+
616
+ class InefficientQueryInfo
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :database, as: 'database'
620
+ property :impacted_queries_count, :numeric_string => true, as: 'impactedQueriesCount'
621
+ property :sql_index_statement, as: 'sqlIndexStatement'
622
+ property :storage_cost_bytes, :numeric_string => true, as: 'storageCostBytes'
623
+ property :table, as: 'table'
624
+ end
625
+ end
626
+
627
+ class IssueCount
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ property :display_name, as: 'displayName'
631
+ property :issue_count, as: 'issueCount'
632
+ end
633
+ end
634
+
635
+ class IssueGroupStats
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :display_name, as: 'displayName'
639
+ property :healthy_resource_groups_count, as: 'healthyResourceGroupsCount'
640
+ property :healthy_resources_count, as: 'healthyResourcesCount'
641
+ collection :issue_stats, as: 'issueStats', class: Google::Apis::DatabasecenterV1beta::IssueStats, decorator: Google::Apis::DatabasecenterV1beta::IssueStats::Representation
642
+
643
+ property :resource_groups_count, as: 'resourceGroupsCount'
644
+ property :resources_count, as: 'resourcesCount'
645
+ end
646
+ end
647
+
648
+ class IssueStats
649
+ # @private
650
+ class Representation < Google::Apis::Core::JsonRepresentation
651
+ property :delta_details, as: 'deltaDetails', class: Google::Apis::DatabasecenterV1beta::DeltaDetails, decorator: Google::Apis::DatabasecenterV1beta::DeltaDetails::Representation
652
+
653
+ property :issue_severity, as: 'issueSeverity'
654
+ property :resource_count, as: 'resourceCount'
655
+ property :signal_type, as: 'signalType'
656
+ end
657
+ end
658
+
659
+ class Label
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :key, as: 'key'
663
+ property :source, as: 'source'
664
+ property :value, as: 'value'
665
+ end
666
+ end
667
+
668
+ class Lineage
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :process_fqn, as: 'processFqn'
672
+ property :process_type, as: 'processType'
673
+ property :source_fqn, as: 'sourceFqn'
674
+ property :target_fqn, as: 'targetFqn'
675
+ end
676
+ end
677
+
678
+ class MachineConfig
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :baseline_slot_count, :numeric_string => true, as: 'baselineSlotCount'
682
+ property :max_reservation_slot_count, :numeric_string => true, as: 'maxReservationSlotCount'
683
+ property :memory_size_bytes, :numeric_string => true, as: 'memorySizeBytes'
684
+ property :shard_count, as: 'shardCount'
685
+ property :vcpu_count, as: 'vcpuCount'
686
+ end
687
+ end
688
+
689
+ class MaintenanceInfo
690
+ # @private
691
+ class Representation < Google::Apis::Core::JsonRepresentation
692
+ property :current_version_release_date, as: 'currentVersionReleaseDate', class: Google::Apis::DatabasecenterV1beta::Date, decorator: Google::Apis::DatabasecenterV1beta::Date::Representation
693
+
694
+ collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::DatabasecenterV1beta::ResourceMaintenanceDenySchedule, decorator: Google::Apis::DatabasecenterV1beta::ResourceMaintenanceDenySchedule::Representation
695
+
696
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::DatabasecenterV1beta::ResourceMaintenanceSchedule, decorator: Google::Apis::DatabasecenterV1beta::ResourceMaintenanceSchedule::Representation
697
+
698
+ property :maintenance_version, as: 'maintenanceVersion'
699
+ collection :possible_failure_reasons, as: 'possibleFailureReasons'
700
+ property :previous_maintenance_version, as: 'previousMaintenanceVersion'
701
+ property :state, as: 'state'
702
+ property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::DatabasecenterV1beta::UpcomingMaintenance, decorator: Google::Apis::DatabasecenterV1beta::UpcomingMaintenance::Representation
703
+
704
+ end
705
+ end
706
+
707
+ class MaintenanceRecommendationInfo
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ collection :resource_maintenance_schedules, as: 'resourceMaintenanceSchedules', class: Google::Apis::DatabasecenterV1beta::ResourceMaintenanceSchedule, decorator: Google::Apis::DatabasecenterV1beta::ResourceMaintenanceSchedule::Representation
711
+
712
+ end
713
+ end
714
+
715
+ class MetricData
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :observation_time, as: 'observationTime'
719
+ property :value, as: 'value', class: Google::Apis::DatabasecenterV1beta::TypedValue, decorator: Google::Apis::DatabasecenterV1beta::TypedValue::Representation
720
+
721
+ end
722
+ end
723
+
724
+ class Metrics
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :current_memory_used_bytes, as: 'currentMemoryUsedBytes', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
728
+
729
+ property :current_storage_used_bytes, as: 'currentStorageUsedBytes', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
730
+
731
+ property :node_count, as: 'nodeCount', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
732
+
733
+ property :p95_cpu_utilization, as: 'p95CpuUtilization', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
734
+
735
+ property :p99_cpu_utilization, as: 'p99CpuUtilization', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
736
+
737
+ property :peak_memory_utilization, as: 'peakMemoryUtilization', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
738
+
739
+ property :peak_number_connections, as: 'peakNumberConnections', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
740
+
741
+ property :peak_storage_utilization, as: 'peakStorageUtilization', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
742
+
743
+ property :processing_unit_count, as: 'processingUnitCount', class: Google::Apis::DatabasecenterV1beta::MetricData, decorator: Google::Apis::DatabasecenterV1beta::MetricData::Representation
744
+
745
+ end
746
+ end
747
+
748
+ class OutdatedMinorVersionInfo
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :recommended_minor_version, as: 'recommendedMinorVersion'
752
+ end
753
+ end
754
+
755
+ class Product
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :engine, as: 'engine'
759
+ property :minor_version, as: 'minorVersion'
760
+ property :type, as: 'type'
761
+ property :version, as: 'version'
762
+ end
763
+ end
764
+
765
+ class QueryDatabaseResourceGroupsRequest
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ property :filter, as: 'filter'
769
+ property :order_by, as: 'orderBy'
770
+ property :page_size, as: 'pageSize'
771
+ property :page_token, as: 'pageToken'
772
+ property :parent, as: 'parent'
773
+ collection :signal_filters, as: 'signalFilters', class: Google::Apis::DatabasecenterV1beta::SignalFilter, decorator: Google::Apis::DatabasecenterV1beta::SignalFilter::Representation
774
+
775
+ collection :signal_type_groups, as: 'signalTypeGroups', class: Google::Apis::DatabasecenterV1beta::SignalTypeGroup, decorator: Google::Apis::DatabasecenterV1beta::SignalTypeGroup::Representation
776
+
777
+ end
778
+ end
779
+
780
+ class QueryDatabaseResourceGroupsResponse
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ property :next_page_token, as: 'nextPageToken'
784
+ collection :resource_groups, as: 'resourceGroups', class: Google::Apis::DatabasecenterV1beta::DatabaseResourceGroup, decorator: Google::Apis::DatabasecenterV1beta::DatabaseResourceGroup::Representation
785
+
786
+ property :total_size, :numeric_string => true, as: 'totalSize'
787
+ collection :unreachable, as: 'unreachable'
788
+ end
789
+ end
790
+
791
+ class QueryIssuesRequest
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :filter, as: 'filter'
795
+ property :order_by, as: 'orderBy'
796
+ property :page_size, as: 'pageSize'
797
+ property :page_token, as: 'pageToken'
798
+ property :parent, as: 'parent'
799
+ collection :signal_products_filters, as: 'signalProductsFilters', class: Google::Apis::DatabasecenterV1beta::SignalProductsFilters, decorator: Google::Apis::DatabasecenterV1beta::SignalProductsFilters::Representation
800
+
801
+ end
802
+ end
803
+
804
+ class QueryIssuesResponse
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :next_page_token, as: 'nextPageToken'
808
+ collection :resource_issues, as: 'resourceIssues', class: Google::Apis::DatabasecenterV1beta::DatabaseResourceIssue, decorator: Google::Apis::DatabasecenterV1beta::DatabaseResourceIssue::Representation
809
+
810
+ collection :unreachable, as: 'unreachable'
811
+ end
812
+ end
813
+
814
+ class QueryMetrics
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ property :avg_cpu_time, as: 'avgCpuTime'
818
+ property :execution_count, :numeric_string => true, as: 'executionCount'
819
+ property :metrics_window, as: 'metricsWindow'
820
+ property :rows_processed, :numeric_string => true, as: 'rowsProcessed'
821
+ property :total_cpu_time, as: 'totalCpuTime'
822
+ end
823
+ end
824
+
825
+ class QueryProductsResponse
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :next_page_token, as: 'nextPageToken'
829
+ collection :products, as: 'products', class: Google::Apis::DatabasecenterV1beta::Product, decorator: Google::Apis::DatabasecenterV1beta::Product::Representation
830
+
831
+ collection :unreachable, as: 'unreachable'
832
+ end
833
+ end
834
+
835
+ class QueryStats
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ property :inefficient_query_info, as: 'inefficientQueryInfo', class: Google::Apis::DatabasecenterV1beta::InefficientQueryInfo, decorator: Google::Apis::DatabasecenterV1beta::InefficientQueryInfo::Representation
839
+
840
+ property :normalized_query, as: 'normalizedQuery'
841
+ property :query_hash, as: 'queryHash'
842
+ property :query_metrics, as: 'queryMetrics', class: Google::Apis::DatabasecenterV1beta::QueryMetrics, decorator: Google::Apis::DatabasecenterV1beta::QueryMetrics::Representation
843
+
844
+ collection :resource_ids, as: 'resourceIds', class: Google::Apis::DatabasecenterV1beta::ResourceId, decorator: Google::Apis::DatabasecenterV1beta::ResourceId::Representation
845
+
846
+ property :resource_type, as: 'resourceType'
847
+ end
848
+ end
849
+
850
+ class QueryStatsInfo
851
+ # @private
852
+ class Representation < Google::Apis::Core::JsonRepresentation
853
+ property :aggregated_query_stats, as: 'aggregatedQueryStats', class: Google::Apis::DatabasecenterV1beta::QueryStats, decorator: Google::Apis::DatabasecenterV1beta::QueryStats::Representation
854
+
855
+ collection :query_stats, as: 'queryStats', class: Google::Apis::DatabasecenterV1beta::QueryStats, decorator: Google::Apis::DatabasecenterV1beta::QueryStats::Representation
856
+
857
+ end
858
+ end
859
+
860
+ class RecommendationInfo
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ property :recommender, as: 'recommender'
864
+ property :recommender_id, as: 'recommenderId'
865
+ property :recommender_subtype, as: 'recommenderSubtype'
866
+ end
867
+ end
868
+
869
+ class RegulatoryStandard
870
+ # @private
871
+ class Representation < Google::Apis::Core::JsonRepresentation
872
+ property :standard, as: 'standard'
873
+ property :version, as: 'version'
874
+ end
875
+ end
876
+
877
+ class ResourceDetails
878
+ # @private
879
+ class Representation < Google::Apis::Core::JsonRepresentation
880
+ property :container, as: 'container'
881
+ property :full_resource_name, as: 'fullResourceName'
882
+ property :location, as: 'location'
883
+ property :product, as: 'product', class: Google::Apis::DatabasecenterV1beta::Product, decorator: Google::Apis::DatabasecenterV1beta::Product::Representation
884
+
885
+ end
886
+ end
887
+
888
+ class ResourceId
889
+ # @private
890
+ class Representation < Google::Apis::Core::JsonRepresentation
891
+ property :full_resource_name, as: 'fullResourceName'
892
+ property :product, as: 'product', class: Google::Apis::DatabasecenterV1beta::Product, decorator: Google::Apis::DatabasecenterV1beta::Product::Representation
893
+
894
+ property :resource_type, as: 'resourceType'
895
+ end
896
+ end
897
+
898
+ class ResourceMaintenanceDenySchedule
899
+ # @private
900
+ class Representation < Google::Apis::Core::JsonRepresentation
901
+ property :end_date, as: 'endDate', class: Google::Apis::DatabasecenterV1beta::Date, decorator: Google::Apis::DatabasecenterV1beta::Date::Representation
902
+
903
+ property :start_date, as: 'startDate', class: Google::Apis::DatabasecenterV1beta::Date, decorator: Google::Apis::DatabasecenterV1beta::Date::Representation
904
+
905
+ property :time, as: 'time', class: Google::Apis::DatabasecenterV1beta::TimeOfDay, decorator: Google::Apis::DatabasecenterV1beta::TimeOfDay::Representation
906
+
907
+ end
908
+ end
909
+
910
+ class ResourceMaintenanceSchedule
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ property :day, as: 'day'
914
+ property :phase, as: 'phase'
915
+ property :start_time, as: 'startTime', class: Google::Apis::DatabasecenterV1beta::TimeOfDay, decorator: Google::Apis::DatabasecenterV1beta::TimeOfDay::Representation
916
+
917
+ end
918
+ end
919
+
920
+ class ResourceSuspensionInfo
921
+ # @private
922
+ class Representation < Google::Apis::Core::JsonRepresentation
923
+ property :resource_suspended, as: 'resourceSuspended'
924
+ property :suspension_reason, as: 'suspensionReason'
925
+ end
926
+ end
927
+
928
+ class RetentionSettingsInfo
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ property :duration_based_retention, as: 'durationBasedRetention'
932
+ property :quantity_based_retention, as: 'quantityBasedRetention'
933
+ property :sub_resource, as: 'subResource', class: Google::Apis::DatabasecenterV1beta::SubResource, decorator: Google::Apis::DatabasecenterV1beta::SubResource::Representation
934
+
935
+ property :timestamp_based_retention_time, as: 'timestampBasedRetentionTime'
936
+ end
937
+ end
938
+
939
+ class SccInfo
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :category, as: 'category'
943
+ property :external_uri, as: 'externalUri'
944
+ collection :regulatory_standards, as: 'regulatoryStandards', class: Google::Apis::DatabasecenterV1beta::RegulatoryStandard, decorator: Google::Apis::DatabasecenterV1beta::RegulatoryStandard::Representation
945
+
946
+ property :signal, as: 'signal'
947
+ end
948
+ end
949
+
950
+ class Signal
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ collection :additional_details, as: 'additionalDetails', class: Google::Apis::DatabasecenterV1beta::AdditionalDetail, decorator: Google::Apis::DatabasecenterV1beta::AdditionalDetail::Representation
954
+
955
+ property :issue_create_time, as: 'issueCreateTime'
956
+ property :issue_severity, as: 'issueSeverity'
957
+ property :signal_status, as: 'signalStatus'
958
+ property :signal_type, as: 'signalType'
959
+ end
960
+ end
961
+
962
+ class SignalFilter
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :signal_status, as: 'signalStatus'
966
+ property :signal_type, as: 'signalType'
967
+ end
968
+ end
969
+
970
+ class SignalGroup
971
+ # @private
972
+ class Representation < Google::Apis::Core::JsonRepresentation
973
+ property :display_name, as: 'displayName'
974
+ property :issue_count, as: 'issueCount'
975
+ collection :signals, as: 'signals', class: Google::Apis::DatabasecenterV1beta::Signal, decorator: Google::Apis::DatabasecenterV1beta::Signal::Representation
976
+
977
+ end
978
+ end
979
+
980
+ class SignalProductsFilters
981
+ # @private
982
+ class Representation < Google::Apis::Core::JsonRepresentation
983
+ collection :products, as: 'products', class: Google::Apis::DatabasecenterV1beta::Product, decorator: Google::Apis::DatabasecenterV1beta::Product::Representation
984
+
985
+ property :signal_type, as: 'signalType'
986
+ end
987
+ end
988
+
989
+ class SignalTypeGroup
990
+ # @private
991
+ class Representation < Google::Apis::Core::JsonRepresentation
992
+ property :display_name, as: 'displayName'
993
+ collection :signal_types, as: 'signalTypes'
994
+ end
995
+ end
996
+
997
+ class SubResource
998
+ # @private
999
+ class Representation < Google::Apis::Core::JsonRepresentation
1000
+ property :container, as: 'container'
1001
+ property :full_resource_name, as: 'fullResourceName'
1002
+ property :product, as: 'product', class: Google::Apis::DatabasecenterV1beta::Product, decorator: Google::Apis::DatabasecenterV1beta::Product::Representation
1003
+
1004
+ property :resource_type, as: 'resourceType'
1005
+ end
1006
+ end
1007
+
1008
+ class Tag
1009
+ # @private
1010
+ class Representation < Google::Apis::Core::JsonRepresentation
1011
+ property :inherited, as: 'inherited'
1012
+ property :key, as: 'key'
1013
+ property :source, as: 'source'
1014
+ property :value, as: 'value'
1015
+ end
1016
+ end
1017
+
1018
+ class TimeOfDay
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ property :hours, as: 'hours'
1022
+ property :minutes, as: 'minutes'
1023
+ property :nanos, as: 'nanos'
1024
+ property :seconds, as: 'seconds'
1025
+ end
1026
+ end
1027
+
1028
+ class TypedValue
1029
+ # @private
1030
+ class Representation < Google::Apis::Core::JsonRepresentation
1031
+ property :double_value, as: 'doubleValue'
1032
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1033
+ end
1034
+ end
1035
+
1036
+ class UpcomingMaintenance
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ property :end_time, as: 'endTime'
1040
+ property :start_time, as: 'startTime'
1041
+ end
1042
+ end
1043
+ end
1044
+ end
1045
+ end