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,50 @@
|
|
|
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
|
+
# The reason for suspension of the database resource.
|
|
25
|
+
module SuspensionReason
|
|
26
|
+
# Suspension reason is unspecified.
|
|
27
|
+
SUSPENSION_REASON_UNSPECIFIED = 0
|
|
28
|
+
|
|
29
|
+
# Wipeout hide event.
|
|
30
|
+
WIPEOUT_HIDE_EVENT = 1
|
|
31
|
+
|
|
32
|
+
# Wipeout purge event.
|
|
33
|
+
WIPEOUT_PURGE_EVENT = 2
|
|
34
|
+
|
|
35
|
+
# Billing disabled for project
|
|
36
|
+
BILLING_DISABLED = 3
|
|
37
|
+
|
|
38
|
+
# Abuse detected for resource
|
|
39
|
+
ABUSER_DETECTED = 4
|
|
40
|
+
|
|
41
|
+
# Encryption key inaccessible.
|
|
42
|
+
ENCRYPTION_KEY_INACCESSIBLE = 5
|
|
43
|
+
|
|
44
|
+
# Replicated cluster encryption key inaccessible.
|
|
45
|
+
REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE = 6
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,98 @@
|
|
|
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 Protobuf
|
|
22
|
+
# A Duration represents a signed, fixed-length span of time represented
|
|
23
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
24
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
25
|
+
# or "month". It is related to Timestamp in that the difference between
|
|
26
|
+
# two Timestamp values is a Duration and it can be added or subtracted
|
|
27
|
+
# from a Timestamp. Range is approximately +-10,000 years.
|
|
28
|
+
#
|
|
29
|
+
# # Examples
|
|
30
|
+
#
|
|
31
|
+
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
32
|
+
#
|
|
33
|
+
# Timestamp start = ...;
|
|
34
|
+
# Timestamp end = ...;
|
|
35
|
+
# Duration duration = ...;
|
|
36
|
+
#
|
|
37
|
+
# duration.seconds = end.seconds - start.seconds;
|
|
38
|
+
# duration.nanos = end.nanos - start.nanos;
|
|
39
|
+
#
|
|
40
|
+
# if (duration.seconds < 0 && duration.nanos > 0) {
|
|
41
|
+
# duration.seconds += 1;
|
|
42
|
+
# duration.nanos -= 1000000000;
|
|
43
|
+
# } else if (duration.seconds > 0 && duration.nanos < 0) {
|
|
44
|
+
# duration.seconds -= 1;
|
|
45
|
+
# duration.nanos += 1000000000;
|
|
46
|
+
# }
|
|
47
|
+
#
|
|
48
|
+
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
49
|
+
#
|
|
50
|
+
# Timestamp start = ...;
|
|
51
|
+
# Duration duration = ...;
|
|
52
|
+
# Timestamp end = ...;
|
|
53
|
+
#
|
|
54
|
+
# end.seconds = start.seconds + duration.seconds;
|
|
55
|
+
# end.nanos = start.nanos + duration.nanos;
|
|
56
|
+
#
|
|
57
|
+
# if (end.nanos < 0) {
|
|
58
|
+
# end.seconds -= 1;
|
|
59
|
+
# end.nanos += 1000000000;
|
|
60
|
+
# } else if (end.nanos >= 1000000000) {
|
|
61
|
+
# end.seconds += 1;
|
|
62
|
+
# end.nanos -= 1000000000;
|
|
63
|
+
# }
|
|
64
|
+
#
|
|
65
|
+
# Example 3: Compute Duration from datetime.timedelta in Python.
|
|
66
|
+
#
|
|
67
|
+
# td = datetime.timedelta(days=3, minutes=10)
|
|
68
|
+
# duration = Duration()
|
|
69
|
+
# duration.FromTimedelta(td)
|
|
70
|
+
#
|
|
71
|
+
# # JSON Mapping
|
|
72
|
+
#
|
|
73
|
+
# In JSON format, the Duration type is encoded as a string rather than an
|
|
74
|
+
# object, where the string ends in the suffix "s" (indicating seconds) and
|
|
75
|
+
# is preceded by the number of seconds, with nanoseconds expressed as
|
|
76
|
+
# fractional seconds. For example, 3 seconds with 0 nanoseconds should be
|
|
77
|
+
# encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
|
|
78
|
+
# be expressed in JSON format as "3.000000001s", and 3 seconds and 1
|
|
79
|
+
# microsecond should be expressed in JSON format as "3.000001s".
|
|
80
|
+
# @!attribute [rw] seconds
|
|
81
|
+
# @return [::Integer]
|
|
82
|
+
# Signed seconds of the span of time. Must be from -315,576,000,000
|
|
83
|
+
# to +315,576,000,000 inclusive. Note: these bounds are computed from:
|
|
84
|
+
# 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
|
|
85
|
+
# @!attribute [rw] nanos
|
|
86
|
+
# @return [::Integer]
|
|
87
|
+
# Signed fractions of a second at nanosecond resolution of the span
|
|
88
|
+
# of time. Durations less than one second are represented with a 0
|
|
89
|
+
# `seconds` field and a positive or negative `nanos` field. For durations
|
|
90
|
+
# of one second or more, a non-zero value for the `nanos` field must be
|
|
91
|
+
# of the same sign as the `seconds` field. Must be from -999,999,999
|
|
92
|
+
# to +999,999,999 inclusive.
|
|
93
|
+
class Duration
|
|
94
|
+
include ::Google::Protobuf::MessageExts
|
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,127 @@
|
|
|
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 Protobuf
|
|
22
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
|
23
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
24
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
25
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
26
|
+
# Gregorian calendar backwards to year one.
|
|
27
|
+
#
|
|
28
|
+
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
29
|
+
# second table is needed for interpretation, using a [24-hour linear
|
|
30
|
+
# smear](https://developers.google.com/time/smear).
|
|
31
|
+
#
|
|
32
|
+
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
33
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
|
34
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
35
|
+
#
|
|
36
|
+
# # Examples
|
|
37
|
+
#
|
|
38
|
+
# Example 1: Compute Timestamp from POSIX `time()`.
|
|
39
|
+
#
|
|
40
|
+
# Timestamp timestamp;
|
|
41
|
+
# timestamp.set_seconds(time(NULL));
|
|
42
|
+
# timestamp.set_nanos(0);
|
|
43
|
+
#
|
|
44
|
+
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
45
|
+
#
|
|
46
|
+
# struct timeval tv;
|
|
47
|
+
# gettimeofday(&tv, NULL);
|
|
48
|
+
#
|
|
49
|
+
# Timestamp timestamp;
|
|
50
|
+
# timestamp.set_seconds(tv.tv_sec);
|
|
51
|
+
# timestamp.set_nanos(tv.tv_usec * 1000);
|
|
52
|
+
#
|
|
53
|
+
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
54
|
+
#
|
|
55
|
+
# FILETIME ft;
|
|
56
|
+
# GetSystemTimeAsFileTime(&ft);
|
|
57
|
+
# UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
58
|
+
#
|
|
59
|
+
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
|
60
|
+
# // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
|
61
|
+
# Timestamp timestamp;
|
|
62
|
+
# timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
63
|
+
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
64
|
+
#
|
|
65
|
+
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
66
|
+
#
|
|
67
|
+
# long millis = System.currentTimeMillis();
|
|
68
|
+
#
|
|
69
|
+
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
70
|
+
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
71
|
+
#
|
|
72
|
+
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
73
|
+
#
|
|
74
|
+
# Instant now = Instant.now();
|
|
75
|
+
#
|
|
76
|
+
# Timestamp timestamp =
|
|
77
|
+
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
78
|
+
# .setNanos(now.getNano()).build();
|
|
79
|
+
#
|
|
80
|
+
# Example 6: Compute Timestamp from current time in Python.
|
|
81
|
+
#
|
|
82
|
+
# timestamp = Timestamp()
|
|
83
|
+
# timestamp.GetCurrentTime()
|
|
84
|
+
#
|
|
85
|
+
# # JSON Mapping
|
|
86
|
+
#
|
|
87
|
+
# In JSON format, the Timestamp type is encoded as a string in the
|
|
88
|
+
# [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
|
89
|
+
# format is "\\{year}-\\{month}-\\{day}T\\{hour}:\\{min}:\\{sec}[.\\{frac_sec}]Z"
|
|
90
|
+
# where \\{year} is always expressed using four digits while \\{month}, \\{day},
|
|
91
|
+
# \\{hour}, \\{min}, and \\{sec} are zero-padded to two digits each. The fractional
|
|
92
|
+
# seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
|
93
|
+
# are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
|
94
|
+
# is required. A proto3 JSON serializer should always use UTC (as indicated by
|
|
95
|
+
# "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
|
96
|
+
# able to accept both UTC and other timezones (as indicated by an offset).
|
|
97
|
+
#
|
|
98
|
+
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
|
99
|
+
# 01:30 UTC on January 15, 2017.
|
|
100
|
+
#
|
|
101
|
+
# In JavaScript, one can convert a Date object to this format using the
|
|
102
|
+
# standard
|
|
103
|
+
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
|
104
|
+
# method. In Python, a standard `datetime.datetime` object can be converted
|
|
105
|
+
# to this format using
|
|
106
|
+
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
107
|
+
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
108
|
+
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
|
110
|
+
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
|
+
# @!attribute [rw] seconds
|
|
112
|
+
# @return [::Integer]
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch
|
|
114
|
+
# 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
|
115
|
+
# 9999-12-31T23:59:59Z inclusive.
|
|
116
|
+
# @!attribute [rw] nanos
|
|
117
|
+
# @return [::Integer]
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. Negative
|
|
119
|
+
# second values with fractions must still have non-negative nanos values
|
|
120
|
+
# that count forward in time. Must be from 0 to 999,999,999
|
|
121
|
+
# inclusive.
|
|
122
|
+
class Timestamp
|
|
123
|
+
include ::Google::Protobuf::MessageExts
|
|
124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
@@ -0,0 +1,121 @@
|
|
|
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 Protobuf
|
|
22
|
+
# Wrapper message for `double`.
|
|
23
|
+
#
|
|
24
|
+
# The JSON representation for `DoubleValue` is JSON number.
|
|
25
|
+
# @!attribute [rw] value
|
|
26
|
+
# @return [::Float]
|
|
27
|
+
# The double value.
|
|
28
|
+
class DoubleValue
|
|
29
|
+
include ::Google::Protobuf::MessageExts
|
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Wrapper message for `float`.
|
|
34
|
+
#
|
|
35
|
+
# The JSON representation for `FloatValue` is JSON number.
|
|
36
|
+
# @!attribute [rw] value
|
|
37
|
+
# @return [::Float]
|
|
38
|
+
# The float value.
|
|
39
|
+
class FloatValue
|
|
40
|
+
include ::Google::Protobuf::MessageExts
|
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Wrapper message for `int64`.
|
|
45
|
+
#
|
|
46
|
+
# The JSON representation for `Int64Value` is JSON string.
|
|
47
|
+
# @!attribute [rw] value
|
|
48
|
+
# @return [::Integer]
|
|
49
|
+
# The int64 value.
|
|
50
|
+
class Int64Value
|
|
51
|
+
include ::Google::Protobuf::MessageExts
|
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Wrapper message for `uint64`.
|
|
56
|
+
#
|
|
57
|
+
# The JSON representation for `UInt64Value` is JSON string.
|
|
58
|
+
# @!attribute [rw] value
|
|
59
|
+
# @return [::Integer]
|
|
60
|
+
# The uint64 value.
|
|
61
|
+
class UInt64Value
|
|
62
|
+
include ::Google::Protobuf::MessageExts
|
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Wrapper message for `int32`.
|
|
67
|
+
#
|
|
68
|
+
# The JSON representation for `Int32Value` is JSON number.
|
|
69
|
+
# @!attribute [rw] value
|
|
70
|
+
# @return [::Integer]
|
|
71
|
+
# The int32 value.
|
|
72
|
+
class Int32Value
|
|
73
|
+
include ::Google::Protobuf::MessageExts
|
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Wrapper message for `uint32`.
|
|
78
|
+
#
|
|
79
|
+
# The JSON representation for `UInt32Value` is JSON number.
|
|
80
|
+
# @!attribute [rw] value
|
|
81
|
+
# @return [::Integer]
|
|
82
|
+
# The uint32 value.
|
|
83
|
+
class UInt32Value
|
|
84
|
+
include ::Google::Protobuf::MessageExts
|
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Wrapper message for `bool`.
|
|
89
|
+
#
|
|
90
|
+
# The JSON representation for `BoolValue` is JSON `true` and `false`.
|
|
91
|
+
# @!attribute [rw] value
|
|
92
|
+
# @return [::Boolean]
|
|
93
|
+
# The bool value.
|
|
94
|
+
class BoolValue
|
|
95
|
+
include ::Google::Protobuf::MessageExts
|
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Wrapper message for `string`.
|
|
100
|
+
#
|
|
101
|
+
# The JSON representation for `StringValue` is JSON string.
|
|
102
|
+
# @!attribute [rw] value
|
|
103
|
+
# @return [::String]
|
|
104
|
+
# The string value.
|
|
105
|
+
class StringValue
|
|
106
|
+
include ::Google::Protobuf::MessageExts
|
|
107
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Wrapper message for `bytes`.
|
|
111
|
+
#
|
|
112
|
+
# The JSON representation for `BytesValue` is JSON string.
|
|
113
|
+
# @!attribute [rw] value
|
|
114
|
+
# @return [::String]
|
|
115
|
+
# The bytes value.
|
|
116
|
+
class BytesValue
|
|
117
|
+
include ::Google::Protobuf::MessageExts
|
|
118
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
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 Type
|
|
22
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
23
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
24
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
25
|
+
# following:
|
|
26
|
+
#
|
|
27
|
+
# * A full date, with non-zero year, month, and day values
|
|
28
|
+
# * A month and day value, with a zero year, such as an anniversary
|
|
29
|
+
# * A year on its own, with zero month and day values
|
|
30
|
+
# * A year and month value, with a zero day, such as a credit card expiration
|
|
31
|
+
# date
|
|
32
|
+
#
|
|
33
|
+
# Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
|
|
34
|
+
# `google.protobuf.Timestamp`.
|
|
35
|
+
# @!attribute [rw] year
|
|
36
|
+
# @return [::Integer]
|
|
37
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
|
38
|
+
# a year.
|
|
39
|
+
# @!attribute [rw] month
|
|
40
|
+
# @return [::Integer]
|
|
41
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a
|
|
42
|
+
# month and day.
|
|
43
|
+
# @!attribute [rw] day
|
|
44
|
+
# @return [::Integer]
|
|
45
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
|
|
46
|
+
# to specify a year by itself or a year and month where the day isn't
|
|
47
|
+
# significant.
|
|
48
|
+
class Date
|
|
49
|
+
include ::Google::Protobuf::MessageExts
|
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
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 Type
|
|
22
|
+
# Represents a day of the week.
|
|
23
|
+
module DayOfWeek
|
|
24
|
+
# The day of the week is unspecified.
|
|
25
|
+
DAY_OF_WEEK_UNSPECIFIED = 0
|
|
26
|
+
|
|
27
|
+
# Monday
|
|
28
|
+
MONDAY = 1
|
|
29
|
+
|
|
30
|
+
# Tuesday
|
|
31
|
+
TUESDAY = 2
|
|
32
|
+
|
|
33
|
+
# Wednesday
|
|
34
|
+
WEDNESDAY = 3
|
|
35
|
+
|
|
36
|
+
# Thursday
|
|
37
|
+
THURSDAY = 4
|
|
38
|
+
|
|
39
|
+
# Friday
|
|
40
|
+
FRIDAY = 5
|
|
41
|
+
|
|
42
|
+
# Saturday
|
|
43
|
+
SATURDAY = 6
|
|
44
|
+
|
|
45
|
+
# Sunday
|
|
46
|
+
SUNDAY = 7
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
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 Type
|
|
22
|
+
# Represents a time of day. The date and time zone are either not significant
|
|
23
|
+
# or are specified elsewhere. An API may choose to allow leap seconds. Related
|
|
24
|
+
# types are {::Google::Type::Date google.type.Date} and
|
|
25
|
+
# `google.protobuf.Timestamp`.
|
|
26
|
+
# @!attribute [rw] hours
|
|
27
|
+
# @return [::Integer]
|
|
28
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
|
|
29
|
+
# to allow the value "24:00:00" for scenarios like business closing time.
|
|
30
|
+
# @!attribute [rw] minutes
|
|
31
|
+
# @return [::Integer]
|
|
32
|
+
# Minutes of hour of day. Must be from 0 to 59.
|
|
33
|
+
# @!attribute [rw] seconds
|
|
34
|
+
# @return [::Integer]
|
|
35
|
+
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
|
36
|
+
# allow the value 60 if it allows leap-seconds.
|
|
37
|
+
# @!attribute [rw] nanos
|
|
38
|
+
# @return [::Integer]
|
|
39
|
+
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
|
40
|
+
class TimeOfDay
|
|
41
|
+
include ::Google::Protobuf::MessageExts
|
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
metadata
CHANGED
|
@@ -1,27 +1,95 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-database_center-v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
-
dependencies:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: gapic-common
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '1.2'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '1.2'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: google-cloud-errors
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '1.0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '1.0'
|
|
40
|
+
description: The Database Center API provides access to an organization-wide, cross-product
|
|
41
|
+
database fleet health platform. It aggregates health, security, and compliance signals
|
|
42
|
+
from various Google Cloud databases, offering a single pane of glass to identify
|
|
43
|
+
and manage issues. Note that google-cloud-database_center-v1beta is a version-specific
|
|
44
|
+
client library. For most uses, we recommend installing the main client library google-cloud-database_center
|
|
45
|
+
instead. See the readme for more details.
|
|
17
46
|
email: googleapis-packages@google.com
|
|
18
47
|
executables: []
|
|
19
48
|
extensions: []
|
|
20
49
|
extra_rdoc_files: []
|
|
21
50
|
files:
|
|
51
|
+
- ".yardopts"
|
|
52
|
+
- AUTHENTICATION.md
|
|
22
53
|
- LICENSE.md
|
|
23
54
|
- README.md
|
|
55
|
+
- lib/google-cloud-database_center-v1beta.rb
|
|
56
|
+
- lib/google/cloud/database_center/v1beta.rb
|
|
57
|
+
- lib/google/cloud/database_center/v1beta/database_center.rb
|
|
58
|
+
- lib/google/cloud/database_center/v1beta/database_center/client.rb
|
|
59
|
+
- lib/google/cloud/database_center/v1beta/database_center/credentials.rb
|
|
60
|
+
- lib/google/cloud/database_center/v1beta/database_center/rest.rb
|
|
61
|
+
- lib/google/cloud/database_center/v1beta/database_center/rest/client.rb
|
|
62
|
+
- lib/google/cloud/database_center/v1beta/database_center/rest/service_stub.rb
|
|
63
|
+
- lib/google/cloud/database_center/v1beta/rest.rb
|
|
24
64
|
- lib/google/cloud/database_center/v1beta/version.rb
|
|
65
|
+
- lib/google/cloud/databasecenter/v1beta/machine_config_pb.rb
|
|
66
|
+
- lib/google/cloud/databasecenter/v1beta/maintenance_pb.rb
|
|
67
|
+
- lib/google/cloud/databasecenter/v1beta/metric_data_pb.rb
|
|
68
|
+
- lib/google/cloud/databasecenter/v1beta/operation_error_type_pb.rb
|
|
69
|
+
- lib/google/cloud/databasecenter/v1beta/product_pb.rb
|
|
70
|
+
- lib/google/cloud/databasecenter/v1beta/service_pb.rb
|
|
71
|
+
- lib/google/cloud/databasecenter/v1beta/service_services_pb.rb
|
|
72
|
+
- lib/google/cloud/databasecenter/v1beta/signals_pb.rb
|
|
73
|
+
- lib/google/cloud/databasecenter/v1beta/suspension_reason_pb.rb
|
|
74
|
+
- proto_docs/README.md
|
|
75
|
+
- proto_docs/google/api/client.rb
|
|
76
|
+
- proto_docs/google/api/field_behavior.rb
|
|
77
|
+
- proto_docs/google/api/launch_stage.rb
|
|
78
|
+
- proto_docs/google/api/resource.rb
|
|
79
|
+
- proto_docs/google/cloud/databasecenter/v1beta/machine_config.rb
|
|
80
|
+
- proto_docs/google/cloud/databasecenter/v1beta/maintenance.rb
|
|
81
|
+
- proto_docs/google/cloud/databasecenter/v1beta/metric_data.rb
|
|
82
|
+
- proto_docs/google/cloud/databasecenter/v1beta/operation_error_type.rb
|
|
83
|
+
- proto_docs/google/cloud/databasecenter/v1beta/product.rb
|
|
84
|
+
- proto_docs/google/cloud/databasecenter/v1beta/service.rb
|
|
85
|
+
- proto_docs/google/cloud/databasecenter/v1beta/signals.rb
|
|
86
|
+
- proto_docs/google/cloud/databasecenter/v1beta/suspension_reason.rb
|
|
87
|
+
- proto_docs/google/protobuf/duration.rb
|
|
88
|
+
- proto_docs/google/protobuf/timestamp.rb
|
|
89
|
+
- proto_docs/google/protobuf/wrappers.rb
|
|
90
|
+
- proto_docs/google/type/date.rb
|
|
91
|
+
- proto_docs/google/type/dayofweek.rb
|
|
92
|
+
- proto_docs/google/type/timeofday.rb
|
|
25
93
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
|
26
94
|
licenses:
|
|
27
95
|
- Apache-2.0
|
|
@@ -33,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
33
101
|
requirements:
|
|
34
102
|
- - ">="
|
|
35
103
|
- !ruby/object:Gem::Version
|
|
36
|
-
version: '3.
|
|
104
|
+
version: '3.1'
|
|
37
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
106
|
requirements:
|
|
39
107
|
- - ">="
|
|
@@ -42,5 +110,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
42
110
|
requirements: []
|
|
43
111
|
rubygems_version: 3.6.9
|
|
44
112
|
specification_version: 4
|
|
45
|
-
summary:
|
|
113
|
+
summary: Database Center provides an organization-wide, cross-product fleet health
|
|
114
|
+
platform to eliminate the overhead, complexity, and risk associated with aggregating
|
|
115
|
+
and summarizing health signals through custom dashboards. Through Database Center’s
|
|
116
|
+
fleet health dashboard and API, database platform teams that are responsible for
|
|
117
|
+
reliability, compliance, security, cost, and administration of database fleets will
|
|
118
|
+
now have a single pane of glass that pinpoints issues relevant to each team.
|
|
46
119
|
test_files: []
|