google-apis-alloydb_v1alpha 0.23.0 → 0.24.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: 895518f90153c645f0f6fbb491021bf66df2120c2f1eb83b51113d61a5d753c7
4
- data.tar.gz: 5f28a225cf17c6389c3377fe521b4e0e54c49b42e68da27d19e6f7c3225cf93c
3
+ metadata.gz: 1320f43c0b326c569c7ea77af35355f1687abe13eef3019e4b15ca23d0480319
4
+ data.tar.gz: 99d75e9140986706a2de05cccf30ff1c273d59cdd5d851582f6ed13dec9e3c2f
5
5
  SHA512:
6
- metadata.gz: 93efeb07d5d27c614caf9161fad31564ad84af45f64923417b069815895e9e562f1c762c81eb1ee67813167b289d8699cbfe2488196f0501a80ad12eb5880640
7
- data.tar.gz: f2e97dca9243bbaaab42ba9ca571ec0aa50da35eb97de8354897b9fb9d833b09ce56e9103e2025dac24a5f2d04d0dcfc3ae064e396a8f44625db6e87480b648e
6
+ metadata.gz: 645313ed701d57e946468fffd6516fc14e23c3c679e293bba4ebfe51a6e343e65713998aaeca2e4dcfed26183ca68b55eaf1ab5e105c21a27c21ceaeed1acd07
7
+ data.tar.gz: 67e0bf9c403dcde40b5ec4e231c96e7527d359ce262f625382a4014dc24252eaa5e455f964c1fb64c25a38828426dda3596034ece069f76d479b2271148b69fb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.24.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250308
6
+
3
7
  ### v0.23.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250227
@@ -1002,6 +1002,55 @@ module Google
1002
1002
  end
1003
1003
  end
1004
1004
 
1005
+ # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
1006
+ # be scheduled to start within this deny period. The start_date must be less
1007
+ # than the end_date.
1008
+ class DenyMaintenancePeriod
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1012
+ # day and time zone are either specified elsewhere or are insignificant. The
1013
+ # date is relative to the Gregorian Calendar. This can represent one of the
1014
+ # following: * A full date, with non-zero year, month, and day values. * A month
1015
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1016
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1017
+ # example, a credit card expiration date). Related types: * google.type.
1018
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1019
+ # Corresponds to the JSON property `endDate`
1020
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
1021
+ attr_accessor :end_date
1022
+
1023
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1024
+ # day and time zone are either specified elsewhere or are insignificant. The
1025
+ # date is relative to the Gregorian Calendar. This can represent one of the
1026
+ # following: * A full date, with non-zero year, month, and day values. * A month
1027
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1028
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1029
+ # example, a credit card expiration date). Related types: * google.type.
1030
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1031
+ # Corresponds to the JSON property `startDate`
1032
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
1033
+ attr_accessor :start_date
1034
+
1035
+ # Represents a time of day. The date and time zone are either not significant or
1036
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1037
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1038
+ # Corresponds to the JSON property `time`
1039
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay]
1040
+ attr_accessor :time
1041
+
1042
+ def initialize(**args)
1043
+ update!(**args)
1044
+ end
1045
+
1046
+ # Update properties of this object
1047
+ def update!(**args)
1048
+ @end_date = args[:end_date] if args.key?(:end_date)
1049
+ @start_date = args[:start_date] if args.key?(:start_date)
1050
+ @time = args[:time] if args.key?(:time)
1051
+ end
1052
+ end
1053
+
1005
1054
  # A generic empty message that you can re-use to avoid defining duplicated empty
1006
1055
  # messages in your APIs. A typical example is to use it as the request or the
1007
1056
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1302,6 +1351,47 @@ module Google
1302
1351
  end
1303
1352
  end
1304
1353
 
