google-cloud-database_center-v1beta 0.a → 0.2.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.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/database_center/v1beta/database_center/client.rb +956 -0
- data/lib/google/cloud/database_center/v1beta/database_center/credentials.rb +47 -0
- data/lib/google/cloud/database_center/v1beta/database_center/rest/client.rb +917 -0
- data/lib/google/cloud/database_center/v1beta/database_center/rest/service_stub.rb +319 -0
- data/lib/google/cloud/database_center/v1beta/database_center/rest.rb +51 -0
- data/lib/google/cloud/database_center/v1beta/database_center.rb +54 -0
- data/lib/google/cloud/database_center/v1beta/rest.rb +37 -0
- data/lib/google/cloud/database_center/v1beta/version.rb +8 -3
- data/lib/google/cloud/database_center/v1beta.rb +45 -0
- data/lib/google/cloud/databasecenter/v1beta/machine_config_pb.rb +44 -0
- data/lib/google/cloud/databasecenter/v1beta/maintenance_pb.rb +52 -0
- data/lib/google/cloud/databasecenter/v1beta/metric_data_pb.rb +47 -0
- data/lib/google/cloud/databasecenter/v1beta/operation_error_type_pb.rb +42 -0
- data/lib/google/cloud/databasecenter/v1beta/product_pb.rb +46 -0
- data/lib/google/cloud/databasecenter/v1beta/service_pb.rb +80 -0
- data/lib/google/cloud/databasecenter/v1beta/service_services_pb.rb +53 -0
- data/lib/google/cloud/databasecenter/v1beta/signals_pb.rb +78 -0
- data/lib/google/cloud/databasecenter/v1beta/suspension_reason_pb.rb +42 -0
- data/lib/google-cloud-database_center-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +473 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/machine_config.rb +42 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/maintenance.rb +105 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/metric_data.rb +92 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/operation_error_type.rb +53 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/product.rb +132 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/service.rb +823 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/signals.rb +848 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/suspension_reason.rb +50 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/type/date.rb +53 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- data/proto_docs/google/type/timeofday.rb +45 -0
- metadata +82 -9
|
@@ -0,0 +1,848 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module DatabaseCenter
|
|
23
|
+
module V1beta
|
|
24
|
+
# A group of signal types that specifies what the user is interested in.
|
|
25
|
+
#
|
|
26
|
+
# Used by QueryDatabaseResourceGroups API.
|
|
27
|
+
#
|
|
28
|
+
# Example:
|
|
29
|
+
#
|
|
30
|
+
# signal_type_group {
|
|
31
|
+
# name = "AVAILABILITY"
|
|
32
|
+
# types = [SIGNAL_TYPE_NO_PROMOTABLE_REPLICA]
|
|
33
|
+
# }
|
|
34
|
+
# @!attribute [rw] display_name
|
|
35
|
+
# @return [::String]
|
|
36
|
+
# Required. The display name of a signal group.
|
|
37
|
+
# @!attribute [rw] signal_types
|
|
38
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalType>]
|
|
39
|
+
# Optional. List of signal types present in the group.
|
|
40
|
+
class SignalTypeGroup
|
|
41
|
+
include ::Google::Protobuf::MessageExts
|
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# A filter for Signals.
|
|
46
|
+
#
|
|
47
|
+
# If signal_type is left unset, all signals should be returned.
|
|
48
|
+
# For example, the following filter returns all issues.
|
|
49
|
+
# signal_filter: {
|
|
50
|
+
# signal_status: SIGNAL_STATUS_ISSUE;
|
|
51
|
+
# }
|
|
52
|
+
#
|
|
53
|
+
# Another example, the following filter returns issues of the given type:
|
|
54
|
+
# signal_filter: {
|
|
55
|
+
# type: SIGNAL_TYPE_NO_PROMOTABLE_REPLICA
|
|
56
|
+
# signal_status: ISSUE
|
|
57
|
+
# }
|
|
58
|
+
#
|
|
59
|
+
# If signal_status is left unset or set to SIGNAL_STATE_UNSPECIFIED, an error
|
|
60
|
+
# should be returned.
|
|
61
|
+
# @!attribute [rw] signal_type
|
|
62
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SignalType]
|
|
63
|
+
# Optional. Represents the type of the Signal for which the filter is for.
|
|
64
|
+
# @!attribute [rw] signal_status
|
|
65
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SignalStatus]
|
|
66
|
+
# Optional. Represents the status of the Signal for which the filter is for.
|
|
67
|
+
class SignalFilter
|
|
68
|
+
include ::Google::Protobuf::MessageExts
|
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# A group of signals and their counts.
|
|
73
|
+
# @!attribute [rw] display_name
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# Title of a signal group corresponding to the request.
|
|
76
|
+
# @!attribute [rw] issue_count
|
|
77
|
+
# @return [::Integer]
|
|
78
|
+
# When applied to a DatabaseResource represents count of issues associated
|
|
79
|
+
# with the resource. A signal is an issue when its SignalStatus field is
|
|
80
|
+
# set to SIGNAL_STATUS_ISSUE.
|
|
81
|
+
# @!attribute [rw] signals
|
|
82
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::Signal>]
|
|
83
|
+
# List of signals present in the group and associated with the resource.
|
|
84
|
+
#
|
|
85
|
+
# Only applies to a DatabaseResource.
|
|
86
|
+
class SignalGroup
|
|
87
|
+
include ::Google::Protobuf::MessageExts
|
|
88
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Count of issues for a group of signals.
|
|
92
|
+
# @!attribute [rw] display_name
|
|
93
|
+
# @return [::String]
|
|
94
|
+
# Title of a signal group corresponding to the request.
|
|
95
|
+
# @!attribute [rw] issue_count
|
|
96
|
+
# @return [::Integer]
|
|
97
|
+
# The count of the number of issues associated with those resources that
|
|
98
|
+
# are explicitly filtered in by the filters present in the request.
|
|
99
|
+
# A signal is an issue when its SignalStatus field is set to
|
|
100
|
+
# SIGNAL_STATUS_ISSUE.
|
|
101
|
+
class IssueCount
|
|
102
|
+
include ::Google::Protobuf::MessageExts
|
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Details related to signal.
|
|
107
|
+
# @!attribute [rw] short_backup_retention_info
|
|
108
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::RetentionSettingsInfo]
|
|
109
|
+
# Short backup retention information applies to signals with type
|
|
110
|
+
# SIGNAL_TYPE_SHORT_BACKUP_RETENTION.
|
|
111
|
+
#
|
|
112
|
+
# Note: The following fields are mutually exclusive: `short_backup_retention_info`, `backup_run_info`, `scc_info`, `recommendation_info`, `automated_backup_policy_info`, `deletion_protection_info`, `resource_suspension_info`, `inefficient_query_info`, `outdated_minor_version_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
113
|
+
# @!attribute [rw] backup_run_info
|
|
114
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::BackupRunInfo]
|
|
115
|
+
# Backup run information applies to signals with types
|
|
116
|
+
# SIGNAL_TYPE_LAST_BACKUP_FAILED and SIGNAL_TYPE_LAST_BACKUP_OLD.
|
|
117
|
+
#
|
|
118
|
+
# Note: The following fields are mutually exclusive: `backup_run_info`, `short_backup_retention_info`, `scc_info`, `recommendation_info`, `automated_backup_policy_info`, `deletion_protection_info`, `resource_suspension_info`, `inefficient_query_info`, `outdated_minor_version_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
119
|
+
# @!attribute [rw] scc_info
|
|
120
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SCCInfo]
|
|
121
|
+
# SCC information applies to SCC signals.
|
|
122
|
+
#
|
|
123
|
+
# Note: The following fields are mutually exclusive: `scc_info`, `short_backup_retention_info`, `backup_run_info`, `recommendation_info`, `automated_backup_policy_info`, `deletion_protection_info`, `resource_suspension_info`, `inefficient_query_info`, `outdated_minor_version_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
124
|
+
# @!attribute [rw] recommendation_info
|
|
125
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::RecommendationInfo]
|
|
126
|
+
# Recommendation information applies to recommendations.
|
|
127
|
+
#
|
|
128
|
+
# Note: The following fields are mutually exclusive: `recommendation_info`, `short_backup_retention_info`, `backup_run_info`, `scc_info`, `automated_backup_policy_info`, `deletion_protection_info`, `resource_suspension_info`, `inefficient_query_info`, `outdated_minor_version_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
129
|
+
# @!attribute [rw] automated_backup_policy_info
|
|
130
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::AutomatedBackupPolicyInfo]
|
|
131
|
+
# Automated backup policy information applies to signals with type
|
|
132
|
+
# SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY.
|
|
133
|
+
#
|
|
134
|
+
# Note: The following fields are mutually exclusive: `automated_backup_policy_info`, `short_backup_retention_info`, `backup_run_info`, `scc_info`, `recommendation_info`, `deletion_protection_info`, `resource_suspension_info`, `inefficient_query_info`, `outdated_minor_version_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
135
|
+
# @!attribute [rw] deletion_protection_info
|
|
136
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::DeletionProtectionInfo]
|
|
137
|
+
# Deletion protection information applies to signals with type
|
|
138
|
+
# {::Google::Cloud::DatabaseCenter::V1beta::SignalType::SIGNAL_TYPE_NO_DELETION_PROTECTION SIGNAL_TYPE_NO_DELETION_PROTECTION}
|
|
139
|
+
#
|
|
140
|
+
# Note: The following fields are mutually exclusive: `deletion_protection_info`, `short_backup_retention_info`, `backup_run_info`, `scc_info`, `recommendation_info`, `automated_backup_policy_info`, `resource_suspension_info`, `inefficient_query_info`, `outdated_minor_version_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
141
|
+
# @!attribute [rw] resource_suspension_info
|
|
142
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::ResourceSuspensionInfo]
|
|
143
|
+
# Resource suspension information applies to signals with type
|
|
144
|
+
# {::Google::Cloud::DatabaseCenter::V1beta::SignalType::SIGNAL_TYPE_RESOURCE_SUSPENDED SIGNAL_TYPE_RESOURCE_SUSPENDED}.
|
|
145
|
+
#
|
|
146
|
+
# Note: The following fields are mutually exclusive: `resource_suspension_info`, `short_backup_retention_info`, `backup_run_info`, `scc_info`, `recommendation_info`, `automated_backup_policy_info`, `deletion_protection_info`, `inefficient_query_info`, `outdated_minor_version_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
147
|
+
# @!attribute [rw] inefficient_query_info
|
|
148
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::InefficientQueryInfo]
|
|
149
|
+
# Inefficient query information applies to signals with type
|
|
150
|
+
# {::Google::Cloud::DatabaseCenter::V1beta::SignalType::SIGNAL_TYPE_INEFFICIENT_QUERY SIGNAL_TYPE_INEFFICIENT_QUERY}.
|
|
151
|
+
#
|
|
152
|
+
# Note: The following fields are mutually exclusive: `inefficient_query_info`, `short_backup_retention_info`, `backup_run_info`, `scc_info`, `recommendation_info`, `automated_backup_policy_info`, `deletion_protection_info`, `resource_suspension_info`, `outdated_minor_version_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
153
|
+
# @!attribute [rw] outdated_minor_version_info
|
|
154
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::OutdatedMinorVersionInfo]
|
|
155
|
+
# Outdated minor version information applies to signals with type
|
|
156
|
+
# SIGNAL_TYPE_OUTDATED_MINOR_VERSION.
|
|
157
|
+
#
|
|
158
|
+
# Note: The following fields are mutually exclusive: `outdated_minor_version_info`, `short_backup_retention_info`, `backup_run_info`, `scc_info`, `recommendation_info`, `automated_backup_policy_info`, `deletion_protection_info`, `resource_suspension_info`, `inefficient_query_info`, `maintenance_recommendation_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
159
|
+
# @!attribute [rw] maintenance_recommendation_info
|
|
160
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::MaintenanceRecommendationInfo]
|
|
161
|
+
# Maintenance recommendation information applies to signals
|
|
162
|
+
# with type SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES.
|
|
163
|
+
#
|
|
164
|
+
# Note: The following fields are mutually exclusive: `maintenance_recommendation_info`, `short_backup_retention_info`, `backup_run_info`, `scc_info`, `recommendation_info`, `automated_backup_policy_info`, `deletion_protection_info`, `resource_suspension_info`, `inefficient_query_info`, `outdated_minor_version_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
165
|
+
# @!attribute [rw] signal_source
|
|
166
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SignalSource]
|
|
167
|
+
# Where the signal is coming from.
|
|
168
|
+
# @!attribute [rw] signal_type
|
|
169
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SignalType]
|
|
170
|
+
# Type of the signal.
|
|
171
|
+
# @!attribute [rw] signal_event_time
|
|
172
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
173
|
+
# Event time when signal was recorded by source service.
|
|
174
|
+
class AdditionalDetail
|
|
175
|
+
include ::Google::Protobuf::MessageExts
|
|
176
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Sub resource details
|
|
180
|
+
# For Spanner/Bigtable instance certain data protection settings are at
|
|
181
|
+
# sub resource level like database/table.
|
|
182
|
+
# This message is used to capture such sub resource details.
|
|
183
|
+
# @!attribute [rw] resource_type
|
|
184
|
+
# @return [::String]
|
|
185
|
+
# Optional. Resource type associated with the sub resource where backup
|
|
186
|
+
# settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner
|
|
187
|
+
# where backup retention is configured on database within an instance
|
|
188
|
+
# OPTIONAL
|
|
189
|
+
# @!attribute [rw] full_resource_name
|
|
190
|
+
# @return [::String]
|
|
191
|
+
# Optional. Resource name associated with the sub resource where backup
|
|
192
|
+
# settings are configured.
|
|
193
|
+
# E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1"
|
|
194
|
+
# for Spanner where backup retention is configured on database within
|
|
195
|
+
# an instance
|
|
196
|
+
# OPTIONAL
|
|
197
|
+
# @!attribute [rw] product
|
|
198
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::Product]
|
|
199
|
+
# Optional. Product information associated with the sub resource where
|
|
200
|
+
# backup retention settings are configured.
|
|
201
|
+
# e.g.
|
|
202
|
+
# ```
|
|
203
|
+
# product: {
|
|
204
|
+
# type : PRODUCT_TYPE_SPANNER
|
|
205
|
+
# engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT
|
|
206
|
+
# }
|
|
207
|
+
# ```
|
|
208
|
+
# for Spanner where backup is configured on database within
|
|
209
|
+
# an instance
|
|
210
|
+
# OPTIONAL
|
|
211
|
+
# @!attribute [rw] container
|
|
212
|
+
# @return [::String]
|
|
213
|
+
# Specifies where the resource is created. For GCP, it is the full name of
|
|
214
|
+
# the project.
|
|
215
|
+
class SubResource
|
|
216
|
+
include ::Google::Protobuf::MessageExts
|
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Metadata about backup retention settings for a database resource.
|
|
221
|
+
# @!attribute [rw] quantity_based_retention
|
|
222
|
+
# @return [::Google::Protobuf::Int32Value]
|
|
223
|
+
# Number of backups that will be retained.
|
|
224
|
+
#
|
|
225
|
+
# Note: The following fields are mutually exclusive: `quantity_based_retention`, `duration_based_retention`, `timestamp_based_retention_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
226
|
+
# @!attribute [rw] duration_based_retention
|
|
227
|
+
# @return [::Google::Protobuf::Duration]
|
|
228
|
+
# Duration based retention period i.e. 172800 seconds (2 days)
|
|
229
|
+
#
|
|
230
|
+
# Note: The following fields are mutually exclusive: `duration_based_retention`, `quantity_based_retention`, `timestamp_based_retention_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
231
|
+
# @!attribute [rw] timestamp_based_retention_time
|
|
232
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
233
|
+
# Timestamp based retention period i.e. till 2024-05-01T00:00:00Z
|
|
234
|
+
#
|
|
235
|
+
# Note: The following fields are mutually exclusive: `timestamp_based_retention_time`, `quantity_based_retention`, `duration_based_retention`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
236
|
+
# @!attribute [rw] sub_resource
|
|
237
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SubResource]
|
|
238
|
+
# Optional. Sub resource details associated with the backup configuration.
|
|
239
|
+
class RetentionSettingsInfo
|
|
240
|
+
include ::Google::Protobuf::MessageExts
|
|
241
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# Automated backup policy signal info
|
|
245
|
+
# @!attribute [rw] sub_resource
|
|
246
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SubResource]
|
|
247
|
+
# Optional. Sub resource details associated with the signal.
|
|
248
|
+
# @!attribute [rw] is_enabled
|
|
249
|
+
# @return [::Boolean]
|
|
250
|
+
# Is automated policy enabled.
|
|
251
|
+
class AutomatedBackupPolicyInfo
|
|
252
|
+
include ::Google::Protobuf::MessageExts
|
|
253
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
# Deletion protection signal info for a database resource.
|
|
257
|
+
# @!attribute [rw] sub_resource
|
|
258
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SubResource]
|
|
259
|
+
# Optional. Sub resource details associated with the signal.
|
|
260
|
+
# @!attribute [rw] deletion_protection_enabled
|
|
261
|
+
# @return [::Boolean]
|
|
262
|
+
# Is deletion protection enabled.
|
|
263
|
+
class DeletionProtectionInfo
|
|
264
|
+
include ::Google::Protobuf::MessageExts
|
|
265
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
# Resource suspension info for a database resource.
|
|
269
|
+
# @!attribute [rw] resource_suspended
|
|
270
|
+
# @return [::Boolean]
|
|
271
|
+
# Is resource suspended.
|
|
272
|
+
# @!attribute [rw] suspension_reason
|
|
273
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SuspensionReason]
|
|
274
|
+
# Suspension reason for the resource.
|
|
275
|
+
class ResourceSuspensionInfo
|
|
276
|
+
include ::Google::Protobuf::MessageExts
|
|
277
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# Metadata about latest backup run state for a database resource.
|
|
281
|
+
# @!attribute [rw] start_time
|
|
282
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
283
|
+
# The time the backup operation started.
|
|
284
|
+
# @!attribute [rw] end_time
|
|
285
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
286
|
+
# The time the backup operation completed.
|
|
287
|
+
# @!attribute [r] state
|
|
288
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::BackupRunInfo::State]
|
|
289
|
+
# Output only. The state of this run.
|
|
290
|
+
# @!attribute [rw] error_message
|
|
291
|
+
# @return [::String]
|
|
292
|
+
# Additional information about the error encountered.
|
|
293
|
+
# @!attribute [rw] operation_error_type
|
|
294
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::OperationErrorType]
|
|
295
|
+
# Optional. OperationErrorType to expose specific error when backup operation
|
|
296
|
+
# of database resource failed, that is state is FAILED.
|
|
297
|
+
# @!attribute [rw] sub_resource
|
|
298
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SubResource]
|
|
299
|
+
# Optional. Sub resource details associated with the backup run.
|
|
300
|
+
class BackupRunInfo
|
|
301
|
+
include ::Google::Protobuf::MessageExts
|
|
302
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
303
|
+
|
|
304
|
+
# The status of a backup run.
|
|
305
|
+
module State
|
|
306
|
+
# Unspecified.
|
|
307
|
+
STATE_UNSPECIFIED = 0
|
|
308
|
+
|
|
309
|
+
# The backup succeeded.
|
|
310
|
+
SUCCEEDED = 1
|
|
311
|
+
|
|
312
|
+
# The backup was unsuccessful.
|
|
313
|
+
FAILED = 2
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# Metadata about inefficient query signal info for a database resource.
|
|
318
|
+
# @!attribute [rw] database
|
|
319
|
+
# @return [::String]
|
|
320
|
+
# Name of the database where index is required. For example, "db1", which is
|
|
321
|
+
# the name of the database present in the instance.
|
|
322
|
+
# @!attribute [rw] table
|
|
323
|
+
# @return [::String]
|
|
324
|
+
# Name of the table where index is required
|
|
325
|
+
# @!attribute [rw] sql_index_statement
|
|
326
|
+
# @return [::String]
|
|
327
|
+
# SQL statement of the index. Based on the ddl type, this will be either
|
|
328
|
+
# CREATE INDEX or DROP INDEX.
|
|
329
|
+
# @!attribute [rw] storage_cost_bytes
|
|
330
|
+
# @return [::Integer]
|
|
331
|
+
# Cost of additional disk usage in bytes
|
|
332
|
+
# @!attribute [rw] impacted_queries_count
|
|
333
|
+
# @return [::Integer]
|
|
334
|
+
# Count of queries to be impacted if index is applied
|
|
335
|
+
class InefficientQueryInfo
|
|
336
|
+
include ::Google::Protobuf::MessageExts
|
|
337
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# Info associated with SCC signals.
|
|
341
|
+
# @!attribute [rw] signal
|
|
342
|
+
# @return [::String]
|
|
343
|
+
# Name of the signal.
|
|
344
|
+
# @!attribute [rw] category
|
|
345
|
+
# @return [::String]
|
|
346
|
+
# Name by which SCC calls this signal.
|
|
347
|
+
# @!attribute [rw] regulatory_standards
|
|
348
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::RegulatoryStandard>]
|
|
349
|
+
# Compliances that are associated with the signal.
|
|
350
|
+
# @!attribute [rw] external_uri
|
|
351
|
+
# @return [::String]
|
|
352
|
+
# External URI which points to a SCC page associated with the signal.
|
|
353
|
+
class SCCInfo
|
|
354
|
+
include ::Google::Protobuf::MessageExts
|
|
355
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
# Info associated with recommendation.
|
|
359
|
+
# @!attribute [rw] recommender
|
|
360
|
+
# @return [::String]
|
|
361
|
+
# Name of recommendation.
|
|
362
|
+
# Examples:
|
|
363
|
+
# organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876
|
|
364
|
+
# @!attribute [rw] recommender_id
|
|
365
|
+
# @return [::String]
|
|
366
|
+
# ID of recommender.
|
|
367
|
+
# Examples: "google.cloudsql.instance.PerformanceRecommender"
|
|
368
|
+
# @!attribute [rw] recommender_subtype
|
|
369
|
+
# @return [::String]
|
|
370
|
+
# Contains an identifier for a subtype of recommendations produced for the
|
|
371
|
+
# same recommender. Subtype is a function of content and impact, meaning a
|
|
372
|
+
# new subtype might be added when significant changes to `content` or
|
|
373
|
+
# `primary_impact.category` are introduced. See the Recommenders section
|
|
374
|
+
# to see a list of subtypes for a given Recommender.
|
|
375
|
+
#
|
|
376
|
+
# Examples:
|
|
377
|
+
# For recommender = "google.cloudsql.instance.PerformanceRecommender",
|
|
378
|
+
# recommender_subtype can be
|
|
379
|
+
# "MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"/"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
|
|
380
|
+
class RecommendationInfo
|
|
381
|
+
include ::Google::Protobuf::MessageExts
|
|
382
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Compliances associated with signals.
|
|
386
|
+
# @!attribute [rw] standard
|
|
387
|
+
# @return [::String]
|
|
388
|
+
# Name of industry compliance standards, such as such as CIS, PCI, and
|
|
389
|
+
# OWASP.
|
|
390
|
+
# @!attribute [rw] version
|
|
391
|
+
# @return [::String]
|
|
392
|
+
# Version of the standard or benchmark, for example, 1.1.
|
|
393
|
+
class RegulatoryStandard
|
|
394
|
+
include ::Google::Protobuf::MessageExts
|
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
# Info associated with outdated minor version.
|
|
399
|
+
# @!attribute [rw] recommended_minor_version
|
|
400
|
+
# @return [::String]
|
|
401
|
+
# Recommended minor version of the underlying database engine. Example
|
|
402
|
+
# values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it
|
|
403
|
+
# could be "14.4", "15.5" etc.
|
|
404
|
+
class OutdatedMinorVersionInfo
|
|
405
|
+
include ::Google::Protobuf::MessageExts
|
|
406
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
# Info associated with maintenance recommendation.
|
|
410
|
+
# @!attribute [rw] resource_maintenance_schedules
|
|
411
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceSchedule>]
|
|
412
|
+
# Optional. List of recommended maintenance schedules for the database
|
|
413
|
+
# resource.
|
|
414
|
+
class MaintenanceRecommendationInfo
|
|
415
|
+
include ::Google::Protobuf::MessageExts
|
|
416
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
# Represents a signal.
|
|
420
|
+
# @!attribute [rw] signal_type
|
|
421
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SignalType]
|
|
422
|
+
# Type of the signal.
|
|
423
|
+
# @!attribute [rw] signal_status
|
|
424
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SignalStatus]
|
|
425
|
+
# Status of the signal.
|
|
426
|
+
# @!attribute [rw] additional_details
|
|
427
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::AdditionalDetail>]
|
|
428
|
+
# Additional information related to the signal.
|
|
429
|
+
# In the case of composite signals, this field encapsulates details
|
|
430
|
+
# associated with granular signals, having a signal status of "ISSUE";
|
|
431
|
+
# signals with a status of "OK" are not included.
|
|
432
|
+
# For granular signals, it encompasses information relevant to the signal,
|
|
433
|
+
# regardless of the signal status.
|
|
434
|
+
# @!attribute [rw] issue_severity
|
|
435
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::IssueSeverity]
|
|
436
|
+
# Severity of the issue.
|
|
437
|
+
# @!attribute [rw] issue_create_time
|
|
438
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
439
|
+
# Timestamp when the issue was created (when signal status is ISSUE).
|
|
440
|
+
class Signal
|
|
441
|
+
include ::Google::Protobuf::MessageExts
|
|
442
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
# Represents the state of a signal. More enum values are expected to be added
|
|
446
|
+
# as needed.
|
|
447
|
+
module SignalStatus
|
|
448
|
+
# Unspecified.
|
|
449
|
+
SIGNAL_STATUS_UNSPECIFIED = 0
|
|
450
|
+
|
|
451
|
+
# Signal is not applicable to the resource.
|
|
452
|
+
SIGNAL_STATUS_NOT_APPLICABLE = 1
|
|
453
|
+
|
|
454
|
+
# Signal is not an issue.
|
|
455
|
+
SIGNAL_STATUS_OK = 2
|
|
456
|
+
|
|
457
|
+
# Signal is an issue.
|
|
458
|
+
SIGNAL_STATUS_ISSUE = 3
|
|
459
|
+
|
|
460
|
+
# Signal is not enabled for the resource.
|
|
461
|
+
SIGNAL_STATUS_NOT_ENABLED = 4
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
# Represents the source system from where a signal comes from.
|
|
465
|
+
# More enum values are expected to be added as needed.
|
|
466
|
+
module SignalSource
|
|
467
|
+
# Unspecified.
|
|
468
|
+
SIGNAL_SOURCE_UNSPECIFIED = 0
|
|
469
|
+
|
|
470
|
+
# Signal comes from resource metadata.
|
|
471
|
+
SIGNAL_SOURCE_RESOURCE_METADATA = 1
|
|
472
|
+
|
|
473
|
+
# Signal comes from SCC findings.
|
|
474
|
+
SIGNAL_SOURCE_SECURITY_FINDINGS = 2
|
|
475
|
+
|
|
476
|
+
# Signal comes from recommender hub.
|
|
477
|
+
SIGNAL_SOURCE_RECOMMENDER = 3
|
|
478
|
+
|
|
479
|
+
# Signal comes from modern observability platform.
|
|
480
|
+
SIGNAL_SOURCE_MODERN_OBSERVABILITY = 4
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# IssueSeverity represents the severity of an issue.
|
|
484
|
+
module IssueSeverity
|
|
485
|
+
# Unspecified.
|
|
486
|
+
ISSUE_SEVERITY_UNSPECIFIED = 0
|
|
487
|
+
|
|
488
|
+
# Low severity.
|
|
489
|
+
ISSUE_SEVERITY_LOW = 1
|
|
490
|
+
|
|
491
|
+
# Medium severity.
|
|
492
|
+
ISSUE_SEVERITY_MEDIUM = 2
|
|
493
|
+
|
|
494
|
+
# High severity.
|
|
495
|
+
ISSUE_SEVERITY_HIGH = 3
|
|
496
|
+
|
|
497
|
+
# Critical severity.
|
|
498
|
+
ISSUE_SEVERITY_CRITICAL = 4
|
|
499
|
+
|
|
500
|
+
# Irrelevant severity. This means the issue should not be surfaced at all.
|
|
501
|
+
ISSUE_SEVERITY_IRRELEVANT = 5
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
# Represents the type of a signal. More values are expected to be added
|
|
505
|
+
# as needed.
|
|
506
|
+
module SignalType
|
|
507
|
+
# Unspecified.
|
|
508
|
+
SIGNAL_TYPE_UNSPECIFIED = 0
|
|
509
|
+
|
|
510
|
+
# Represents if a resource is protected by automatic failover.
|
|
511
|
+
# Checks for resources that are configured to have redundancy
|
|
512
|
+
# within a region that enables automatic failover.
|
|
513
|
+
SIGNAL_TYPE_RESOURCE_FAILOVER_PROTECTED = 1
|
|
514
|
+
|
|
515
|
+
# Represents if a group is replicating across regions.
|
|
516
|
+
# Checks for resources that are configured to have redundancy,
|
|
517
|
+
# and ongoing replication, across regions.
|
|
518
|
+
SIGNAL_TYPE_GROUP_MULTIREGIONAL = 2
|
|
519
|
+
|
|
520
|
+
# Represents if a resource has an automated backup policy.
|
|
521
|
+
SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY = 4
|
|
522
|
+
|
|
523
|
+
# Represents if a resources has a short backup retention period.
|
|
524
|
+
SIGNAL_TYPE_SHORT_BACKUP_RETENTION = 5
|
|
525
|
+
|
|
526
|
+
# Represents if the last backup of a resource failed.
|
|
527
|
+
SIGNAL_TYPE_LAST_BACKUP_FAILED = 6
|
|
528
|
+
|
|
529
|
+
# Represents if the last backup of a resource is older than some threshold
|
|
530
|
+
# value.
|
|
531
|
+
SIGNAL_TYPE_LAST_BACKUP_OLD = 7
|
|
532
|
+
|
|
533
|
+
# Represents if a resource violates CIS GCP Foundation 2.0.
|
|
534
|
+
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0 = 8
|
|
535
|
+
|
|
536
|
+
# Represents if a resource violates CIS GCP Foundation 1.3.
|
|
537
|
+
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3 = 9
|
|
538
|
+
|
|
539
|
+
# Represents if a resource violates CIS GCP Foundation 1.2.
|
|
540
|
+
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2 = 10
|
|
541
|
+
|
|
542
|
+
# Represents if a resource violates CIS GCP Foundation 1.1.
|
|
543
|
+
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1 = 11
|
|
544
|
+
|
|
545
|
+
# Represents if a resource violates CIS GCP Foundation 1.0.
|
|
546
|
+
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0 = 12
|
|
547
|
+
|
|
548
|
+
# Represents if a resource violates CIS Controls 8.0.
|
|
549
|
+
SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0 = 76
|
|
550
|
+
|
|
551
|
+
# Represents if a resource violates NIST 800-53.
|
|
552
|
+
SIGNAL_TYPE_VIOLATES_NIST_800_53 = 13
|
|
553
|
+
|
|
554
|
+
# Represents if a resource violates NIST 800-53 R5.
|
|
555
|
+
SIGNAL_TYPE_VIOLATES_NIST_800_53_R5 = 69
|
|
556
|
+
|
|
557
|
+
# Represents if a resource violates NIST Cybersecurity Framework 1.0.
|
|
558
|
+
SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0 = 72
|
|
559
|
+
|
|
560
|
+
# Represents if a resource violates ISO-27001.
|
|
561
|
+
SIGNAL_TYPE_VIOLATES_ISO_27001 = 14
|
|
562
|
+
|
|
563
|
+
# Represents if a resource violates ISO 27001 2022.
|
|
564
|
+
SIGNAL_TYPE_VIOLATES_ISO_27001_V2022 = 70
|
|
565
|
+
|
|
566
|
+
# Represents if a resource violates PCI-DSS v3.2.1.
|
|
567
|
+
SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1 = 15
|
|
568
|
+
|
|
569
|
+
# Represents if a resource violates PCI-DSS v4.0.
|
|
570
|
+
SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0 = 71
|
|
571
|
+
|
|
572
|
+
# Represents if a resource violates Cloud Controls Matrix v4.0.
|
|
573
|
+
SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4 = 73
|
|
574
|
+
|
|
575
|
+
# Represents if a resource violates HIPAA.
|
|
576
|
+
SIGNAL_TYPE_VIOLATES_HIPAA = 74
|
|
577
|
+
|
|
578
|
+
# Represents if a resource violates SOC2 v2017.
|
|
579
|
+
SIGNAL_TYPE_VIOLATES_SOC2_V2017 = 75
|
|
580
|
+
|
|
581
|
+
# Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL
|
|
582
|
+
# instance is not set to on.
|
|
583
|
+
SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING = 16
|
|
584
|
+
|
|
585
|
+
# Represents if the log_duration database flag for a Cloud SQL for PostgreSQL
|
|
586
|
+
# instance is not set to on.
|
|
587
|
+
SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED = 17
|
|
588
|
+
|
|
589
|
+
# Represents if the log_error_verbosity database flag for a Cloud SQL for
|
|
590
|
+
# PostgreSQL instance is not set to default or stricter (default or terse).
|
|
591
|
+
SIGNAL_TYPE_VERBOSE_ERROR_LOGGING = 18
|
|
592
|
+
|
|
593
|
+
# Represents if the log_lock_waits database flag for a Cloud SQL for
|
|
594
|
+
# PostgreSQL instance is not set to on.
|
|
595
|
+
SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED = 19
|
|
596
|
+
|
|
597
|
+
# Represents if the log_min_error_statement database flag for a Cloud SQL
|
|
598
|
+
# for PostgreSQL instance is not set appropriately.
|
|
599
|
+
SIGNAL_TYPE_LOGGING_MOST_ERRORS = 20
|
|
600
|
+
|
|
601
|
+
# Represents if the log_min_error_statement database flag for a Cloud SQL
|
|
602
|
+
# for PostgreSQL instance does not have an appropriate severity level.
|
|
603
|
+
SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS = 21
|
|
604
|
+
|
|
605
|
+
# Represents if the log_min_messages database flag for a Cloud SQL for
|
|
606
|
+
# PostgreSQL instance is not set to warning or another recommended value.
|
|
607
|
+
SIGNAL_TYPE_MINIMAL_ERROR_LOGGING = 22
|
|
608
|
+
|
|
609
|
+
# Represents if the databaseFlags property of instance metadata for
|
|
610
|
+
# the log_executor_status field is set to on.
|
|
611
|
+
SIGNAL_TYPE_QUERY_STATS_LOGGED = 23
|
|
612
|
+
|
|
613
|
+
# Represents if the log_hostname database flag for a Cloud SQL for
|
|
614
|
+
# PostgreSQL instance is not set to off.
|
|
615
|
+
SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME = 24
|
|
616
|
+
|
|
617
|
+
# Represents if the log_parser_stats database flag for a Cloud SQL for
|
|
618
|
+
# PostgreSQL instance is not set to off.
|
|
619
|
+
SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATS = 25
|
|
620
|
+
|
|
621
|
+
# Represents if the log_planner_stats database flag for a Cloud SQL for
|
|
622
|
+
# PostgreSQL instance is not set to off.
|
|
623
|
+
SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATS = 26
|
|
624
|
+
|
|
625
|
+
# Represents if the log_statement database flag for a Cloud SQL for
|
|
626
|
+
# PostgreSQL instance is not set to DDL (all data definition statements).
|
|
627
|
+
SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS = 27
|
|
628
|
+
|
|
629
|
+
# Represents if the log_statement_stats database flag for a Cloud SQL for
|
|
630
|
+
# PostgreSQL instance is not set to off.
|
|
631
|
+
SIGNAL_TYPE_LOGGING_QUERY_STATS = 28
|
|
632
|
+
|
|
633
|
+
# Represents if the log_temp_files database flag for a Cloud SQL for
|
|
634
|
+
# PostgreSQL instance is not set to "0". (NOTE: 0 = ON)
|
|
635
|
+
SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES = 29
|
|
636
|
+
|
|
637
|
+
# Represents if the user connections database flag for a Cloud SQL for SQL
|
|
638
|
+
# Server instance is configured.
|
|
639
|
+
SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED = 30
|
|
640
|
+
|
|
641
|
+
# Represents if the user options database flag for Cloud SQL SQL Server
|
|
642
|
+
# instance is configured or not.
|
|
643
|
+
SIGNAL_TYPE_USER_OPTIONS_CONFIGURED = 31
|
|
644
|
+
|
|
645
|
+
# Represents if a resource is exposed to public access.
|
|
646
|
+
SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS = 32
|
|
647
|
+
|
|
648
|
+
# Represents if a resources requires all incoming connections to use SSL
|
|
649
|
+
# or not.
|
|
650
|
+
SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS = 33
|
|
651
|
+
|
|
652
|
+
# Represents if a Cloud SQL database has a password configured for the
|
|
653
|
+
# root account or not.
|
|
654
|
+
SIGNAL_TYPE_NO_ROOT_PASSWORD = 34
|
|
655
|
+
|
|
656
|
+
# Represents if a Cloud SQL database has a weak password configured for the
|
|
657
|
+
# root account.
|
|
658
|
+
SIGNAL_TYPE_WEAK_ROOT_PASSWORD = 35
|
|
659
|
+
|
|
660
|
+
# Represents if a SQL database instance is not encrypted with
|
|
661
|
+
# customer-managed encryption keys (CMEK).
|
|
662
|
+
SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED = 36
|
|
663
|
+
|
|
664
|
+
# Represents if The contained database authentication database flag for a
|
|
665
|
+
# Cloud SQL for SQL Server instance is not set to off.
|
|
666
|
+
SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED = 37
|
|
667
|
+
|
|
668
|
+
# Represents if he external scripts enabled database flag for a Cloud SQL
|
|
669
|
+
# for SQL Server instance is not set to off.
|
|
670
|
+
SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS = 39
|
|
671
|
+
|
|
672
|
+
# Represents if the local_infile database flag for a Cloud SQL for MySQL
|
|
673
|
+
# instance is not set to off.
|
|
674
|
+
SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS = 40
|
|
675
|
+
|
|
676
|
+
# Represents if the log_connections database flag for a Cloud SQL for
|
|
677
|
+
# PostgreSQL instance is not set to on.
|
|
678
|
+
SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED = 41
|
|
679
|
+
|
|
680
|
+
# Represents if the log_disconnections database flag for a Cloud SQL for
|
|
681
|
+
# PostgreSQL instance is not set to on.
|
|
682
|
+
SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED = 42
|
|
683
|
+
|
|
684
|
+
# Represents if the log_min_duration_statement database flag for a Cloud SQL
|
|
685
|
+
# for PostgreSQL instance is not set to -1.
|
|
686
|
+
SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO = 43
|
|
687
|
+
|
|
688
|
+
# Represents if the remote access database flag for a Cloud SQL for SQL
|
|
689
|
+
# Server instance is not set to off.
|
|
690
|
+
SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS = 44
|
|
691
|
+
|
|
692
|
+
# Represents if the skip_show_database database flag for a Cloud SQL for
|
|
693
|
+
# MySQL instance is not set to on.
|
|
694
|
+
SIGNAL_TYPE_DATABASE_NAMES_EXPOSED = 45
|
|
695
|
+
|
|
696
|
+
# Represents if the 3625 (trace flag) database flag for a Cloud SQL for
|
|
697
|
+
# SQL Server instance is not set to on.
|
|
698
|
+
SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED = 46
|
|
699
|
+
|
|
700
|
+
# Represents if public IP is enabled.
|
|
701
|
+
SIGNAL_TYPE_PUBLIC_IP_ENABLED = 47
|
|
702
|
+
|
|
703
|
+
# Represents idle instance helps to reduce costs.
|
|
704
|
+
SIGNAL_TYPE_IDLE = 48
|
|
705
|
+
|
|
706
|
+
# Represents instances that are unnecessarily large for given workload.
|
|
707
|
+
SIGNAL_TYPE_OVERPROVISIONED = 49
|
|
708
|
+
|
|
709
|
+
# Represents high number of concurrently opened tables.
|
|
710
|
+
SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES = 50
|
|
711
|
+
|
|
712
|
+
# Represents high table count close to SLA limit.
|
|
713
|
+
SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES = 51
|
|
714
|
+
|
|
715
|
+
# Represents high number of unvacuumed transactions
|
|
716
|
+
SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION = 52
|
|
717
|
+
|
|
718
|
+
# Represents need for more CPU and/or memory
|
|
719
|
+
SIGNAL_TYPE_UNDERPROVISIONED = 53
|
|
720
|
+
|
|
721
|
+
# Represents out of disk.
|
|
722
|
+
SIGNAL_TYPE_OUT_OF_DISK = 54
|
|
723
|
+
|
|
724
|
+
# Represents server certificate is near expiry.
|
|
725
|
+
SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY = 55
|
|
726
|
+
|
|
727
|
+
# Represents database auditing is disabled.
|
|
728
|
+
SIGNAL_TYPE_DATABASE_AUDITING_DISABLED = 56
|
|
729
|
+
|
|
730
|
+
# Represents not restricted to authorized networks.
|
|
731
|
+
SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS = 57
|
|
732
|
+
|
|
733
|
+
# Represents violate org policy restrict public ip.
|
|
734
|
+
SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP = 58
|
|
735
|
+
|
|
736
|
+
# Cluster nearing quota limit
|
|
737
|
+
SIGNAL_TYPE_QUOTA_LIMIT = 59
|
|
738
|
+
|
|
739
|
+
# No password policy set on resources
|
|
740
|
+
SIGNAL_TYPE_NO_PASSWORD_POLICY = 60
|
|
741
|
+
|
|
742
|
+
# Performance impact of connections settings
|
|
743
|
+
SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT = 61
|
|
744
|
+
|
|
745
|
+
# Performance impact of temporary tables settings
|
|
746
|
+
SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT = 62
|
|
747
|
+
|
|
748
|
+
# Performance impact of transaction logs settings
|
|
749
|
+
SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT = 63
|
|
750
|
+
|
|
751
|
+
# Performance impact of high joins without indexes
|
|
752
|
+
SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES = 64
|
|
753
|
+
|
|
754
|
+
# Detects events where a database superuser (postgres for PostgreSQL servers
|
|
755
|
+
# or root for MySQL users) writes to non-system tables.
|
|
756
|
+
SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES = 65
|
|
757
|
+
|
|
758
|
+
# Detects events where a database user or role has been granted all
|
|
759
|
+
# privileges to a database, or to all tables, procedures, or functions in a
|
|
760
|
+
# schema.
|
|
761
|
+
SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS = 66
|
|
762
|
+
|
|
763
|
+
# Detects if database instance data exported to a Cloud Storage bucket
|
|
764
|
+
# outside of the organization.
|
|
765
|
+
SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET = 67
|
|
766
|
+
|
|
767
|
+
# Detects if database instance data exported to a Cloud Storage bucket that
|
|
768
|
+
# is owned by the organization and is publicly accessible.
|
|
769
|
+
SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET = 68
|
|
770
|
+
|
|
771
|
+
# Detects if a database instance is using a weak password hash algorithm.
|
|
772
|
+
SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM = 77
|
|
773
|
+
|
|
774
|
+
# Detects if a database instance has no user password policy set.
|
|
775
|
+
SIGNAL_TYPE_NO_USER_PASSWORD_POLICY = 78
|
|
776
|
+
|
|
777
|
+
# Detects if a database instance/cluster has a hot node.
|
|
778
|
+
SIGNAL_TYPE_HOT_NODE = 79
|
|
779
|
+
|
|
780
|
+
# Deletion Protection Disabled for the resource
|
|
781
|
+
SIGNAL_TYPE_NO_DELETION_PROTECTION = 80
|
|
782
|
+
|
|
783
|
+
# Detects if a database instance has no point in time recovery enabled.
|
|
784
|
+
SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY = 81
|
|
785
|
+
|
|
786
|
+
# Detects if a database instance/cluster has suspended resources.
|
|
787
|
+
SIGNAL_TYPE_RESOURCE_SUSPENDED = 82
|
|
788
|
+
|
|
789
|
+
# Detects that expensive commands are being run on a database instance
|
|
790
|
+
# impacting overall performance.
|
|
791
|
+
SIGNAL_TYPE_EXPENSIVE_COMMANDS = 83
|
|
792
|
+
|
|
793
|
+
# Indicates that the instance does not have a maintenance policy configured.
|
|
794
|
+
SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED = 84
|
|
795
|
+
|
|
796
|
+
# Indicates that the instance has inefficient queries detected.
|
|
797
|
+
SIGNAL_TYPE_INEFFICIENT_QUERY = 85
|
|
798
|
+
|
|
799
|
+
# Indicates that the instance has read intensive workload.
|
|
800
|
+
SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD = 86
|
|
801
|
+
|
|
802
|
+
# Indicates that the instance is nearing memory limit.
|
|
803
|
+
SIGNAL_TYPE_MEMORY_LIMIT = 87
|
|
804
|
+
|
|
805
|
+
# Indicates that the instance's max server memory is configured higher than
|
|
806
|
+
# the recommended value.
|
|
807
|
+
SIGNAL_TYPE_MAX_SERVER_MEMORY = 88
|
|
808
|
+
|
|
809
|
+
# Indicates that the database has large rows beyond the recommended limit.
|
|
810
|
+
SIGNAL_TYPE_LARGE_ROWS = 89
|
|
811
|
+
|
|
812
|
+
# Heavy write pressure on the database rows.
|
|
813
|
+
SIGNAL_TYPE_HIGH_WRITE_PRESSURE = 90
|
|
814
|
+
|
|
815
|
+
# Heavy read pressure on the database rows.
|
|
816
|
+
SIGNAL_TYPE_HIGH_READ_PRESSURE = 91
|
|
817
|
+
|
|
818
|
+
# Encryption org policy not satisfied.
|
|
819
|
+
SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED = 92
|
|
820
|
+
|
|
821
|
+
# Location org policy not satisfied.
|
|
822
|
+
SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED = 93
|
|
823
|
+
|
|
824
|
+
# Outdated DB minor version.
|
|
825
|
+
SIGNAL_TYPE_OUTDATED_MINOR_VERSION = 94
|
|
826
|
+
|
|
827
|
+
# Schema not optimized.
|
|
828
|
+
SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED = 95
|
|
829
|
+
|
|
830
|
+
# Replication delay.
|
|
831
|
+
SIGNAL_TYPE_REPLICATION_LAG = 97
|
|
832
|
+
|
|
833
|
+
# Outdated client.
|
|
834
|
+
SIGNAL_TYPE_OUTDATED_CLIENT = 99
|
|
835
|
+
|
|
836
|
+
# Databoost is disabled.
|
|
837
|
+
SIGNAL_TYPE_DATABOOST_DISABLED = 100
|
|
838
|
+
|
|
839
|
+
# Recommended maintenance policy.
|
|
840
|
+
SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES = 101
|
|
841
|
+
|
|
842
|
+
# Resource version is in extended support.
|
|
843
|
+
SIGNAL_TYPE_EXTENDED_SUPPORT = 102
|
|
844
|
+
end
|
|
845
|
+
end
|
|
846
|
+
end
|
|
847
|
+
end
|
|
848
|
+
end
|