google-apis-alloydb_v1 0.31.0 → 0.32.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '088158c5f097812545079c8d6d8e60f99de191d942bbfee77270344686ccdd01'
|
4
|
+
data.tar.gz: bc47292ea62357c7687708613fe1f342e15d1eaf496623095f87a30e4ba2c4ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 457cf66280abbdc549f0efac8bea0f0f0394c50fd8c1819eb6c13953e030c66a9b22dd585917436d9513a47787a48975425669c80c0381eb70a8d4a06be28c97
|
7
|
+
data.tar.gz: ce4288526110a5f23dd7c8c10b212a6a2f91d5ef10ff923748c913467a06530315838b566548aa9ed16dc0108cdb5902fe7780f3349da106dfc69f2b45e0bf94
|
data/CHANGELOG.md
CHANGED
@@ -968,6 +968,55 @@ module Google
|
|
968
968
|
end
|
969
969
|
end
|
970
970
|
|
971
|
+
# DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
|
972
|
+
# be scheduled to start within this deny period. The start_date must be less
|
973
|
+
# than the end_date.
|
974
|
+
class DenyMaintenancePeriod
|
975
|
+
include Google::Apis::Core::Hashable
|
976
|
+
|
977
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
978
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
979
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
980
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
981
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
982
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
983
|
+
# example, a credit card expiration date). Related types: * google.type.
|
984
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
985
|
+
# Corresponds to the JSON property `endDate`
|
986
|
+
# @return [Google::Apis::AlloydbV1::GoogleTypeDate]
|
987
|
+
attr_accessor :end_date
|
988
|
+
|
989
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
990
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
991
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
992
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
993
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
994
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
995
|
+
# example, a credit card expiration date). Related types: * google.type.
|
996
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
997
|
+
# Corresponds to the JSON property `startDate`
|
998
|
+
# @return [Google::Apis::AlloydbV1::GoogleTypeDate]
|
999
|
+
attr_accessor :start_date
|
1000
|
+
|
1001
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1002
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1003
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1004
|
+
# Corresponds to the JSON property `time`
|
1005
|
+
# @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
|
1006
|
+
attr_accessor :time
|
1007
|
+
|
1008
|
+
def initialize(**args)
|
1009
|
+
update!(**args)
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# Update properties of this object
|
1013
|
+
def update!(**args)
|
1014
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
1015
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
1016
|
+
@time = args[:time] if args.key?(:time)
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
971
1020
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
972
1021
|
# messages in your APIs. A typical example is to use it as the request or the
|
973
1022
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1219,6 +1268,47 @@ module Google
|
|
1219
1268
|
end
|
1220
1269
|
end
|
1221
1270
|
|
1271
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1272
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
1273
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
1274
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
1275
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
1276
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
1277
|
+
# example, a credit card expiration date). Related types: * google.type.
|
1278
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
1279
|
+
class GoogleTypeDate
|
1280
|
+
include Google::Apis::Core::Hashable
|
1281
|
+
|
1282
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
1283
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
1284
|
+
# Corresponds to the JSON property `day`
|
1285
|
+
# @return [Fixnum]
|
1286
|
+
attr_accessor :day
|
1287
|
+
|
1288
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
1289
|
+
# and day.
|
1290
|
+
# Corresponds to the JSON property `month`
|
1291
|
+
# @return [Fixnum]
|
1292
|
+
attr_accessor :month
|
1293
|
+
|
1294
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
1295
|
+
# year.
|
1296
|
+
# Corresponds to the JSON property `year`
|
1297
|
+
# @return [Fixnum]
|
1298
|
+
attr_accessor :year
|
1299
|
+
|
1300
|
+
def initialize(**args)
|
1301
|
+
update!(**args)
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
# Update properties of this object
|
1305
|
+
def update!(**args)
|
1306
|
+
@day = args[:day] if args.key?(:day)
|
1307
|
+
@month = args[:month] if args.key?(:month)
|
1308
|
+
@year = args[:year] if args.key?(:year)
|
1309
|
+
end
|
1310
|
+
end
|
1311
|
+
|
1222
1312
|
# Represents a time of day. The date and time zone are either not significant or
|
1223
1313
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1224
1314
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
@@ -1618,6 +1708,14 @@ module Google
|
|
1618
1708
|
attr_accessor :enable_public_ip
|
1619
1709
|
alias_method :enable_public_ip?, :enable_public_ip
|
1620
1710
|
|
1711
|
+
# Output only. The resource link for the VPC network in which instance resources
|
1712
|
+
# are created and from which they are accessible via Private IP. This will be
|
1713
|
+
# the same value as the parent cluster's network. It is specified in the form: //
|
1714
|
+
# `projects/`project_number`/global/networks/`network_id``.
|
1715
|
+
# Corresponds to the JSON property `network`
|
1716
|
+
# @return [String]
|
1717
|
+
attr_accessor :network
|
1718
|
+
|
1621
1719
|
def initialize(**args)
|
1622
1720
|
update!(**args)
|
1623
1721
|
end
|
@@ -1627,6 +1725,7 @@ module Google
|
|
1627
1725
|
@authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
|
1628
1726
|
@enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
|
1629
1727
|
@enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
|
1728
|
+
@network = args[:network] if args.key?(:network)
|
1630
1729
|
end
|
1631
1730
|
end
|
1632
1731
|
|
@@ -1869,6 +1968,12 @@ module Google
|
|
1869
1968
|
# @return [Fixnum]
|
1870
1969
|
attr_accessor :cpu_count
|
1871
1970
|
|
1971
|
+
# Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-
|
1972
|
+
# highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
|
1973
|
+
# Corresponds to the JSON property `machineType`
|
1974
|
+
# @return [String]
|
1975
|
+
attr_accessor :machine_type
|
1976
|
+
|
1872
1977
|
def initialize(**args)
|
1873
1978
|
update!(**args)
|
1874
1979
|
end
|
@@ -1876,6 +1981,7 @@ module Google
|
|
1876
1981
|
# Update properties of this object
|
1877
1982
|
def update!(**args)
|
1878
1983
|
@cpu_count = args[:cpu_count] if args.key?(:cpu_count)
|
1984
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1879
1985
|
end
|
1880
1986
|
end
|
1881
1987
|
|
@@ -1906,6 +2012,11 @@ module Google
|
|
1906
2012
|
class MaintenanceUpdatePolicy
|
1907
2013
|
include Google::Apis::Core::Hashable
|
1908
2014
|
|
2015
|
+
# Periods to deny maintenance. Currently limited to 1.
|
2016
|
+
# Corresponds to the JSON property `denyMaintenancePeriods`
|
2017
|
+
# @return [Array<Google::Apis::AlloydbV1::DenyMaintenancePeriod>]
|
2018
|
+
attr_accessor :deny_maintenance_periods
|
2019
|
+
|
1909
2020
|
# Preferred windows to perform maintenance. Currently limited to 1.
|
1910
2021
|
# Corresponds to the JSON property `maintenanceWindows`
|
1911
2022
|
# @return [Array<Google::Apis::AlloydbV1::MaintenanceWindow>]
|
@@ -1917,6 +2028,7 @@ module Google
|
|
1917
2028
|
|
1918
2029
|
# Update properties of this object
|
1919
2030
|
def update!(**args)
|
2031
|
+
@deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
|
1920
2032
|
@maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
|
1921
2033
|
end
|
1922
2034
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1
|
18
18
|
# Version of the google-apis-alloydb_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250308"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class DenyMaintenancePeriod
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class Empty
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -172,6 +178,12 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
181
|
+
class GoogleTypeDate
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
175
187
|
class GoogleTypeTimeOfDay
|
176
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
189
|
|
@@ -868,6 +880,18 @@ module Google
|
|
868
880
|
end
|
869
881
|
end
|
870
882
|
|
883
|
+
class DenyMaintenancePeriod
|
884
|
+
# @private
|
885
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
886
|
+
property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
|
887
|
+
|
888
|
+
property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
|
889
|
+
|
890
|
+
property :time, as: 'time', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
|
891
|
+
|
892
|
+
end
|
893
|
+
end
|
894
|
+
|
871
895
|
class Empty
|
872
896
|
# @private
|
873
897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -945,6 +969,15 @@ module Google
|
|
945
969
|
end
|
946
970
|
end
|
947
971
|
|
972
|
+
class GoogleTypeDate
|
973
|
+
# @private
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
975
|
+
property :day, as: 'day'
|
976
|
+
property :month, as: 'month'
|
977
|
+
property :year, as: 'year'
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
948
981
|
class GoogleTypeTimeOfDay
|
949
982
|
# @private
|
950
983
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1034,6 +1067,7 @@ module Google
|
|
1034
1067
|
|
1035
1068
|
property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
|
1036
1069
|
property :enable_public_ip, as: 'enablePublicIp'
|
1070
|
+
property :network, as: 'network'
|
1037
1071
|
end
|
1038
1072
|
end
|
1039
1073
|
|
@@ -1116,6 +1150,7 @@ module Google
|
|
1116
1150
|
# @private
|
1117
1151
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1118
1152
|
property :cpu_count, as: 'cpuCount'
|
1153
|
+
property :machine_type, as: 'machineType'
|
1119
1154
|
end
|
1120
1155
|
end
|
1121
1156
|
|
@@ -1129,6 +1164,8 @@ module Google
|
|
1129
1164
|
class MaintenanceUpdatePolicy
|
1130
1165
|
# @private
|
1131
1166
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1167
|
+
collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::AlloydbV1::DenyMaintenancePeriod, decorator: Google::Apis::AlloydbV1::DenyMaintenancePeriod::Representation
|
1168
|
+
|
1132
1169
|
collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1::MaintenanceWindow, decorator: Google::Apis::AlloydbV1::MaintenanceWindow::Representation
|
1133
1170
|
|
1134
1171
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.32.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|