1354
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1355
+ # day and time zone are either specified elsewhere or are insignificant. The
1356
+ # date is relative to the Gregorian Calendar. This can represent one of the
1357
+ # following: * A full date, with non-zero year, month, and day values. * A month
1358
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1359
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1360
+ # example, a credit card expiration date). Related types: * google.type.
1361
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1362
+ class GoogleTypeDate
1363
+ include Google::Apis::Core::Hashable
1364
+
1365
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1366
+ # specify a year by itself or a year and month where the day isn't significant.
1367
+ # Corresponds to the JSON property `day`
1368
+ # @return [Fixnum]
1369
+ attr_accessor :day
1370
+
1371
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1372
+ # and day.
1373
+ # Corresponds to the JSON property `month`
1374
+ # @return [Fixnum]
1375
+ attr_accessor :month
1376
+
1377
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1378
+ # year.
1379
+ # Corresponds to the JSON property `year`
1380
+ # @return [Fixnum]
1381
+ attr_accessor :year
1382
+
1383
+ def initialize(**args)
1384
+ update!(**args)
1385
+ end
1386
+
1387
+ # Update properties of this object
1388
+ def update!(**args)
1389
+ @day = args[:day] if args.key?(:day)
1390
+ @month = args[:month] if args.key?(:month)
1391
+ @year = args[:year] if args.key?(:year)
1392
+ end
1393
+ end
1394
+
1305
1395
  # Represents a time of day. The date and time zone are either not significant or
1306
1396
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1307
1397
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -1709,6 +1799,14 @@ module Google
1709
1799
  attr_accessor :enable_public_ip
1710
1800
  alias_method :enable_public_ip?, :enable_public_ip
1711
1801
 
1802
+ # Output only. The resource link for the VPC network in which instance resources
1803
+ # are created and from which they are accessible via Private IP. This will be
1804
+ # the same value as the parent cluster's network. It is specified in the form: //
1805
+ # `projects/`project_number`/global/networks/`network_id``.
1806
+ # Corresponds to the JSON property `network`
1807
+ # @return [String]
1808
+ attr_accessor :network
1809
+
1712
1810
  def initialize(**args)
1713
1811
  update!(**args)
1714
1812
  end
@@ -1718,6 +1816,7 @@ module Google
1718
1816
  @authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
1719
1817
  @enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
1720
1818
  @enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
1819
+ @network = args[:network] if args.key?(:network)
1721
1820
  end
1722
1821
  end
1723
1822
 
@@ -1960,6 +2059,12 @@ module Google
1960
2059
  # @return [Fixnum]
1961
2060
  attr_accessor :cpu_count
1962
2061
 
2062
+ # Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-
2063
+ # highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
2064
+ # Corresponds to the JSON property `machineType`
2065
+ # @return [String]
2066
+ attr_accessor :machine_type
2067
+
1963
2068
  def initialize(**args)
1964
2069
  update!(**args)
1965
2070
  end
@@ -1967,6 +2072,7 @@ module Google
1967
2072
  # Update properties of this object
1968
2073
  def update!(**args)
1969
2074
  @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
2075
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1970
2076
  end
1971
2077
  end
1972
2078
 
@@ -1997,6 +2103,11 @@ module Google
1997
2103
  class MaintenanceUpdatePolicy
1998
2104
  include Google::Apis::Core::Hashable
1999
2105
 
2106
+ # Periods to deny maintenance. Currently limited to 1.
2107
+ # Corresponds to the JSON property `denyMaintenancePeriods`
2108
+ # @return [Array<Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod>]
2109
+ attr_accessor :deny_maintenance_periods
2110
+
2000
2111
  # Preferred windows to perform maintenance. Currently limited to 1.
2001
2112
  # Corresponds to the JSON property `maintenanceWindows`
2002
2113
  # @return [Array<Google::Apis::AlloydbV1alpha::MaintenanceWindow>]
@@ -2008,6 +2119,7 @@ module Google
2008
2119
 
2009
2120
  # Update properties of this object
2010
2121
  def update!(**args)
2122
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
2011
2123
  @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
2012
2124
  end
2013
2125
  end
