Skip to content

Commit 28d90ca

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new value SUB_RESOURCE_TYPE_READ_POOL is added to enum SubResourceType
feat: A new value `SUB_RESOURCE_TYPE_RESERVATION` is added to enum `SubResourceType` feat: A new value `SUB_RESOURCE_TYPE_DATASET` is added to enum `SubResourceType` feat: A new value `SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE` is added to enum `SignalType docs: Modified comment for Edition Enum PiperOrigin-RevId: 887887716
1 parent 758d824 commit 28d90ca

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

google/cloud/databasecenter/v1beta/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ load(
338338

339339
csharp_proto_library(
340340
name = "databasecenter_csharp_proto",
341+
extra_opts = [],
341342
deps = [":databasecenter_proto"],
342343
)
343344

google/cloud/databasecenter/v1beta/service.proto

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ enum ResourceCategory {
100100
DATABASE = 3;
101101
}
102102

103-
// Proto representing the edition of the instance.
104-
// NextId: 4.
103+
// Represents the edition of a database resource.
105104
enum Edition {
106105
// Default, to make it consistent with instance edition enum.
107106
EDITION_UNSPECIFIED = 0;
@@ -133,6 +132,15 @@ enum SubResourceType {
133132
// A resource acting as an external primary.
134133
SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY = 5;
135134

135+
// A resource acting as a read pool.
136+
SUB_RESOURCE_TYPE_READ_POOL = 6;
137+
138+
// Represents a reservation resource.
139+
SUB_RESOURCE_TYPE_RESERVATION = 7;
140+
141+
// Represents a dataset resource.
142+
SUB_RESOURCE_TYPE_DATASET = 8;
143+
136144
// For the rest of the categories.
137145
SUB_RESOURCE_TYPE_OTHER = 4;
138146
}

google/cloud/databasecenter/v1beta/signals.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,9 @@ enum SignalType {
432432

433433
// Resource version is in extended support.
434434
SIGNAL_TYPE_EXTENDED_SUPPORT = 102;
435+
436+
// Represents a database version nearing end of life.
437+
SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE = 104;
435438
}
436439

437440
// A group of signal types that specifies what the user is interested in.

0 commit comments

Comments
 (0)