google-cloud-database_center-v1beta 0.a → 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.
- 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 +841 -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 +801 -0
- data/lib/google/cloud/database_center/v1beta/database_center/rest/service_stub.rb +259 -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 +76 -0
- data/lib/google/cloud/databasecenter/v1beta/service_services_pb.rb +51 -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 +43 -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 +706 -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,706 @@
|
|
|
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
|
+
# QueryProductsRequest is the request to get a list of products.
|
|
25
|
+
# @!attribute [rw] parent
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. Parent can be a project, a folder, or an organization.
|
|
28
|
+
#
|
|
29
|
+
# The allowed values are:
|
|
30
|
+
#
|
|
31
|
+
# * projects/\\{PROJECT_ID}/locations/\\{LOCATION}
|
|
32
|
+
# (e.g.,"projects/foo-bar/locations/us-central1")
|
|
33
|
+
# * projects/\\{PROJECT_NUMBER}/locations/\\{LOCATION}
|
|
34
|
+
# (e.g.,"projects/12345678/locations/us-central1")
|
|
35
|
+
# * folders/\\{FOLDER_NUMBER}/locations/\\{LOCATION}
|
|
36
|
+
# (e.g.,"folders/1234567/locations/us-central1")
|
|
37
|
+
# * organizations/\\{ORGANIZATION_NUMBER}/locations/\\{LOCATION}
|
|
38
|
+
# (e.g.,"organizations/123456/locations/us-central1")
|
|
39
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
40
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
41
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
42
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
43
|
+
# @!attribute [rw] page_size
|
|
44
|
+
# @return [::Integer]
|
|
45
|
+
# Optional. If unspecified, at most 50 products will be returned.
|
|
46
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
47
|
+
# @!attribute [rw] page_token
|
|
48
|
+
# @return [::String]
|
|
49
|
+
# Optional. A page token, received from a previous `ListLocations` call.
|
|
50
|
+
# Provide this to retrieve the subsequent page.
|
|
51
|
+
# All other parameters except page size should match the call that provided
|
|
52
|
+
# the page page token.
|
|
53
|
+
class QueryProductsRequest
|
|
54
|
+
include ::Google::Protobuf::MessageExts
|
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# QueryProductsResponse represents the response containing a list of products.
|
|
59
|
+
# @!attribute [rw] products
|
|
60
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::Product>]
|
|
61
|
+
# List of database products returned.
|
|
62
|
+
# @!attribute [rw] next_page_token
|
|
63
|
+
# @return [::String]
|
|
64
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
|
65
|
+
# If this field is omitted, there are no subsequent pages
|
|
66
|
+
# @!attribute [rw] unreachable
|
|
67
|
+
# @return [::Array<::String>]
|
|
68
|
+
# Unordered list. List of unreachable regions from where data could not be
|
|
69
|
+
# retrieved.
|
|
70
|
+
class QueryProductsResponse
|
|
71
|
+
include ::Google::Protobuf::MessageExts
|
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# QueryDatabaseResourceGroupsRequest is the request to get a list of database
|
|
76
|
+
# groups.
|
|
77
|
+
# @!attribute [rw] parent
|
|
78
|
+
# @return [::String]
|
|
79
|
+
# Required. Parent can be a project, a folder, or an organization. The search
|
|
80
|
+
# is limited to the resources within the `scope`.
|
|
81
|
+
#
|
|
82
|
+
# The allowed values are:
|
|
83
|
+
#
|
|
84
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
85
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
86
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
87
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
88
|
+
# @!attribute [rw] filter
|
|
89
|
+
# @return [::String]
|
|
90
|
+
# Optional. The expression to filter resources.
|
|
91
|
+
#
|
|
92
|
+
# The following fields are filterable:
|
|
93
|
+
# * full_resource_name
|
|
94
|
+
# * resource_type
|
|
95
|
+
# * container
|
|
96
|
+
# * product.type
|
|
97
|
+
# * product.engine
|
|
98
|
+
# * product.version
|
|
99
|
+
# * location
|
|
100
|
+
# * labels
|
|
101
|
+
# * resource_category
|
|
102
|
+
# * machine_config.cpu_count
|
|
103
|
+
# * machine_config.memory_size_bytes
|
|
104
|
+
# * machine_config.shard_count
|
|
105
|
+
# * resource_name
|
|
106
|
+
# * tags
|
|
107
|
+
# * backupdr_config.backupdr_managed
|
|
108
|
+
# * edition
|
|
109
|
+
#
|
|
110
|
+
# The expression is a list of zero or more restrictions combined via logical
|
|
111
|
+
# operators `AND` and `OR`. When `AND` and `OR` are both used in the
|
|
112
|
+
# expression, parentheses must be appropriately used to group the
|
|
113
|
+
# combinations.
|
|
114
|
+
#
|
|
115
|
+
# Example: location="us-east1"
|
|
116
|
+
# Example: container="projects/123" OR container="projects/456"
|
|
117
|
+
# Example: (container="projects/123" OR
|
|
118
|
+
# container="projects/456") AND location="us-east1"
|
|
119
|
+
# Example: full_resource_name=~"test"
|
|
120
|
+
# Example: full_resource_name=~"test.*master"
|
|
121
|
+
# @!attribute [rw] signal_type_groups
|
|
122
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup>]
|
|
123
|
+
# Optional. Groups of signal types that are requested.
|
|
124
|
+
# @!attribute [rw] signal_filters
|
|
125
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalFilter>]
|
|
126
|
+
# Optional. Filters based on signals. The list will be ORed together and then
|
|
127
|
+
# ANDed with the `filters` field above.
|
|
128
|
+
# @!attribute [rw] order_by
|
|
129
|
+
# @return [::String]
|
|
130
|
+
# Optional. A field that specifies the sort order of the results.
|
|
131
|
+
#
|
|
132
|
+
# The following fields are sortable:
|
|
133
|
+
# * full_resource_name
|
|
134
|
+
# * product.type
|
|
135
|
+
# * product.engine
|
|
136
|
+
# * product.version
|
|
137
|
+
# * container
|
|
138
|
+
# * issue_count
|
|
139
|
+
# * machine_config.vcpu_count
|
|
140
|
+
# * machine_config.memory_size_bytes
|
|
141
|
+
# * machine_config.shard_count
|
|
142
|
+
# * resource_name
|
|
143
|
+
# * issue_severity
|
|
144
|
+
# * signal_type
|
|
145
|
+
# * location
|
|
146
|
+
# * resource_type
|
|
147
|
+
# * instance_type
|
|
148
|
+
# * edition
|
|
149
|
+
# * metrics.p99_cpu_utilization
|
|
150
|
+
# * metrics.p95_cpu_utilization
|
|
151
|
+
# * metrics.current_storage_used_bytes
|
|
152
|
+
# * metrics.node_count
|
|
153
|
+
# * metrics.processing_unit_count
|
|
154
|
+
# * metrics.current_memory_used_bytes
|
|
155
|
+
# * metrics.peak_storage_utilization
|
|
156
|
+
# * metrics.peak_number_connections
|
|
157
|
+
# * metrics.peak_memory_utilization
|
|
158
|
+
#
|
|
159
|
+
# The default order is ascending. Add "DESC" after the field name to indicate
|
|
160
|
+
# descending order. Add "ASC" after the field name to indicate ascending
|
|
161
|
+
# order. It only supports a single field at a time.
|
|
162
|
+
#
|
|
163
|
+
# For example:
|
|
164
|
+
# order_by = "full_resource_name" sorts response in ascending order
|
|
165
|
+
# order_by = "full_resource_name DESC" sorts response in descending order
|
|
166
|
+
# order_by = "issue_count DESC" sorts response in descending order of
|
|
167
|
+
# count of all issues associated with a resource.
|
|
168
|
+
#
|
|
169
|
+
# More explicitly, order_by = "full_resource_name, product" is not supported.
|
|
170
|
+
# @!attribute [rw] page_size
|
|
171
|
+
# @return [::Integer]
|
|
172
|
+
# Optional. If unspecified, at most 50 resource groups will be returned.
|
|
173
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
174
|
+
# @!attribute [rw] page_token
|
|
175
|
+
# @return [::String]
|
|
176
|
+
# Optional. A page token, received from a previous
|
|
177
|
+
# `QueryDatabaseResourceGroupsRequest` call. Provide this to retrieve the
|
|
178
|
+
# subsequent page. All parameters except page_token should match the
|
|
179
|
+
# parameters in the call that provided the page page token.
|
|
180
|
+
class QueryDatabaseResourceGroupsRequest
|
|
181
|
+
include ::Google::Protobuf::MessageExts
|
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# QueryDatabaseResourceGroupsResponse represents the response message
|
|
186
|
+
# containing a list of resource groups.
|
|
187
|
+
# @!attribute [rw] resource_groups
|
|
188
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResourceGroup>]
|
|
189
|
+
# List of database resource groups that pass the filter.
|
|
190
|
+
# @!attribute [rw] next_page_token
|
|
191
|
+
# @return [::String]
|
|
192
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
|
193
|
+
# If this field is omitted, there are no subsequent pages.
|
|
194
|
+
# @!attribute [rw] unreachable
|
|
195
|
+
# @return [::Array<::String>]
|
|
196
|
+
# Unordered list. List of unreachable regions from where data could not be
|
|
197
|
+
# retrieved.
|
|
198
|
+
class QueryDatabaseResourceGroupsResponse
|
|
199
|
+
include ::Google::Protobuf::MessageExts
|
|
200
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# DatabaseResourceGroup represents all resources that serve a common data set.
|
|
204
|
+
# It is considered notionally as a single entity, powered by any number of
|
|
205
|
+
# units of compute and storage.
|
|
206
|
+
# @!attribute [rw] root_resources
|
|
207
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResource>]
|
|
208
|
+
# A database resource that serves as a root of the group of database
|
|
209
|
+
# resources. It is repeated just in case we have the concept of multiple
|
|
210
|
+
# roots in the future, however, it will only be populated with a single value
|
|
211
|
+
# for now.
|
|
212
|
+
# @!attribute [rw] signal_groups
|
|
213
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::IssueCount>]
|
|
214
|
+
# The filtered signal groups and the count of issues associated with the
|
|
215
|
+
# resources that have been filtered in.
|
|
216
|
+
class DatabaseResourceGroup
|
|
217
|
+
include ::Google::Protobuf::MessageExts
|
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# DatabaseResource represents every individually configured database unit
|
|
222
|
+
# representing compute and/or storage.
|
|
223
|
+
# NextId: 20
|
|
224
|
+
# @!attribute [rw] child_resources
|
|
225
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResource>]
|
|
226
|
+
# List of children associated with a database group.
|
|
227
|
+
# @!attribute [rw] full_resource_name
|
|
228
|
+
# @return [::String]
|
|
229
|
+
# The full resource name, based on CAIS resource name format
|
|
230
|
+
# https://cloud.google.com/asset-inventory/docs/resource-name-format
|
|
231
|
+
#
|
|
232
|
+
# Example:
|
|
233
|
+
#
|
|
234
|
+
# `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`
|
|
235
|
+
# `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1`
|
|
236
|
+
# `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1`
|
|
237
|
+
# `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1`
|
|
238
|
+
# `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`
|
|
239
|
+
# @!attribute [rw] container
|
|
240
|
+
# @return [::String]
|
|
241
|
+
# Specifies where the resource is created. For GCP, it is the full name of
|
|
242
|
+
# the project.
|
|
243
|
+
# @!attribute [rw] product
|
|
244
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::Product]
|
|
245
|
+
# The product this resource represents.
|
|
246
|
+
# @!attribute [rw] location
|
|
247
|
+
# @return [::String]
|
|
248
|
+
# The location of the resources. It supports returning only regional
|
|
249
|
+
# locations in GCP. These are of the form: "us-central1", "us-east1", etc.
|
|
250
|
+
# See https://cloud.google.com/about/locations for a list of such regions.
|
|
251
|
+
# @!attribute [rw] labels
|
|
252
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::Label>]
|
|
253
|
+
# Labels applied on the resource. The requirements for labels assigned to
|
|
254
|
+
# Google Cloud resources may be found at
|
|
255
|
+
# https://cloud.google.com/resource-manager/docs/labels-overview#requirements
|
|
256
|
+
# @!attribute [rw] tags
|
|
257
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::Tag>]
|
|
258
|
+
# Tags applied on the resource. The requirements for tags assigned to
|
|
259
|
+
# Google Cloud resources may be found at
|
|
260
|
+
# https://cloud.google.com/resource-manager/docs/tags/tags-overview
|
|
261
|
+
# @!attribute [rw] resource_type
|
|
262
|
+
# @return [::String]
|
|
263
|
+
# The type of resource defined according to the pattern:
|
|
264
|
+
# \\{Service Name}/\\{Type}. Ex:
|
|
265
|
+
# sqladmin.googleapis.com/Instance
|
|
266
|
+
# alloydb.googleapis.com/Cluster
|
|
267
|
+
# alloydb.googleapis.com/Instance
|
|
268
|
+
# spanner.googleapis.com/Instance
|
|
269
|
+
# @!attribute [rw] sub_resource_type
|
|
270
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SubResourceType]
|
|
271
|
+
# Subtype of the resource specified at creation time.
|
|
272
|
+
# @!attribute [rw] machine_config
|
|
273
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::MachineConfig]
|
|
274
|
+
# Machine configuration like CPU, memory, etc for the resource.
|
|
275
|
+
# @!attribute [rw] signal_groups
|
|
276
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalGroup>]
|
|
277
|
+
# The list of signal groups and count of issues related to the resource.
|
|
278
|
+
# Only those signals which have been requested would be included.
|
|
279
|
+
# @!attribute [rw] metrics
|
|
280
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::Metrics]
|
|
281
|
+
# Observable metrics for the resource e.g. CPU utilization, memory
|
|
282
|
+
# utilization, etc.
|
|
283
|
+
# @!attribute [rw] resource_category
|
|
284
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::ResourceCategory]
|
|
285
|
+
# The category of the resource.
|
|
286
|
+
# @!attribute [rw] resource_name
|
|
287
|
+
# @return [::String]
|
|
288
|
+
# The name of the resource(The last part of the full resource name).
|
|
289
|
+
# Example:
|
|
290
|
+
# For full resource name -
|
|
291
|
+
# `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`,
|
|
292
|
+
# resource name - `mysql-1`
|
|
293
|
+
# For full resource name -
|
|
294
|
+
# `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` ,
|
|
295
|
+
# resource name - `postgres-1`
|
|
296
|
+
# Note: In some cases, there might be more than one resource with the same
|
|
297
|
+
# resource name.
|
|
298
|
+
# @!attribute [rw] backupdr_config
|
|
299
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::BackupDRConfig]
|
|
300
|
+
# Optional. Backup and disaster recovery details for the resource.
|
|
301
|
+
# @!attribute [rw] edition
|
|
302
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::Edition]
|
|
303
|
+
# The edition of the resource.
|
|
304
|
+
# @!attribute [rw] maintenance_info
|
|
305
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::MaintenanceInfo]
|
|
306
|
+
# Optional. The maintenance information of the resource.
|
|
307
|
+
class DatabaseResource
|
|
308
|
+
include ::Google::Protobuf::MessageExts
|
|
309
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Label is a key value pair applied to a resource.
|
|
313
|
+
# @!attribute [rw] key
|
|
314
|
+
# @return [::String]
|
|
315
|
+
# The key part of the label.
|
|
316
|
+
# @!attribute [rw] value
|
|
317
|
+
# @return [::String]
|
|
318
|
+
# The value part of the label.
|
|
319
|
+
# @!attribute [rw] source
|
|
320
|
+
# @return [::String]
|
|
321
|
+
# The source of the Label. Source is empty if the label is directly attached
|
|
322
|
+
# to the resource and not inherited.
|
|
323
|
+
class Label
|
|
324
|
+
include ::Google::Protobuf::MessageExts
|
|
325
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
# The request message to aggregate fleet which are grouped by a field.
|
|
329
|
+
# @!attribute [rw] parent
|
|
330
|
+
# @return [::String]
|
|
331
|
+
# Required. Parent can be a project, a folder, or an organization. The search
|
|
332
|
+
# is limited to the resources within the `scope`.
|
|
333
|
+
#
|
|
334
|
+
# The allowed values are:
|
|
335
|
+
#
|
|
336
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
337
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
338
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
339
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g.,
|
|
340
|
+
# "organizations/123456")
|
|
341
|
+
# @!attribute [rw] filter
|
|
342
|
+
# @return [::String]
|
|
343
|
+
# Optional. The expression to filter resources.
|
|
344
|
+
#
|
|
345
|
+
# Supported fields are: `full_resource_name`, `resource_type`, `container`,
|
|
346
|
+
# `product.type`, `product.engine`, `product.version`, `location`,
|
|
347
|
+
# `labels`, `issues`, fields of availability_info, data_protection_info,
|
|
348
|
+
# 'resource_name', etc.
|
|
349
|
+
#
|
|
350
|
+
# The expression is a list of zero or more restrictions combined via logical
|
|
351
|
+
# operators `AND` and `OR`. When `AND` and `OR` are both used in the
|
|
352
|
+
# expression, parentheses must be appropriately used to group the
|
|
353
|
+
# combinations.
|
|
354
|
+
#
|
|
355
|
+
# Example: location="us-east1"
|
|
356
|
+
# Example: container="projects/123" OR container="projects/456"
|
|
357
|
+
# Example: (container="projects/123" OR
|
|
358
|
+
# container="projects/456") AND location="us-east1"
|
|
359
|
+
# @!attribute [rw] group_by
|
|
360
|
+
# @return [::String]
|
|
361
|
+
# Optional. A field that statistics are grouped by.
|
|
362
|
+
# Valid values are any combination of the following:
|
|
363
|
+
# * container
|
|
364
|
+
# * product.type
|
|
365
|
+
# * product.engine
|
|
366
|
+
# * product.version
|
|
367
|
+
# * location
|
|
368
|
+
# * sub_resource_type
|
|
369
|
+
# * management_type
|
|
370
|
+
# * tag.key
|
|
371
|
+
# * tag.value
|
|
372
|
+
# * tag.source
|
|
373
|
+
# * tag.inherited
|
|
374
|
+
# * label.key
|
|
375
|
+
# * label.value
|
|
376
|
+
# * label.source
|
|
377
|
+
# * has_maintenance_schedule
|
|
378
|
+
# * has_deny_maintenance_schedules
|
|
379
|
+
# Comma separated list.
|
|
380
|
+
# @!attribute [rw] order_by
|
|
381
|
+
# @return [::String]
|
|
382
|
+
# Optional. Valid values to order by are:
|
|
383
|
+
# * resource_groups_count
|
|
384
|
+
# * resources_count
|
|
385
|
+
# * and all fields supported by `group_by`
|
|
386
|
+
# The default order is ascending. Add "DESC" after the field name to indicate
|
|
387
|
+
# descending order. Add "ASC" after the field name to indicate ascending
|
|
388
|
+
# order. It supports ordering using multiple fields.
|
|
389
|
+
# For example:
|
|
390
|
+
# order_by = "resource_groups_count" sorts response in ascending order
|
|
391
|
+
# order_by = "resource_groups_count DESC" sorts response in descending order
|
|
392
|
+
# order_by = "product.type, product.version DESC, location" orders by type
|
|
393
|
+
# in ascending order, version in descending order and location in ascending
|
|
394
|
+
# order
|
|
395
|
+
# @!attribute [rw] page_size
|
|
396
|
+
# @return [::Integer]
|
|
397
|
+
# Optional. If unspecified, at most 50 items will be returned.
|
|
398
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
399
|
+
# @!attribute [rw] page_token
|
|
400
|
+
# @return [::String]
|
|
401
|
+
# Optional. A page token, received from a previous `AggregateFleet` call.
|
|
402
|
+
# Provide this to retrieve the subsequent page.
|
|
403
|
+
# All other parameters should match the parameters in the call that provided
|
|
404
|
+
# the page token except for page_size which can be different.
|
|
405
|
+
# @!attribute [rw] baseline_date
|
|
406
|
+
# @return [::Google::Type::Date]
|
|
407
|
+
# Optional. The baseline date w.r.t. which the delta counts are calculated.
|
|
408
|
+
# If not set, delta counts are not included in the response and the response
|
|
409
|
+
# indicates the current state of the fleet.
|
|
410
|
+
class AggregateFleetRequest
|
|
411
|
+
include ::Google::Protobuf::MessageExts
|
|
412
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
# The response message to aggregate a fleet by some group by fields.
|
|
416
|
+
# @!attribute [rw] rows
|
|
417
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::AggregateFleetRow>]
|
|
418
|
+
# Represents a row grouped by the fields in the input.
|
|
419
|
+
# @!attribute [rw] resource_groups_total_count
|
|
420
|
+
# @return [::Integer]
|
|
421
|
+
# Count of all resource groups in the fleet. This includes counts from all
|
|
422
|
+
# pages.
|
|
423
|
+
# @!attribute [rw] resource_total_count
|
|
424
|
+
# @return [::Integer]
|
|
425
|
+
# Count of all resources in the fleet. This includes counts from all pages.
|
|
426
|
+
# @!attribute [rw] next_page_token
|
|
427
|
+
# @return [::String]
|
|
428
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
|
429
|
+
# If this field is omitted, there are no subsequent pages.
|
|
430
|
+
# @!attribute [rw] unreachable
|
|
431
|
+
# @return [::Array<::String>]
|
|
432
|
+
# Unordered list. List of unreachable regions from where data could not be
|
|
433
|
+
# retrieved.
|
|
434
|
+
class AggregateFleetResponse
|
|
435
|
+
include ::Google::Protobuf::MessageExts
|
|
436
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
# Individual row grouped by a particular dimension.
|
|
440
|
+
# @!attribute [rw] dimension
|
|
441
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::Dimension>]
|
|
442
|
+
# Group by dimension.
|
|
443
|
+
# @!attribute [rw] resource_groups_count
|
|
444
|
+
# @return [::Integer]
|
|
445
|
+
# Number of resource groups that have a particular dimension.
|
|
446
|
+
# @!attribute [rw] resources_count
|
|
447
|
+
# @return [::Integer]
|
|
448
|
+
# Number of resources that have a particular dimension.
|
|
449
|
+
# @!attribute [rw] delta_details
|
|
450
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::DeltaDetails]
|
|
451
|
+
# Optional. Delta counts and details of resources which were added to/deleted
|
|
452
|
+
# from fleet.
|
|
453
|
+
class AggregateFleetRow
|
|
454
|
+
include ::Google::Protobuf::MessageExts
|
|
455
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
# Dimension used to aggregate the fleet.
|
|
459
|
+
# @!attribute [rw] container
|
|
460
|
+
# @return [::String]
|
|
461
|
+
# Specifies where the resource is created. For GCP, it is the full name of
|
|
462
|
+
# the project.
|
|
463
|
+
#
|
|
464
|
+
# Note: The following fields are mutually exclusive: `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
465
|
+
# @!attribute [rw] product_type
|
|
466
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::ProductType]
|
|
467
|
+
# Type to identify a product
|
|
468
|
+
#
|
|
469
|
+
# Note: The following fields are mutually exclusive: `product_type`, `container`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
470
|
+
# @!attribute [rw] product_engine
|
|
471
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::Engine]
|
|
472
|
+
# Engine refers to underlying database binary running in an instance.
|
|
473
|
+
#
|
|
474
|
+
# Note: The following fields are mutually exclusive: `product_engine`, `container`, `product_type`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
475
|
+
# @!attribute [rw] product_version
|
|
476
|
+
# @return [::String]
|
|
477
|
+
# Version of the underlying database engine
|
|
478
|
+
#
|
|
479
|
+
# Note: The following fields are mutually exclusive: `product_version`, `container`, `product_type`, `product_engine`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
480
|
+
# @!attribute [rw] location
|
|
481
|
+
# @return [::String]
|
|
482
|
+
# The location of the resources. It supports returning only regional
|
|
483
|
+
# locations in GCP.
|
|
484
|
+
#
|
|
485
|
+
# Note: The following fields are mutually exclusive: `location`, `container`, `product_type`, `product_engine`, `product_version`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
486
|
+
# @!attribute [rw] resource_type
|
|
487
|
+
# @return [::String]
|
|
488
|
+
# The type of resource defined according to the pattern:
|
|
489
|
+
# \\{Service Name}/\\{Type}. Ex:
|
|
490
|
+
# sqladmin.googleapis.com/Instance
|
|
491
|
+
# alloydb.googleapis.com/Cluster
|
|
492
|
+
# alloydb.googleapis.com/Instance
|
|
493
|
+
# spanner.googleapis.com/Instance
|
|
494
|
+
#
|
|
495
|
+
# Note: The following fields are mutually exclusive: `resource_type`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
496
|
+
# @!attribute [rw] sub_resource_type
|
|
497
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SubResourceType]
|
|
498
|
+
# Subtype of the resource specified at creation time.
|
|
499
|
+
#
|
|
500
|
+
# Note: The following fields are mutually exclusive: `sub_resource_type`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
501
|
+
# @!attribute [rw] resource_category
|
|
502
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::ResourceCategory]
|
|
503
|
+
# The category of the resource.
|
|
504
|
+
#
|
|
505
|
+
# Note: The following fields are mutually exclusive: `resource_category`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
506
|
+
# @!attribute [rw] management_type
|
|
507
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::ManagementType]
|
|
508
|
+
# The management type of the resource.
|
|
509
|
+
#
|
|
510
|
+
# Note: The following fields are mutually exclusive: `management_type`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
511
|
+
# @!attribute [rw] edition
|
|
512
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::Edition]
|
|
513
|
+
# The edition of the resource.
|
|
514
|
+
#
|
|
515
|
+
# Note: The following fields are mutually exclusive: `edition`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
516
|
+
# @!attribute [rw] tag_key
|
|
517
|
+
# @return [::String]
|
|
518
|
+
# Tag key of the resource.
|
|
519
|
+
#
|
|
520
|
+
# Note: The following fields are mutually exclusive: `tag_key`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
521
|
+
# @!attribute [rw] tag_value
|
|
522
|
+
# @return [::String]
|
|
523
|
+
# Tag value of the resource.
|
|
524
|
+
#
|
|
525
|
+
# Note: The following fields are mutually exclusive: `tag_value`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
526
|
+
# @!attribute [rw] tag_source
|
|
527
|
+
# @return [::String]
|
|
528
|
+
# Tag source of the resource.
|
|
529
|
+
#
|
|
530
|
+
# Note: The following fields are mutually exclusive: `tag_source`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
531
|
+
# @!attribute [rw] tag_inherited
|
|
532
|
+
# @return [::Boolean]
|
|
533
|
+
# Tag inheritance value of the resource.
|
|
534
|
+
#
|
|
535
|
+
# Note: The following fields are mutually exclusive: `tag_inherited`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
536
|
+
# @!attribute [rw] label_key
|
|
537
|
+
# @return [::String]
|
|
538
|
+
# Label key of the resource.
|
|
539
|
+
#
|
|
540
|
+
# Note: The following fields are mutually exclusive: `label_key`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
541
|
+
# @!attribute [rw] label_value
|
|
542
|
+
# @return [::String]
|
|
543
|
+
# Label value of the resource.
|
|
544
|
+
#
|
|
545
|
+
# Note: The following fields are mutually exclusive: `label_value`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
546
|
+
# @!attribute [rw] label_source
|
|
547
|
+
# @return [::String]
|
|
548
|
+
# Label source of the resource.
|
|
549
|
+
#
|
|
550
|
+
# Note: The following fields are mutually exclusive: `label_source`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
551
|
+
# @!attribute [rw] has_maintenance_schedule
|
|
552
|
+
# @return [::Boolean]
|
|
553
|
+
# Whether the resource has a maintenance schedule.
|
|
554
|
+
#
|
|
555
|
+
# Note: The following fields are mutually exclusive: `has_maintenance_schedule`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
556
|
+
# @!attribute [rw] has_deny_maintenance_schedules
|
|
557
|
+
# @return [::Boolean]
|
|
558
|
+
# Whether the resource has deny maintenance schedules.
|
|
559
|
+
#
|
|
560
|
+
# Note: The following fields are mutually exclusive: `has_deny_maintenance_schedules`, `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
561
|
+
class Dimension
|
|
562
|
+
include ::Google::Protobuf::MessageExts
|
|
563
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
# BackupDRConfig to capture the backup and disaster recovery details of
|
|
567
|
+
# database resource.
|
|
568
|
+
# @!attribute [rw] backupdr_managed
|
|
569
|
+
# @return [::Boolean]
|
|
570
|
+
# Indicates if the resource is managed by BackupDR.
|
|
571
|
+
class BackupDRConfig
|
|
572
|
+
include ::Google::Protobuf::MessageExts
|
|
573
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
# Tag is a key value pair attached to a resource.
|
|
577
|
+
# @!attribute [rw] key
|
|
578
|
+
# @return [::String]
|
|
579
|
+
# @!attribute [rw] value
|
|
580
|
+
# @return [::String]
|
|
581
|
+
# The value part of the tag.
|
|
582
|
+
# @!attribute [rw] source
|
|
583
|
+
# @return [::String]
|
|
584
|
+
# The source of the tag. According to
|
|
585
|
+
# https://cloud.google.com/resource-manager/docs/tags/tags-overview#tags_and_labels,
|
|
586
|
+
# tags can be created only at the project or organization level. Tags can be
|
|
587
|
+
# inherited from different project as well not just the current project where
|
|
588
|
+
# the database resource is present.
|
|
589
|
+
# Format:
|
|
590
|
+
# "projects/\\{PROJECT_ID}",
|
|
591
|
+
# "projects/\\{PROJECT_NUMBER}",
|
|
592
|
+
# "organizations/\\{ORGANIZATION_ID}"
|
|
593
|
+
# @!attribute [rw] inherited
|
|
594
|
+
# @return [::Boolean]
|
|
595
|
+
# Indicates the inheritance status of a tag value
|
|
596
|
+
# attached to the given resource. If the tag value is inherited from one of
|
|
597
|
+
# the resource's ancestors, inherited will be true. If false, then the tag
|
|
598
|
+
# value is directly attached to the resource.
|
|
599
|
+
class Tag
|
|
600
|
+
include ::Google::Protobuf::MessageExts
|
|
601
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
602
|
+
end
|
|
603
|
+
|
|
604
|
+
# Capture the resource details for resources that are included in the delta
|
|
605
|
+
# counts.
|
|
606
|
+
# @!attribute [rw] full_resource_name
|
|
607
|
+
# @return [::String]
|
|
608
|
+
# Full resource name of the resource.
|
|
609
|
+
# @!attribute [rw] container
|
|
610
|
+
# @return [::String]
|
|
611
|
+
# Specifies where the resource is created. For GCP, it is the full name of
|
|
612
|
+
# the project.
|
|
613
|
+
# @!attribute [rw] product
|
|
614
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::Product]
|
|
615
|
+
# Product type of the resource.
|
|
616
|
+
# @!attribute [rw] location
|
|
617
|
+
# @return [::String]
|
|
618
|
+
# Location of the resource.
|
|
619
|
+
class ResourceDetails
|
|
620
|
+
include ::Google::Protobuf::MessageExts
|
|
621
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
622
|
+
end
|
|
623
|
+
|
|
624
|
+
# Captures the details of items that have increased or decreased in some bucket
|
|
625
|
+
# when compared to some point in history.
|
|
626
|
+
# It is currently used to capture the delta of resources that have been added
|
|
627
|
+
# or removed in the fleet as well as to capture the resources that have a
|
|
628
|
+
# change in Issue/Signal status.
|
|
629
|
+
# @!attribute [rw] increased_resources
|
|
630
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceDetails>]
|
|
631
|
+
# Details of resources that have increased.
|
|
632
|
+
# @!attribute [rw] decreased_resources
|
|
633
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceDetails>]
|
|
634
|
+
# Details of resources that have decreased.
|
|
635
|
+
class DeltaDetails
|
|
636
|
+
include ::Google::Protobuf::MessageExts
|
|
637
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
# The enum value corresponds to 'type' suffix in the resource_type field.
|
|
641
|
+
module ResourceCategory
|
|
642
|
+
# Unspecified.
|
|
643
|
+
RESOURCE_CATEGORY_UNSPECIFIED = 0
|
|
644
|
+
|
|
645
|
+
# A resource that is an Instance.
|
|
646
|
+
INSTANCE = 1
|
|
647
|
+
|
|
648
|
+
# A resource that is a Cluster.
|
|
649
|
+
CLUSTER = 2
|
|
650
|
+
|
|
651
|
+
# A resource that is a Database.
|
|
652
|
+
DATABASE = 3
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
# Proto representing the edition of the instance.
|
|
656
|
+
# NextId: 4.
|
|
657
|
+
module Edition
|
|
658
|
+
# Default, to make it consistent with instance edition enum.
|
|
659
|
+
EDITION_UNSPECIFIED = 0
|
|
660
|
+
|
|
661
|
+
# Represents the enterprise edition.
|
|
662
|
+
EDITION_ENTERPRISE = 1
|
|
663
|
+
|
|
664
|
+
# Represents the enterprise plus edition.
|
|
665
|
+
EDITION_ENTERPRISE_PLUS = 2
|
|
666
|
+
|
|
667
|
+
# Represents the standard edition.
|
|
668
|
+
EDITION_STANDARD = 3
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
# SubResourceType refers to the sub-type of database resource.
|
|
672
|
+
module SubResourceType
|
|
673
|
+
# Unspecified.
|
|
674
|
+
SUB_RESOURCE_TYPE_UNSPECIFIED = 0
|
|
675
|
+
|
|
676
|
+
# A resource acting as a primary.
|
|
677
|
+
SUB_RESOURCE_TYPE_PRIMARY = 1
|
|
678
|
+
|
|
679
|
+
# A resource acting as a secondary.
|
|
680
|
+
SUB_RESOURCE_TYPE_SECONDARY = 2
|
|
681
|
+
|
|
682
|
+
# A resource acting as a read-replica.
|
|
683
|
+
SUB_RESOURCE_TYPE_READ_REPLICA = 3
|
|
684
|
+
|
|
685
|
+
# A resource acting as an external primary.
|
|
686
|
+
SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY = 5
|
|
687
|
+
|
|
688
|
+
# For the rest of the categories.
|
|
689
|
+
SUB_RESOURCE_TYPE_OTHER = 4
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
# The management type of the resource.
|
|
693
|
+
module ManagementType
|
|
694
|
+
# Unspecified.
|
|
695
|
+
MANAGEMENT_TYPE_UNSPECIFIED = 0
|
|
696
|
+
|
|
697
|
+
# Google-managed resource.
|
|
698
|
+
MANAGEMENT_TYPE_GCP_MANAGED = 1
|
|
699
|
+
|
|
700
|
+
# Self-managed resource.
|
|
701
|
+
MANAGEMENT_TYPE_SELF_MANAGED = 2
|
|
702
|
+
end
|
|
703
|
+
end
|
|
704
|
+
end
|
|
705
|
+
end
|
|
706
|
+
end
|