@@ -2152,6 +2264,12 @@ module Google
2152
2264
  class ObservabilityInstanceConfig
2153
2265
  include Google::Apis::Core::Hashable
2154
2266
 
2267
+ # Whether assistive experiences are enabled for this AlloyDB instance.
2268
+ # Corresponds to the JSON property `assistiveExperiencesEnabled`
2269
+ # @return [Boolean]
2270
+ attr_accessor :assistive_experiences_enabled
2271
+ alias_method :assistive_experiences_enabled?, :assistive_experiences_enabled
2272
+
2155
2273
  # Observability feature status for an instance. This flag is turned "off" by
2156
2274
  # default.
2157
2275
  # Corresponds to the JSON property `enabled`
@@ -2214,6 +2332,7 @@ module Google
2214
2332
 
2215
2333
  # Update properties of this object
2216
2334
  def update!(**args)
2335
+ @assistive_experiences_enabled = args[:assistive_experiences_enabled] if args.key?(:assistive_experiences_enabled)
2217
2336
  @enabled = args[:enabled] if args.key?(:enabled)
2218
2337
  @max_query_string_length = args[:max_query_string_length] if args.key?(:max_query_string_length)
2219
2338
  @preserve_comments = args[:preserve_comments] if args.key?(:preserve_comments)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.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 = "20250227"
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
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class GoogleTypeDate
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class GoogleTypeTimeOfDay
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -886,6 +898,18 @@ module Google
886
898
  end
887
899
  end
888
900
 
901
+ class DenyMaintenancePeriod
902
+ # @private
903
+ class Representation < Google::Apis::Core::JsonRepresentation
904
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1alpha::GoogleTypeDate, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeDate::Representation
905
+
906
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1alpha::GoogleTypeDate, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeDate::Representation
907
+
908
+ property :time, as: 'time', class: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay::Representation
909
+
910
+ end
911
+ end
912
+
889
913
  class Empty
890
914
  # @private
891
915
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -976,6 +1000,15 @@ module Google
976
1000
  end
977
1001
  end
978
1002
 
1003
+ class GoogleTypeDate
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
1006
+ property :day, as: 'day'
1007
+ property :month, as: 'month'
1008
+ property :year, as: 'year'
1009
+ end
1010
+ end
1011
+
979
1012
  class GoogleTypeTimeOfDay
980
1013
  # @private
981
1014
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1065,6 +1098,7 @@ module Google
1065
1098
 
1066
1099
  property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
1067
1100
  property :enable_public_ip, as: 'enablePublicIp'
1101
+ property :network, as: 'network'
1068
1102
  end
1069
1103
  end
1070
1104
 
@@ -1147,6 +1181,7 @@ module Google
1147
1181
  # @private
1148
1182
  class Representation < Google::Apis::Core::JsonRepresentation
1149
1183
  property :cpu_count, as: 'cpuCount'
1184
+ property :machine_type, as: 'machineType'
1150
1185
  end
1151
1186
  end
1152
1187
 
@@ -1160,6 +1195,8 @@ module Google
1160
1195
  class MaintenanceUpdatePolicy
1161
1196
  # @private
1162
1197
  class Representation < Google::Apis::Core::JsonRepresentation
1198
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod, decorator: Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod::Representation
1199
+
1163
1200
  collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1alpha::MaintenanceWindow, decorator: Google::Apis::AlloydbV1alpha::MaintenanceWindow::Representation
1164
1201
 
1165
1202
  end
@@ -1204,6 +1241,7 @@ module Google
1204
1241
  class ObservabilityInstanceConfig
1205
1242
  # @private
1206
1243
  class Representation < Google::Apis::Core::JsonRepresentation
1244
+ property :assistive_experiences_enabled, as: 'assistiveExperiencesEnabled'
1207
1245
  property :enabled, as: 'enabled'
1208
1246
  property :max_query_string_length, as: 'maxQueryStringLength'
1209
1247
  property :preserve_comments, as: 'preserveComments'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.23.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.24.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: